1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/mail/postfix28/scripts/configure
Daniel Harris a3ed93a236 Update to 19991231-pl13.
PR:		23696
Submitted by:	MAINTAINER
2000-12-23 00:56:26 +00:00

26 lines
543 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 `find ${WRKSRC} | xargs grep -l '\!\!PREFIX\!\!' ` ; do \
mv $f $f.orig && sed s+!!PREFIX!!+$PREFIX+g < $f.orig > $f && \
rm $f.orig
done