blob: 1f234e91e79b064d4312c7e6ce2fcce952b2861f (
plain) (
tree)
|
|
#! /bin/sh
#
# $FreeBSD$
cd ${WRKSRC}
files_to_patch="\
Makefile \
client/src/cvsup.1 \
server/src/cvsupd.8 \
suplib/src/SupMisc.i3 \
suplib/src/m3makefile"
for i in ${files_to_patch}; do
rm -f ${i}.new
sed -e "s|/usr/local|${PREFIX}|g" ${i} >${i}.new || exit 1
mv -f ${i}.new ${i} || exit 1
done
|