mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
6a1b37225e
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!)
26 lines
554 B
Bash
26 lines
554 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
|
|
cd ${WRKSRC}/man
|
|
|
|
for f in ${MAN1} ; do
|
|
mv man1/$f man1/$f.bak && \
|
|
soelim man1/$f.bak | sed s+!!PREFIX!!+$PREFIX+g >man1/$f
|
|
done
|
|
|
|
for f in ${MAN5} ; do
|
|
mv man5/$f man5/$f.bak && \
|
|
soelim man5/$f.bak | sed s+!!PREFIX!!+$PREFIX+g >man5/$f
|
|
done
|
|
|
|
for f in ${MAN8} ; do
|
|
mv man8/$f man8/$f.bak && \
|
|
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
|