diff options
author | wiz <wiz> | 2009-03-22 19:01:37 +0000 |
---|---|---|
committer | wiz <wiz> | 2009-03-22 19:01:37 +0000 |
commit | 06877dcb64889e3a4f969be59935013a22d4be49 (patch) | |
tree | 0878b8066ae7b10a679ffb6b3e1436a3d4d08c14 /sysutils | |
parent | 51d9f25e20528f4028a13ad2cee532c4c3d43c97 (diff) | |
download | pkgsrc-06877dcb64889e3a4f969be59935013a22d4be49.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/Makefile | 10 | ||||
-rw-r--r-- | sysutils/brasero/files/msgfmtstrip | 18 | ||||
-rw-r--r-- | sysutils/nautilus/Makefile | 10 | ||||
-rw-r--r-- | sysutils/nautilus/files/msgfmtstrip | 18 |
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; -} |