diff options
Diffstat (limited to 'games')
87 files changed, 161 insertions, 12 deletions
diff --git a/games/afternoonstalker/Makefile b/games/afternoonstalker/Makefile index 8878c6bb921c..a6430256d3ba 100644 --- a/games/afternoonstalker/Makefile +++ b/games/afternoonstalker/Makefile @@ -24,6 +24,8 @@ LDFLAGS+= -L${LOCALBASE}/lib PORTDOCS= AUTHORS COPYING INSTALL NEWS README THANKS TODO +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's|^pkgsounddir =.*|pkgsounddir = ${DATADIR}/sounds|' \ ${WRKSRC}/src/Makefile.in diff --git a/games/aop/Makefile b/games/aop/Makefile index 3ee6035bfd6a..ab7cf0eafe3b 100644 --- a/games/aop/Makefile +++ b/games/aop/Makefile @@ -22,6 +22,8 @@ ALL_TARGET= #empty PORTDOCS= README +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${STAGEDIR}${PREFIX}|g' \ ${WRKSRC}/Makefile diff --git a/games/battletanks/Makefile b/games/battletanks/Makefile index a06516280915..a3d9f28c61bd 100644 --- a/games/battletanks/Makefile +++ b/games/battletanks/Makefile @@ -32,6 +32,8 @@ PORTDOCS= LICENSE LICENSE.EXCEPTION README-en.txt README-linux.txt \ DESKTOP_ENTRIES="Battle Tanks" "" "" "${PORTNAME}" "Game;ArcadeGame;" "" +OPTIONS_DEFINE= DOCS + pre-build: # Regenerate `sl08.h' after we patch `sl08.py' (as patching the header itself # would have resulted in a larger diff and gratuitous difference with Debian) diff --git a/games/beret/Makefile b/games/beret/Makefile index ce4b907739d6..6800c7f9a1e2 100644 --- a/games/beret/Makefile +++ b/games/beret/Makefile @@ -31,6 +31,8 @@ PORTDOCS= README.txt FONT_DEP= AveriaSansGWF-Regular.ttf FONTDIR_DEP= ${LOCALBASE}/share/fonts/averiagwf +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/game.c diff --git a/games/blinken/Makefile b/games/blinken/Makefile index 86709cac62c7..fe1dce64340e 100644 --- a/games/blinken/Makefile +++ b/games/blinken/Makefile @@ -13,4 +13,6 @@ USE_KDE= auth codecs config configwidgets coreaddons crash dbusaddons \ USE_QT= core dbus gui phonon4 svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/games/bomber/Makefile b/games/bomber/Makefile index d30103b88d8a..42f9335f75cb 100644 --- a/games/bomber/Makefile +++ b/games/bomber/Makefile @@ -13,5 +13,7 @@ USE_KDE= auth codecs config configwidgets coreaddons crash dbusaddons \ USE_QT= core dbus gui network widgets phonon4 qml quick xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/bovo/Makefile b/games/bovo/Makefile index d9a5245e83c1..21a4bdc6a2c9 100644 --- a/games/bovo/Makefile +++ b/games/bovo/Makefile @@ -13,5 +13,7 @@ USE_KDE= auth codecs config configwidgets coreaddons crash dbusaddons \ USE_QT= concurrent core dbus gui network qml quick svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/burgerspace/Makefile b/games/burgerspace/Makefile index 617063b5dbbb..08a9d11b2358 100644 --- a/games/burgerspace/Makefile +++ b/games/burgerspace/Makefile @@ -24,6 +24,8 @@ LDFLAGS+= -L${LOCALBASE}/lib PORTDOCS= AUTHORS COPYING INSTALL NEWS README THANKS TODO +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's|^pkgsounddir =.*|pkgsounddir = ${DATADIR}/sounds|' \ ${WRKSRC}/src/Makefile.in diff --git a/games/capitalism/Makefile b/games/capitalism/Makefile index 11e62004f8b8..73446e54f511 100644 --- a/games/capitalism/Makefile +++ b/games/capitalism/Makefile @@ -36,7 +36,7 @@ ICON_SIZES= 16x16 22x22 24x24 32x32 48x48 64x64 DESKTOP_ENTRIES="Capitalism" "" "${PORTNAME}" \ "${PORTNAME}" "Game;BoardGame;" "" -OPTIONS_DEFINE= NLS +OPTIONS_DEFINE= NLS DOCS OPTIONS_SUB= yes NLS_CONFIGURE_ENABLE= nls diff --git a/games/connectfive/Makefile b/games/connectfive/Makefile index 981a6571bebe..3058f77aa4a1 100644 --- a/games/connectfive/Makefile +++ b/games/connectfive/Makefile @@ -28,6 +28,8 @@ PLIST_FILES= bin/${PORTNAME} PORTDOCS= * PORTDATA= * +OPTIONS_DEFINE= DOCS + .include <bsd.port.options.mk> post-patch: diff --git a/games/evilfinder/Makefile b/games/evilfinder/Makefile index ce922b55c5ab..a749fd74512f 100644 --- a/games/evilfinder/Makefile +++ b/games/evilfinder/Makefile @@ -25,7 +25,7 @@ PLIST_FILES= bin/ef \ PORTDATA= evilnumbers.dat PORTDOCS= README -OPTIONS_DEFINE= WRAPPER +OPTIONS_DEFINE= DOCS WRAPPER WRAPPER_DESC= Evilfinder local wrapper OPTIONS_DEFAULT= WRAPPER diff --git a/games/formido/Makefile b/games/formido/Makefile index 6400c0df56a3..2dc16bc24310 100644 --- a/games/formido/Makefile +++ b/games/formido/Makefile @@ -23,6 +23,8 @@ PLIST_FILES= bin/${PORTNAME} PORTDATA= * PORTDOCS= * +OPTIONS_DEFINE= DOCS + pre-build: @${MKDIR} ${WRKSRC}/obj diff --git a/games/freeblocks/Makefile b/games/freeblocks/Makefile index a2c6e8aeb6ad..0cfb67f9aad7 100644 --- a/games/freeblocks/Makefile +++ b/games/freeblocks/Makefile @@ -21,7 +21,7 @@ USE_SDL= sdl mixer image ttf PORTDOCS= * -OPTIONS_DEFINE= HALF_GFX +OPTIONS_DEFINE= HALF_GFX DOCS HALF_GFX_DESC= Use 320x240 graphics HALF_GFX_CMAKE_ON= -DHALF_GFX=ON diff --git a/games/freedroidrpg/Makefile b/games/freedroidrpg/Makefile index b083bbae54b5..553e94aeeead 100644 --- a/games/freedroidrpg/Makefile +++ b/games/freedroidrpg/Makefile @@ -30,7 +30,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} PORTDATA= * PORTDOCS= * -OPTIONS_DEFINE= NLS BACKTRACE OPENGL SOUND +OPTIONS_DEFINE= NLS BACKTRACE OPENGL SOUND DOCS OPTIONS_DEFAULT=BACKTRACE OPENGL SOUND OPTIONS_SUB= yes diff --git a/games/garith/Makefile b/games/garith/Makefile index e7d8db58af30..279d4fe00f7c 100644 --- a/games/garith/Makefile +++ b/games/garith/Makefile @@ -18,6 +18,8 @@ LDFLAGS+= `${GTK_CONFIG} --libs` PORTDOCS= BUGS HISTORY README TODO PLIST_FILES= bin/garith +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's|gldouble|double|;/gnome/d;/all.*apps/d'\ ${WRKSRC}/garith.c diff --git a/games/goldencheetah/Makefile b/games/goldencheetah/Makefile index 9592cc801077..49eceb4bf166 100644 --- a/games/goldencheetah/Makefile +++ b/games/goldencheetah/Makefile @@ -33,6 +33,8 @@ USE_QT= corelib gui linguist moc_build network opengl \ qmake rcc script sql svg uic webkit xml INFO= GC3-FAQ GC3-Release GC31-Release +OPTIONS_DEFINE= DOCS + post-extract: ${CP} ${WRKSRC}/src/gcconfig.pri.in ${WRKSRC}/src/gcconfig.pri ${CP} ${WRKSRC}/qwt/qwtconfig.pri.in ${WRKSRC}/qwt/qwtconfig.pri diff --git a/games/granatier/Makefile b/games/granatier/Makefile index 6e4dc9656284..7786bb68595c 100644 --- a/games/granatier/Makefile +++ b/games/granatier/Makefile @@ -14,5 +14,7 @@ USE_KDE= attica auth codecs config configwidgets coreaddons crash \ USE_QT= core dbus gui network qml quick svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/impossible_mission_puzzle/Makefile b/games/impossible_mission_puzzle/Makefile index 5da6550aa90b..f87b737cbe93 100644 --- a/games/impossible_mission_puzzle/Makefile +++ b/games/impossible_mission_puzzle/Makefile @@ -29,6 +29,8 @@ PORTDOCS= README DESKTOP_ENTRIES="Impossible Mission puzzle" "" "${PORTNAME}" \ "${PORTNAME}" "Game;ArcadeGame;" "" +OPTIONS_DEFINE= DOCS + do-build: @cd ${WRKSRC} && ${CC} -o ${PORTNAME} ${CFLAGS} \ `${SDL_CONFIG} --cflags --libs` puzzle.c diff --git a/games/jchessboard/Makefile b/games/jchessboard/Makefile index ad868a012bd9..48358d06ac11 100644 --- a/games/jchessboard/Makefile +++ b/games/jchessboard/Makefile @@ -31,6 +31,8 @@ PORTDOCS= * JARFILE= JChessBoard.jar +OPTIONS_DEFINE= DOCS + do-install: ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DATADIR} diff --git a/games/jfsw/Makefile b/games/jfsw/Makefile index 328ec2e0f2ac..48048c7c29a5 100644 --- a/games/jfsw/Makefile +++ b/games/jfsw/Makefile @@ -43,6 +43,8 @@ SUB_FILES= pkg-message PORTDOCS= readme.txt releasenotes.html +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} 's|/usr/X11R6|${LOCALBASE}|' \ ${WRKSRC}/jfbuild/Makefile diff --git a/games/joequake/Makefile b/games/joequake/Makefile index 2227ce259d94..f919edc42f86 100644 --- a/games/joequake/Makefile +++ b/games/joequake/Makefile @@ -27,7 +27,7 @@ MAKEFILE= Makefile.linux OPTIONS_MULTI= UI OPTIONS_MULTI_UI= OPENGL X11 -OPTIONS_DEFINE= HUD HUD_SA OPTIMIZED_CFLAGS X86_ASM +OPTIONS_DEFINE= HUD HUD_SA OPTIMIZED_CFLAGS X86_ASM DOCS OPTIONS_DEFAULT= OPENGL OPTIMIZED_CFLAGS X11 OPTIONS_DEFAULT_amd64= X86_ASM HUD_DESC= High quality HUD images (for OpenGL) diff --git a/games/kajongg/Makefile b/games/kajongg/Makefile index 55121f28d78d..ffe571b6e58c 100644 --- a/games/kajongg/Makefile +++ b/games/kajongg/Makefile @@ -18,5 +18,7 @@ USE_PYQT= core gui svg widgets USE_QT= core gui svg widgets \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/kanagram/Makefile b/games/kanagram/Makefile index 3d64e8e7247c..608b291e6836 100644 --- a/games/kanagram/Makefile +++ b/games/kanagram/Makefile @@ -14,4 +14,6 @@ USE_KDE= attica auth codecs config configwidgets coreaddons crash \ USE_QT= core dbus gui network opengl qml quick speech svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/games/kapman/Makefile b/games/kapman/Makefile index 05d86978e5aa..7d3dba5262e1 100644 --- a/games/kapman/Makefile +++ b/games/kapman/Makefile @@ -14,5 +14,7 @@ USE_KDE= auth codecs completion config configwidgets coreaddons crash \ USE_QT= core dbus gui network qml quick svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/katomic/Makefile b/games/katomic/Makefile index 2a4b573f2fcc..f77b292b0d21 100644 --- a/games/katomic/Makefile +++ b/games/katomic/Makefile @@ -14,5 +14,7 @@ USE_QT= core dbus gui network qml quick widgets xml \ buildtools_build qmake_build SHEBANG_FILES= katomic-levelset-upd.pl +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/kblackbox/Makefile b/games/kblackbox/Makefile index a79e5260b596..d26586723d26 100644 --- a/games/kblackbox/Makefile +++ b/games/kblackbox/Makefile @@ -14,5 +14,7 @@ USE_KDE= archive auth codecs config configwidgets coreaddons crash \ USE_QT= core dbus gui network qml quick svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/kblocks/Makefile b/games/kblocks/Makefile index cd14f2d697a6..ffa54702b1fc 100644 --- a/games/kblocks/Makefile +++ b/games/kblocks/Makefile @@ -14,5 +14,7 @@ USE_KDE= auth codecs completion config configwidgets coreaddons crash \ USE_QT= core dbus gui network phonon4 qml quick svg testlib widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/kbounce/Makefile b/games/kbounce/Makefile index 986c9f175bff..bd83dba08069 100644 --- a/games/kbounce/Makefile +++ b/games/kbounce/Makefile @@ -14,5 +14,7 @@ USE_KDE= auth codecs completion config configwidgets coreaddons crash \ USE_QT= core dbus gui network phonon4 qml quick svg testlib widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/kbreakout/Makefile b/games/kbreakout/Makefile index 80903ddf4bd0..5e7c13b1c121 100644 --- a/games/kbreakout/Makefile +++ b/games/kbreakout/Makefile @@ -14,5 +14,7 @@ USE_KDE= auth codecs completion config configwidgets coreaddons crash \ USE_QT= core dbus gui network qml quick svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/kdiamond/Makefile b/games/kdiamond/Makefile index 14dde980f6cc..0d6388828e01 100644 --- a/games/kdiamond/Makefile +++ b/games/kdiamond/Makefile @@ -14,5 +14,7 @@ USE_KDE= auth codecs config configwidgets coreaddons crash dbusaddons \ USE_QT= core dbus gui network qml quick widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/kfourinline/Makefile b/games/kfourinline/Makefile index 840bcbe1a8b4..1e21f3f9a232 100644 --- a/games/kfourinline/Makefile +++ b/games/kfourinline/Makefile @@ -15,5 +15,7 @@ USE_KDE= auth codecs completion config configwidgets coreaddons crash \ USE_QT= core dbus gui network qml quick svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/kgoldrunner/Makefile b/games/kgoldrunner/Makefile index a97a007a89a4..c933ed42798e 100644 --- a/games/kgoldrunner/Makefile +++ b/games/kgoldrunner/Makefile @@ -14,5 +14,7 @@ USE_KDE= auth codecs completion config configwidgets coreaddons \ USE_QT= core dbus gui network qml quick widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/khangman/Makefile b/games/khangman/Makefile index e75abebd82eb..0f3d5a6d018d 100644 --- a/games/khangman/Makefile +++ b/games/khangman/Makefile @@ -15,4 +15,6 @@ USE_QT= core dbus gui network qml quick svg widgets xml \ buildtools_build qmake_build USE_LDCONFIG= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/games/kigo/Makefile b/games/kigo/Makefile index 765f3f49e0ce..289491c5bd74 100644 --- a/games/kigo/Makefile +++ b/games/kigo/Makefile @@ -15,5 +15,7 @@ USE_KDE= attica auth codecs completion config configwidgets \ USE_QT= core dbus gui network qml quick svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/killbots/Makefile b/games/killbots/Makefile index ca6fac2447c7..2ae2db540ee9 100644 --- a/games/killbots/Makefile +++ b/games/killbots/Makefile @@ -14,5 +14,7 @@ USE_KDE= auth codecs completion config configwidgets coreaddons crash \ USE_QT= core dbus gui network qml quick widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/kiriki/Makefile b/games/kiriki/Makefile index bdf9d4464137..a3d89c15223b 100644 --- a/games/kiriki/Makefile +++ b/games/kiriki/Makefile @@ -13,5 +13,7 @@ USE_KDE= auth codecs config configwidgets coreaddons crash dbusaddons \ USE_QT= core dbus gui network printsupport qml quick svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/kjumpingcube/Makefile b/games/kjumpingcube/Makefile index 842ae64afacf..266aa4adeee7 100644 --- a/games/kjumpingcube/Makefile +++ b/games/kjumpingcube/Makefile @@ -15,5 +15,7 @@ USE_KDE= auth codecs completion config configwidgets coreaddons crash \ USE_QT= core dbus gui network qml quick svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/klickety/Makefile b/games/klickety/Makefile index f11d3ba1b05a..7e767e8dbfe5 100644 --- a/games/klickety/Makefile +++ b/games/klickety/Makefile @@ -16,5 +16,7 @@ USE_KDE= auth bookmarks codecs completion config configwidgets \ USE_QT= core dbus gui network qml quick widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/klines/Makefile b/games/klines/Makefile index ea0f95dbee66..a3050baa5de9 100644 --- a/games/klines/Makefile +++ b/games/klines/Makefile @@ -14,5 +14,7 @@ USE_KDE= auth codecs config configwidgets coreaddons crash dbusaddons \ USE_QT= core dbus gui network qml quick svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/kmahjongg/Makefile b/games/kmahjongg/Makefile index 0cef0f366f59..347157179802 100644 --- a/games/kmahjongg/Makefile +++ b/games/kmahjongg/Makefile @@ -16,5 +16,7 @@ USE_KDE= auth codecs completion config configwidgets coreaddons crash \ USE_QT= core dbus gui network qml quick svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/kmines/Makefile b/games/kmines/Makefile index 49f22a9c52a1..afae624042b1 100644 --- a/games/kmines/Makefile +++ b/games/kmines/Makefile @@ -14,5 +14,7 @@ USE_KDE= auth codecs config configwidgets coreaddons crash dbusaddons \ USE_QT= core dbus gui network qml quick widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/knavalbattle/Makefile b/games/knavalbattle/Makefile index c12af0ad4963..dff16aabfacb 100644 --- a/games/knavalbattle/Makefile +++ b/games/knavalbattle/Makefile @@ -14,5 +14,7 @@ USE_KDE= auth codecs completion config configwidgets coreaddons crash \ USE_QT= core dbus gui network qml quick widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/knetwalk/Makefile b/games/knetwalk/Makefile index c553931d05e5..9c6a369ecc3c 100644 --- a/games/knetwalk/Makefile +++ b/games/knetwalk/Makefile @@ -14,5 +14,7 @@ USE_KDE= auth codecs config configwidgets coreaddons crash dbusaddons \ USE_QT= core dbus gui network qml quick svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/kolf/Makefile b/games/kolf/Makefile index 2aa13e843c1d..48ca2c6f382b 100644 --- a/games/kolf/Makefile +++ b/games/kolf/Makefile @@ -19,5 +19,7 @@ USE_QT= core dbus gui network phonon4 printsupport qml quick \ USE_LDCONFIG= yes +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/kollision/Makefile b/games/kollision/Makefile index 3ff1902aa220..2dde50a35562 100644 --- a/games/kollision/Makefile +++ b/games/kollision/Makefile @@ -14,5 +14,7 @@ USE_KDE= auth codecs config configwidgets coreaddons crash dbusaddons \ USE_QT= core dbus gui network phonon4 qml quick svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/konquest/Makefile b/games/konquest/Makefile index b5a61c782e8b..f747e5c01594 100644 --- a/games/konquest/Makefile +++ b/games/konquest/Makefile @@ -14,5 +14,7 @@ USE_KDE= auth codecs config configwidgets coreaddons crash \ USE_QT= core dbus gui network qml quick svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/kpat/Makefile b/games/kpat/Makefile index 5d94336b1322..a5b06daf727c 100644 --- a/games/kpat/Makefile +++ b/games/kpat/Makefile @@ -17,5 +17,7 @@ USE_KDE= attica auth codecs completion config configwidgets coreaddons \ USE_QT= core dbus gui network phonon4 qml quick svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/kreversi/Makefile b/games/kreversi/Makefile index 356750c3a897..0b256695dfd7 100644 --- a/games/kreversi/Makefile +++ b/games/kreversi/Makefile @@ -15,5 +15,7 @@ USE_KDE= auth bookmarks codecs completion config configwidgets \ USE_QT= core dbus gui network qml quick svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/kshisen/Makefile b/games/kshisen/Makefile index 5859337757b4..ee1f2e16dbf0 100644 --- a/games/kshisen/Makefile +++ b/games/kshisen/Makefile @@ -16,5 +16,7 @@ USE_KDE= auth codecs completion config configwidgets coreaddons crash \ USE_QT= core dbus gui network qml quick svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/ksirk/Makefile b/games/ksirk/Makefile index 29b0f87d7f42..3a65b575ca75 100644 --- a/games/ksirk/Makefile +++ b/games/ksirk/Makefile @@ -17,5 +17,7 @@ USE_QT= core dbus gui network phonon4 qml quick svg widgets xml \ buildtools_build qmake_build USE_LDCONFIG= yes +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/ksnakeduel/Makefile b/games/ksnakeduel/Makefile index e9c787db2995..4528484e5a3c 100644 --- a/games/ksnakeduel/Makefile +++ b/games/ksnakeduel/Makefile @@ -14,5 +14,7 @@ USE_KDE= auth codecs completion config configwidgets coreaddons \ USE_QT= core dbus gui network qml quick svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/kspaceduel/Makefile b/games/kspaceduel/Makefile index 2e6db28706fe..31daca1b8a49 100644 --- a/games/kspaceduel/Makefile +++ b/games/kspaceduel/Makefile @@ -13,5 +13,7 @@ USE_KDE= auth codecs completion config configwidgets coreaddons \ USE_QT= core dbus gui network qml quick svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/ksquares/Makefile b/games/ksquares/Makefile index cff3d106b311..77bd1f3df5ec 100644 --- a/games/ksquares/Makefile +++ b/games/ksquares/Makefile @@ -14,5 +14,7 @@ USE_KDE= auth codecs completion config configwidgets coreaddons crash \ USE_QT= core dbus gui network qml quick widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/ksudoku/Makefile b/games/ksudoku/Makefile index 6dcfb66cac73..82b073730dde 100644 --- a/games/ksudoku/Makefile +++ b/games/ksudoku/Makefile @@ -16,5 +16,7 @@ USE_QT= core dbus gui network opengl printsupport qml quick \ svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/ktuberling/Makefile b/games/ktuberling/Makefile index 4e104cd4ec3a..069dd7393343 100644 --- a/games/ktuberling/Makefile +++ b/games/ktuberling/Makefile @@ -18,5 +18,7 @@ USE_QT= core dbus gui multimedia network phonon4 printsupport qml \ quick svg testlib widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/kubrick/Makefile b/games/kubrick/Makefile index 04b406df65af..5a6808547976 100644 --- a/games/kubrick/Makefile +++ b/games/kubrick/Makefile @@ -14,5 +14,7 @@ USE_KDE= auth codecs config configwidgets coreaddons crash ecm \ USE_QT= core dbus gui network opengl qml quick svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/libkdegames/Makefile b/games/libkdegames/Makefile index 05a1774fc28d..403683fd377c 100644 --- a/games/libkdegames/Makefile +++ b/games/libkdegames/Makefile @@ -23,4 +23,6 @@ SHLIB_VER= 7.0.0 PLIST_SUB+= SHLIB_VER="${SHLIB_VER}" \ SHLIB_SHVER="${SHLIB_VER:R:R}" +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/games/libkmahjongg/Makefile b/games/libkmahjongg/Makefile index 45549c299741..12424a2d75ee 100644 --- a/games/libkmahjongg/Makefile +++ b/games/libkmahjongg/Makefile @@ -13,4 +13,6 @@ USE_QT= core gui svg widgets \ buildtools_build qmake_build USE_LDCONFIG= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/games/lskat/Makefile b/games/lskat/Makefile index f24d17d14f2e..21b55d4da397 100644 --- a/games/lskat/Makefile +++ b/games/lskat/Makefile @@ -13,5 +13,7 @@ USE_KDE= auth codecs config configwidgets coreaddons crash ecm \ USE_QT= core dbus gui network qml quick svg widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/mirrormagic/Makefile b/games/mirrormagic/Makefile index c247fb56b42a..84f63d622179 100644 --- a/games/mirrormagic/Makefile +++ b/games/mirrormagic/Makefile @@ -29,7 +29,7 @@ DESKTOP_ENTRIES="Mirror Magic" \ "Game;LogicGame;" \ "" -OPTIONS_DEFINE= SDL +OPTIONS_DEFINE= SDL DOCS OPTIONS_DEFAULT=SDL SDL_USE= SDL=image,mixer,sdl diff --git a/games/netpanzer/Makefile b/games/netpanzer/Makefile index 4d4e912cb0e0..f6d6d7cac85e 100644 --- a/games/netpanzer/Makefile +++ b/games/netpanzer/Makefile @@ -28,6 +28,8 @@ PLIST_FILES= bin/netpanzer \ PORTDOCS= * PORTDATA= * +OPTIONS_DEFINE= DOCS + post-configure: ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/SConstruct diff --git a/games/ninix-aya/Makefile b/games/ninix-aya/Makefile index e60dc08d20b2..7ef2d94215f0 100644 --- a/games/ninix-aya/Makefile +++ b/games/ninix-aya/Makefile @@ -24,4 +24,6 @@ PORTDOCS= COPYING ChangeLog README README.ninix SAORI USES= gettext tar:tgz USE_RUBY= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/games/openalchemist/Makefile b/games/openalchemist/Makefile index 528e4e8d3661..7718848da013 100644 --- a/games/openalchemist/Makefile +++ b/games/openalchemist/Makefile @@ -33,6 +33,8 @@ USE_SDL= sdl gfx PORTDOCS= AUTHORS ChangeLog README TODO +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -E -e 's|0.8|1.0|g' -e 's|^%|#|g' ${WRKSRC}/configure.ac @${REINPLACE_CMD} -E -e 's|0.8|1.0|g' ${WRKSRC}/build/Makefile.am diff --git a/games/openbor/Makefile b/games/openbor/Makefile index 3f4bd154f56d..2bdfd21048ba 100644 --- a/games/openbor/Makefile +++ b/games/openbor/Makefile @@ -63,7 +63,7 @@ DESKTOP_ENTRIES="OpenBOR v3.0 Build ${PORTVERSION}" \ "Game;ArcadeGame;" \ "" -OPTIONS_DEFINE= TREMOR +OPTIONS_DEFINE= TREMOR DOCS OPTIONS_DEFAULT= ${MACHINE_CPU:Msoftfp:C/.+/TREMOR/} OPTIONS_DEFINE_i386= MMX OPTIONS_DEFAULT_i386= MMX # runtime detection diff --git a/games/openttd/Makefile b/games/openttd/Makefile index eabd930f9467..401287fe3220 100644 --- a/games/openttd/Makefile +++ b/games/openttd/Makefile @@ -42,6 +42,8 @@ PORTDOCS= HOWTO_compile_lang_files.txt admin_network.txt \ DESKTOP_ENTRIES="OpenTTD" "${COMMENT}" "${PORTNAME}" "${PORTNAME}" \ "Game;Simulation;StrategyGame;" false +OPTIONS_DEFINE= DOCS + .if defined(WITH_MIDI_PLAYER) CONFIGURE_ARGS+= --with-midi="${WITH_MIDI_PLAYER}" .endif diff --git a/games/palapeli/Makefile b/games/palapeli/Makefile index 0b2b36ca15b8..4c8212376e30 100644 --- a/games/palapeli/Makefile +++ b/games/palapeli/Makefile @@ -15,5 +15,7 @@ USE_QT= concurrent core dbus gui network svg widgets xml \ buildtools_build qmake_build USE_LDCONFIG= yes +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/palomino/Makefile b/games/palomino/Makefile index 01f388c8b12d..3c22c53d7aa5 100644 --- a/games/palomino/Makefile +++ b/games/palomino/Makefile @@ -36,7 +36,7 @@ PORTDOCS= * DESKTOP_ENTRIES= "Palomino" "" "${PORTNAME}" \ "${PORTNAME}" "Game;ArcadeGame;" "" -OPTIONS_DEFINE= GUI PLIB SDL +OPTIONS_DEFINE= DOCS GUI PLIB SDL OPTIONS_DEFAULT=GUI SDL OPTIONS_SUB= yes diff --git a/games/picmi/Makefile b/games/picmi/Makefile index b737597cd1b9..b7aa5eafad58 100644 --- a/games/picmi/Makefile +++ b/games/picmi/Makefile @@ -14,5 +14,7 @@ USE_KDE= auth codecs completion config configwidgets coreaddons crash \ USE_QT= core dbus gui network qml quick svg testlib widgets xml \ buildtools_build qmake_build +OPTIONS_DEFINE= DOCS + .include <${.CURDIR}/../kdegames/Makefile.common> .include <bsd.port.mk> diff --git a/games/plutocracy/Makefile b/games/plutocracy/Makefile index 0890ad379933..436d5d833456 100644 --- a/games/plutocracy/Makefile +++ b/games/plutocracy/Makefile @@ -28,6 +28,8 @@ SUB_FILES= plutocracy_ PORTDOCS= AUTHORS README PORTDATA= * +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's|span font|span font_desc|' \ ${WRKSRC}/src/render/r_assets.c diff --git a/games/pokerth/Makefile b/games/pokerth/Makefile index 90c6da5b6f4b..5ab28cfee765 100644 --- a/games/pokerth/Makefile +++ b/games/pokerth/Makefile @@ -33,6 +33,8 @@ WRKSRC= ${WRKDIR}/${DISTNAME}-rc PORTDOCS= server_setup_howto.txt +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -E \ -e 's|/usr([a-z|/]*)|${LOCALBASE}/\1|g' \ diff --git a/games/pongix/Makefile b/games/pongix/Makefile index 38fd9ec8f2e9..b7481dd59af1 100644 --- a/games/pongix/Makefile +++ b/games/pongix/Makefile @@ -21,6 +21,8 @@ LDFLAGS+= -L${LOCALBASE}/lib LIBS+= -lm PORTDOCS= AUTHORS ChangeLog README +OPTIONS_DEFINE= DOCS + do-install: ${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/src && \ diff --git a/games/prboom-plus/Makefile b/games/prboom-plus/Makefile index adf9904f73d1..8c0fe0799c58 100644 --- a/games/prboom-plus/Makefile +++ b/games/prboom-plus/Makefile @@ -22,7 +22,7 @@ USE_SDL= mixer net sdl GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-waddir=${DATADIR} -OPTIONS_DEFINE= OPENGL +OPTIONS_DEFINE= DOCS OPENGL OPTIONS_DEFAULT=OPENGL DATADIR= ${DMDIR} diff --git a/games/pvpgn/Makefile b/games/pvpgn/Makefile index d355286e611b..6e837b348b06 100644 --- a/games/pvpgn/Makefile +++ b/games/pvpgn/Makefile @@ -37,7 +37,7 @@ CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/pvpgn \ USE_RC_SUBR= bnetd -OPTIONS_DEFINE= D2 MYSQL PGSQL SQLITE3 +OPTIONS_DEFINE= D2 MYSQL PGSQL SQLITE3 DOCS OPTIONS_DEFAULT= D2 OPTIONS_SUB= yes diff --git a/games/rnd_jue/Makefile b/games/rnd_jue/Makefile index 9a1ba3ea66d4..3adf1c8270c7 100644 --- a/games/rnd_jue/Makefile +++ b/games/rnd_jue/Makefile @@ -45,6 +45,8 @@ ICON_SIZES= 32x32 48x48 64x64 72x72 96x96 DESKTOP_ENTRIES="R'n'D jue" "" "${PORTNAME}" \ "${PORTNAME}" "Game;ArcadeGame;" "" +OPTIONS_DEFINE= DOCS + post-extract-script: @(cd ${WRKDIR}/rocksndiamonds* && ${COPYTREE_SHARE} levels ${WRKSRC}) .for l in ${LEVELS_BD_FANS:S/$/.zip/} diff --git a/games/sdlpop/Makefile b/games/sdlpop/Makefile index 84a51a148ba9..51015c4ad8a0 100644 --- a/games/sdlpop/Makefile +++ b/games/sdlpop/Makefile @@ -25,6 +25,8 @@ PORTDOCS= * DESKTOP_ENTRIES= "Prince" "Open-Source port of Prince of Persia" \ "${DATADIR}/icon.png" "prince" "Game;" false +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|' ${WRKSRC}/seg009.c diff --git a/games/taipan/Makefile b/games/taipan/Makefile index 6742eacd75ab..9b2c72aed17a 100644 --- a/games/taipan/Makefile +++ b/games/taipan/Makefile @@ -16,6 +16,8 @@ MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LIBS="${LDFLAGS} -lncurses" PORTDOCS= README PLIST_FILES= bin/taipan +OPTIONS_DEFINE= DOCS + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/taipan ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DOCSDIR} diff --git a/games/tbe/Makefile b/games/tbe/Makefile index 4bc8e3c77137..20ed1047d7a8 100644 --- a/games/tbe/Makefile +++ b/games/tbe/Makefile @@ -24,6 +24,8 @@ USE_QT= corelib gui linguisttools_build moc_build qmake_build rcc_build \ PORTDOCS= * +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} 's/ make/ $$(MAKE)/' \ ${WRKSRC}/Makefile diff --git a/games/trigger-rally/Makefile b/games/trigger-rally/Makefile index a5de0a98d604..df4af0f81aff 100644 --- a/games/trigger-rally/Makefile +++ b/games/trigger-rally/Makefile @@ -31,6 +31,8 @@ DESKTOP_ENTRIES="Trigger" "" "trigger" \ PORTDOCS= README-stereo.txt README.txt DATA_AUTHORS.txt +OPTIONS_DEFINE= DOCS + do-install: ${INSTALL_PROGRAM} ${WORKINGSRC}/bin/trigger-rally ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${DATADIR} diff --git a/games/trimines/Makefile b/games/trimines/Makefile index 9a547affc0f6..e91047e7d305 100644 --- a/games/trimines/Makefile +++ b/games/trimines/Makefile @@ -24,6 +24,8 @@ DESKTOP_ENTRIES="Trimines" \ "Game;LogicGame;" \ "" +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's|data/|${DATADIR}/|' ${WRKSRC}/src/gfx.c diff --git a/games/vegastrike/Makefile b/games/vegastrike/Makefile index 50ca6956120e..4b9a112a58c6 100644 --- a/games/vegastrike/Makefile +++ b/games/vegastrike/Makefile @@ -43,7 +43,7 @@ BIN_FILES= bin/vegastrike bin/vssetup bin/vegaserver PLIST_FILES= ${BIN_FILES} PORTDOCS= README -OPTIONS_DEFINE= MESHER +OPTIONS_DEFINE= MESHER DOCS MESHER_DESC= Enable mesher modelling tool MESHER_PLIST_FILES= bin/mesher diff --git a/games/volleyball/Makefile b/games/volleyball/Makefile index fb2a071e8b27..c48e84e93010 100644 --- a/games/volleyball/Makefile +++ b/games/volleyball/Makefile @@ -34,6 +34,8 @@ DESKTOP_ENTRIES="Pocket Volleyball" \ "Game;SportsGame;ArcadeGame;" \ false +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} '/libintl\.h/d' ${WRKSRC}/src/common.h @${REINPLACE_CMD} -e '/setlocale/d' -e '/textdomain/d' \ diff --git a/games/voxelands/Makefile b/games/voxelands/Makefile index 35875b9bec01..3db8e3e0bd62 100644 --- a/games/voxelands/Makefile +++ b/games/voxelands/Makefile @@ -24,7 +24,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME} OPTIONS_SUB= yes -OPTIONS_DEFINE= NLS SOUND SQLITE3 +OPTIONS_DEFINE= NLS SOUND SQLITE3 DOCS OPTIONS_MULTI= BINARIES OPTIONS_MULTI_BINARIES= CLIENT SERVER diff --git a/games/widelands/Makefile b/games/widelands/Makefile index 431aa9aec843..7fd3e03fb072 100644 --- a/games/widelands/Makefile +++ b/games/widelands/Makefile @@ -39,6 +39,8 @@ DESKTOP_ENTRIES="Widelands" \ "Game;StrategyGame;" \ "" +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/cmake/Modules/*.cmake diff --git a/games/wmeyes/Makefile b/games/wmeyes/Makefile index be52c17767b4..99917fd7b65a 100644 --- a/games/wmeyes/Makefile +++ b/games/wmeyes/Makefile @@ -16,6 +16,8 @@ USE_XORG= xpm xmu PORTDOCS= README PLIST_FILES= bin/wmeyes +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's|Target(|TargetNoMan(|g' ${WRKSRC}/Imakefile diff --git a/games/xorgramana/Makefile b/games/xorgramana/Makefile index 26850dd7870d..81e56ef74778 100644 --- a/games/xorgramana/Makefile +++ b/games/xorgramana/Makefile @@ -29,6 +29,8 @@ DESKTOP_ENTRIES="XorGramana" \ "Game;LogicGame;" \ false +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's|GFX/|${DATADIR}/&|' ${WRKSRC}/icons.c diff --git a/games/xshogi/Makefile b/games/xshogi/Makefile index 547ecc362cb6..91e3d680c7c1 100644 --- a/games/xshogi/Makefile +++ b/games/xshogi/Makefile @@ -19,4 +19,6 @@ CPPFLAGS+= -I${LOCALBASE}/include PORTDOCS= README.xboard BUGS PLIST_FILES= bin/xshogi man/man6/xshogi.6.gz +OPTIONS_DEFINE= DOCS + .include <bsd.port.mk> diff --git a/games/yadex/Makefile b/games/yadex/Makefile index e3e4e6f5e1a8..46cf8a168c85 100644 --- a/games/yadex/Makefile +++ b/games/yadex/Makefile @@ -44,6 +44,7 @@ PATCHFILES= ${PATCH_PREFIX}_Depend${PATCH_SUFFIX} 3D_RENDER_PATCHFILES= ${PATCH_PREFIX}_Render3D${PATCH_SUFFIX} 3D_RENDER_PORTDOCS= preview.html +3D_RENDER_IMPLIES= DOCS SEARCH_PATCHFILES= ${PATCH_PREFIX}_Find${PATCH_SUFFIX} EXTRA_TOOLS_PATCHFILES= ${PATCH_PREFIX}_Tools${PATCH_SUFFIX} LAPTOP_KEYS_PATCHFILES= ${PATCH_PREFIX}_Keys${PATCH_SUFFIX} |