aboutsummaryrefslogtreecommitdiffstats
path: root/mail/postfix23/scripts
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2000-11-14 14:28:58 +0800
committerwill <will@FreeBSD.org>2000-11-14 14:28:58 +0800
commit819b5edae18490cfe71280e102de577e82e42856 (patch)
tree37b3f3a763233e0919bab9bc6d7d68603a507edc /mail/postfix23/scripts
parent9a37c2d9f8b0daa66da581cec9851e9301fac661 (diff)
downloadfreebsd-ports-gnome-819b5edae18490cfe71280e102de577e82e42856.tar.gz
freebsd-ports-gnome-819b5edae18490cfe71280e102de577e82e42856.tar.zst
freebsd-ports-gnome-819b5edae18490cfe71280e102de577e82e42856.zip
Update to postfix 19991231-pl10. Install LDAP_README and MYSQL_README along
with documentation. Fix manpage generation. Consistently use INSTALL_* macros (from postfix-current). Modify packaging list using WITH_PCRE and WITH_LDAP PLIST_SUBs (as per postfix-current). Add knob to enable PCRE (again from postfix-current). Use better package description (postfix-current). Fix PLIST. Conditionally remove main.cf and master.cf when they are unmodified from default (postfix-current). Fully institute new maintainer as a real one. :-) PR: 17777, 19185, 20565, 21819, 22613 (also postfix-current) Submitted by: maintainer (THANKS!)
Diffstat (limited to 'mail/postfix23/scripts')
-rw-r--r--mail/postfix23/scripts/configure17
1 files changed, 8 insertions, 9 deletions
diff --git a/mail/postfix23/scripts/configure b/mail/postfix23/scripts/configure
index a46faa92015c..c96a3f3a2faa 100644
--- a/mail/postfix23/scripts/configure
+++ b/mail/postfix23/scripts/configure
@@ -2,25 +2,24 @@
#
# $FreeBSD$
-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 s+!!PREFIX!!+$PREFIX+g <${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
+ soelim man1/$f.bak | sed s+!!PREFIX!!+$PREFIX+g >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
+ soelim man5/$f.bak | sed s+!!PREFIX!!+$PREFIX+g >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
+ soelim man8/$f.bak | sed s+!!PREFIX!!+$PREFIX+g >man8/$f
+done
+
+for f in `grep -r "\!\!PREFIX\!\!" ${WRKSRC} | cut -f 1 -d ':' | uniq` ; do \
+ mv $f $f.orig && sed s+!!PREFIX!!+$PREFIX+g < $f.orig > $f && \
+ rm $f.orig
done