- Add LICENSE

- Use upstream installation
- Unsilence docs installation
- Fix tab after WWW:
This commit is contained in:
Dmitry Marakasov 2014-12-02 04:15:16 +00:00
parent 833ccdf178
commit 3e3df85502
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=373740
3 changed files with 9 additions and 18 deletions

View File

@ -10,19 +10,20 @@ MASTER_SITES= http://www.aelius.com/primateplunge/
MAINTAINER= ports@FreeBSD.org
COMMENT= Primate Plunge is an arcade game
LICENSE= UDEVGAME
LICENSE_NAME= uDevGame license
LICENSE_FILE= ${WRKSRC}/COPYING
LICENSE_PERMS= # empty
RUN_DEPENDS= timidity:${PORTSDIR}/audio/timidity
GNU_CONFIGURE= yes
USE_SDL= sdl mixer
PRIMATEDIR= sounds graphics
OPTIONS_DEFINE= DOCS
do-install:
@${INSTALL_PROGRAM} ${STRIP} ${WRKSRC}/src/primateplunge ${STAGEDIR}${PREFIX}/bin/primateplunge
@cd ${WRKSRC} && \
${FIND} ${PRIMATEDIR} -type d -exec ${MKDIR} "${STAGEDIR}${DATADIR}/{}" \; && \
${FIND} -E ${PRIMATEDIR} -type f -iregex ".*\.(bmp|wav|mid)" -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${DATADIR}/{}" \;
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/AUTHORS ${WRKSRC}/TIPS ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/AUTHORS ${WRKSRC}/TIPS ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>

View File

@ -5,4 +5,4 @@ of a volcano and through the driving rain of a cold industrial city.
Monkey will find help along the way in the form of exciting powerups, including
parachutes and jetpacks.
WWW: http://www.aelius.com/primateplunge/
WWW: http://www.aelius.com/primateplunge/

View File

@ -153,13 +153,3 @@ bin/primateplunge
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/TIPS
@dirrm %%DATADIR%%/graphics/crumble
@dirrm %%DATADIR%%/graphics/frenzie
@dirrm %%DATADIR%%/graphics/junglej
@dirrm %%DATADIR%%/graphics/moltenm
@dirrm %%DATADIR%%/graphics/menuitems
@dirrm %%DATADIR%%/graphics/skyscra
@dirrm %%DATADIR%%/graphics
@dirrm %%DATADIR%%/sounds
@dirrm %%DATADIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%