summaryrefslogtreecommitdiff
path: root/games/gnome-games/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/gnome-games/Makefile')
-rw-r--r--games/gnome-games/Makefile35
1 files changed, 31 insertions, 4 deletions
diff --git a/games/gnome-games/Makefile b/games/gnome-games/Makefile
index 0a87d946ca2..3595e5b78de 100644
--- a/games/gnome-games/Makefile
+++ b/games/gnome-games/Makefile
@@ -1,15 +1,16 @@
-# $NetBSD: Makefile,v 1.89 2009/02/09 22:56:24 joerg Exp $
+# $NetBSD: Makefile,v 1.90 2009/03/18 01:03:36 jmcneill Exp $
-DISTNAME= gnome-games-2.24.3
-PKGREVISION= 1
+DISTNAME= gnome-games-2.26.0
CATEGORIES= games gnome
-MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gnome-games/2.24/}
+MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gnome-games/2.26/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnome.org/
COMMENT= GNOME2 games collection
+PKG_DESTDIR_SUPPORT= user-destdir
+
CONFLICTS= xbill-[0-9]*
USE_DIRS+= gnome2-1.5
@@ -46,6 +47,32 @@ PYTHON_PATCH_SCRIPTS+= glchess/src/glchess.in.in
PYTHON_PATCH_SCRIPTS+= gnome-sudoku/src/gnome-sudoku.in.in
PY_PATCHPLIST= yes
+# The gettext version in pkgsrc cannot handle the .po files, so
+# we strip out usage of the newer features (context and fuzzy matches)
+post-patch:
+ for f in \
+ ${WRKSRC}/aisleriot/help/*/*.po \
+ ${WRKSRC}/blackjack/help/*/*.po \
+ ${WRKSRC}/glchess/help/*/*.po \
+ ${WRKSRC}/glines/help/*/*.po \
+ ${WRKSRC}/gnect/help/*/*.po \
+ ${WRKSRC}/gnibbles/help/*/*.po \
+ ${WRKSRC}/gnome-sudoku/help/*/*.po \
+ ${WRKSRC}/gnometris/help/*/*.po \
+ ${WRKSRC}/gnomine/help/*/*.po \
+ ${WRKSRC}/gnobots2/help/*/*.po \
+ ${WRKSRC}/gnotravex/help/*/*.po \
+ ${WRKSRC}/gnotski/help/*/*.po \
+ ${WRKSRC}/gtali/help/*/*.po \
+ ${WRKSRC}/iagno/help/*/*.po \
+ ${WRKSRC}/mahjongg/help/*/*.po \
+ ${WRKSRC}/same-gnome/help/*/*.po \
+ ${WRKSRC}/po/*.po \
+ ; do \
+ mv $$f $$f.original ; \
+ ${AWK} -f ${FILESDIR}/msgfmtstrip $$f.original > $$f ; \
+ done
+
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.6.3
BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.8.0
BUILDLINK_API_DEPENDS.libgnome+= libgnome>=2.10.0