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
Jean-Marc Zucconi c2310184f9 Correct a mistake when I modified the port last week. Changes were relative
to the wrong distfile (there are 2 or 3 different versions of dviselect, but
the differences are essentially cosmetic)
2000-07-02 22:45:55 +00:00

13 lines
431 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 "CFLAGS= $CFLAGS -I../h -I./h -DHAVE_VPRINTF" >> $WRKSRC/Makefile || exit 1;
echo "MFLAGS=CFLAGS=\"\${CFLAGS}\"" >> $WRKSRC/Makefile || exit 1;
exit 0;