summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-07-09 14:46:29 +0000
committervanilla <vanilla@FreeBSD.org>2014-07-09 14:46:29 +0000
commitbc22d0072b1554ae567b7a8ee257dc86c13eabec (patch)
treea01fa78693caf6322865b242c05c15d1d8c123d1
parentd42f7a8a6d7787674096a4242e76ffb93358ebae (diff)
downloadFreeBSD-ports-bc22d0072b1554ae567b7a8ee257dc86c13eabec.zip
FreeBSD-ports-bc22d0072b1554ae567b7a8ee257dc86c13eabec.tar.gz
Stagify.
-rw-r--r--games/primateplunge/Makefile16
1 files changed, 6 insertions, 10 deletions
diff --git a/games/primateplunge/Makefile b/games/primateplunge/Makefile
index 97872d0..3cfb38f 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>
OpenPOWER on IntegriCloud