diff options
author | jkh <jkh@FreeBSD.org> | 1994-10-05 22:34:48 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1994-10-05 22:34:48 +0000 |
commit | fa423b686a669f79374ef237759d2c06e082a51c (patch) | |
tree | aa114adf2b28dfd215e39a8d346bf30c335bcba1 /math | |
parent | cdfa0d442a2b33626471934ac09b7992189b5553 (diff) | |
download | FreeBSD-ports-fa423b686a669f79374ef237759d2c06e082a51c.zip FreeBSD-ports-fa423b686a669f79374ef237759d2c06e082a51c.tar.gz |
Update from Jean-Marc Zucconi.
Submitted by: jmz
Diffstat (limited to 'math')
-rw-r--r-- | math/calc/Makefile | 8 | ||||
-rw-r--r-- | math/calc/scripts/configure | 10 |
2 files changed, 10 insertions, 8 deletions
diff --git a/math/calc/Makefile b/math/calc/Makefile index 7ff0e06..b4ce6b5 100644 --- a/math/calc/Makefile +++ b/math/calc/Makefile @@ -1,8 +1,8 @@ DISTNAME= calc-2.9.3t6 MASTER_SITES= ftp://ftp.cs.uni-sb.de/pub/misc/4.4BSD-Lite/contrib/ -.include <bsd.port.mk> - - pre-install: - @mkdir /usr/local/lib
\ No newline at end of file + @mkdir -p ${PREFIX}/lib/calc/help + @mkdir -p ${PREFIX}/man/man1 + +.include <bsd.port.mk> diff --git a/math/calc/scripts/configure b/math/calc/scripts/configure index 1e36055..a6483fb 100644 --- a/math/calc/scripts/configure +++ b/math/calc/scripts/configure @@ -1,10 +1,12 @@ #!/bin/sh -F=${WRKSRC}/Makefile +PREFIX=${PREFIX:-/usr/local} + +F=$WRKSRC/Makefile chmod +w $F || exit 1; -echo "BINDIR= /usr/local/bin" >> $F || exit 1; -echo "TOPDIR= /usr/local/lib" >> $F -echo "MANDIR=/usr/local/man/man1" >> $F +echo "BINDIR= $PREFIX/bin" >> $F || exit 1; +echo "TOPDIR= $PREFIX/lib" >> $F +echo "MANDIR= $PREFIX/man/man1" >> $F echo "CCOPT= -Wall -Wno-implicit -Wno-comment" >> $F
\ No newline at end of file |