Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Nov 2013 15:21:05 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r334088 - head/games/atris-sounds
Message-ID:  <201311171521.rAHFL5nW041378@svn.freebsd.org>

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



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