aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2014-12-02 04:15:16 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2014-12-02 04:15:16 +0000
commit3e3df85502225c4f83c2c444c38ee28effcefba0 (patch)
tree5e6de7e72a5ac3eb87ac7663677b331e4c18017e
parent833ccdf178488dac5d0f5444b7528e85e82f5387 (diff)
downloadports-3e3df85502225c4f83c2c444c38ee28effcefba0.tar.gz
ports-3e3df85502225c4f83c2c444c38ee28effcefba0.zip
Notes
-rw-r--r--games/primateplunge/Makefile15
-rw-r--r--games/primateplunge/pkg-descr2
-rw-r--r--games/primateplunge/pkg-plist10
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 <bsd.port.mk>
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%%