diff options
author | wg <wg@FreeBSD.org> | 2014-07-04 06:21:57 +0800 |
---|---|---|
committer | wg <wg@FreeBSD.org> | 2014-07-04 06:21:57 +0800 |
commit | ddbef9d717b40752d92355a1f3d57a6f94a7dec6 (patch) | |
tree | c378b409c69b65774f641d470cf6d285f25c2184 /games | |
parent | e1492376b00795fd0a044c7165d10b0e0bfe2cbb (diff) | |
download | freebsd-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/Makefile | 19 |
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> |