aboutsummaryrefslogtreecommitdiff
path: root/mail/postfix1/scripts/fix-files-list
diff options
context:
space:
mode:
Diffstat (limited to 'mail/postfix1/scripts/fix-files-list')
-rw-r--r--mail/postfix1/scripts/fix-files-list12
1 files changed, 12 insertions, 0 deletions
diff --git a/mail/postfix1/scripts/fix-files-list b/mail/postfix1/scripts/fix-files-list
new file mode 100644
index 000000000000..cc4a1083a814
--- /dev/null
+++ b/mail/postfix1/scripts/fix-files-list
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+# need to fixup ${PREFIX}/etc/postfix/postfix-files to indicate compressed
+# man pages, since the ports software compresses them later, and if we
+# run post-install it will complain about missing files
+# (script from Simon J. Mudd)
+
+ed ${PREFIX}/etc/postfix/postfix-files <<EOF || exit 1
+%s/\(\/man[158]\/.*\.[158]\):/\1.gz:/
+w
+q
+EOF