1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/print/makeindex/scripts/configure
Jordan K. Hubbard eb0eafb6b1 This is Jean-Marc Zucconi's makeindex port.
Submitted by:	jmz
1994-10-12 02:58:10 +00:00

14 lines
360 B
Bash

#!/bin/sh
cd $WRKSRC/src-3.0 || exit 1;
cp Makefile.gen Makefile || exit 1;
echo "STYDIR=$PREFIX/lib/texmf/makeindx" >> Makefile || exit 1;
echo "BINDIR=$PREFIX/bin" >> Makefile || exit 1;
mv mkind.h mkind.h.orig || exit 1;
sed -e s:/usr/local:$PREFIX: < mkind.h.orig > mkind.h
cd regexp || exit 1;
cp Makefile.psx Makefile || exit 1;
exit 0