1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/lang/ezm3/scripts/configure
John Polstra e5c90a2538 Add a port for ezm3, a smaller, more portable distribution of the
Modula-3 compiler and runtime system for people who just want to
build CVSup.  Smaller distfiles!  Faster builds!  No runtime
dependencies!  Less memory usage!  No more RTHeapDepC.c problems!
Smoother skin and glossier fur!  (Well, most of those things.)
2002-01-01 22:23:50 +00:00

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}