aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-07-09 22:46:29 +0800
committervanilla <vanilla@FreeBSD.org>2014-07-09 22:46:29 +0800
commitbc22d0072b1554ae567b7a8ee257dc86c13eabec (patch)
treea01fa78693caf6322865b242c05c15d1d8c123d1 /games
parentd42f7a8a6d7787674096a4242e76ffb93358ebae (diff)
downloadfreebsd-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/Makefile16
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>