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!). --- chat/empathy/Makefile | 12 ++---------- chat/empathy/distinfo | 3 +-- chat/empathy/files/msgfmtstrip | 18 ------------------ 3 files changed, 3 insertions(+), 30 deletions(-) delete mode 100644 chat/empathy/files/msgfmtstrip (limited to 'chat/empathy') diff --git a/chat/empathy/Makefile b/chat/empathy/Makefile index 9712f8415b7..a2c3eefa1a8 100644 --- a/chat/empathy/Makefile +++ b/chat/empathy/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.4 2009/02/09 22:56:21 joerg Exp $ +# $NetBSD: Makefile,v 1.5 2009/03/22 19:01:37 wiz Exp $ DISTNAME= empathy-2.24.1 -PKGREVISION= 2 +PKGREVISION= 1 CATEGORIES= chat gnome MASTER_SITES= ${MASTER_SITE_GNOME:=sources/empathy/2.24/} @@ -23,14 +23,6 @@ USE_PKGLOCALEDIR= yes GCONF_SCHEMAS+= GNOME_Megaphone_Applet.schemas GCONF_SCHEMAS+= empathy.schemas -# In pkgsrc, the shipped gettext 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 - pre-configure: cd ${WRKSRC} && autoconf -f diff --git a/chat/empathy/distinfo b/chat/empathy/distinfo index 0b17532d9a7..b99cd04d176 100644 --- a/chat/empathy/distinfo +++ b/chat/empathy/distinfo @@ -1,6 +1,5 @@ -$NetBSD: distinfo,v 1.2 2008/12/24 12:39:59 jmcneill Exp $ +$NetBSD: distinfo,v 1.3 2009/03/22 19:01:37 wiz Exp $ SHA1 (empathy-2.24.1.tar.gz) = c2962c01b12e946bca4f2ee4585e8a98a29689e4 RMD160 (empathy-2.24.1.tar.gz) = 20e16355c7e9df02f7692d3ae7511d91f9f0c5e7 Size (empathy-2.24.1.tar.gz) = 2475921 bytes -SHA1 (patch-aa) = 764e4d75441e75de4053dcdf3e18628feebe05ac diff --git a/chat/empathy/files/msgfmtstrip b/chat/empathy/files/msgfmtstrip deleted file mode 100644 index db32d55e7d6..00000000000 --- a/chat/empathy/files/msgfmtstrip +++ /dev/null @@ -1,18 +0,0 @@ -# $Id: msgfmtstrip,v 1.1.1.1 2008/11/14 23:01:45 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; -} -- cgit v1.2.3