1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/net/cvsup/scripts/configure
1998-03-24 04:20:27 +00:00

19 lines
373 B
Bash

#! /bin/sh
#
# $Id: configure,v 1.1 1996/12/14 20:13:27 jdp Exp $
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