aboutsummaryrefslogtreecommitdiffstats
path: root/games/quake2-data
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2014-07-04 06:08:59 +0800
committerwg <wg@FreeBSD.org>2014-07-04 06:08:59 +0800
commit9476595cef8e08663cbc9f671e8a3f995923b228 (patch)
tree20e993ba10f87971301672fe9a359f1a14157b77 /games/quake2-data
parentc0252a54e62fea05fb6b3adfc0a646ab7177b04f (diff)
downloadfreebsd-ports-gnome-9476595cef8e08663cbc9f671e8a3f995923b228.tar.gz
freebsd-ports-gnome-9476595cef8e08663cbc9f671e8a3f995923b228.tar.zst
freebsd-ports-gnome-9476595cef8e08663cbc9f671e8a3f995923b228.zip
games/quake2-data: support stage
Diffstat (limited to 'games/quake2-data')
-rw-r--r--games/quake2-data/Makefile18
1 files changed, 5 insertions, 13 deletions
diff --git a/games/quake2-data/Makefile b/games/quake2-data/Makefile
index a9ba6dc1064e..ef262f783285 100644
--- a/games/quake2-data/Makefile
+++ b/games/quake2-data/Makefile
@@ -33,7 +33,6 @@ Q2_DEMO= q2-314-demo-x86.exe
Q2_SRC= q2src${PORTVERSION:S/.//}.shar.Z
Q2_UPDATE= q2-${PORTVERSION}-x86-full.exe
-NO_STAGE= yes
.include "Makefile.include" # must be included before bsd.port.options.mk
.include <bsd.port.options.mk>
@@ -82,19 +81,12 @@ post-patch:
@${REINPLACE_CMD} -e 's/__linux__/__unix__/' ${WRKSRC}/q_shared.[ch]
do-install:
- @${MKDIR} ${DATADIR}/baseq2
- ${INSTALL_PROGRAM} ${WRKSRC}/game.so ${DATADIR}/baseq2
- ${CP} -a ${WRKSRC}/baseq2/* ${DATADIR}/baseq2
+ @${MKDIR} ${STAGEDIR}${DATADIR}/baseq2
+ ${INSTALL_PROGRAM} ${WRKSRC}/game.so ${STAGEDIR}${DATADIR}/baseq2
+ ${CP} -a ${WRKSRC}/baseq2/* ${STAGEDIR}${DATADIR}/baseq2
.if ${PORT_OPTIONS:MMANUAL}
- @${MKDIR} ${DOCSDIR}
- ${CP} -a ${WRKSRC}/DOCS ${DOCSDIR}/manual
-.endif
-
-post-install:
-.if ! ${PORT_OPTIONS:MSHAREWARE}
- @${ECHO_CMD}
- @${CAT} ${PKGMESSAGE}
- @${ECHO_CMD}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${CP} -a ${WRKSRC}/DOCS ${STAGEDIR}${DOCSDIR}/manual
.endif
.include <bsd.port.mk>