mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
76acab505b
Montreal Modula-3 (PM3) distribution. This is the most actively maintained Modula-3 distribution, and I will probably make CVSup use it soon. These ports work for FreeBSD 2.x, 3.x, and 4.x on the i386, and FreeBSD 4.x on the Alpha.
10 lines
246 B
Bash
10 lines
246 B
Bash
#! /bin/sh
|
|
|
|
cfg=${WRKSRC}/m3config/src/${TARGET}
|
|
cp -p ${cfg} ${cfg}.bak || exit
|
|
sed \
|
|
-e "/^INSTALL_ROOT = /s|\".*\"|\"${PREFIX}\"|" \
|
|
-e "/^X11ROOT = /s|\".*\"|\"${X11BASE}/lib\"|" \
|
|
${cfg} > ${cfg}.tmp || exit
|
|
mv ${cfg}.tmp ${cfg}
|