summaryrefslogtreecommitdiff
path: root/graphics/eog
diff options
context:
space:
mode:
authorwiz <wiz>2009-03-22 19:01:37 +0000
committerwiz <wiz>2009-03-22 19:01:37 +0000
commit06877dcb64889e3a4f969be59935013a22d4be49 (patch)
tree0878b8066ae7b10a679ffb6b3e1436a3d4d08c14 /graphics/eog
parent51d9f25e20528f4028a13ad2cee532c4c3d43c97 (diff)
downloadpkgsrc-06877dcb64889e3a4f969be59935013a22d4be49.tar.gz
Remove msgfmtstrip scripts and targets using them, now that the
infrastructure supports this properly (thanks joerg!).
Diffstat (limited to 'graphics/eog')
-rw-r--r--graphics/eog/Makefile10
-rw-r--r--graphics/eog/files/msgfmtstrip18
2 files changed, 1 insertions, 27 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;
-}