summaryrefslogtreecommitdiffstats
path: root/print/makeindex/scripts
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1994-10-12 02:58:10 +0000
committerjkh <jkh@FreeBSD.org>1994-10-12 02:58:10 +0000
commita0fb531d8d66188c364b399bc6a0e4a60b8a9cca (patch)
treeb9a694c058133f7c6fba1e16fcd5f85666a93f2a /print/makeindex/scripts
parent9625463ad4dc7268c37955adce8f46e1fa7deb3e (diff)
downloadFreeBSD-ports-a0fb531d8d66188c364b399bc6a0e4a60b8a9cca.zip
FreeBSD-ports-a0fb531d8d66188c364b399bc6a0e4a60b8a9cca.tar.gz
This is Jean-Marc Zucconi's makeindex port.
Submitted by: jmz
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 0000000..e1634b5
--- /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
OpenPOWER on IntegriCloud