Update from Jean-Marc Zucconi.
Submitted by: jmz
This commit is contained in:
parent
5031dfe1da
commit
903f541046
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=182
@ -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
|
||||
@mkdir -p ${PREFIX}/lib/calc/help
|
||||
@mkdir -p ${PREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
10
math/calc/scripts/configure
vendored
10
math/calc/scripts/configure
vendored
@ -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
|
Loading…
Reference in New Issue
Block a user