summaryrefslogtreecommitdiff
path: root/www/gtkhtml314/files/msgfmtstrip
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 /www/gtkhtml314/files/msgfmtstrip
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 'www/gtkhtml314/files/msgfmtstrip')
-rw-r--r--www/gtkhtml314/files/msgfmtstrip18
1 files changed, 0 insertions, 18 deletions
diff --git a/www/gtkhtml314/files/msgfmtstrip b/www/gtkhtml314/files/msgfmtstrip
deleted file mode 100644
index c61056b92a8..00000000000
--- a/www/gtkhtml314/files/msgfmtstrip
+++ /dev/null
@@ -1,18 +0,0 @@
-# $Id: msgfmtstrip,v 1.1 2008/10/24 19:27:18 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;
-}