summaryrefslogtreecommitdiff
path: root/x11/gnome-panel
diff options
context:
space:
mode:
authorwiz <wiz>2009-03-22 19:01:37 +0000
committerwiz <wiz>2009-03-22 19:01:37 +0000
commit06877dcb64889e3a4f969be59935013a22d4be49 (patch)
tree0878b8066ae7b10a679ffb6b3e1436a3d4d08c14 /x11/gnome-panel
parent51d9f25e20528f4028a13ad2cee532c4c3d43c97 (diff)
downloadpkgsrc-06877dcb64889e3a4f969be59935013a22d4be49.tar.gz
Remove msgfmtstrip scripts and targets using them, now that the
infrastructure supports this properly (thanks joerg!).
Diffstat (limited to 'x11/gnome-panel')
-rw-r--r--x11/gnome-panel/Makefile13
-rw-r--r--x11/gnome-panel/files/msgfmtstrip18
2 files changed, 2 insertions, 29 deletions
diff --git a/x11/gnome-panel/Makefile b/x11/gnome-panel/Makefile
index 503e45c9e08..edb66463816 100644
--- a/x11/gnome-panel/Makefile
+++ b/x11/gnome-panel/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.107 2009/03/16 23:49:20 jmcneill Exp $
+# $NetBSD: Makefile,v 1.108 2009/03/22 19:01:42 wiz Exp $
#
DISTNAME= gnome-panel-2.26.0
@@ -46,16 +46,6 @@ PKG_SUGGESTED_OPTIONS= evolution
.include "../../mk/bsd.options.mk"
-# 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
-
-BUILDLINK_DEPMETHOD.libXt?= build
-
.include "../../devel/GConf/schemas.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/libbonobo/buildlink3.mk"
@@ -85,5 +75,6 @@ BUILDLINK_API_DEPENDS.libgweather+= libgweather>=2.24.1
.include "../../x11/gtk2/buildlink3.mk"
.include "../../x11/libSM/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
+BUILDLINK_DEPMETHOD.libXt?= build
.include "../../x11/libXt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/x11/gnome-panel/files/msgfmtstrip b/x11/gnome-panel/files/msgfmtstrip
deleted file mode 100644
index 950ff7540cb..00000000000
--- a/x11/gnome-panel/files/msgfmtstrip
+++ /dev/null
@@ -1,18 +0,0 @@
-# $Id: msgfmtstrip,v 1.1 2009/03/16 23:49:20 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;
-}