aboutsummaryrefslogtreecommitdiffstats
path: root/print/latex-index
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-01-30 02:35:35 +0800
committerkrion <krion@FreeBSD.org>2004-01-30 02:35:35 +0800
commit13b0f386710ac4e9ac6c5472efd8c9abbf3611d5 (patch)
treeffb7819a3c9f2b714d1d0a7fbdb0ceb94d8b6241 /print/latex-index
parent3f10274721c370be9b4f3435c57974ab38f1e8a1 (diff)
downloadfreebsd-ports-gnome-13b0f386710ac4e9ac6c5472efd8c9abbf3611d5.tar.gz
freebsd-ports-gnome-13b0f386710ac4e9ac6c5472efd8c9abbf3611d5.tar.zst
freebsd-ports-gnome-13b0f386710ac4e9ac6c5472efd8c9abbf3611d5.zip
Add latex-index 4.02.b.20040120,
latex-index is a reimplementation of LaTeX's indexing macros to provide better support for indexing in LaTeX. For example, it supports multiple indexes in a single document and provides a more robust \index command. PR: ports/62075 Submitted by: hrs@FreeBSD.org
Diffstat (limited to 'print/latex-index')
-rw-r--r--print/latex-index/Makefile75
-rw-r--r--print/latex-index/distinfo14
-rw-r--r--print/latex-index/pkg-descr4
-rw-r--r--print/latex-index/pkg-plist21
4 files changed, 114 insertions, 0 deletions
diff --git a/print/latex-index/Makefile b/print/latex-index/Makefile
new file mode 100644
index 000000000000..d252f91f60a1
--- /dev/null
+++ b/print/latex-index/Makefile
@@ -0,0 +1,75 @@
+# New ports collection makefile for: latex-index
+# Date created: 24 Jan 2004
+# Whom: hrs@FreeBSD.org
+#
+# $FreeBSD$
+
+PORTNAME= latex-index
+PORTVERSION= 4.02.b.20040120
+CATEGORIES= print
+MASTER_SITES= ${MASTER_SITE_TEX_CTAN}
+MASTER_SITE_SUBDIR= macros/latex/contrib/${PORTNAME:S/^latex-//}
+DISTFILES= ${DOC_FILES} ${CLASS_FILES}
+DIST_SUBDIR= ${PORTNAME}
+
+MAINTAINER= hrs@FreeBSD.org
+COMMENT= A LaTeX package that reimplements LaTeX indexing macros
+
+BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX
+BUILD_DEPENDS+= ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
+BUILD_DEPENDS+= tex:${PORTSDIR}/print/teTeX
+RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX
+
+PLIST_SUB= TEXMFLOCAL=${TEXMFLOCAL} MKTEXLSR=${MKTEXLSR}
+PLIST_SUB+= CLASSDIR=${CLASSDIR}
+
+USE_GMAKE= YES
+TEXMFLOCAL= share/texmf-local
+TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R
+MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
+TEX_BIN= ${LOCALBASE}/bin/tex
+YES_CMD= /usr/bin/yes
+CLASSDIR= ${TEXMFLOCAL}/tex/latex/${PORTNAME:S/^latex-//}
+WRKSRC= ${WRKDIR}/${PORTNAME:S/^latex-//}
+
+CLASS_FILES= agsmtst.tex
+CLASS_FILES+= autind.sty
+CLASS_FILES+= autind.tex
+CLASS_FILES+= bibref.ist
+CLASS_FILES+= bibref.sty
+CLASS_FILES+= index.dtx
+CLASS_FILES+= index.ins
+CLASS_FILES+= plaintst.tex
+CLASS_FILES+= test.bib
+CLASS_FILES+= xagsm.bst
+CLASS_FILES+= xplain.bst
+
+CLASS_ADD_FILES+= index.sty
+CLASS_ADD_FILES+= sample.tex
+
+DOC_FILES= README
+DOC_FILES+= TODO
+DOC_FILES+= index.pdf
+
+do-extract:
+ ${MKDIR} ${WRKSRC}
+ cd ${DISTDIR}/${DIST_SUBDIR} && ${CP} ${DISTFILES} ${WRKSRC}
+
+do-build:
+ cd ${WRKSRC} && ${YES_CMD} | ${TEX_BIN} index.ins
+
+do-install:
+ ${MKDIR} ${PREFIX}/${CLASSDIR}
+ ${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} \
+ ${CLASS_ADD_FILES:S@^@${WRKSRC}/@} \
+ ${PREFIX}/${CLASSDIR}
+ ${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR}
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${DOC_FILES:S@^@${WRKSRC}/@} ${DOCSDIR}
+.endif
+
+post-install:
+ @${MKTEXLSR}
+
+.include <bsd.port.mk>
diff --git a/print/latex-index/distinfo b/print/latex-index/distinfo
new file mode 100644
index 000000000000..4c5e2c659073
--- /dev/null
+++ b/print/latex-index/distinfo
@@ -0,0 +1,14 @@
+MD5 (latex-index/README) = 30a82b3dd3c15a528fc70782058c3aa3
+MD5 (latex-index/TODO) = 22319fca37fe6f66fd0ed67b79fc8dc8
+MD5 (latex-index/index.pdf) = e6c027e96732be6313037d5a3ab05aff
+MD5 (latex-index/agsmtst.tex) = 18fbb667a10011bc2b14fc37ddc69386
+MD5 (latex-index/autind.sty) = ee51f7ace5ed9bf764da986698778c8e
+MD5 (latex-index/autind.tex) = 55d8f06b2bc31ebbdde6fec5049ab0f7
+MD5 (latex-index/bibref.ist) = 17928f86cfe7d69777db7b574288ddbb
+MD5 (latex-index/bibref.sty) = 2f05570ed1e7f2559fa1335e949cc405
+MD5 (latex-index/index.dtx) = a64a982de315bbff7205608464dd4b38
+MD5 (latex-index/index.ins) = 63cadb5dd86e8bcbc3b08b356cebd218
+MD5 (latex-index/plaintst.tex) = 6075436a0440dd9262da1fe54b7e3b8f
+MD5 (latex-index/test.bib) = 197a29e32c26a9d16d6ed02ac00c2a5f
+MD5 (latex-index/xagsm.bst) = 6759309c660ce10c02c87eae8253cfd1
+MD5 (latex-index/xplain.bst) = b61233214d58dfd5e2ba452b1ca62a3e
diff --git a/print/latex-index/pkg-descr b/print/latex-index/pkg-descr
new file mode 100644
index 000000000000..6c612f5b73b5
--- /dev/null
+++ b/print/latex-index/pkg-descr
@@ -0,0 +1,4 @@
+latex-index is a reimplementation of LaTeX's indexing macros
+to provide better support for indexing in LaTeX. For example, it
+supports multiple indexes in a single document and provides a
+more robust \index command.
diff --git a/print/latex-index/pkg-plist b/print/latex-index/pkg-plist
new file mode 100644
index 000000000000..41b717a2d1fa
--- /dev/null
+++ b/print/latex-index/pkg-plist
@@ -0,0 +1,21 @@
+@comment $FreeBSD$
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%PORTDOCS%%%%DOCSDIR%%/index.pdf
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%CLASSDIR%%/agsmtst.tex
+%%CLASSDIR%%/autind.sty
+%%CLASSDIR%%/autind.tex
+%%CLASSDIR%%/bibref.ist
+%%CLASSDIR%%/bibref.sty
+%%CLASSDIR%%/index.dtx
+%%CLASSDIR%%/index.ins
+%%CLASSDIR%%/index.sty
+%%CLASSDIR%%/plaintst.tex
+%%CLASSDIR%%/sample.tex
+%%CLASSDIR%%/test.bib
+%%CLASSDIR%%/xagsm.bst
+%%CLASSDIR%%/xplain.bst
+@dirrm %%CLASSDIR%%
+@exec %%MKTEXLSR%%
+@unexec %%MKTEXLSR%%