1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/lang/modula-3-socks/scripts/configure

14 lines
269 B
Plaintext
Raw Normal View History

#! /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