summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorwiz <wiz>2009-03-22 19:01:37 +0000
committerwiz <wiz>2009-03-22 19:01:37 +0000
commit1965aba002b4e5b4a7947ca8a1946ddd10c53a28 (patch)
tree0878b8066ae7b10a679ffb6b3e1436a3d4d08c14 /sysutils
parent7fed8197b7dc6312fc7bfd101bd7be92d6e95d2e (diff)
downloadpkgsrc-1965aba002b4e5b4a7947ca8a1946ddd10c53a28.tar.gz
Remove msgfmtstrip scripts and targets using them, now that the
infrastructure supports this properly (thanks joerg!).
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/brasero/Makefile10
-rw-r--r--sysutils/brasero/files/msgfmtstrip18
-rw-r--r--sysutils/nautilus/Makefile10
-rw-r--r--sysutils/nautilus/files/msgfmtstrip18
4 files changed, 2 insertions, 54 deletions
diff --git a/sysutils/brasero/Makefile b/sysutils/brasero/Makefile
index ae6a236ef8d..f766bef756c 100644
--- a/sysutils/brasero/Makefile
+++ b/sysutils/brasero/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2009/03/22 09:30:38 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2009/03/22 19:01:41 wiz Exp $
#
DISTNAME= brasero-2.26.0
@@ -28,14 +28,6 @@ PKGCONFIG_OVERRIDE+= libbrasero-media.pc.in
post-extract:
cp ${FILESDIR}/scsi-netbsd.c ${WRKSRC}/libbrasero-media/
-# 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
-
pre-configure:
cd ${WRKSRC} && automake && autoconf
diff --git a/sysutils/brasero/files/msgfmtstrip b/sysutils/brasero/files/msgfmtstrip
deleted file mode 100644
index ebf348d929f..00000000000
--- a/sysutils/brasero/files/msgfmtstrip
+++ /dev/null
@@ -1,18 +0,0 @@
-# $Id: msgfmtstrip,v 1.1.1.1 2009/03/16 10:49:06 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;
-}
diff --git a/sysutils/nautilus/Makefile b/sysutils/nautilus/Makefile
index 20b2c8450df..17097568c90 100644
--- a/sysutils/nautilus/Makefile
+++ b/sysutils/nautilus/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.96 2009/03/16 14:05:04 jmcneill Exp $
+# $NetBSD: Makefile,v 1.97 2009/03/22 19:01:41 wiz Exp $
#
DISTNAME= nautilus-2.26.0
@@ -23,14 +23,6 @@ CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
GCONF_SCHEMAS= apps_nautilus_preferences.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 ; do \
- mv $$f $$f.original ; \
- ${AWK} -f ${FILESDIR}/msgfmtstrip $$f.original > $$f ; \
- done
-
post-install:
# for nautilus-cd-burner, remove when it's no longer needed
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/nautilus/extensions-1.0
diff --git a/sysutils/nautilus/files/msgfmtstrip b/sysutils/nautilus/files/msgfmtstrip
deleted file mode 100644
index aefb932ed7f..00000000000
--- a/sysutils/nautilus/files/msgfmtstrip
+++ /dev/null
@@ -1,18 +0,0 @@
-# $Id: msgfmtstrip,v 1.1 2009/03/16 14:05:04 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;
-}