svn commit: r371517 - head/games/endgame-singularity-music

Dmitry Marakasov amdmi3 at FreeBSD.org
Sun Oct 26 18:01:23 UTC 2014


Author: amdmi3
Date: Sun Oct 26 18:01:22 2014
New Revision: 371517
URL: https://svnweb.freebsd.org/changeset/ports/371517
QAT: https://qat.redports.org/buildarchive/r371517/

Log:
  - Simplify installation
  - Drop @dirrm* from plist

Modified:
  head/games/endgame-singularity-music/Makefile
  head/games/endgame-singularity-music/pkg-plist

Modified: head/games/endgame-singularity-music/Makefile
==============================================================================
--- head/games/endgame-singularity-music/Makefile	Sun Oct 26 18:01:06 2014	(r371516)
+++ head/games/endgame-singularity-music/Makefile	Sun Oct 26 18:01:22 2014	(r371517)
@@ -18,14 +18,6 @@ USES=		zip
 DATADIR=	${PREFIX}/share/singularity
 
 do-install:
-	@${MKDIR} ${STAGEDIR}${DATADIR}/music
-	@(cd ${WRKSRC} && ${INSTALL_DATA} *.ogg \
-		${STAGEDIR}${DATADIR}/music)
-	@${MKDIR} ${STAGEDIR}${DATADIR}/music/lose
-	@(cd ${WRKSRC}/lose && ${INSTALL_DATA} *.ogg \
-		${STAGEDIR}${DATADIR}/music/lose)
-	@${MKDIR} ${STAGEDIR}${DATADIR}/music/win
-	@(cd ${WRKSRC}/win && ${INSTALL_DATA} *.ogg \
-		${STAGEDIR}${DATADIR}/music/win)
+	cd ${WRKSRC} && ${COPYTREE_SHARE} "*.ogg win lose" ${STAGEDIR}${DATADIR}/music
 
 .include <bsd.port.mk>

Modified: head/games/endgame-singularity-music/pkg-plist
==============================================================================
--- head/games/endgame-singularity-music/pkg-plist	Sun Oct 26 18:01:06 2014	(r371516)
+++ head/games/endgame-singularity-music/pkg-plist	Sun Oct 26 18:01:22 2014	(r371517)
@@ -14,7 +14,3 @@
 %%DATADIR%%/music/lose/Chimes They Fade.ogg
 %%DATADIR%%/music/lose/March Thee to Dis.ogg
 %%DATADIR%%/music/win/Apex Aleph.ogg
- at dirrm %%DATADIR%%/music/win
- at dirrm %%DATADIR%%/music/lose
- at dirrmtry %%DATADIR%%/music
- at dirrmtry %%DATADIR%%


More information about the svn-ports-all mailing list