svn commit: r308109 - head/games/linux-enemyterritory-jaymod
Barbara Guida
bar at FreeBSD.org
Sun Dec 2 14:02:11 UTC 2012
Author: bar
Date: Sun Dec 2 14:02:10 2012
New Revision: 308109
URL: http://svnweb.freebsd.org/changeset/ports/308109
Log:
Add DOCS to OPTIONS_DEFINE and fix test for NOPORTDOCS
Approved by: rene (mentor)
Feature safe: yes
Modified:
head/games/linux-enemyterritory-jaymod/Makefile
Modified: head/games/linux-enemyterritory-jaymod/Makefile
==============================================================================
--- head/games/linux-enemyterritory-jaymod/Makefile Sun Dec 2 13:59:11 2012 (r308108)
+++ head/games/linux-enemyterritory-jaymod/Makefile Sun Dec 2 14:02:10 2012 (r308109)
@@ -15,7 +15,7 @@ RUN_DEPENDS= et:${PORTSDIR}/games/linux-
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
More information about the svn-ports-all
mailing list