diff options
author | wiz <wiz@pkgsrc.org> | 2009-03-22 19:01:37 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2009-03-22 19:01:37 +0000 |
commit | b1076bb7657e4a5b0609e27afb24b9e841f99668 (patch) | |
tree | 0878b8066ae7b10a679ffb6b3e1436a3d4d08c14 /games/gnome-games | |
parent | 199b1f0ecaa0fa4f7144200486984816129b4319 (diff) | |
download | pkgsrc-b1076bb7657e4a5b0609e27afb24b9e841f99668.tar.gz |
Remove msgfmtstrip scripts and targets using them, now that the
infrastructure supports this properly (thanks joerg!).
Diffstat (limited to 'games/gnome-games')
-rw-r--r-- | games/gnome-games/Makefile | 37 | ||||
-rw-r--r-- | games/gnome-games/files/msgfmtstrip | 18 |
2 files changed, 5 insertions, 50 deletions
diff --git a/games/gnome-games/Makefile b/games/gnome-games/Makefile index 3595e5b78de..6af68b4354e 100644 --- a/games/gnome-games/Makefile +++ b/games/gnome-games/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.90 2009/03/18 01:03:36 jmcneill Exp $ +# $NetBSD: Makefile,v 1.91 2009/03/22 19:01:38 wiz Exp $ DISTNAME= gnome-games-2.26.0 CATEGORIES= games gnome @@ -47,52 +47,25 @@ 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 -BUILDLINK_API_DEPENDS.librsvg+= librsvg>=2.12.6 - .include "../../devel/GConf/schemas.mk" .include "../../devel/GConf-ui/buildlink3.mk" .include "../../devel/gettext-lib/buildlink3.mk" +BUILDLINK_API_DEPENDS.glib2+= glib2>=2.6.3 .include "../../devel/glib2/buildlink3.mk" .include "../../devel/libglade/buildlink3.mk" +BUILDLINK_API_DEPENDS.libgnome+= libgnome>=2.10.0 .include "../../devel/libgnome/buildlink3.mk" .include "../../devel/libgnomeui/buildlink3.mk" .include "../../games/ggz-client-libs/buildlink3.mk" .include "../../graphics/cairo/buildlink3.mk" .include "../../graphics/hicolor-icon-theme/buildlink3.mk" +BUILDLINK_API_DEPENDS.librsvg+= librsvg>=2.12.6 .include "../../graphics/librsvg/buildlink3.mk" .include "../../lang/guile/buildlink3.mk" .include "../../sysutils/desktop-file-utils/desktopdb.mk" .include "../../mk/omf-scrollkeeper.mk" .include "../../textproc/gnome-doc-utils/buildlink3.mk" +BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.8.0 .include "../../x11/gtk2/buildlink3.mk" .include "../../lang/python/application.mk" .include "../../lang/python/extension.mk" diff --git a/games/gnome-games/files/msgfmtstrip b/games/gnome-games/files/msgfmtstrip deleted file mode 100644 index 55f31e7be91..00000000000 --- a/games/gnome-games/files/msgfmtstrip +++ /dev/null @@ -1,18 +0,0 @@ -# $Id: msgfmtstrip,v 1.1 2009/03/18 01:03:36 jmcneill Exp $ -# Simple awk script to strip out .po entries with "msgctxt" or "#~|", so the -# resultant file can be handled by the msgfmt 0.14.4 in NetBSD 4.0 -{ -if (/^$/) { entry_end(); } -else if ($1 == "msgctxt" || $2 == "msgctxt") { skip = 1; } -else if ($1 == "#~|") { skip = 1; } -else { entry = entry $0 "\n" } -} - -END { entry_end(); } - -function entry_end() { - if (!skip) - print entry; - entry = ""; - skip = 0; -} |