Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Oct 2014 18:01:22 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r371517 - head/games/endgame-singularity-music
Message-ID:  <201410261801.s9QI1M2J031230@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
-@dirrm %%DATADIR%%/music/win
-@dirrm %%DATADIR%%/music/lose
-@dirrmtry %%DATADIR%%/music
-@dirrmtry %%DATADIR%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410261801.s9QI1M2J031230>