aboutsummaryrefslogtreecommitdiff
path: root/print/makeindex/scripts
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1994-10-12 02:58:10 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1994-10-12 02:58:10 +0000
commiteb0eafb6b167610ba925cb3a99ba4fdfa56d5b7c (patch)
tree6f834d933ba9eb516a4d78f3a64775342e1aa48a /print/makeindex/scripts
parent7914f6c0712d1eac7a4f228fbffb89230d8f6822 (diff)
downloadports-eb0eafb6b167610ba925cb3a99ba4fdfa56d5b7c.tar.gz
ports-eb0eafb6b167610ba925cb3a99ba4fdfa56d5b7c.zip
Notes
Diffstat (limited to 'print/makeindex/scripts')
-rw-r--r--print/makeindex/scripts/configure13
1 files changed, 13 insertions, 0 deletions
diff --git a/print/makeindex/scripts/configure b/print/makeindex/scripts/configure
new file mode 100644
index 000000000000..e1634b5711cc
--- /dev/null
+++ b/print/makeindex/scripts/configure
@@ -0,0 +1,13 @@
+#!/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