diff options
author | adamw <adamw@FreeBSD.org> | 2014-07-16 07:30:05 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2014-07-16 07:30:05 +0800 |
commit | 664628fe1271a3052d6fd5d6f32b5de28a849018 (patch) | |
tree | e962c6543fdab0f842a6d242127e735d0347e99c /games | |
parent | 9343eeba7783ac2ce4c8f5c88ab322647d489c19 (diff) | |
download | freebsd-ports-gnome-664628fe1271a3052d6fd5d6f32b5de28a849018.tar.gz freebsd-ports-gnome-664628fe1271a3052d6fd5d6f32b5de28a849018.tar.zst freebsd-ports-gnome-664628fe1271a3052d6fd5d6f32b5de28a849018.zip |
Add DOCS to OPTIONS for ports that have PORTDOCS in the plist.
Diffstat (limited to 'games')
35 files changed, 55 insertions, 18 deletions
diff --git a/games/adgali/Makefile b/games/adgali/Makefile index 4ee141207da1..993fa79b5a7e 100644 --- a/games/adgali/Makefile +++ b/games/adgali/Makefile @@ -30,6 +30,8 @@ CONFIGURE_ARGS= --enable-compile-optim=no CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lexecinfo +OPTIONS_DEFINE= DOCS + post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/doc/html && ${FIND} . | ${CPIO} -pdm -L -R \ diff --git a/games/angband/Makefile b/games/angband/Makefile index 4e5eea21a204..64e7948699fa 100644 --- a/games/angband/Makefile +++ b/games/angband/Makefile @@ -12,8 +12,8 @@ COMMENT= Rogue-like game with color, X11 support LICENSE= GPLv2 -OPTIONS_DEFINE= SDL X11 -OPTIONS_DEFAULT= X11 +OPTIONS_DEFINE= SDL X11 DOCS +OPTIONS_DEFAULT=X11 USES= gmake ncurses GNU_CONFIGURE= yes diff --git a/games/bass/Makefile b/games/bass/Makefile index fe981589ca2c..34b02653e32e 100644 --- a/games/bass/Makefile +++ b/games/bass/Makefile @@ -24,6 +24,8 @@ NO_BUILD= yes WRKSRC= ${WRKDIR}/${DISTNAME} SUB_FILES= pkg-message +OPTIONS_DEFINE= DOCS + do-install: ${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/sky.dnr ${STAGEDIR}${DATADIR} diff --git a/games/cataclysm-dda/Makefile b/games/cataclysm-dda/Makefile index 709dde1b75c4..9bb040083b3c 100644 --- a/games/cataclysm-dda/Makefile +++ b/games/cataclysm-dda/Makefile @@ -26,7 +26,7 @@ MAKE_ARGS+= RELEASE=1 CXXFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -OPTIONS_DEFINE= NLS +OPTIONS_DEFINE= NLS DOCS OPTIONS_DEFAULT=NCURSES OPTIONS_SINGLE= UI OPTIONS_SINGLE_UI= NCURSES SDL diff --git a/games/corewars/Makefile b/games/corewars/Makefile index 9e2f2babc286..79d7426efbd5 100644 --- a/games/corewars/Makefile +++ b/games/corewars/Makefile @@ -18,6 +18,8 @@ CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib USES= gmake +OPTIONS_DEFINE= DOCS + post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} diff --git a/games/cosmosmash/Makefile b/games/cosmosmash/Makefile index 6d2e606e45e5..fec298a155df 100644 --- a/games/cosmosmash/Makefile +++ b/games/cosmosmash/Makefile @@ -25,6 +25,8 @@ GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include `${SDL_CONFIG} --cflags` LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} `${SDL_CONFIG} --libs` +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} 's|^pkgsounddir = .*|pkgsounddir = ${DATADIR}/sounds|' \ ${WRKSRC}/src/Makefile.in diff --git a/games/digger-vgl/Makefile b/games/digger-vgl/Makefile index f7a4b36bae45..b22fd86e9dfd 100644 --- a/games/digger-vgl/Makefile +++ b/games/digger-vgl/Makefile @@ -14,7 +14,7 @@ ONLY_FOR_ARCHS= i386 # Alphas don't have libvgl yet... MAKEFILE= Makefile.fbsd -OPTIONS_DEFINE= SOUND +OPTIONS_DEFINE= SOUND DOCS .include <bsd.port.options.mk> diff --git a/games/evq3/Makefile b/games/evq3/Makefile index c11715420540..0b6447a57985 100644 --- a/games/evq3/Makefile +++ b/games/evq3/Makefile @@ -22,7 +22,7 @@ ALL_TARGET= release WRKSRC= ${WRKDIR}/${PORTNAME} CFLAGS+= -DMAP_ANONYMOUS=MAP_ANON -OPTIONS_DEFINE= CURL CURL_DLOPEN GAMELIBS OPENAL OPENAL_DLOPEN VOIP VORBIS OPTIMIZED_CFLAGS +OPTIONS_DEFINE= CURL CURL_DLOPEN GAMELIBS OPENAL OPENAL_DLOPEN VOIP VORBIS OPTIMIZED_CFLAGS DOCS OPTIONS_DEFAULT= CLIENT CURL CURL_DLOPEN DEDICATED OPTIMIZED_CFLAGS SMP VORBIS OPTIONS_MULTI= TYPE OPTIONS_MULTI_TYPE= CLIENT DEDICATED SMP diff --git a/games/fotaq/Makefile b/games/fotaq/Makefile index 2d534c16bbff..0c7e638f3c9f 100644 --- a/games/fotaq/Makefile +++ b/games/fotaq/Makefile @@ -20,6 +20,8 @@ SUB_FILES= pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message +OPTIONS_DEFINE= DOCS + do-install: @${MKDIR} ${STAGEDIR}${DATADIR} @${INSTALL_DATA} ${WRKSRC}/queen.1c ${STAGEDIR}${DATADIR} diff --git a/games/freeciv/Makefile b/games/freeciv/Makefile index 96f3cfcbc3af..bf2b04811e5e 100644 --- a/games/freeciv/Makefile +++ b/games/freeciv/Makefile @@ -24,7 +24,7 @@ CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG} --program-transform-name= \ --enable-aimodules --enable-shared \ --enable-fcdb=sqlite3 -OPTIONS_DEFINE?= NLS X11 SDL MYSQL IPV6 +OPTIONS_DEFINE?= NLS X11 SDL MYSQL IPV6 DOCS OPTIONS_DEFAULT?= NLS X11 IPV6 OPTIONS_SUB= yes SDL_CONFIGURE_ON= --enable-client=gtk,sdl diff --git a/games/gemrb/Makefile b/games/gemrb/Makefile index 57f83f8da4cc..c26b914dcf42 100644 --- a/games/gemrb/Makefile +++ b/games/gemrb/Makefile @@ -15,6 +15,8 @@ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png \ libvorbis.so:${PORTSDIR}/audio/libvorbis +OPTIONS_DEFINE= DOCS + USES= cmake openal:al,alut USE_SDL= sdl mixer ttf USE_LDCONFIG= yes diff --git a/games/gltron/Makefile b/games/gltron/Makefile index 1d894d9623db..33d6e7f28c0c 100644 --- a/games/gltron/Makefile +++ b/games/gltron/Makefile @@ -22,7 +22,7 @@ CONFIGURE_ARGS= --disable-warn CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -OPTIONS_DEFINE= SDL_NET +OPTIONS_DEFINE= SDL_NET DOCS SDL_NET_DESC= Network Support SDL_NET_USE= SDL=net SLD_NET_CONFIGURE_ENABLE= network diff --git a/games/gnubg/Makefile b/games/gnubg/Makefile index 95c34b7773d7..83fc62145209 100644 --- a/games/gnubg/Makefile +++ b/games/gnubg/Makefile @@ -20,7 +20,7 @@ LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png \ libgtkextra-x11-2.0.so:${PORTSDIR}/x11-toolkits/gtkextra2 \ libgtkglext-x11-1.0.so:${PORTSDIR}/x11-toolkits/gtkglext -OPTIONS_DEFINE= ESOUND NLS +OPTIONS_DEFINE= ESOUND NLS DOCS OPTIONS_DEFAULT=ESOUND NLS CONFIGURE_ARGS= --with-board3d --with-sqlite --with-python diff --git a/games/gnushogi/Makefile b/games/gnushogi/Makefile index c5b8de76b839..6077638967bd 100644 --- a/games/gnushogi/Makefile +++ b/games/gnushogi/Makefile @@ -15,6 +15,8 @@ MAKE_JOBS_UNSAFE= yes INFO= gnushogi +OPTIONS_DEFINE= DOCS + post-extract: -@${RM} ${WRKSRC}/doc/gnushogi.info* diff --git a/games/hohlin/Makefile b/games/hohlin/Makefile index c3fba2eef336..cee9791b76d9 100644 --- a/games/hohlin/Makefile +++ b/games/hohlin/Makefile @@ -22,7 +22,7 @@ USE_LINUX_APPS= xorglibs ONLY_FOR_ARCHS= i386 amd64 SHORTPORTVERSION=${PORTVERSION:C/([0-9]*)\.([0-9]*)/\1\2/} -.include <bsd.port.options.mk> +OPTIONS_DEFINE= DOCS do-build: ${BRANDELF} -t Linux ${WRKSRC}/data/HoH diff --git a/games/hoichess/Makefile b/games/hoichess/Makefile index ae14147faabc..ac6431c58a5f 100644 --- a/games/hoichess/Makefile +++ b/games/hoichess/Makefile @@ -15,6 +15,8 @@ USE_PERL5= build MAKE_JOBS_UNSAFE=yes MAKE_ENV= HAVE_GETOPT=1 +OPTIONS_DEFINE= DOCS + post-patch: @${RM} ${WRKSRC}/src/lib/getopt.h @${REINPLACE_CMD} -e '1,/^LDFLAG/d' ${WRKSRC}/src/Makefile.config diff --git a/games/inform/Makefile b/games/inform/Makefile index c5f4a9195ccd..2bda60ae0865 100644 --- a/games/inform/Makefile +++ b/games/inform/Makefile @@ -22,6 +22,8 @@ NO_WRKSUBDIR= yes USES= zip:infozip MAKEFILE= ${FILESDIR}/Makefile.inform +OPTIONS_DEFINE= DOCS + post-install: @${MKDIR} ${STAGEDIR}${DATADIR} (cd ${STAGEDIR}${DATADIR} && \ diff --git a/games/linux-defcon/Makefile b/games/linux-defcon/Makefile index ad1ea52d7701..a85242541ee1 100644 --- a/games/linux-defcon/Makefile +++ b/games/linux-defcon/Makefile @@ -20,7 +20,7 @@ NO_BUILD= yes DATADIR= ${PREFIX}/lib/${PKGNAMEPREFIX}${PORTNAME} SUB_FILES= defcon -OPTIONS_DEFINE= NVIDIA +OPTIONS_DEFINE= NVIDIA DOCS NVIDIA_DESC= support for nvidia .include <bsd.port.options.mk> diff --git a/games/linux-enemyterritory-omni-bot-0660/Makefile b/games/linux-enemyterritory-omni-bot-0660/Makefile index dec8f420081d..9544c6cede1b 100644 --- a/games/linux-enemyterritory-omni-bot-0660/Makefile +++ b/games/linux-enemyterritory-omni-bot-0660/Makefile @@ -25,7 +25,7 @@ NO_WRKSUBDIR= yes DATADIR= ${PREFIX}/lib/enemyterritory/${PORTNAME}-${VERSTR} DOCSDIR= ${PREFIX}/share/doc/enemyterritory-${PORTNAME}-${VERSTR} -.include <bsd.port.options.mk> +OPTIONS_DEFINE= DOCS do-build: .for f in et etded diff --git a/games/linux-etqw-demo-server/Makefile b/games/linux-etqw-demo-server/Makefile index 3f29b89baed9..a11ba6fdfdb2 100644 --- a/games/linux-etqw-demo-server/Makefile +++ b/games/linux-etqw-demo-server/Makefile @@ -23,6 +23,8 @@ USES= zip:infozip ETQWDIR= ${PREFIX}/lib/${PORTNAME}${PKGNAMESUFFIX} +OPTIONS_DEFINE= DOCS + do-extract: @${MKDIR} ${WRKSRC} @cd ${WRKSRC} && \ diff --git a/games/linux-uplink-demo/Makefile b/games/linux-uplink-demo/Makefile index b6b16ccf1171..52be54e53f69 100644 --- a/games/linux-uplink-demo/Makefile +++ b/games/linux-uplink-demo/Makefile @@ -25,7 +25,7 @@ SUB_FILES= uplink SUB_LIST= LINUXBASE=${LINUXBASE} DOCFILES= license.txt mods.txt Readme-UplinkSupport.txt readme.txt -OPTIONS_DEFINE= NVIDIA +OPTIONS_DEFINE= NVIDIA DOCS NVIDIA_DESC= support for nvidia .include <bsd.port.options.mk> diff --git a/games/mkgichessclub/Makefile b/games/mkgichessclub/Makefile index b6099bf8d657..9e49b37fb18e 100644 --- a/games/mkgichessclub/Makefile +++ b/games/mkgichessclub/Makefile @@ -11,7 +11,7 @@ DISTNAME= MKGIChessClub-${PORTVERSION} MAINTAINER= nivit@FreeBSD.org COMMENT= Chess playing server with a pure web interface -OPTIONS_DEFINE= GNUCHESS PHALANX +OPTIONS_DEFINE= GNUCHESS PHALANX DOCS GNUCHESS_DESC= Install gnuchess robot PHALANX_DESC= Install phalanx robot diff --git a/games/odamex/Makefile b/games/odamex/Makefile index cdfbc660e8a5..492c94484938 100644 --- a/games/odamex/Makefile +++ b/games/odamex/Makefile @@ -15,7 +15,7 @@ USE_SDL= sdl mixer USES= cmake dos2unix DOS2UNIX_FILES= CMakeLists.txt odalaunch/CMakeLists.txt common/d_main.cpp -OPTIONS_DEFINE= LAUNCHER +OPTIONS_DEFINE= LAUNCHER DOCS LAUNCHER_DESC= Enable GUI launcher program diff --git a/games/openglad/Makefile b/games/openglad/Makefile index e8971c126eb1..476e594c80a4 100644 --- a/games/openglad/Makefile +++ b/games/openglad/Makefile @@ -23,6 +23,8 @@ DESKTOP_ENTRIES="OpenGlad" "" "" "${PORTNAME}" "" "" NOT_FOR_ARCHS= sparc64 +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e \ 's|COPYING INSTALL|INSTALL|' ${WRKSRC}/Makefile.in diff --git a/games/pengpong/Makefile b/games/pengpong/Makefile index aed8b695eb11..bd38aa0d8481 100644 --- a/games/pengpong/Makefile +++ b/games/pengpong/Makefile @@ -18,6 +18,8 @@ USE_PERL5= build DATAFILES= 24P_Copperplate_Blue.png ball.tga logo.jpg \ paddle.tga red.png +OPTIONS_DEFINE= DOCS + pre-patch: @${REINPLACE_CMD} -i '' -e 's|/usr/local/share/games/pengpong|${DATADIR}|' \ ${WRKSRC}/files.h diff --git a/games/pyching/Makefile b/games/pyching/Makefile index 4ef7f7a5c5aa..f586ae5fae77 100644 --- a/games/pyching/Makefile +++ b/games/pyching/Makefile @@ -18,6 +18,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkinte NO_WRKSUBDIR= yes USE_PYTHON= yes +OPTIONS_DEFINE= DOCS + post-patch: @cd ${WRKSRC}; ${SED} 's|/usr/share/|${PYTHON_SITELIBDIR}/|g' \ < ${PORTNAME}.sh > ${PORTNAME} diff --git a/games/quake2-lights/Makefile b/games/quake2-lights/Makefile index 5f12bada4af5..de8f6db6a4f0 100644 --- a/games/quake2-lights/Makefile +++ b/games/quake2-lights/Makefile @@ -21,6 +21,8 @@ ALL_TARGET= release DOCSDIR= ${PREFIX}/share/doc/${LATEST_LINK} +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's/__linux__/__unix__/' ${BUILD_WRKSRC}/q_shared.c @${REINPLACE_CMD} -e 's/<malloc\.h>/<stdlib.h>/' \ diff --git a/games/quit/Makefile b/games/quit/Makefile index 06bf86544fa8..2feded3cc3e5 100644 --- a/games/quit/Makefile +++ b/games/quit/Makefile @@ -12,6 +12,8 @@ COMMENT= Bicycle with trailers like "sl" MANLANG= ja +OPTIONS_DEFINE= DOCS + do-build: ${CC} ${CFLAGS} ${CPPFLAGS} -o ${WRKSRC}/quit \ ${WRKSRC}/quit.c -lncurses diff --git a/games/residualvm/Makefile b/games/residualvm/Makefile index 69a1423b0b15..6f17691fe284 100644 --- a/games/residualvm/Makefile +++ b/games/residualvm/Makefile @@ -20,6 +20,8 @@ USE_SDL= sdl HAS_CONFIGURE= yes USES= gmake +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's|{datarootdir}/man|{prefix}/man|' ${WRKSRC}/configure diff --git a/games/scummvm-tools/Makefile b/games/scummvm-tools/Makefile index b55830336c91..c1026f999e44 100644 --- a/games/scummvm-tools/Makefile +++ b/games/scummvm-tools/Makefile @@ -30,10 +30,9 @@ STRIP_FILES= construct_mohawk create_sjisfnt decine degob dekyra \ deriven descumm desword2 extract_mohawk gob_loadcalc \ scummvm-tools-cli -OPTIONS_DEFINE= WXGTK +OPTIONS_DEFINE= WXGTK DOCS OPTIONS_DEFAULT= WXGTK -.include <bsd.port.options.mk> .include <bsd.port.pre.mk> .if ${PORT_OPTIONS:MWXGTK} diff --git a/games/scummvm/Makefile b/games/scummvm/Makefile index 1f1e249779f8..226b19cabd07 100644 --- a/games/scummvm/Makefile +++ b/games/scummvm/Makefile @@ -24,7 +24,7 @@ CONFIGURE_ARGS= --with-sdl-prefix=${LOCALBASE} \ --disable-tremor LDFLAGS+= ${PTHREAD_LIBS} -OPTIONS_DEFINE= VORBIS MP3 PNG FLAC FLUIDSYNTH MT32EMU +OPTIONS_DEFINE= VORBIS MP3 PNG FLAC FLUIDSYNTH MT32EMU DOCS FLUIDSYNTH_DESC= FluidSynth MIDI synthesizer MT32EMU_DESC= MT-32 emulator OPTIONS_DEFAULT= VORBIS MP3 PNG MT32EMU diff --git a/games/sxsame/Makefile b/games/sxsame/Makefile index e8f78cebd4d1..303fe6033bb5 100644 --- a/games/sxsame/Makefile +++ b/games/sxsame/Makefile @@ -21,6 +21,8 @@ USES= imake USE_XORG= xpm INSTALL_TARGET= install install.dir +OPTIONS_DEFINE= DOCS + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/sxsame ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/sxsame diff --git a/games/thudboard/Makefile b/games/thudboard/Makefile index 3a6f0a5a098d..77ab86f76e0b 100644 --- a/games/thudboard/Makefile +++ b/games/thudboard/Makefile @@ -17,6 +17,8 @@ USE_PYTHON= yes SUB_FILES= thudboard +OPTIONS_DEFINE= DOCS + post-patch: ${REINPLACE_CMD} -e 's|file:.*/docs|file://${DOCSDIR}|' \ ${WRKDIR}/thud.py diff --git a/games/worldofpadman/Makefile b/games/worldofpadman/Makefile index 67cd80a81959..dec3fb517f89 100644 --- a/games/worldofpadman/Makefile +++ b/games/worldofpadman/Makefile @@ -26,7 +26,7 @@ SRC_FILE= ${PORTNAME}-${PORTVERSION} VM_ARCHS= amd64 i386 powerpc OPTIONS_DEFINE= CURL CURL_DLOPEN GAMELIBS MP3 OPENAL OPENAL_DLOPEN \ - OPTIMIZED_CFLAGS VORBIS + OPTIMIZED_CFLAGS VORBIS DOCS OPTIONS_MULTI= FLAVOR OPTIONS_MULTI_FLAVOR= CLIENT SERVER SMP_CLIENT OPTIONS_DEFAULT= CLIENT CURL CURL_DLOPEN SERVER OPTIMIZED_CFLAGS \ diff --git a/games/xdigger/Makefile b/games/xdigger/Makefile index 96111fde29bd..6bd4f5f1c083 100644 --- a/games/xdigger/Makefile +++ b/games/xdigger/Makefile @@ -16,6 +16,8 @@ USE_XORG= x11 xext DESKTOP_ENTRIES="XDigger" "" "" "${PORTNAME}" "" "" +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/configure.h |