aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2014-07-04 06:21:57 +0800
committerwg <wg@FreeBSD.org>2014-07-04 06:21:57 +0800
commitddbef9d717b40752d92355a1f3d57a6f94a7dec6 (patch)
treec378b409c69b65774f641d470cf6d285f25c2184 /games
parente1492376b00795fd0a044c7165d10b0e0bfe2cbb (diff)
downloadfreebsd-ports-gnome-ddbef9d717b40752d92355a1f3d57a6f94a7dec6.tar.gz
freebsd-ports-gnome-ddbef9d717b40752d92355a1f3d57a6f94a7dec6.tar.zst
freebsd-ports-gnome-ddbef9d717b40752d92355a1f3d57a6f94a7dec6.zip
games/quake2-psychomod: support stage
Diffstat (limited to 'games')
-rw-r--r--games/quake2-psychomod/Makefile19
1 files changed, 7 insertions, 12 deletions
diff --git a/games/quake2-psychomod/Makefile b/games/quake2-psychomod/Makefile
index 88e551f14935..d30255582787 100644
--- a/games/quake2-psychomod/Makefile
+++ b/games/quake2-psychomod/Makefile
@@ -18,23 +18,18 @@ ALL_TARGET= release
DOCSDIR= ${PREFIX}/share/doc/${LATEST_LINK}
-NO_STAGE= yes
.include "${.CURDIR}/../quake2-data/Makefile.include"
-.include <bsd.port.pre.mk>
-
post-patch:
@${REINPLACE_CMD} -e 's/__linux__/__unix__/' \
${BUILD_WRKSRC}/q_shared.[ch]
do-install:
- ${MKDIR} ${Q2DIR}/${PORTNAME}
+ @${MKDIR} ${STAGEDIR}${Q2DIR}/${PORTNAME}
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/release/psychomod/game.so \
- ${Q2DIR}/${PORTNAME}
- cd ${WRKSRC} && ${INSTALL_DATA} *.cfg pak0.pak ${Q2DIR}/${PORTNAME}
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
-.endif
-
-.include <bsd.port.post.mk>
+ ${STAGEDIR}${Q2DIR}/${PORTNAME}
+ cd ${WRKSRC} && ${INSTALL_DATA} *.cfg pak0.pak ${STAGEDIR}${Q2DIR}/${PORTNAME}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>