aboutsummaryrefslogtreecommitdiff
path: root/games/gnomegames2
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2002-06-26 09:18:37 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2002-06-26 09:18:37 +0000
commit58d6153c1e523d4aeede7753ecf4879e60825b69 (patch)
treeb731abccc22c5da200d9004c6ef85df0fd11f659 /games/gnomegames2
parent8748cab92fd1c74d6ee50e6aa29441042017c7ab (diff)
downloadports-58d6153c1e523d4aeede7753ecf4879e60825b69.tar.gz
ports-58d6153c1e523d4aeede7753ecf4879e60825b69.zip
Notes
Diffstat (limited to 'games/gnomegames2')
-rw-r--r--games/gnomegames2/Makefile20
-rw-r--r--games/gnomegames2/distinfo2
-rw-r--r--games/gnomegames2/pkg-plist3
3 files changed, 13 insertions, 12 deletions
diff --git a/games/gnomegames2/Makefile b/games/gnomegames2/Makefile
index 10ed297c1e20..626866f69559 100644
--- a/games/gnomegames2/Makefile
+++ b/games/gnomegames2/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= gnomegames2
-PORTVERSION= 2.0.0
+PORTVERSION= 2.0.1
CATEGORIES= games gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
-MASTER_SITE_SUBDIR= pre-gnome2/releases/gnome-2.0-desktop-rc1
+MASTER_SITE_SUBDIR= pre-gnome2/releases/gnome-2.0-desktop-rc2
DISTNAME= gnome-games-${PORTVERSION}
DIST_SUBDIR= gnome2
@@ -21,22 +21,24 @@ LIB_DEPENDS= gnomeui-2.0:${PORTSDIR}/x11-toolkits/libgnomeui \
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
+USE_REINPLACE= yes
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
- --datadir=${PREFIX}/share/gnome
+ --datadir=${PREFIX}/share/gnome \
+ --with-gconf-source=xml::${PREFIX}/etc/gconf/gconf.xml.defaults
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
pre-patch:
- @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
- @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
- 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
- s|\$\(libdir\)/bonobo/servers|\$\(prefix\)/libdata/bonobo/servers|g ; \
- s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
- @find ${WRKSRC} -name "*.[ch]" | xargs ${PERL} -pi -e \
+ @find ${WRKSRC} -name "Makefile.in" | xargs ${REINPLACE_CMD} -e \
+ 's|[(]datadir[)]/gnome/|(datadir)/|g ; \
+ s|[(]libdir[)]/bonobo/servers|(prefix)/libdata/bonobo/servers|g ; \
+ s|[(]datadir[)]/locale|(prefix)/share/locale|g'
+ @find ${WRKSRC} -name "*.[ch]" | xargs ${REINPLACE_CMD} -e \
's|malloc\.h|stdlib.h|g'
.include <bsd.port.mk>
diff --git a/games/gnomegames2/distinfo b/games/gnomegames2/distinfo
index 0be49f23b440..bc150231a8b8 100644
--- a/games/gnomegames2/distinfo
+++ b/games/gnomegames2/distinfo
@@ -1 +1 @@
-MD5 (gnome2/gnome-games-2.0.0.tar.bz2) = 5f64d6a2047a2e6f2c191f521110e955
+MD5 (gnome2/gnome-games-2.0.1.tar.bz2) = f70b83d1cc7930530008035a4bb69bf5
diff --git a/games/gnomegames2/pkg-plist b/games/gnomegames2/pkg-plist
index c6f88b8e148f..d2cbb830da47 100644
--- a/games/gnomegames2/pkg-plist
+++ b/games/gnomegames2/pkg-plist
@@ -72,8 +72,8 @@ share/gnome/applications/gtali.desktop
share/gnome/applications/iagno.desktop
share/gnome/applications/mahjongg.desktop
share/gnome/applications/same-gnome.desktop
+share/gnome/applications/sol.desktop
share/gnome/applications/xbill.desktop
-share/gnome/apps/Games/sol.desktop
share/gnome/games/glines.scores
share/gnome/games/gnibbles.1.0.scores
share/gnome/games/gnibbles.1.1.scores
@@ -829,7 +829,6 @@ share/locale/zh_TW/LC_MESSAGES/gnome-games.mo
@dirrm share/gnome/gnibbles
@dirrm share/gnome/gnect
@dirrm share/gnome/games
-@dirrm share/gnome/apps/Games
@dirrm include/gdkcardimage
@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/same-gnome
@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/mahjongg