diff options
author | krion <krion@FreeBSD.org> | 2004-03-06 17:20:44 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-03-06 17:20:44 +0800 |
commit | c1f1971043a23d5552c5d52966ea18af4723c525 (patch) | |
tree | 11f18d6e57e48ccb379bc6f07ca80182a4c7f064 /print | |
parent | 0486a344310e3f0995d3149cfbd459392cbc8194 (diff) | |
download | freebsd-ports-gnome-c1f1971043a23d5552c5d52966ea18af4723c525.tar.gz freebsd-ports-gnome-c1f1971043a23d5552c5d52966ea18af4723c525.tar.zst freebsd-ports-gnome-c1f1971043a23d5552c5d52966ea18af4723c525.zip |
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
Diffstat (limited to 'print')
-rw-r--r-- | print/Makefile | 1 | ||||
-rw-r--r-- | print/latex-lineno/Makefile | 51 | ||||
-rw-r--r-- | print/latex-lineno/distinfo | 8 | ||||
-rw-r--r-- | print/latex-lineno/pkg-descr | 4 | ||||
-rw-r--r-- | print/latex-lineno/pkg-plist | 9 |
5 files changed, 73 insertions, 0 deletions
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 <bsd.port.mk> 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%% |