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

12 lines
253 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
echo "CCOPT= -Wall -Wno-implicit -Wno-comment" >> $F