1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/print/dviselect/scripts/configure

14 lines
494 B
Plaintext
Raw Normal View History

#!/bin/sh
cd $WRKSRC
mv Makefile Makefile~
sed -e /DELETE/q <Makefile~ >Makefile
echo "BINDIR = $PREFIX/bin" >> $WRKSRC/Makefile || exit 1;
echo "MANDIR = $PREFIX/man" >> $WRKSRC/Makefile || exit 1;
echo "all: default" >> $WRKSRC/Makefile || exit 1;
2000-07-30 21:32:19 +00:00
echo "install: inst-dviselect" >> $WRKSRC/Makefile || exit 1;
echo "CFLAGS= $CFLAGS -I../h -I./h -DHAVE_VPRINTF" >> $WRKSRC/Makefile || exit 1;
echo "MFLAGS=CFLAGS=\"\${CFLAGS}\"" >> $WRKSRC/Makefile || exit 1;
exit 0;