svn commit: r402994 - head/games/vegastrike

John Marino marino at FreeBSD.org
Fri Dec 4 15:23:14 UTC 2015


Author: marino
Date: Fri Dec  4 15:23:12 2015
New Revision: 402994
URL: https://svnweb.freebsd.org/changeset/ports/402994

Log:
  games/vegastrick: Prevent using INSTALL_PROGRAM to install licenses
  
  The variable PLIST_FILES is modified internally, so it's installing more
  that what is listed here (e.g. licenses).  Use a new variable that defines
  PLIST_FILES to ensure INSTALL_PROGRAM is limited to the programs.

Modified:
  head/games/vegastrike/Makefile

Modified: head/games/vegastrike/Makefile
==============================================================================
--- head/games/vegastrike/Makefile	Fri Dec  4 15:22:34 2015	(r402993)
+++ head/games/vegastrike/Makefile	Fri Dec  4 15:23:12 2015	(r402994)
@@ -38,7 +38,8 @@ CONFIGURE_ARGS=	--disable-cegui --disabl
 		--with-boost=system \
 		--enable-flags="${CXXFLAGS}"
 
-PLIST_FILES=	bin/vegastrike bin/vssetup bin/vegaserver
+BIN_FILES=	bin/vegastrike bin/vssetup bin/vegaserver
+FLIST_FILES=	${BIN_FILES}
 PORTDOCS=	README
 
 OPTIONS_DEFINE=	MESHER
@@ -53,7 +54,7 @@ post-patch:
 		${WRKSRC}/configure
 
 do-install:
-	${INSTALL_PROGRAM} ${PLIST_FILES:S|bin|${WRKSRC}|} \
+	${INSTALL_PROGRAM} ${BIN_FILES:S|bin|${WRKSRC}|} \
 		${STAGEDIR}${PREFIX}/bin
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}


More information about the svn-ports-head mailing list