Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Feb 2014 11:14:37 +0000 (UTC)
From:      Michael Landin Hostbaek <mich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r343620 - head/games/0verkill
Message-ID:  <201402101114.s1ABEbnr071370@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mich
Date: Mon Feb 10 11:14:37 2014
New Revision: 343620
URL: http://svnweb.freebsd.org/changeset/ports/343620
QAT: https://qat.redports.org/buildarchive/r343620/

Log:
  - Portlint reported some issues related to new options framework and direct use of reserved variables.
  
  PR:		ports/185754
  Submitted by:	Hardy Schumacher <hardy.schumacher@gmx.de>

Modified:
  head/games/0verkill/Makefile

Modified: head/games/0verkill/Makefile
==============================================================================
--- head/games/0verkill/Makefile	Mon Feb 10 10:38:25 2014	(r343619)
+++ head/games/0verkill/Makefile	Mon Feb 10 11:14:37 2014	(r343620)
@@ -31,23 +31,26 @@ post-patch:
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/0verkill ${STAGEDIR}${PREFIX}/bin
-.for file in avi bot editor server test_server
-	${INSTALL_PROGRAM} ${WRKSRC}/${file} \
-		${STAGEDIR}${PREFIX}/bin/0verkill-${file}
+.for filename in avi bot editor server test_server
+	${INSTALL_PROGRAM} ${WRKSRC}/${filename} \
+		${STAGEDIR}${PREFIX}/bin/0verkill-${filename}
 .endfor
 .if ${PORT_OPTIONS:MX11}
 	${INSTALL_PROGRAM} ${WRKSRC}/x0verkill ${STAGEDIR}${PREFIX}/bin
-.for file in avi editor
-	${INSTALL_PROGRAM} ${WRKSRC}/x${file} \
-		${STAGEDIR}${PREFIX}/bin/x0verkill-${file}
+.for filename in avi editor
+	${INSTALL_PROGRAM} ${WRKSRC}/x${filename} \
+		${STAGEDIR}${PREFIX}/bin/x0verkill-${filename}
 .endfor
 .endif
 .for dir in data grx
 	cd ${WRKSRC} && ${COPYTREE_SHARE} ${dir} ${STAGEDIR}${DATADIR}
 .endfor
+
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for file in AUTHORS README.html avi.txt bot.txt doc.html
-	${INSTALL_DATA} ${WRKSRC}/doc/${file} ${STAGEDIR}${DOCSDIR}
+.for filename in AUTHORS README.html avi.txt bot.txt doc.html
+	${INSTALL_DATA} ${WRKSRC}/doc/${filename} ${STAGEDIR}${DOCSDIR}
 .endfor
+.endif
 
 .include <bsd.port.mk>



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