Update from Jean-Marc Zucconi.

Submitted by:	jmz
This commit is contained in:
Jordan K. Hubbard 1994-10-05 22:34:48 +00:00
parent 5031dfe1da
commit 903f541046
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=182
2 changed files with 10 additions and 8 deletions

View file

@ -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>

View file

@ -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