1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/lang/modula-3/scripts/configure

16 lines
331 B
Plaintext
Raw Normal View History

#! /bin/sh
#
# $Id: configure,v 1.1.1.1 1996/03/20 22:10:19 jdp Exp $
umask 022
files_to_patch="\
${WRKSRC}/m3/m3build/templates/FreeBSD2"
temp_prefix=${WRKDIR}/installed
for i in ${files_to_patch}; do
test -f ${i}.bak || cp -p ${i} ${i}.bak
rm -f ${i}
sed -e "s+!!PREFIX!!+${temp_prefix}+g" ${i}.bak >${i}
done