summaryrefslogtreecommitdiff
path: root/print/makeindex/Makefile
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/Makefile
parentFix for successful compilation when NNTP turned on (diff)
This is Jean-Marc Zucconi's makeindex port.
Submitted by: jmz
Notes
Notes: svn path=/head/; revision=214
Diffstat (limited to 'print/makeindex/Makefile')
-rw-r--r--print/makeindex/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/print/makeindex/Makefile b/print/makeindex/Makefile
new file mode 100644
index 000000000000..6d649c24b414
--- /dev/null
+++ b/print/makeindex/Makefile
@@ -0,0 +1,23 @@
+DISTFILES= makeindex-3.0.8.tar.Z
+DISTNAME= makeindex
+
+MASTER_SITES= ftp://achilles.doc.ic.ac.uk/tex/contrib/Schrod/
+
+build: configure pre-build
+ @echo "===> Building for ${DISTNAME}"
+ @(cd ${WRKSRC}/src-3.0/regexp; make)
+ @(cd ${WRKSRC}/src-3.0; make)
+
+install:
+ @echo "===> Installing for ${DISTNAME}"
+ @mkdir -p ${PREFIX}/lib/texmf/makeindx
+ @mkdir -p ${PREFIX}/bin
+ @mkdir -p ${PREFIX}/man/man1
+ @(cd ${WRKSRC}/src-3.0/regexp; make)
+ @(cd ${WRKSRC}/src-3.0; make install)
+ @(cd ${WRKSRC}/doc; \
+ sed -e s:/usr/local/lib/tex/macros/:${PREFIX}/lib/texmf/makeindx/: \
+ <makeindex.l >makeindex.1; \
+ install -c -m 644 makeindex.1 ${PREFIX}/man/man1/)
+
+.include <bsd.port.mk>