summaryrefslogtreecommitdiff
path: root/www/gtkhtml314
diff options
context:
space:
mode:
Diffstat (limited to 'www/gtkhtml314')
-rw-r--r--www/gtkhtml314/Makefile10
-rw-r--r--www/gtkhtml314/files/msgfmtstrip18
2 files changed, 1 insertions, 27 deletions
diff --git a/www/gtkhtml314/Makefile b/www/gtkhtml314/Makefile
index e86af5f7f0f..8288e31aabf 100644
--- a/www/gtkhtml314/Makefile
+++ b/www/gtkhtml314/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2009/03/16 11:36:03 jmcneill Exp $
+# $NetBSD: Makefile,v 1.24 2009/03/22 19:01:41 wiz Exp $
#
# PKGNAME derives from the supported API (still from
# release 3.14). See also PLIST.
@@ -24,14 +24,6 @@ USE_TOOLS+= gmake intltool msgfmt pkg-config
PKGCONFIG_OVERRIDE+= components/editor/gtkhtml-editor.pc.in
PKGCONFIG_OVERRIDE+= gtkhtml/libgtkhtml.pc.in
-# 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 ; do \
- mv $$f $$f.original ; \
- ${AWK} -f ${FILESDIR}/msgfmtstrip $$f.original > $$f ; \
- done
-
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/libbonobo/buildlink3.mk"
.include "../../devel/libbonoboui/buildlink3.mk"
diff --git a/www/gtkhtml314/files/msgfmtstrip b/www/gtkhtml314/files/msgfmtstrip
deleted file mode 100644
index c61056b92a8..00000000000
--- a/www/gtkhtml314/files/msgfmtstrip
+++ /dev/null
@@ -1,18 +0,0 @@
-# $Id: msgfmtstrip,v 1.1 2008/10/24 19:27:18 wiz 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;
-}