aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorbar <bar@FreeBSD.org>2012-12-02 22:02:10 +0800
committerbar <bar@FreeBSD.org>2012-12-02 22:02:10 +0800
commit37f1cc53162aedf7d9ec52b716610946c7673464 (patch)
treead4d54664d768891b390cbfb7e91cb3f2ef82599 /games
parentfe2a1b232debafcdf393748a3d28597ca3c4586f (diff)
downloadfreebsd-ports-gnome-37f1cc53162aedf7d9ec52b716610946c7673464.tar.gz
freebsd-ports-gnome-37f1cc53162aedf7d9ec52b716610946c7673464.tar.zst
freebsd-ports-gnome-37f1cc53162aedf7d9ec52b716610946c7673464.zip
Add DOCS to OPTIONS_DEFINE and fix test for NOPORTDOCS
Approved by: rene (mentor) Feature safe: yes
Diffstat (limited to 'games')
-rw-r--r--games/linux-enemyterritory-jaymod/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/linux-enemyterritory-jaymod/Makefile b/games/linux-enemyterritory-jaymod/Makefile
index 8214eb1f3a78..022e867f7e83 100644
--- a/games/linux-enemyterritory-jaymod/Makefile
+++ b/games/linux-enemyterritory-jaymod/Makefile
@@ -15,7 +15,7 @@ RUN_DEPENDS= et:${PORTSDIR}/games/linux-enemyterritory
USE_LINUX= yes
-OPTIONS_DEFINE= OMNIBOT
+OPTIONS_DEFINE= DOCS OMNIBOT
OMNIBOT_DESC= Install Omni-Bot for bot support
DATADIR= ${PREFIX}/lib/enemyterritory/${PORTNAME}
@@ -48,7 +48,7 @@ do-install:
${CP} -p ${WRKSRC}/${f} ${DATADIR}/${f}.sample
.endfor
${CP} -r ${WRKSRC}/linux ${WRKSRC}/mapscripts ${DATADIR}
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} README.txt doc/jaymod.pdf ${DOCSDIR}
.endif