From 3e3df85502225c4f83c2c444c38ee28effcefba0 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Tue, 2 Dec 2014 04:15:16 +0000 Subject: [PATCH] - Add LICENSE - Use upstream installation - Unsilence docs installation - Fix tab after WWW: --- games/primateplunge/Makefile | 15 ++++++++------- games/primateplunge/pkg-descr | 2 +- games/primateplunge/pkg-plist | 10 ---------- 3 files changed, 9 insertions(+), 18 deletions(-) diff --git a/games/primateplunge/Makefile b/games/primateplunge/Makefile index 4e1b4a0a8ab6..f3901ae6a304 100644 --- a/games/primateplunge/Makefile +++ b/games/primateplunge/Makefile @@ -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 diff --git a/games/primateplunge/pkg-descr b/games/primateplunge/pkg-descr index ff109329a459..3bc3c5713632 100644 --- a/games/primateplunge/pkg-descr +++ b/games/primateplunge/pkg-descr @@ -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/ diff --git a/games/primateplunge/pkg-plist b/games/primateplunge/pkg-plist index e553f171278f..74eba215e66f 100644 --- a/games/primateplunge/pkg-plist +++ b/games/primateplunge/pkg-plist @@ -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%%