summaryrefslogtreecommitdiff
path: root/games/gnomememoryblocks
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-07-31 16:01:26 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-07-31 16:01:26 +0000
commit3995aa0944b4a31faade81c935744873f55a0026 (patch)
tree56bfe942f3832fc4459ce63e0cd7b39585b69151 /games/gnomememoryblocks
parentThe project moved to the SF. (diff)
Update to 0.2.
- Replace patches with "standard Gnome regexs" ;) - fetch distfiles from MASTER_SITE_SOURCEFORGE; - Remove redundant USE_GMAKE.
Notes
Notes: svn path=/head/; revision=31173
Diffstat (limited to 'games/gnomememoryblocks')
-rw-r--r--games/gnomememoryblocks/Makefile17
-rw-r--r--games/gnomememoryblocks/distinfo2
-rw-r--r--games/gnomememoryblocks/pkg-descr4
-rw-r--r--games/gnomememoryblocks/pkg-plist6
4 files changed, 20 insertions, 9 deletions
diff --git a/games/gnomememoryblocks/Makefile b/games/gnomememoryblocks/Makefile
index 7fbbefd37d3c..7f2a309a7c39 100644
--- a/games/gnomememoryblocks/Makefile
+++ b/games/gnomememoryblocks/Makefile
@@ -6,12 +6,10 @@
#
PORTNAME= gnomememoryblocks
-PORTVERSION= 0.1
+PORTVERSION= 0.2
CATEGORIES= games gnome
-# This should be ${MASTER_SITE_SOURCEFORGE} but doesn't appear to be
-# linked in the right places at the moment
-MASTER_SITES= http://gnome-memblocks.sourceforge.net/downloads/ \
- ftp://gnome-memblocks.sourceforge.net/pub/gnome-memblocks/
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= gnome-memblocks
DISTNAME= gnome-memblocks-${PORTVERSION}
MAINTAINER= ade@FreeBSD.org
@@ -23,13 +21,20 @@ RUN_DEPENDS= gnomecc:${PORTSDIR}/sysutils/gnomecontrolcenter
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
USE_X_PREFIX= yes
-USE_GMAKE= yes
USE_LIBTOOL= yes
CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
--datadir=${PREFIX}/share/gnome
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
GTK_CONFIG="${GTK_CONFIG}" \
+ CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
+post-extract:
+ @${PERL} -pi -e 's|-lpthread|-pthread|g ; \
+ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+ @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
+ 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
+ s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
+
.include <bsd.port.mk>
diff --git a/games/gnomememoryblocks/distinfo b/games/gnomememoryblocks/distinfo
index 6a59c7ee027f..7239057bf7fc 100644
--- a/games/gnomememoryblocks/distinfo
+++ b/games/gnomememoryblocks/distinfo
@@ -1 +1 @@
-MD5 (gnome-memblocks-0.1.tar.gz) = 8218b1943ba790f095cadcda88e16182
+MD5 (gnome-memblocks-0.2.tar.gz) = 9ab7805e6c178f80a5388527dc4a533b
diff --git a/games/gnomememoryblocks/pkg-descr b/games/gnomememoryblocks/pkg-descr
index 565f41fb2f86..4bffac2c5d6d 100644
--- a/games/gnomememoryblocks/pkg-descr
+++ b/games/gnomememoryblocks/pkg-descr
@@ -1,4 +1,4 @@
-This is GNOME's version of the `memory blocks' game
-originaly come from Semantec game pack for Win-3.11
+This is GNOME's version of the `memory blocks' game originaly come from
+Semantec game pack for Win-3.11
WWW: http://gnome-memblocks.sourceforge.net/
diff --git a/games/gnomememoryblocks/pkg-plist b/games/gnomememoryblocks/pkg-plist
index 1c6fd387d59f..9046f58a6c7a 100644
--- a/games/gnomememoryblocks/pkg-plist
+++ b/games/gnomememoryblocks/pkg-plist
@@ -1,9 +1,12 @@
bin/gnome-memblocks
etc/sound/events/gnome-memblocks.soundlist
+lib/gnome-memblocks/libscaling.so
+lib/gnome-memblocks/libsliding.so
share/gnome/apps/Games/gnome-memblocks.desktop
share/gnome/games/gnome-memblocks.default.scores
share/gnome/help/gnome-memblocks/C/index.html
share/gnome/help/gnome-memblocks/C/topic.dat
+share/gnome/pixmaps/gnome-memblocks-logo.png
share/gnome/pixmaps/gnome-memblocks.png
share/gnome/pixmaps/gnome-memblocks/default/1.png
share/gnome/pixmaps/gnome-memblocks/default/10.png
@@ -31,8 +34,11 @@ share/gnome/sounds/gnome-memblocks/flip04.wav
share/gnome/sounds/gnome-memblocks/flip05.wav
share/gnome/sounds/gnome-memblocks/flip06.wav
share/gnome/sounds/gnome-memblocks/flip07.wav
+share/locale/it/LC_MESSAGES/gnome-memblocks.mo
+share/locale/pt_BR/LC_MESSAGES/gnome-memblocks.mo
@dirrm share/gnome/sounds/gnome-memblocks
@dirrm share/gnome/pixmaps/gnome-memblocks/default
@dirrm share/gnome/pixmaps/gnome-memblocks
@dirrm share/gnome/help/gnome-memblocks/C
@dirrm share/gnome/help/gnome-memblocks
+@dirrm lib/gnome-memblocks