aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-10 21:54:26 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-10 21:54:26 +0800
commit591689f7f7301da41e08d95976e1318322254d75 (patch)
tree3a1e73b4128190b7ed7020b2113a1d94d76b0e93 /games
parent241bc346167b5bfc4beac8d3b3044454cf6b0f87 (diff)
downloadfreebsd-ports-gnome-591689f7f7301da41e08d95976e1318322254d75.tar.gz
freebsd-ports-gnome-591689f7f7301da41e08d95976e1318322254d75.tar.zst
freebsd-ports-gnome-591689f7f7301da41e08d95976e1318322254d75.zip
According to the Porter's Handbook (5.12.2.3.) default options must be added to
OPTIONS_DEFINE. This policy has been implemented only recently that's why we have many ports violating this policy. This patch adds the default options specified in the Porter's Handbook to OPTIONS_DEFINE where they are being used. Ports maintained by gnome@FreeBSD.org, kde@FreeBSD.org and x11@FreeBSD.org have been excluded. Approved by: portmgr (bapt)
Diffstat (limited to 'games')
-rw-r--r--games/actx/Makefile3
-rw-r--r--games/banihstypos/Makefile2
-rw-r--r--games/boswars/Makefile3
-rw-r--r--games/castlevox/Makefile3
-rw-r--r--games/critterding/Makefile2
-rw-r--r--games/cultivation/Makefile3
-rw-r--r--games/dangen/Makefile2
-rw-r--r--games/dungeon/Makefile3
-rw-r--r--games/ember/Makefile3
-rw-r--r--games/fishsupper/Makefile2
-rw-r--r--games/freecol/Makefile3
-rw-r--r--games/galaxymage/Makefile2
-rw-r--r--games/gl-117/Makefile3
-rw-r--r--games/glchess/Makefile3
-rw-r--r--games/gnomechess/Makefile2
-rw-r--r--games/goonies/Makefile2
-rw-r--r--games/jvgs/Makefile2
-rw-r--r--games/knights-kde4/Makefile2
-rw-r--r--games/lpairs/Makefile2
-rw-r--r--games/ltris/Makefile2
-rw-r--r--games/mindfocus/Makefile3
-rw-r--r--games/monsterz/Makefile3
-rw-r--r--games/nethack33/Makefile2
-rw-r--r--games/nethack34/Makefile2
-rw-r--r--games/nettoe/Makefile2
-rw-r--r--games/pcgen/Makefile2
-rw-r--r--games/ptools/Makefile2
-rw-r--r--games/py-fife/Makefile2
-rw-r--r--games/rubix/Makefile3
-rw-r--r--games/sauerbraten/Makefile3
-rw-r--r--games/sdl-ball/Makefile2
-rw-r--r--games/secretmaryochronicles-music/Makefile3
-rw-r--r--games/secretmaryochronicles/Makefile3
-rw-r--r--games/sudoku/Makefile3
-rw-r--r--games/super_methane_brothers/Makefile3
-rw-r--r--games/tetrinet/Makefile2
-rw-r--r--games/tomenet/Makefile2
-rw-r--r--games/urbanterror-data/Makefile3
-rw-r--r--games/xbattle/Makefile3
-rw-r--r--games/xblast/Makefile3
-rw-r--r--games/xkoules/Makefile3
-rw-r--r--games/xmulti/Makefile3
-rw-r--r--games/xvier/Makefile3
43 files changed, 109 insertions, 0 deletions
diff --git a/games/actx/Makefile b/games/actx/Makefile
index 788812e88d78..7839e90a8fb9 100644
--- a/games/actx/Makefile
+++ b/games/actx/Makefile
@@ -20,6 +20,9 @@ MANLANG= "" ja
ACTXDIR= ${PREFIX}/share/examples/actx
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-extract:
diff --git a/games/banihstypos/Makefile b/games/banihstypos/Makefile
index 08991ad41f14..174182b391a6 100644
--- a/games/banihstypos/Makefile
+++ b/games/banihstypos/Makefile
@@ -16,6 +16,8 @@ SUB_LIST= PORTNAME=${PORTNAME}
PLIST_FILES= bin/banihstypos
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ! ${PORT_OPTIONS:MDOCS}
diff --git a/games/boswars/Makefile b/games/boswars/Makefile
index c5751ffaf3cb..99ea147192e7 100644
--- a/games/boswars/Makefile
+++ b/games/boswars/Makefile
@@ -32,6 +32,9 @@ DESKTOP_ENTRIES= "Bos Wars" "${COMMENT}" "" \
PORTDOCS= *
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/games/castlevox/Makefile b/games/castlevox/Makefile
index 648c3ddb25f9..a9658827084b 100644
--- a/games/castlevox/Makefile
+++ b/games/castlevox/Makefile
@@ -26,6 +26,9 @@ DESKTOP_ENTRIES="Castle Vox" "${COMMENT}" \
"${PORTNAME}" "Game;StrategyGame;" false
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/games/critterding/Makefile b/games/critterding/Makefile
index b256261a9d66..a621a287eddd 100644
--- a/games/critterding/Makefile
+++ b/games/critterding/Makefile
@@ -25,6 +25,8 @@ USE_GCC= yes
PORTDOCS= README AUTHORS Changelog
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/games/cultivation/Makefile b/games/cultivation/Makefile
index 299e781d3570..abca728359d3 100644
--- a/games/cultivation/Makefile
+++ b/games/cultivation/Makefile
@@ -24,6 +24,9 @@ MAKE_ARGS= CXX=${CXX}
PORTDOCS= changeLog.txt how_to_play.txt
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/games/dangen/Makefile b/games/dangen/Makefile
index 95c1e7be4adb..84c6d6b91524 100644
--- a/games/dangen/Makefile
+++ b/games/dangen/Makefile
@@ -26,6 +26,8 @@ PLIST_FILES= bin/${PORTNAME} \
PORTDOCS= *
PORTDATA= *
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/games/dungeon/Makefile b/games/dungeon/Makefile
index 8e7928641e1f..063b31a01951 100644
--- a/games/dungeon/Makefile
+++ b/games/dungeon/Makefile
@@ -35,6 +35,9 @@ MAKE_FLAGS+= DATADIR=${DATADIR}
MAKE_ENV+= GDT_FLAG=-DHAVE_GDT
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
pre-patch:
diff --git a/games/ember/Makefile b/games/ember/Makefile
index ab04d0f5de8a..46a2e0d592ec 100644
--- a/games/ember/Makefile
+++ b/games/ember/Makefile
@@ -41,6 +41,9 @@ CPPFLAGS+= -DBR_NO_MACROS
USE_GCC= 4.7+
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/games/fishsupper/Makefile b/games/fishsupper/Makefile
index 7be7f9a8b92d..99376496ef23 100644
--- a/games/fishsupper/Makefile
+++ b/games/fishsupper/Makefile
@@ -31,6 +31,8 @@ DESKTOP_ENTRIES="Fish Supper" \
"Game;ArcadeGame;" \
false
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${OSVERSION} > 1000000
diff --git a/games/freecol/Makefile b/games/freecol/Makefile
index 92cbb654c0e0..07bd5f22c22e 100644
--- a/games/freecol/Makefile
+++ b/games/freecol/Makefile
@@ -29,6 +29,9 @@ PORTDOCS= *
DESKTOP_ENTRIES="FreeCol" "${COMMENT}" "${DATADIR}/freecol.xpm" "freecol" "Game;StrategyGame;" "false"
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-extract:
diff --git a/games/galaxymage/Makefile b/games/galaxymage/Makefile
index 2fb4724da267..e4ac694fd259 100644
--- a/games/galaxymage/Makefile
+++ b/games/galaxymage/Makefile
@@ -20,6 +20,8 @@ NO_BUILD= yes
NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-configure:
diff --git a/games/gl-117/Makefile b/games/gl-117/Makefile
index 468b2e1b5626..c2fa64cdad40 100644
--- a/games/gl-117/Makefile
+++ b/games/gl-117/Makefile
@@ -28,6 +28,9 @@ DESKTOP_ENTRIES= "GL-117" \
MAN6= gl-117.6
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/games/glchess/Makefile b/games/glchess/Makefile
index cd40d255b09b..2a4e683cf7dc 100644
--- a/games/glchess/Makefile
+++ b/games/glchess/Makefile
@@ -20,6 +20,9 @@ USE_PYDISTUTILS= yes
GCONF_SCHEMAS= glchess.schemas
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/games/gnomechess/Makefile b/games/gnomechess/Makefile
index 6b99f45f2046..dd45b7410a0f 100644
--- a/games/gnomechess/Makefile
+++ b/games/gnomechess/Makefile
@@ -29,6 +29,8 @@ LDFLAGS+= -L${LOCALBASE}/lib
MAKE_ARGS= XML_I18N_UPDATE="${TRUE}" XML_I18N_EXTRACT="${TRUE}"
DATADIR= ${PREFIX}/share/gnome-chess
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/games/goonies/Makefile b/games/goonies/Makefile
index f202701ffea4..42952b21d62a 100644
--- a/games/goonies/Makefile
+++ b/games/goonies/Makefile
@@ -26,6 +26,8 @@ PLIST_FILES= bin/${PORTNAME}
PORTDOCS= *
PORTDATA= *
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${ARCH} == "sparc64"
diff --git a/games/jvgs/Makefile b/games/jvgs/Makefile
index e857e09bf576..9299712b767b 100644
--- a/games/jvgs/Makefile
+++ b/games/jvgs/Makefile
@@ -26,6 +26,8 @@ PLIST_FILES= bin/${PORTNAME} libexec/${PORTNAME}
PORTDOCS= *
PORTDATA= *
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/games/knights-kde4/Makefile b/games/knights-kde4/Makefile
index 11b01216ee65..6f2a17f91638 100644
--- a/games/knights-kde4/Makefile
+++ b/games/knights-kde4/Makefile
@@ -19,6 +19,8 @@ USES= cmake:outsource
USE_KDE4= kdelibs kdehier kdeprefix automoc4 workspace libkdegames
USE_QT4= qmake_build moc_build rcc_build uic_build
+OPTIONS_DEFINE= DOCS NLS
+
.include <bsd.port.options.mk>
.if ! ${PORT_OPTIONS:MDOCS}
diff --git a/games/lpairs/Makefile b/games/lpairs/Makefile
index f3a9a41df5fd..4f4040ef92d2 100644
--- a/games/lpairs/Makefile
+++ b/games/lpairs/Makefile
@@ -15,6 +15,8 @@ USE_SDL= sdl
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/games/ltris/Makefile b/games/ltris/Makefile
index 1f0193dc669f..d9f9a2330e16 100644
--- a/games/ltris/Makefile
+++ b/games/ltris/Makefile
@@ -17,6 +17,8 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --localstatedir=${DATADIR}
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
diff --git a/games/mindfocus/Makefile b/games/mindfocus/Makefile
index a7a507d20bc8..000e5514de69 100644
--- a/games/mindfocus/Makefile
+++ b/games/mindfocus/Makefile
@@ -18,6 +18,9 @@ RESTRICTED= 'contains commercial character data'
DOCSDIR= ${PREFIX}/share/doc/ja/${PORTNAME}
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/games/monsterz/Makefile b/games/monsterz/Makefile
index 16d9a9a663b8..b84943095e89 100644
--- a/games/monsterz/Makefile
+++ b/games/monsterz/Makefile
@@ -33,6 +33,9 @@ DESKTOP_ENTRIES="Monsterz" "${COMMENT}" "${PORTNAME}" \
"${PORTNAME}" "Game;ArcadeGame;" false
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/games/nethack33/Makefile b/games/nethack33/Makefile
index 80639ef58a48..edf315ded4c3 100644
--- a/games/nethack33/Makefile
+++ b/games/nethack33/Makefile
@@ -46,6 +46,8 @@ GRAPHICS= # none
NO_STAGE= yes
.include <bsd.port.pre.mk>
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if !exists(${PREFIX}/bin/${HACKLINK}) && ${HACKNAME} != ${HACKLINK}
diff --git a/games/nethack34/Makefile b/games/nethack34/Makefile
index 3a6f0fb61164..5404b5937455 100644
--- a/games/nethack34/Makefile
+++ b/games/nethack34/Makefile
@@ -81,6 +81,8 @@ pre-everything::
${ECHO_MSG} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" ; \
fi
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/games/nettoe/Makefile b/games/nettoe/Makefile
index 1937711b2207..04db24eb6425 100644
--- a/games/nettoe/Makefile
+++ b/games/nettoe/Makefile
@@ -18,6 +18,8 @@ USES= gmake
GNU_CONFIGURE= yes
PORTDOCS= AUTHORS BUGS ChangeLog NEWS README TO-DO
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/games/pcgen/Makefile b/games/pcgen/Makefile
index 150c0361e68c..5382c49accd9 100644
--- a/games/pcgen/Makefile
+++ b/games/pcgen/Makefile
@@ -23,6 +23,8 @@ DATAFILES= batch-convert.jar characters data filepaths.ini lib \
SUB_FILES= pcgen.sh
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
PORTDOCS= *
diff --git a/games/ptools/Makefile b/games/ptools/Makefile
index 9178558e073b..44287cb19262 100644
--- a/games/ptools/Makefile
+++ b/games/ptools/Makefile
@@ -25,6 +25,8 @@ NO_WRKSUBDIR= yes
MAN6= ptools-mopt.6 ptools-mts.6
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-build:
(${ECHO_CMD} "#!${PERL}"; ${CAT} ${DISTDIR}/p3-2.pl) \
diff --git a/games/py-fife/Makefile b/games/py-fife/Makefile
index 677c936221c6..e5d9c6f99336 100644
--- a/games/py-fife/Makefile
+++ b/games/py-fife/Makefile
@@ -39,6 +39,8 @@ post-patch:
${REINPLACE_CMD} -e 's/X11R6/local/g; s/libpng/ligpng15/g' ${WRKSRC}/build/openbsd4-config.py && \
${MV} ${WRKSRC}/build/openbsd4-config.py ${WRKSRC}/build/${PYTHON_PLATFORM}-config.py
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/games/rubix/Makefile b/games/rubix/Makefile
index e54b860f8ebd..09a8b0852049 100644
--- a/games/rubix/Makefile
+++ b/games/rubix/Makefile
@@ -24,6 +24,9 @@ PLIST_FILES= bin/rubix
DOCFILES= AUTHORS BUGS INSTALL README TODO
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/games/sauerbraten/Makefile b/games/sauerbraten/Makefile
index c1abc60c6d46..3bea4797161f 100644
--- a/games/sauerbraten/Makefile
+++ b/games/sauerbraten/Makefile
@@ -37,6 +37,9 @@ MASTER_DESC= Build master server
SUB_FILES= sauer_client sauer_master sauer_server pkg-message
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MCLIENT}
diff --git a/games/sdl-ball/Makefile b/games/sdl-ball/Makefile
index 3df56f761be7..b7dba5425f36 100644
--- a/games/sdl-ball/Makefile
+++ b/games/sdl-ball/Makefile
@@ -26,6 +26,8 @@ PLIST_FILES= bin/${PORTNAME}
PORTDOCS= *
PORTDATA= *
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-build:
diff --git a/games/secretmaryochronicles-music/Makefile b/games/secretmaryochronicles-music/Makefile
index 34f5dfb49844..3a6f2fc08e0b 100644
--- a/games/secretmaryochronicles-music/Makefile
+++ b/games/secretmaryochronicles-music/Makefile
@@ -21,6 +21,9 @@ NO_BUILD= yes
PORTDOCS= Addon_-_Music_Readme.txt
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/games/secretmaryochronicles/Makefile b/games/secretmaryochronicles/Makefile
index 1f1b9edf93d9..dc702c02cf99 100644
--- a/games/secretmaryochronicles/Makefile
+++ b/games/secretmaryochronicles/Makefile
@@ -34,6 +34,9 @@ WRKSRC= ${WRKDIR}/smc
PORTDOCS= controls.html history.html style.css
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/games/sudoku/Makefile b/games/sudoku/Makefile
index 209cef0937f1..f6495182ed24 100644
--- a/games/sudoku/Makefile
+++ b/games/sudoku/Makefile
@@ -19,6 +19,9 @@ PLIST_DIRS= share/sudoku
MAN6= sudoku.6
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
diff --git a/games/super_methane_brothers/Makefile b/games/super_methane_brothers/Makefile
index 665ac301770d..ac1061df26dc 100644
--- a/games/super_methane_brothers/Makefile
+++ b/games/super_methane_brothers/Makefile
@@ -30,6 +30,9 @@ PORTDOCS= *
PLIST_FILES= bin/methane
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
diff --git a/games/tetrinet/Makefile b/games/tetrinet/Makefile
index e7344557e627..5f1bb3f3ab64 100644
--- a/games/tetrinet/Makefile
+++ b/games/tetrinet/Makefile
@@ -12,6 +12,8 @@ COMMENT= Console tetrinet client
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -DHAVE_IPV6 -fno-builtin-log"
PLIST_FILES= bin/tetrinet bin/tetrinet-server
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
diff --git a/games/tomenet/Makefile b/games/tomenet/Makefile
index 1c64aaa10aef..5f34b39a2d9b 100644
--- a/games/tomenet/Makefile
+++ b/games/tomenet/Makefile
@@ -28,6 +28,8 @@ do-install:
${MKDIR} ${STAGEDIR}${ETCDIR}
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/.tomenetrc ${STAGEDIR}${ETCDIR}/tomenetrc
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/games/urbanterror-data/Makefile b/games/urbanterror-data/Makefile
index 100e58eacbf9..e6a310cbdc22 100644
--- a/games/urbanterror-data/Makefile
+++ b/games/urbanterror-data/Makefile
@@ -27,6 +27,9 @@ URT_REV= ${PORTVERSION:C/([0-9]+\.[0-9]+).*\.([0-9]+)/\2/}
PLIST_SUB+= VER=${URT_VER}
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
do-install:
diff --git a/games/xbattle/Makefile b/games/xbattle/Makefile
index c0c63cfe2659..df0ad663a647 100644
--- a/games/xbattle/Makefile
+++ b/games/xbattle/Makefile
@@ -18,6 +18,9 @@ MAN1= xbattle.1
CFLAGS+= -Wno-return-type
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/games/xblast/Makefile b/games/xblast/Makefile
index e8b2ae964b85..4a98164221a3 100644
--- a/games/xblast/Makefile
+++ b/games/xblast/Makefile
@@ -59,6 +59,9 @@ MUSICS_DATE= 2005-01-06
SOUNDS_DATE= 2004-04-29
NO_STAGE= yes
+
+OPTIONS_DEFINE= NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
diff --git a/games/xkoules/Makefile b/games/xkoules/Makefile
index 6bbfd6b5c608..fcd3bcded9ee 100644
--- a/games/xkoules/Makefile
+++ b/games/xkoules/Makefile
@@ -19,6 +19,9 @@ MAN6= xkoules.6
MAKE_JOBS_UNSAFE= yes
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-extract:
diff --git a/games/xmulti/Makefile b/games/xmulti/Makefile
index cb3d34fed650..ffe78edfb2e6 100644
--- a/games/xmulti/Makefile
+++ b/games/xmulti/Makefile
@@ -21,6 +21,9 @@ NO_MANCOMPRESS= yes
DOCSDIR= ${PREFIX}/share/doc/ja/{PORTNAME}
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install:
diff --git a/games/xvier/Makefile b/games/xvier/Makefile
index 5cc0066fe27b..907132dc851a 100644
--- a/games/xvier/Makefile
+++ b/games/xvier/Makefile
@@ -19,6 +19,9 @@ USE_XORG= x11 xext
MAN6= xvier.6
NO_STAGE= yes
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-install: