From b1076bb7657e4a5b0609e27afb24b9e841f99668 Mon Sep 17 00:00:00 2001 From: wiz Date: Sun, 22 Mar 2009 19:01:37 +0000 Subject: Remove msgfmtstrip scripts and targets using them, now that the infrastructure supports this properly (thanks joerg!). --- editors/gedit/Makefile | 10 +--------- editors/gedit/files/msgfmtstrip | 18 ------------------ 2 files changed, 1 insertion(+), 27 deletions(-) delete mode 100644 editors/gedit/files/msgfmtstrip (limited to 'editors') diff --git a/editors/gedit/Makefile b/editors/gedit/Makefile index ca2462934d8..06c48c775a6 100644 --- a/editors/gedit/Makefile +++ b/editors/gedit/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.92 2009/03/19 12:14:37 drochner Exp $ +# $NetBSD: Makefile,v 1.93 2009/03/22 19:01:38 wiz Exp $ # DISTNAME= gedit-2.26.0 @@ -22,14 +22,6 @@ PKGCONFIG_OVERRIDE+= data/gedit.pc.in GCONF_SCHEMAS= gedit.schemas gedit-file-browser.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 "options.mk" .include "../../devel/GConf/schemas.mk" diff --git a/editors/gedit/files/msgfmtstrip b/editors/gedit/files/msgfmtstrip deleted file mode 100644 index d32a547cde8..00000000000 --- a/editors/gedit/files/msgfmtstrip +++ /dev/null @@ -1,18 +0,0 @@ -# $Id: msgfmtstrip,v 1.1 2009/03/15 20:13:11 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; -} -- cgit v1.2.3