1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/math/calc/scripts/configure

15 lines
344 B
Plaintext
Raw Normal View History

#!/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
2000-02-08 03:25:00 +00:00
echo "CCOPT= -Wall -Wno-implicit -Wno-comment" >> $F
echo "USE_READLINE= -DUSE_READLINE" >> $F
echo "READLINE_LIB= -lreadline -lhistory" >> $F