summaryrefslogtreecommitdiffstats
path: root/print/makeindex/scripts/configure
blob: 28c153ddd09a2aed98580dd3d5d7a4e2a5b1d03b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

cd $WRKSRC/src-3.0 || exit 1;
cp Makefile.gen Makefile || exit 1;
echo "STYDIR=$PREFIX/share/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
OpenPOWER on IntegriCloud