summaryrefslogtreecommitdiff
path: root/math/gcalctool
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2009-03-22 19:01:37 +0000
committerwiz <wiz@pkgsrc.org>2009-03-22 19:01:37 +0000
commitb1076bb7657e4a5b0609e27afb24b9e841f99668 (patch)
tree0878b8066ae7b10a679ffb6b3e1436a3d4d08c14 /math/gcalctool
parent199b1f0ecaa0fa4f7144200486984816129b4319 (diff)
downloadpkgsrc-b1076bb7657e4a5b0609e27afb24b9e841f99668.tar.gz
Remove msgfmtstrip scripts and targets using them, now that the
infrastructure supports this properly (thanks joerg!).
Diffstat (limited to 'math/gcalctool')
-rw-r--r--math/gcalctool/Makefile13
-rw-r--r--math/gcalctool/files/msgfmtstrip18
2 files changed, 2 insertions, 29 deletions
diff --git a/math/gcalctool/Makefile b/math/gcalctool/Makefile
index 223cbbf2e63..8e314d48e1b 100644
--- a/math/gcalctool/Makefile
+++ b/math/gcalctool/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.78 2009/03/18 00:32:45 jmcneill Exp $
+# $NetBSD: Makefile,v 1.79 2009/03/22 19:01:39 wiz Exp $
#
DISTNAME= gcalctool-5.26.0
@@ -22,16 +22,6 @@ USE_PKGLOCALEDIR= yes
GCONF_SCHEMAS= gcalctool.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 ${WRKSRC}/help/*/*.po ; do \
- mv $$f $$f.original ; \
- ${AWK} -f ${FILESDIR}/msgfmtstrip $$f.original > $$f ; \
- done
-
-BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.6.0
-
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../devel/GConf/schemas.mk"
.include "../../devel/atk/buildlink3.mk"
@@ -41,5 +31,6 @@ BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.6.0
.include "../../devel/libgnomeui/buildlink3.mk"
.include "../../textproc/gnome-doc-utils/buildlink3.mk"
.include "../../mk/omf-scrollkeeper.mk"
+BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.6.0
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/math/gcalctool/files/msgfmtstrip b/math/gcalctool/files/msgfmtstrip
deleted file mode 100644
index 056975f4d07..00000000000
--- a/math/gcalctool/files/msgfmtstrip
+++ /dev/null
@@ -1,18 +0,0 @@
-# $Id: msgfmtstrip,v 1.1 2009/03/18 00:32:45 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;
-}