diff options
author | John Polstra <jdp@FreeBSD.org> | 2000-02-10 05:46:18 +0000 |
---|---|---|
committer | John Polstra <jdp@FreeBSD.org> | 2000-02-10 05:46:18 +0000 |
commit | 76acab505b23478fbcfcd9beaa66e37d2cff99a3 (patch) | |
tree | f4ad65498b7f9d7ce01c040678e1f9965a5159cb /lang/pm3-base/scripts | |
parent | Add the xmms-mikmod port. (diff) |
Add four new ports for various portions of the Polytechnique
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.
Notes
Notes:
svn path=/head/; revision=25633
Diffstat (limited to 'lang/pm3-base/scripts')
-rw-r--r-- | lang/pm3-base/scripts/configure | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lang/pm3-base/scripts/configure b/lang/pm3-base/scripts/configure new file mode 100644 index 000000000000..34ff8649b77a --- /dev/null +++ b/lang/pm3-base/scripts/configure @@ -0,0 +1,9 @@ +#! /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} |