1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/print/dviselect/scripts/configure
2000-07-30 21:32:19 +00:00

14 lines
494 B
Bash

#!/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;
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;