From c8707b6b06e3585a14f68916205bd98d330944fe Mon Sep 17 00:00:00 2001 From: Kirill Ponomarev Date: Sat, 6 Mar 2004 09:20:44 +0000 Subject: [PATCH] Add latex-lineno 3.10.20031112, The LaTeX package lineno.sty provides line numbers on paragraphs. After TeX has broken a paragraph into lines there will be line numbers attached to them, with the possibility to make references through the LaTeX \ref, \pageref cross reference mechanism. PR: ports/63810 Submitted by: hrs@FreeBSD.org --- print/Makefile | 1 + print/latex-lineno/Makefile | 51 ++++++++++++++++++++++++++++++++++++ print/latex-lineno/distinfo | 8 ++++++ print/latex-lineno/pkg-descr | 4 +++ print/latex-lineno/pkg-plist | 9 +++++++ 5 files changed, 73 insertions(+) create mode 100644 print/latex-lineno/Makefile create mode 100644 print/latex-lineno/distinfo create mode 100644 print/latex-lineno/pkg-descr create mode 100644 print/latex-lineno/pkg-plist diff --git a/print/Makefile b/print/Makefile index b2803561959e..20e1fd917728 100644 --- a/print/Makefile +++ b/print/Makefile @@ -105,6 +105,7 @@ SUBDIR += latex-index SUBDIR += latex-keystroke SUBDIR += latex-layouts + SUBDIR += latex-lineno SUBDIR += latex-logpap SUBDIR += latex-mathabx SUBDIR += latex-pgf diff --git a/print/latex-lineno/Makefile b/print/latex-lineno/Makefile new file mode 100644 index 000000000000..2cfe8329930b --- /dev/null +++ b/print/latex-lineno/Makefile @@ -0,0 +1,51 @@ +# New ports collection makefile for: latex-lineno +# Date created: 24 Jan 2004 +# Whom: hrs@FreeBSD.org +# +# $FreeBSD$ + +PORTNAME= latex-lineno +PORTVERSION= 3.10.20031112 +CATEGORIES= print +MASTER_SITES= ftp://ftp.ctan.org/tex-archive/%SUBDIR%/ \ + ${MASTER_SITE_TEX_CTAN} +MASTER_SITE_SUBDIR= macros/latex/contrib/lineno +DISTFILES= ${CLASS_FILES} ${DOC_FILES} +DIST_SUBDIR= ${PORTNAME} + +MAINTAINER= hrs@FreeBSD.org +COMMENT= A LaTeX package that provides line numbers on paragraphs + +BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX \ + ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal +RUN_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX \ + ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal + +NO_BUILD= yes +PLIST_SUB= MKTEXLSR=${MKTEXLSR} CLASSDIR=${CLASSDIR} + +TEXMFLOCAL= share/texmf-local +TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R +MKTEXLSR= ${LOCALBASE}/bin/mktexlsr +CLASSDIR= ${TEXMFLOCAL}/tex/latex/${PORTNAME:S/^latex-//} +WRKSRC= ${WRKDIR}/${PORTNAME:S/^latex-//} + +CLASS_FILES= lineno.sty lineno.tex ulineno.tex +DOC_FILES= README + +do-extract: + ${MKDIR} ${WRKSRC} + cd ${DISTDIR}/${DIST_SUBDIR} && ${CP} ${DISTFILES} ${WRKSRC} + +do-install: + ${MKDIR} ${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-lineno/distinfo b/print/latex-lineno/distinfo new file mode 100644 index 000000000000..98c8260bb061 --- /dev/null +++ b/print/latex-lineno/distinfo @@ -0,0 +1,8 @@ +MD5 (latex-lineno/lineno.sty) = cfe2d10c91ecc45f1d5f1e6f87b5c299 +SIZE (latex-lineno/lineno.sty) = 61206 +MD5 (latex-lineno/lineno.tex) = fc57ed1608340f5fd69edfac1026d941 +SIZE (latex-lineno/lineno.tex) = 48694 +MD5 (latex-lineno/ulineno.tex) = c8ea60c51da8ab4a8d85b55027302ee5 +SIZE (latex-lineno/ulineno.tex) = 35658 +MD5 (latex-lineno/README) = 46229990b6cf5ee76cc01525380ef4c5 +SIZE (latex-lineno/README) = 2706 diff --git a/print/latex-lineno/pkg-descr b/print/latex-lineno/pkg-descr new file mode 100644 index 000000000000..30e8ed195df7 --- /dev/null +++ b/print/latex-lineno/pkg-descr @@ -0,0 +1,4 @@ +The LaTeX package lineno.sty provides line numbers on paragraphs. +After TeX has broken a paragraph into lines there will be line numbers +attached to them, with the possibility to make references through the +LaTeX \ref, \pageref cross reference mechanism. diff --git a/print/latex-lineno/pkg-plist b/print/latex-lineno/pkg-plist new file mode 100644 index 000000000000..91838946e526 --- /dev/null +++ b/print/latex-lineno/pkg-plist @@ -0,0 +1,9 @@ +@comment $FreeBSD$ +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%@dirrm %%DOCSDIR%% +%%CLASSDIR%%/lineno.sty +%%CLASSDIR%%/lineno.tex +%%CLASSDIR%%/ulineno.tex +@dirrm %%CLASSDIR%% +@exec %%MKTEXLSR%% +@unexec %%MKTEXLSR%%