1 2 3 4 5 6 7 8 9 10 11 12 13 14
#!/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 echo "USE_READLINE= -DUSE_READLINE" >> $F echo "READLINE_LIB= -lreadline -lhistory" >> $F