freebsd-ports/mail/postfix-current/scripts/configure
David W. Chapman Jr. 4086356f6e Take out both PREFIX's from SCRIPTS_ENV since its in bsd.port.mk
Revert configure to 1.5 and fix old logic
2001-08-30 03:36:38 +00:00

8 lines
183 B
Bash

#!/bin/sh
#
# $FreeBSD$
for f in `find ${WRKSRC} -type f | xargs grep -l '\!\!PREFIX\!\!' ` ; do \
mv $f $f.orig && sed s+!!PREFIX!!+$PREFIX+g < $f.orig > $f && \
rm $f.orig
done