diff options
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/eog/Makefile | 10 | ||||
-rw-r--r-- | graphics/eog/files/msgfmtstrip | 18 | ||||
-rw-r--r-- | graphics/gimp/Makefile | 10 | ||||
-rw-r--r-- | graphics/gimp/files/msgfmtstrip | 18 |
4 files changed, 2 insertions, 54 deletions
diff --git a/graphics/eog/Makefile b/graphics/eog/Makefile index 2529d3855c4..9e4b4550afc 100644 --- a/graphics/eog/Makefile +++ b/graphics/eog/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.43 2009/03/19 18:39:14 drochner Exp $ +# $NetBSD: Makefile,v 1.44 2009/03/22 19:01:38 wiz Exp $ # DISTNAME= eog-2.26.0 @@ -20,14 +20,6 @@ USE_LIBTOOL= yes GCONF_SCHEMAS= eog.schemas -# 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}/po/*.po ${WRKSRC}/help/*/*.po ; do \ - mv $$f $$f.original ; \ - ${AWK} -f ${FILESDIR}/msgfmtstrip $$f.original > $$f ; \ - done - .include "../../devel/GConf/schemas.mk" BUILDLINK_API_DEPENDS.glib2+= glib2>=2.15.3 .include "../../devel/glib2/buildlink3.mk" diff --git a/graphics/eog/files/msgfmtstrip b/graphics/eog/files/msgfmtstrip deleted file mode 100644 index 34550792cd1..00000000000 --- a/graphics/eog/files/msgfmtstrip +++ /dev/null @@ -1,18 +0,0 @@ -# $Id: msgfmtstrip,v 1.1 2009/03/16 23:09:18 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; -} diff --git a/graphics/gimp/Makefile b/graphics/gimp/Makefile index af1fbf91776..823891a90c7 100644 --- a/graphics/gimp/Makefile +++ b/graphics/gimp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.180 2009/03/17 15:41:41 adam Exp $ +# $NetBSD: Makefile,v 1.181 2009/03/22 19:01:39 wiz Exp $ DISTNAME= gimp-2.6.6 CATEGORIES= graphics @@ -55,14 +55,6 @@ PLIST.twain= yes .include "options.mk" -# 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}/po/*.po ${WRKSRC}/po-libgimp/*.po ${WRKSRC}/po-plug-ins/*.po; do \ - mv $$f $$f.original ; \ - ${AWK} -f ${FILESDIR}/msgfmtstrip $$f.original > $$f ; \ - done - .include "../../sysutils/desktop-file-utils/desktopdb.mk" .include "../../databases/shared-mime-info/mimedb.mk" .include "../../devel/gettext-lib/buildlink3.mk" diff --git a/graphics/gimp/files/msgfmtstrip b/graphics/gimp/files/msgfmtstrip deleted file mode 100644 index 807dab33485..00000000000 --- a/graphics/gimp/files/msgfmtstrip +++ /dev/null @@ -1,18 +0,0 @@ -# $Id: msgfmtstrip,v 1.1 2009/01/24 20:55:06 adam 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; -} |