aboutsummaryrefslogtreecommitdiff
path: root/mail/postfix-current/scripts
diff options
context:
space:
mode:
authorTorsten Blum <torstenb@FreeBSD.org>1999-03-29 20:15:09 +0000
committerTorsten Blum <torstenb@FreeBSD.org>1999-03-29 20:15:09 +0000
commitf7f54da77e43b5cc834e48482babbe81dc49f043 (patch)
tree4060ca58c256e685793e7662b30bb8d26240e1af /mail/postfix-current/scripts
parentf6f05762c0ad77ecbc2ee7107558ca2216043f49 (diff)
downloadports-f7f54da77e43b5cc834e48482babbe81dc49f043.tar.gz
ports-f7f54da77e43b5cc834e48482babbe81dc49f043.zip
Notes
Diffstat (limited to 'mail/postfix-current/scripts')
-rw-r--r--mail/postfix-current/scripts/configure26
1 files changed, 26 insertions, 0 deletions
diff --git a/mail/postfix-current/scripts/configure b/mail/postfix-current/scripts/configure
new file mode 100644
index 000000000000..48d9220b478d
--- /dev/null
+++ b/mail/postfix-current/scripts/configure
@@ -0,0 +1,26 @@
+#!/bin/sh
+#
+# $Id$
+
+mv ${WRKSRC}/global/mail_params.h ${WRKSRC}/global/mail_params.h.bak
+sed <${WRKSRC}/global/mail_params.h.bak >${WRKSRC}/global/mail_params.h s+!!PREFIX!!+$PREFIX+g
+
+mv ${WRKSRC}/conf/main.cf ${WRKSRC}/conf/main.cf.bak
+sed <${WRKSRC}/conf/main.cf.bak >${WRKSRC}/conf/main.cf
+
+cd ${WRKSRC}/man
+
+for f in ${MAN1} ; do
+ mv man1/$f man1/$f.bak && \
+ sed s+!!PREFIX!!+$PREFIX+g <man1/$f.bak | soelim >man1/$f
+done
+
+for f in ${MAN5} ; do
+ mv man5/$f man5/$f.bak && \
+ sed s+!!PREFIX!!+$PREFIX+g <man5/$f.bak | soelim >man5/$f
+done
+
+for f in ${MAN8} ; do
+ mv man8/$f man8/$f.bak && \
+ sed s+!!PREFIX!!+$PREFIX+g <man8/$f.bak | soelim >man8/$f
+done