diff options
author | pawel <pawel@FreeBSD.org> | 2014-04-17 20:20:56 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2014-04-17 20:20:56 +0800 |
commit | ba7c9b19157ea4e9a65b8c796c82e8665d914bfd (patch) | |
tree | 707745e6c464fdb497d57419240479836e51a188 | |
parent | 8a07e760a6c94266350aaa643b68f9514cd7a4df (diff) | |
download | freebsd-ports-gnome-ba7c9b19157ea4e9a65b8c796c82e8665d914bfd.tar.gz freebsd-ports-gnome-ba7c9b19157ea4e9a65b8c796c82e8665d914bfd.tar.zst freebsd-ports-gnome-ba7c9b19157ea4e9a65b8c796c82e8665d914bfd.zip |
Add staging support
-rw-r--r-- | games/quake3-wfa/Makefile | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/games/quake3-wfa/Makefile b/games/quake3-wfa/Makefile index 5b73297711fa..9a895a2688cc 100644 --- a/games/quake3-wfa/Makefile +++ b/games/quake3-wfa/Makefile @@ -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> |