svn commit: r334088 - head/games/atris-sounds

Danilo Egea Gondolfo danilo at FreeBSD.org
Sun Nov 17 15:21:05 UTC 2013


Author: danilo
Date: Sun Nov 17 15:21:04 2013
New Revision: 334088
URL: http://svnweb.freebsd.org/changeset/ports/334088

Log:
  - Convert USE_GMAKE to USES
  - Add stage support

Modified:
  head/games/atris-sounds/Makefile
  head/games/atris-sounds/pkg-plist

Modified: head/games/atris-sounds/Makefile
==============================================================================
--- head/games/atris-sounds/Makefile	Sun Nov 17 14:57:03 2013	(r334087)
+++ head/games/atris-sounds/Makefile	Sun Nov 17 15:21:04 2013	(r334088)
@@ -14,14 +14,16 @@ COMMENT=	Sounds for Atris: Alizarin Tetr
 
 RUN_DEPENDS=	atris:${PORTSDIR}/games/atris
 
-USE_GMAKE=	yes
+USES=		gmake
 GNU_CONFIGURE=	yes
 NO_WRKSUBDIR=	yes
 
-NO_STAGE=	yes
 post-patch:
 # Fix path to ${DATADIR}
 	${REINPLACE_CMD} -e 's|\(GAME_INSTALLDIR=\).*|\1"${DATADIR}"|' \
 			${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
 
+do-install:
+	(cd ${WRKSRC} ; ${COPYTREE_SHARE} sounds ${STAGEDIR}${DATADIR})
+
 .include <bsd.port.mk>

Modified: head/games/atris-sounds/pkg-plist
==============================================================================
--- head/games/atris-sounds/pkg-plist	Sun Nov 17 14:57:03 2013	(r334087)
+++ head/games/atris-sounds/pkg-plist	Sun Nov 17 15:21:04 2013	(r334088)
@@ -62,4 +62,5 @@
 %%DATADIR%%/sounds/staffh.wav
 %%DATADIR%%/sounds/whirling.wav
 %%DATADIR%%/sounds/whoosh.wav
- at dirrm %%DATADIR%%/sounds
+ at dirrmtry %%DATADIR%%/sounds
+ at dirrmtry %%DATADIR%%


More information about the svn-ports-head mailing list