aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2014-07-04 06:20:28 +0800
committerwg <wg@FreeBSD.org>2014-07-04 06:20:28 +0800
commite1492376b00795fd0a044c7165d10b0e0bfe2cbb (patch)
treea2b870494f9c05130a0ae6ee44f1921e4fa70c4f /games
parentf8e7f9589a5618fc8a91313b4ae548f51208cdae (diff)
downloadfreebsd-ports-gnome-e1492376b00795fd0a044c7165d10b0e0bfe2cbb.tar.gz
freebsd-ports-gnome-e1492376b00795fd0a044c7165d10b0e0bfe2cbb.tar.zst
freebsd-ports-gnome-e1492376b00795fd0a044c7165d10b0e0bfe2cbb.zip
games/quake2-ctf: support stage
Diffstat (limited to 'games')
-rw-r--r--games/quake2-ctf/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/games/quake2-ctf/Makefile b/games/quake2-ctf/Makefile
index a621f1bb5016..58b9817c976a 100644
--- a/games/quake2-ctf/Makefile
+++ b/games/quake2-ctf/Makefile
@@ -27,7 +27,6 @@ CTF_SRC= quake2-r0.16.2.tar.gz
OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
.include "${.CURDIR}/../quake2-data/Makefile.include"
.include <bsd.port.options.mk>
@@ -42,15 +41,15 @@ post-extract:
@${CP} ${FILESDIR}/${MAKEFILE} ${WRKSRC}
do-install:
- @${MKDIR} ${Q2DIR}/ctf
- ${INSTALL_PROGRAM} ${WRKSRC}/game.so ${Q2DIR}/ctf
+ @${MKDIR} ${STAGEDIR}${Q2DIR}/ctf
+ ${INSTALL_PROGRAM} ${WRKSRC}/game.so ${STAGEDIR}${Q2DIR}/ctf
.for f in *.cfg *.pak
- ${INSTALL_DATA} ${WRKDIR}/ctf/${f} ${Q2DIR}/ctf
+ ${INSTALL_DATA} ${WRKDIR}/ctf/${f} ${STAGEDIR}${Q2DIR}/ctf
.endfor
.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR}
- ${INSTALL_DATA} ${WRKDIR}/ctf/readme.txt ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKDIR}/ctf/readme.txt ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>