diff options
author | torstenb <torstenb@FreeBSD.org> | 1999-03-29 20:15:09 +0000 |
---|---|---|
committer | torstenb <torstenb@FreeBSD.org> | 1999-03-29 20:15:09 +0000 |
commit | d07c18bd0819f65c2b34e6422674e0f309d0259f (patch) | |
tree | 40d2855ef5d45b014dd248b25b8de524cc8bc143 /mail/postfix20/scripts | |
parent | 94b1dc21584aa027c35c6bd5effd59868c786120 (diff) | |
download | FreeBSD-ports-d07c18bd0819f65c2b34e6422674e0f309d0259f.zip FreeBSD-ports-d07c18bd0819f65c2b34e6422674e0f309d0259f.tar.gz |
Port of Wietse Venema's postfix, yet another mail transport agent that tries to
replace sendmail.
Diffstat (limited to 'mail/postfix20/scripts')
-rw-r--r-- | mail/postfix20/scripts/configure | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/mail/postfix20/scripts/configure b/mail/postfix20/scripts/configure new file mode 100644 index 0000000..48d9220 --- /dev/null +++ b/mail/postfix20/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 |