1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/math/calc/scripts/configure
Jordan K. Hubbard 903f541046 Update from Jean-Marc Zucconi.
Submitted by:	jmz
1994-10-05 22:34:48 +00:00

12 lines
253 B
Bash

#!/bin/sh
PREFIX=${PREFIX:-/usr/local}
F=$WRKSRC/Makefile
chmod +w $F || exit 1;
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