summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2014-12-02 04:15:16 +0000
committeramdmi3 <amdmi3@FreeBSD.org>2014-12-02 04:15:16 +0000
commit638912b49ee4b49f060cdf483caa0fae58930eac (patch)
tree5e6de7e72a5ac3eb87ac7663677b331e4c18017e
parent60c8b385df99543f0164b813231a5278c598faae (diff)
downloadFreeBSD-ports-638912b49ee4b49f060cdf483caa0fae58930eac.zip
FreeBSD-ports-638912b49ee4b49f060cdf483caa0fae58930eac.tar.gz
- Add LICENSE
- Use upstream installation - Unsilence docs installation - Fix tab after WWW:
-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 4e1b4a0..f3901ae 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 ff10932..3bc3c57 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 e553f17..74eba21 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%%
OpenPOWER on IntegriCloud