svn commit: r355865 - head/games/gweled

Koop Mast kwm at FreeBSD.org
Fri May 30 15:51:01 UTC 2014


Author: kwm
Date: Fri May 30 15:51:00 2014
New Revision: 355865
URL: http://svnweb.freebsd.org/changeset/ports/355865
QAT: https://qat.redports.org/buildarchive/r355865/

Log:
  Stagify.
  Use @sample for score files.
  Convert pkg-install to plist @owner/@group/@mode
  Convert gnomehack to pathfix.

Deleted:
  head/games/gweled/pkg-install
Modified:
  head/games/gweled/Makefile
  head/games/gweled/pkg-plist

Modified: head/games/gweled/Makefile
==============================================================================
--- head/games/gweled/Makefile	Fri May 30 15:49:51 2014	(r355864)
+++ head/games/gweled/Makefile	Fri May 30 15:51:00 2014	(r355865)
@@ -12,15 +12,19 @@ COMMENT=	GNOME version of the game calle
 
 LIB_DEPENDS=	libmikmod.so:${PORTSDIR}/audio/libmikmod
 
-USES=		gmake pkgconfig
-USE_GNOME=	gnomeprefix gnomehack gnomehier libgnomeui librsvg2
+USES=		gmake pathfix pkgconfig
+USE_GNOME=	gnomeprefix gnomehier libgnomeui librsvg2
 GNU_CONFIGURE=	yes
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e 's|/var/games|${PREFIX}/share/games|' \
 		${WRKSRC}/configure
 	@${REINPLACE_CMD} -e 's|$${MKDIRPROG-mkdir}|mkdir -p|' \
 		${WRKSRC}/install-sh
 
+post-install:
+	${RM} ${STAGEDIR}${PREFIX}/share/games/gweled.easy.scores
+	${TOUCH} ${STAGEDIR}${PREFIX}/share/games/gweled.easy.scores.sample
+	${TOUCH} ${STAGEDIR}${PREFIX}/share/games/gweled.timed.scores.sample
+
 .include <bsd.port.mk>

Modified: head/games/gweled/pkg-plist
==============================================================================
--- head/games/gweled/pkg-plist	Fri May 30 15:49:51 2014	(r355864)
+++ head/games/gweled/pkg-plist	Fri May 30 15:51:00 2014	(r355865)
@@ -1,7 +1,13 @@
 bin/gweled
 share/applications/gweled.desktop
- at unexec [ -s %D/share/games/gweled.easy.scores ] || rm -f %D/share/games/gweled.easy.scores
- at unexec [ -s %D/share/games/gweled.timed.scores ] || rm -f %D/share/games/gweled.timed.scores
+ at owner games
+ at group games
+ at mode 0644
+ at sample share/games/gweled.easy.scores.sample
+ at sample share/games/gweled.timed.scores.sample
+ at owner
+ at group
+ at mode
 share/gweled/gweled.glade
 share/gweled/gweled_icon.png
 share/gweled/gweled_logo.png


More information about the svn-ports-head mailing list