1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/print/tex/scripts/configure
Jean-Marc Zucconi 6299d27cdb Patch the main makefile. Sometimes gmake exits(0) even if an inferior make
failed. (looks like a bug in gmake)
PR:		ports/9690
1999-02-03 02:45:07 +00:00

22 lines
433 B
Bash

#!/bin/sh
cd $WRKDIR || exit 1
find . -name \*.gz |xargs gunzip -f
cd $WRKSRC || exit 1;
cat >> Makefile <<'EOF'
default all: do-kpathsea
cd web2c && $(MAKE) $(makeargs) $@
EOF
./configure --prefix=$PREFIX
cd web2c
for i in ../../tfm/*tfm; do ln -s $i; done
for i in ../../base/*tex; do ln -s $i; done
for i in ../../mf/*mf; do ln -s $i; done
for i in ../../lib/*mf; do ln -s $i; done
cp $DISTDIR/modes.mf . || exit 1;
exit 0;