mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-05 22:43:24 +00:00
18 lines
314 B
Plaintext
18 lines
314 B
Plaintext
|
#! /bin/sh
|
||
|
#
|
||
|
# $Id$
|
||
|
|
||
|
cd ${WRKSRC}
|
||
|
|
||
|
files_to_patch="\
|
||
|
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
|