1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/print/tex/scripts/configure

22 lines
433 B
Plaintext
Raw Normal View History

#!/bin/sh
1997-02-24 21:58:38 +00:00
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;