FreeBSD Bugzilla – Attachment 125246 Details for
Bug 168837
[maintainer-update] games/stonesoup: convert options to optionsNG
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
stonesoup.diff
stonesoup.diff (text/x-diff; charset=us-ascii), 2.31 KB, created by
Guido Falsi
on 2012-06-11 10:32:33 UTC
(
hide
)
Description:
stonesoup.diff
Filename:
MIME Type:
Creator:
Guido Falsi
Created:
2012-06-11 10:32:33 UTC
Size:
2.31 KB
patch
obsolete
>Index: games/stonesoup/Makefile >=================================================================== >RCS file: /home/ncvs/ports/games/stonesoup/Makefile,v >retrieving revision 1.21 >diff -u -r1.21 Makefile >--- games/stonesoup/Makefile 1 Jun 2012 05:19:20 -0000 1.21 >+++ games/stonesoup/Makefile 11 Jun 2012 09:31:41 -0000 >@@ -34,9 +34,11 @@ > SUB_FILES= README.FreeBSD > PLIST_SUB= SAVEDIR="${SAVEDIR}" > >-OPTIONS= SOUND "Sound support" off \ >- WIZARD "Wizard mode" off \ >- LUA_BINDINGS "Bindings for LUA user scripts" off >+OPTIONS_DEFINE= SOUND WIZARD LUA_BINDINGS DOCS EXAMPLES >+ >+SOUND_DESC= Sound support >+WIZARD_DESC= Wizard mode >+LUA_BINDINGS_DESC= Bindings for LUA user scripts > > MAKE_ARGS= prefix=${PREFIX} \ > DATADIR=${DATADIR} \ >@@ -60,11 +62,11 @@ > MAKE_ARGS+= V=yes > .endif > >-.if defined(WITHOUT_WIZARD) >+.if empty(PORT_OPTIONS:MWIZARD) > MAKE_ARGS+= NOWIZARD=y > .endif > >-.if defined(WITH_SDL) >+.if ${PORT_OPTIONS:MSDL} > CONFLICTS+= ${PORTNAME}-[0-9]* > MAKE_ARGS+= TILES=y > PLIST_SUB+= SDL="" >@@ -79,16 +81,16 @@ > PLIST_SUB+= SDL="@comment " > .endif > >-.if defined(WITH_SOUND) >+.if ${PORT_OPTIONS:MSOUND} > RUN_DEPENDS+= sox:${PORTSDIR}/audio/sox > .endif > >-.if defined(WITHOUT_LUA_BINDINGS) >+.if empty(PORT_OPTIONS:MLUA_BINDINGS) > MAKE_ARGS+= NO_LUA_BINDINGS=yes > .endif > > post-patch: >-.if defined(WITH_SOUND) >+.if ${PORT_OPTIONS:MSOUND} > @${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE}," ${WRKSRC}/AppHdr.h > @${REINPLACE_CMD} -e "s,%%SOUND%%,," ${WRKSRC}/AppHdr.h > .else >@@ -96,11 +98,11 @@ > .endif > > post-install: >-.if !defined(NOPORTDOCS) >+.if ${PORT_OPTIONS:MDOCS} > ${MKDIR} ${DOCSDIR} > ${INSTALL_DATA} ${WRKDIR}/README.FreeBSD ${DOCSDIR} > .endif >-.if !defined(NOPORTEXAMPLES) >+.if ${PORT_OPTIONS:MEXAMPLES} > ${MKDIR} ${EXAMPLESDIR} > ${INSTALL_DATA} ${DATADIR}/settings/init.txt ${EXAMPLESDIR}/sample.crawlrc > .endif >Index: games/stonesoup-sdl/Makefile >=================================================================== >RCS file: /home/ncvs/ports/games/stonesoup-sdl/Makefile,v >retrieving revision 1.1 >diff -u -r1.1 Makefile >--- games/stonesoup-sdl/Makefile 8 Aug 2010 18:04:52 -0000 1.1 >+++ games/stonesoup-sdl/Makefile 11 Jun 2012 09:31:41 -0000 >@@ -5,7 +5,7 @@ > # $FreeBSD: ports/games/stonesoup-sdl/Makefile,v 1.1 2010/08/08 18:04:52 rene Exp $ > # > >-WITH_SDL= yes >+PORT_OPTIONS+= SDL > > MASTERDIR= ${.CURDIR}/../stonesoup >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 168837
:
125244
|
125245
| 125246