aboutsummaryrefslogtreecommitdiff
path: root/mail/postfix23/scripts/fix-files-list
diff options
context:
space:
mode:
authorDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2002-01-30 19:59:40 +0000
committerDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2002-01-30 19:59:40 +0000
commit38a2f47cdc6aacb20c0123e6e3322671dba9937d (patch)
tree927bdba9b4538b04a9a69c3abb7012799ca9b715 /mail/postfix23/scripts/fix-files-list
parent54413ef8d703a0a01af901118f212f4bbb22b483 (diff)
downloadports-38a2f47cdc6aacb20c0123e6e3322671dba9937d.tar.gz
ports-38a2f47cdc6aacb20c0123e6e3322671dba9937d.zip
Notes
Diffstat (limited to 'mail/postfix23/scripts/fix-files-list')
-rw-r--r--mail/postfix23/scripts/fix-files-list12
1 files changed, 12 insertions, 0 deletions
diff --git a/mail/postfix23/scripts/fix-files-list b/mail/postfix23/scripts/fix-files-list
new file mode 100644
index 000000000000..cc4a1083a814
--- /dev/null
+++ b/mail/postfix23/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