Update to 0.6.

PR:		74598
Submitted by:	Radek Kozlowski <radek@raadradd.com>
This commit is contained in:
Joe Marcus Clarke 2004-12-01 20:52:14 +00:00
parent 352e99d816
commit a3696603b5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=122925
3 changed files with 12 additions and 6 deletions

View file

@ -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>

View file

@ -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

View file

@ -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