1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00

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
This commit is contained in:
Kirill Ponomarev 2004-03-06 09:20:44 +00:00
parent c4cc67d53e
commit c8707b6b06
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=103078
5 changed files with 73 additions and 0 deletions

View File

@ -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

View File

@ -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>

View File

@ -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

View File

@ -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.

View File

@ -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%%