diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-07-09 14:46:29 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-07-09 14:46:29 +0000 |
commit | 4030ed395b5222fc5ec9e086879d323c14865608 (patch) | |
tree | a01fa78693caf6322865b242c05c15d1d8c123d1 /games/primateplunge | |
parent | d19f0b154590098f4e59dd4c99838b1cfed39b62 (diff) | |
download | ports-4030ed395b5222fc5ec9e086879d323c14865608.tar.gz ports-4030ed395b5222fc5ec9e086879d323c14865608.zip |
Notes
Diffstat (limited to 'games/primateplunge')
-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> |