From 8d72a7983381eb3b6e9b855a2819f1daeb0517aa Mon Sep 17 00:00:00 2001 From: Kirill Ponomarev Date: Thu, 29 Jan 2004 18:35:35 +0000 Subject: [PATCH] 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 --- print/Makefile | 1 + print/latex-index/Makefile | 75 +++++++++++++++++++++++++++++++++++++ print/latex-index/distinfo | 14 +++++++ print/latex-index/pkg-descr | 4 ++ print/latex-index/pkg-plist | 21 +++++++++++ 5 files changed, 115 insertions(+) create mode 100644 print/latex-index/Makefile create mode 100644 print/latex-index/distinfo create mode 100644 print/latex-index/pkg-descr create mode 100644 print/latex-index/pkg-plist diff --git a/print/Makefile b/print/Makefile index fc4337678b83..989b084bb485 100644 --- a/print/Makefile +++ b/print/Makefile @@ -100,6 +100,7 @@ SUBDIR += latex-bytefield SUBDIR += latex-caption SUBDIR += latex-feynmf + SUBDIR += latex-index SUBDIR += latex-keystroke SUBDIR += latex-layouts SUBDIR += latex-mathabx 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 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%%