svn commit: r373740 - head/games/primateplunge

Dmitry Marakasov amdmi3 at FreeBSD.org
Tue Dec 2 04:15:18 UTC 2014


Author: amdmi3
Date: Tue Dec  2 04:15:16 2014
New Revision: 373740
URL: https://svnweb.freebsd.org/changeset/ports/373740
QAT: https://qat.redports.org/buildarchive/r373740/

Log:
  - Add LICENSE
  - Use upstream installation
  - Unsilence docs installation
  - Fix tab after WWW:

Modified:
  head/games/primateplunge/Makefile
  head/games/primateplunge/pkg-descr
  head/games/primateplunge/pkg-plist

Modified: head/games/primateplunge/Makefile
==============================================================================
--- head/games/primateplunge/Makefile	Tue Dec  2 04:15:11 2014	(r373739)
+++ head/games/primateplunge/Makefile	Tue Dec  2 04:15:16 2014	(r373740)
@@ -10,19 +10,20 @@ MASTER_SITES=	http://www.aelius.com/prim
 MAINTAINER=	ports at 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>

Modified: head/games/primateplunge/pkg-descr
==============================================================================
--- head/games/primateplunge/pkg-descr	Tue Dec  2 04:15:11 2014	(r373739)
+++ head/games/primateplunge/pkg-descr	Tue Dec  2 04:15:16 2014	(r373740)
@@ -5,4 +5,4 @@ of a volcano and through the driving rai
 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/

Modified: head/games/primateplunge/pkg-plist
==============================================================================
--- head/games/primateplunge/pkg-plist	Tue Dec  2 04:15:11 2014	(r373739)
+++ head/games/primateplunge/pkg-plist	Tue Dec  2 04:15:16 2014	(r373740)
@@ -153,13 +153,3 @@ bin/primateplunge
 %%PORTDOCS%%%%DOCSDIR%%/README
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS
 %%PORTDOCS%%%%DOCSDIR%%/TIPS
- at dirrm %%DATADIR%%/graphics/crumble
- at dirrm %%DATADIR%%/graphics/frenzie
- at dirrm %%DATADIR%%/graphics/junglej
- at dirrm %%DATADIR%%/graphics/moltenm
- at dirrm %%DATADIR%%/graphics/menuitems
- at dirrm %%DATADIR%%/graphics/skyscra
- at dirrm %%DATADIR%%/graphics
- at dirrm %%DATADIR%%/sounds
- at dirrm %%DATADIR%%
-%%PORTDOCS%%@dirrm %%DOCSDIR%%


More information about the svn-ports-head mailing list