svn commit: r351466 - head/games/quake3-wfa

Pawel Pekala pawel at FreeBSD.org
Thu Apr 17 12:20:56 UTC 2014


Author: pawel
Date: Thu Apr 17 12:20:56 2014
New Revision: 351466
URL: http://svnweb.freebsd.org/changeset/ports/351466
QAT: https://qat.redports.org/buildarchive/r351466/

Log:
  Add staging support

Modified:
  head/games/quake3-wfa/Makefile

Modified: head/games/quake3-wfa/Makefile
==============================================================================
--- head/games/quake3-wfa/Makefile	Thu Apr 17 12:19:28 2014	(r351465)
+++ head/games/quake3-wfa/Makefile	Thu Apr 17 12:20:56 2014	(r351466)
@@ -23,21 +23,15 @@ DATADIR=	${Q3DIR}/${PORTNAME}
 
 OPTIONS_DEFINE=	DOCS
 
-NO_STAGE=	yes
 .include "${.CURDIR}/../quake3-data/Makefile.include"
-.include <bsd.port.options.mk>
 
 post-extract:
 	@${RM} ${WRKSRC}/help/BobWFACfgV236.exe
 
 do-install:
-	@${MKDIR} ${DATADIR}
-.for f in *.cfg *.pk3
-	${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}
-.endfor
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${CP} -a ${WRKSRC}/EnglishRadioHelp ${WRKSRC}/help ${DOCSDIR}
-.endif
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	(cd ${WRKSRC} && ${INSTALL_DATA} *.cfg *.pk3 ${STAGEDIR}${DATADIR})
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${CP} -a ${WRKSRC}/EnglishRadioHelp ${WRKSRC}/help ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list