mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
14 lines
269 B
Plaintext
14 lines
269 B
Plaintext
|
#! /bin/sh
|
||
|
|
||
|
files="SOCKS-SOURCE/h/socksdef.h \
|
||
|
m3socks/m3socks.sh \
|
||
|
m3socks/m3socks.1 \
|
||
|
m3socks/m3socks.conf.5"
|
||
|
|
||
|
cd ${WRKSRC}
|
||
|
for i in ${files}; do
|
||
|
test -f $i.bak || cp $i $i.bak
|
||
|
chmod +w $i
|
||
|
sed "s|/usr/local/|${PREFIX}/|g" $i.bak > $i && rm -f $i.bak
|
||
|
done
|