Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Dec 2012 14:02:10 +0000 (UTC)
From:      Barbara Guida <bar@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r308109 - head/games/linux-enemyterritory-jaymod
Message-ID:  <201212021402.qB2E2AB3083709@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212021402.qB2E2AB3083709>