svn commit: r351464 - head/games/quake3-ut

Pawel Pekala pawel at FreeBSD.org
Thu Apr 17 11:54:36 UTC 2014


Author: pawel
Date: Thu Apr 17 11:54:36 2014
New Revision: 351464
URL: http://svnweb.freebsd.org/changeset/ports/351464
QAT: https://qat.redports.org/buildarchive/r351464/

Log:
  Add staging support

Modified:
  head/games/quake3-ut/Makefile

Modified: head/games/quake3-ut/Makefile
==============================================================================
--- head/games/quake3-ut/Makefile	Thu Apr 17 11:29:14 2014	(r351463)
+++ head/games/quake3-ut/Makefile	Thu Apr 17 11:54:36 2014	(r351464)
@@ -21,20 +21,14 @@ DATADIR=	${Q3DIR}/${PORTNAME}
 
 OPTIONS_DEFINE=	DOCS
 
-NO_STAGE=	yes
 .include "${.CURDIR}/../quake3-data/Makefile.include"
-.include <bsd.port.options.mk>
 
 do-install:
-	@${MKDIR} ${DATADIR}
-.for f in *.pk3 description.txt
-	${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}
-.endfor
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-.  for f in beta3.html radio_commands.txt readme*.txt
-	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
-.  endfor
-.endif
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	(cd ${WRKSRC} && ${INSTALL_DATA} *.pk3 description.txt \
+		 ${STAGEDIR}${DATADIR})
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	(cd ${WRKSRC} && ${INSTALL_DATA} beta3.html radio_commands.txt \
+		readme*.txt ${STAGEDIR}${DOCSDIR})
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list