diff options
author | vanilla <vanilla@FreeBSD.org> | 2014-07-09 22:46:29 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2014-07-09 22:46:29 +0800 |
commit | bc22d0072b1554ae567b7a8ee257dc86c13eabec (patch) | |
tree | a01fa78693caf6322865b242c05c15d1d8c123d1 /games | |
parent | d42f7a8a6d7787674096a4242e76ffb93358ebae (diff) | |
download | freebsd-ports-gnome-bc22d0072b1554ae567b7a8ee257dc86c13eabec.tar.gz freebsd-ports-gnome-bc22d0072b1554ae567b7a8ee257dc86c13eabec.tar.zst freebsd-ports-gnome-bc22d0072b1554ae567b7a8ee257dc86c13eabec.zip |
Stagify.
Diffstat (limited to 'games')
-rw-r--r-- | games/primateplunge/Makefile | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/games/primateplunge/Makefile b/games/primateplunge/Makefile index 97872d0edbb4..3cfb38f09c5a 100644 --- a/games/primateplunge/Makefile +++ b/games/primateplunge/Makefile @@ -15,18 +15,14 @@ RUN_DEPENDS= timidity:${PORTSDIR}/audio/timidity GNU_CONFIGURE= yes USE_SDL= sdl mixer PRIMATEDIR= sounds graphics +OPTIONS_DEFINE= DOCS -NO_STAGE= yes do-install: - @${INSTALL_SCRIPT} ${WRKSRC}/src/primateplunge ${PREFIX}/bin/primateplunge + @${INSTALL_PROGRAM} ${STRIP} ${WRKSRC}/src/primateplunge ${STAGEDIR}${PREFIX}/bin/primateplunge @cd ${WRKSRC} && \ - ${FIND} ${PRIMATEDIR} -type d -exec ${MKDIR} "${DATADIR}/{}" \; && \ - ${FIND} -E ${PRIMATEDIR} -type f -iregex ".*\.(bmp|wav|mid)" -exec ${INSTALL_DATA} "{}" "${DATADIR}/{}" \; - -post-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/AUTHORS ${WRKSRC}/TIPS ${DOCSDIR} -.endif + ${FIND} ${PRIMATEDIR} -type d -exec ${MKDIR} "${STAGEDIR}${DATADIR}/{}" \; && \ + ${FIND} -E ${PRIMATEDIR} -type f -iregex ".*\.(bmp|wav|mid)" -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${DATADIR}/{}" \; + @${MKDIR} ${STAGEDIR}${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/AUTHORS ${WRKSRC}/TIPS ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |