summaryrefslogtreecommitdiff
path: root/games/warzone2100/files/msgfmtstrip
diff options
context:
space:
mode:
Diffstat (limited to 'games/warzone2100/files/msgfmtstrip')
-rw-r--r--games/warzone2100/files/msgfmtstrip18
1 files changed, 0 insertions, 18 deletions
diff --git a/games/warzone2100/files/msgfmtstrip b/games/warzone2100/files/msgfmtstrip
deleted file mode 100644
index 74d0f5640a0..00000000000
--- a/games/warzone2100/files/msgfmtstrip
+++ /dev/null
@@ -1,18 +0,0 @@
-# $Id: msgfmtstrip,v 1.1.1.1 2009/02/15 16:05:43 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;
-}