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 | 3b8d512966e4a2ecd18916d84c5edfbe0d5db80d (patch) | |
tree | 0878b8066ae7b10a679ffb6b3e1436a3d4d08c14 /x11/gnome-control-center | |
parent | c445bd97c142e05d430d6e91fb572f139b68a949 (diff) | |
download | pkgsrc-3b8d512966e4a2ecd18916d84c5edfbe0d5db80d.tar.gz |
Remove msgfmtstrip scripts and targets using them, now that the
infrastructure supports this properly (thanks joerg!).
Diffstat (limited to 'x11/gnome-control-center')
-rw-r--r-- | x11/gnome-control-center/Makefile | 10 | ||||
-rw-r--r-- | x11/gnome-control-center/files/msgfmtstrip | 18 |
2 files changed, 1 insertions, 27 deletions
diff --git a/x11/gnome-control-center/Makefile b/x11/gnome-control-center/Makefile index 2f02142301d..690c39f01b4 100644 --- a/x11/gnome-control-center/Makefile +++ b/x11/gnome-control-center/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2009/03/17 00:27:37 jmcneill Exp $ +# $NetBSD: Makefile,v 1.23 2009/03/22 19:01:41 wiz Exp $ # DISTNAME= gnome-control-center-2.26.0 @@ -58,14 +58,6 @@ PLIST.evolution= yes _TOOLS_USE_MSGFMT_SH= 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}/po/*.po ; do \ - mv $$f $$f.original ; \ - ${AWK} -f ${FILESDIR}/msgfmtstrip $$f.original > $$f ; \ - done - .include "../../audio/libcanberra/buildlink3.mk" .include "../../devel/gettext-lib/buildlink3.mk" .include "../../devel/GConf/schemas.mk" diff --git a/x11/gnome-control-center/files/msgfmtstrip b/x11/gnome-control-center/files/msgfmtstrip deleted file mode 100644 index bf06cccf550..00000000000 --- a/x11/gnome-control-center/files/msgfmtstrip +++ /dev/null @@ -1,18 +0,0 @@ -# $Id: msgfmtstrip,v 1.1 2008/10/24 23:45:34 jnemeth 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; -} |