aboutsummaryrefslogtreecommitdiff
path: root/games/marsnomercy
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-07-09 14:18:17 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-07-09 14:18:17 +0000
commitbeeb40bccfff66d88cdf51de3aa8f4a2a0fa0333 (patch)
treec7e16d1b7e22df31864403428ab0b93121f0e277 /games/marsnomercy
parentbe2a53491b9b88b45ca03672a043b125e833a3e9 (diff)
downloadports-beeb40bccfff66d88cdf51de3aa8f4a2a0fa0333.tar.gz
ports-beeb40bccfff66d88cdf51de3aa8f4a2a0fa0333.zip
Notes
Diffstat (limited to 'games/marsnomercy')
-rw-r--r--games/marsnomercy/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/games/marsnomercy/Makefile b/games/marsnomercy/Makefile
index 1659b3ee40a3..133b046f32c3 100644
--- a/games/marsnomercy/Makefile
+++ b/games/marsnomercy/Makefile
@@ -25,7 +25,6 @@ WRKSRC= ${WRKDIR}/mars-${PORTVERSION}
OPTIONS_DEFINE= DEBUG OPENGL
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDEBUG}
@@ -50,14 +49,11 @@ pre-install:
${FIND} * -type d | ${SORT} -r | ${SED} -e 's|^|@dirrm %%DATADIR%%/|' >> ${PLIST}
do-install:
- @${MKDIR} ${DATADIR}
+ @${MKDIR} ${STAGEDIR}${DATADIR}
@cd ${WRKSRC}/data && \
- ${FIND} * -type d -exec ${MKDIR} "${DATADIR}/{}" \; && \
- ${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${DATADIR}/{}" \;
- @${INSTALL_SCRIPT} ${WRKDIR}/mars-nomercy ${PREFIX}/bin
- @${INSTALL_PROGRAM} ${WRKSRC}/mars ${PREFIX}/libexec/mars
-
-post-install:
- @${CAT} ${PKGMESSAGE}
+ ${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${DATADIR}/{}" \; && \
+ ${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${DATADIR}/{}" \;
+ @${INSTALL_SCRIPT} ${WRKDIR}/mars-nomercy ${STAGEDIR}${PREFIX}/bin
+ @${INSTALL_PROGRAM} ${WRKSRC}/mars ${STAGEDIR}${PREFIX}/libexec/mars
.include <bsd.port.mk>