Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 May 2014 15:51:00 +0000 (UTC)
From:      Koop Mast <kwm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r355865 - head/games/gweled
Message-ID:  <201405301551.s4UFp0tu029369@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
-@unexec [ -s %D/share/games/gweled.easy.scores ] || rm -f %D/share/games/gweled.easy.scores
-@unexec [ -s %D/share/games/gweled.timed.scores ] || rm -f %D/share/games/gweled.timed.scores
+@owner games
+@group games
+@mode 0644
+@sample share/games/gweled.easy.scores.sample
+@sample share/games/gweled.timed.scores.sample
+@owner
+@group
+@mode
 share/gweled/gweled.glade
 share/gweled/gweled_icon.png
 share/gweled/gweled_logo.png



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