aboutsummaryrefslogtreecommitdiffstats
path: root/games/gweled/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/gweled/Makefile')
-rw-r--r--games/gweled/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/games/gweled/Makefile b/games/gweled/Makefile
index d3b141c718f..07c4aadef3a 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>