aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2004-12-01 20:52:14 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2004-12-01 20:52:14 +0000
commita3696603b55d7f7d1b6eef07ca7061b7ad8424f7 (patch)
treebc4120e4c05b3c1b0e34a31ec039a170795af3a8 /games
parent352e99d8164dbc5199cfd99110d9ed28ed3ad375 (diff)
Notes
Diffstat (limited to 'games')
-rw-r--r--games/gweled/Makefile10
-rw-r--r--games/gweled/distinfo4
-rw-r--r--games/gweled/pkg-install4
3 files changed, 12 insertions, 6 deletions
diff --git a/games/gweled/Makefile b/games/gweled/Makefile
index d3b141c718f9..07c4aadef3aa 100644
--- a/games/gweled/Makefile
+++ b/games/gweled/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= gweled
-PORTVERSION= 0.5
-PORTREVISION= 1
+PORTVERSION= 0.6
CATEGORIES= games gnome
MASTER_SITES= http://sebdelestaing.free.fr/gweled/Release/
@@ -17,6 +16,13 @@ COMMENT= GNOME version of the game called "Bejeweled" or "Diamond Mine"
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GNOME= gnomeprefix gnomehack gnomehier libgnomeui librsvg2
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
+post-patch:
+ @${REINPLACE_CMD} -e 's|/var/games|${PREFIX}/share/gnome/games|' \
+ ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|$${MKDIRPROG-mkdir}|mkdir -p|' \
+ ${WRKSRC}/install-sh
+
.include <bsd.port.mk>
diff --git a/games/gweled/distinfo b/games/gweled/distinfo
index b444090ceeac..78bf50cde671 100644
--- a/games/gweled/distinfo
+++ b/games/gweled/distinfo
@@ -1,2 +1,2 @@
-MD5 (gweled-0.5.tar.gz) = 238f5ef66317bb24c3d4018a7d1e9ec3
-SIZE (gweled-0.5.tar.gz) = 163122
+MD5 (gweled-0.6.tar.gz) = 40b4eaa8e1aca93cf6bc9d91a3c2c048
+SIZE (gweled-0.6.tar.gz) = 168308
diff --git a/games/gweled/pkg-install b/games/gweled/pkg-install
index 1f83654a3934..04fcca9ba5f7 100644
--- a/games/gweled/pkg-install
+++ b/games/gweled/pkg-install
@@ -2,12 +2,12 @@
if [ "$2" = "POST-INSTALL" ]; then
mkdir -p ${PKG_PREFIX}/share/gnome/games
- SCORES="gweled.easy.scores"
+ SCORES="gweled.easy.scores gweled.timed.scores"
for i in ${SCORES}; do
if [ ! -f ${PKG_PREFIX}/share/gnome/games/${i} ]; then
touch -f ${PKG_PREFIX}/share/gnome/games/${i}
chown games:games ${PKG_PREFIX}/share/gnome/games/${i}
- chmod 664 ${PKG_PREFIX}/share/gnome/games/${i}
+ chmod 0664 ${PKG_PREFIX}/share/gnome/games/${i}
fi
done
fi