diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-07-09 14:18:17 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-07-09 14:18:17 +0000 |
commit | beeb40bccfff66d88cdf51de3aa8f4a2a0fa0333 (patch) | |
tree | c7e16d1b7e22df31864403428ab0b93121f0e277 /games/marsnomercy | |
parent | be2a53491b9b88b45ca03672a043b125e833a3e9 (diff) | |
download | ports-beeb40bccfff66d88cdf51de3aa8f4a2a0fa0333.tar.gz ports-beeb40bccfff66d88cdf51de3aa8f4a2a0fa0333.zip |
Notes
Diffstat (limited to 'games/marsnomercy')
-rw-r--r-- | games/marsnomercy/Makefile | 14 |
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> |