aboutsummaryrefslogtreecommitdiffstats
path: root/mail/postfix23/scripts
diff options
context:
space:
mode:
authortorstenb <torstenb@FreeBSD.org>1999-03-30 04:15:09 +0800
committertorstenb <torstenb@FreeBSD.org>1999-03-30 04:15:09 +0800
commitd07c18bd0819f65c2b34e6422674e0f309d0259f (patch)
tree40d2855ef5d45b014dd248b25b8de524cc8bc143 /mail/postfix23/scripts
parent94b1dc21584aa027c35c6bd5effd59868c786120 (diff)
downloadfreebsd-ports-gnome-d07c18bd0819f65c2b34e6422674e0f309d0259f.tar.gz
freebsd-ports-gnome-d07c18bd0819f65c2b34e6422674e0f309d0259f.tar.zst
freebsd-ports-gnome-d07c18bd0819f65c2b34e6422674e0f309d0259f.zip
Port of Wietse Venema's postfix, yet another mail transport agent that tries to
replace sendmail.
Diffstat (limited to 'mail/postfix23/scripts')
-rw-r--r--mail/postfix23/scripts/configure26
1 files changed, 26 insertions, 0 deletions
diff --git a/mail/postfix23/scripts/configure b/mail/postfix23/scripts/configure
new file mode 100644
index 000000000000..48d9220b478d
--- /dev/null
+++ b/mail/postfix23/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