aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/alephone/Makefile2
-rw-r--r--games/eboard/Makefile2
-rw-r--r--games/gnuchess/Makefile2
-rw-r--r--games/heretic/Makefile2
-rw-r--r--games/ioquake3/Makefile1
-rw-r--r--games/ldmud/Makefile2
-rw-r--r--games/linux-quake4/Makefile2
-rw-r--r--games/megaglest/Makefile2
-rw-r--r--games/mkgichessclub/Makefile4
-rw-r--r--games/nethack32/Makefile2
-rw-r--r--games/slashem-tty/Makefile2
-rw-r--r--games/wesnoth/Makefile2
-rw-r--r--games/xboard/Makefile2
13 files changed, 14 insertions, 13 deletions
diff --git a/games/alephone/Makefile b/games/alephone/Makefile
index cfe19e09737a..f39c04ee04d5 100644
--- a/games/alephone/Makefile
+++ b/games/alephone/Makefile
@@ -21,7 +21,7 @@ CONFIGURE_ARGS+=--disable-alsa --disable-sndfile
DATADIR= ${PREFIX}/share/AlephOne
-OPTIONS_DEFINE= MAD OGG SPEEX SMPEG TTF ZZIP
+OPTIONS_DEFINE= MAD OGG SPEEX SMPEG TTF ZZIP DOCS
SMPEG_DESC= Use SMPEG for movie playback
TTF_DESC= Enable SDL_ttf font rendering
ZZIP_DESC= Enable zziplib support
diff --git a/games/eboard/Makefile b/games/eboard/Makefile
index b41dc092b16c..21eb48422563 100644
--- a/games/eboard/Makefile
+++ b/games/eboard/Makefile
@@ -32,7 +32,7 @@ CONFIGURE_ARGS= --prefix=${PREFIX} \
INSTALL_TARGET= install install-man
-OPTIONS_DEFINE= JOYSTICK
+OPTIONS_DEFINE= JOYSTICK DOCS
JOYSTICK_DESC= Enable joystick support
DESKTOP_ENTRIES="eboard" \
diff --git a/games/gnuchess/Makefile b/games/gnuchess/Makefile
index 268737f55e92..cd08f313d20c 100644
--- a/games/gnuchess/Makefile
+++ b/games/gnuchess/Makefile
@@ -16,7 +16,7 @@ INFO= gnuchess
USES= shebangfix
SHEBANG_FILES= doc/quotes.rb
-OPTIONS_DEFINE= OPENING_BOOK
+OPTIONS_DEFINE= OPENING_BOOK DOCS
OPTIONS_DEFAULT= OPENING_BOOK
OPENING_BOOK_DESC= Install opening book (25 MB download)
diff --git a/games/heretic/Makefile b/games/heretic/Makefile
index f7619f8bbc71..32de99c1033b 100644
--- a/games/heretic/Makefile
+++ b/games/heretic/Makefile
@@ -16,7 +16,7 @@ USES= gmake
USE_XORG= x11 xi xpm xau
MAKE_ENV= PTHREAD_LIBS=${PTHREAD_LIBS}
-OPTIONS_DEFINE= WAD
+OPTIONS_DEFINE= WAD DOCS
OPTIONS_SINGLE= SG1
OPTIONS_SINGLE_SG1= X11 FASTX11 SDL
FASTX11_DESC= Use FastX11
diff --git a/games/ioquake3/Makefile b/games/ioquake3/Makefile
index 7edda74a00cc..8f914137b0c1 100644
--- a/games/ioquake3/Makefile
+++ b/games/ioquake3/Makefile
@@ -49,6 +49,7 @@ GAMELIBS_DESC= Build game libraries
OPTIONS_DEFINE+= OPUS
OPTIONS_DEFAULT+= OPUS
.endif
+OPTIONS_DEFINE+=DOCS
MAKE_ARGS+= DEFAULT_BASEDIR="${Q3DIR}" \
DEFAULT_LIBDIR="${PREFIX}/${LIBDIR}" \
diff --git a/games/ldmud/Makefile b/games/ldmud/Makefile
index 93334481d453..656b0f865af5 100644
--- a/games/ldmud/Makefile
+++ b/games/ldmud/Makefile
@@ -30,7 +30,7 @@ MAKE_JOBS_UNSAFE= yes
USERS= mud
GROUPS= mud
-OPTIONS_DEFINE= MYSQL PGSQL SQLITE IPV6
+OPTIONS_DEFINE= MYSQL PGSQL SQLITE IPV6 DOCS
OPTIONS_DEFAULT=MYSQL PGSQL SQLITE IPV6 LPMUD
OPTIONS_SINGLE= MUDLIB
OPTIONS_SINGLE_MUDLIB= LPMUD DEMOLIB
diff --git a/games/linux-quake4/Makefile b/games/linux-quake4/Makefile
index 5abca428ea87..05c3f8d66adc 100644
--- a/games/linux-quake4/Makefile
+++ b/games/linux-quake4/Makefile
@@ -25,7 +25,7 @@ PLIST_SUB+= Q4DIR="${Q4DIR}" \
LINUXBASE="${LINUXBASE}"
SUB_FILES= pkg-message
-OPTIONS_DEFINE= THREADS GERMANY
+OPTIONS_DEFINE= THREADS GERMANY DOCS
GERMANY_DESC= Germany version
OPTIONS_DEFAULT= THREADS
diff --git a/games/megaglest/Makefile b/games/megaglest/Makefile
index 63e707925824..40f9365b3657 100644
--- a/games/megaglest/Makefile
+++ b/games/megaglest/Makefile
@@ -32,7 +32,7 @@ WX_UNICODE= yes
CFLAGS+= -I${LOCALBASE}/include/libpng15
WRKSRC= ${WRKDIR}/${PORTNAME}-3.9.0
-OPTIONS_DEFINE= EDITOR
+OPTIONS_DEFINE= EDITOR DOCS
OPTIONS_SUB= yes
EDITOR_DESC= Install MegaGlest Editor
diff --git a/games/mkgichessclub/Makefile b/games/mkgichessclub/Makefile
index 96fd04c84199..b6099bf8d657 100644
--- a/games/mkgichessclub/Makefile
+++ b/games/mkgichessclub/Makefile
@@ -29,16 +29,12 @@ PHALANX_RUN_DEPENDS= phalanx:${PORTSDIR}/games/phalanx
WRKSRC= ${WRKDIR}/MKGIChessClub-${PORTVERSION}
-.include <bsd.port.options.mk>
-
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}; cd ${WRKSRC}; \
${INSTALL_DATA} database/* ${STAGEDIR}${DATADIR}; \
${MKDIR} ${STAGEDIR}${WWWDIR}; cd www; ${CP} -R . ${STAGEDIR}${WWWDIR}
-.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}; \
${INSTALL_DATA} ${WRKSRC}/README.INSTALL ${STAGEDIR}${DOCSDIR}
-.endif
.include <bsd.port.mk>
diff --git a/games/nethack32/Makefile b/games/nethack32/Makefile
index 0fa17dd50c28..cdc91eb03c09 100644
--- a/games/nethack32/Makefile
+++ b/games/nethack32/Makefile
@@ -33,6 +33,8 @@ DATADIR= ${PREFIX}/${HACKDIR}
DOCSDIR= ${PREFIX}/share/doc/${HACKNAME}
PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.pre.mk>
.if !exists(${PREFIX}/bin/${HACKLINK}) && ${HACKNAME} != ${HACKLINK}
diff --git a/games/slashem-tty/Makefile b/games/slashem-tty/Makefile
index 0981af871c7c..12caab2a7c90 100644
--- a/games/slashem-tty/Makefile
+++ b/games/slashem-tty/Makefile
@@ -19,6 +19,8 @@ MAKE_JOBS_UNSAFE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/([A-Z])./\1/g}
MAKE_ENV+= DATADIR="${DATADIR}"
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.pre.mk>
post-patch:
diff --git a/games/wesnoth/Makefile b/games/wesnoth/Makefile
index 550546c8c755..65a5cb69d10b 100644
--- a/games/wesnoth/Makefile
+++ b/games/wesnoth/Makefile
@@ -30,7 +30,7 @@ PORTDOCS= *
PORTDATA= *
OPTIONS_DEFINE= ANA CAMPAIGN FRIBIDI LOWMEM NOTIFY OPENMP POOLALLOC PYTHON \
- RAWSOCKETS SERVER TESTS TOOLS
+ RAWSOCKETS SERVER TESTS TOOLS DOCS
OPTIONS_DEFAULT= CAMPAIGN FRIBIDI NOTIFY SERVER TOOLS
diff --git a/games/xboard/Makefile b/games/xboard/Makefile
index 436a38d89da5..e8c6c7482eab 100644
--- a/games/xboard/Makefile
+++ b/games/xboard/Makefile
@@ -11,7 +11,7 @@ COMMENT= X frontend for Crafty, GNUChess, Chess Servers, or e-mail chess
LIB_DEPENDS= libcairo.so:${PORTSDIR}/graphics/cairo
-OPTIONS_DEFINE= NLS CRAFTY FAIRYMAX GNUCHESS KNIGHTCAP PHALANX
+OPTIONS_DEFINE= NLS CRAFTY FAIRYMAX GNUCHESS KNIGHTCAP PHALANX DOCS
OPTIONS_DEFAULT=
OPTIONS_SUB= yes
CRAFTY_DESC= Install crafty engine