ports/63810: New port: print/latex-lineno
Hiroki Sato
hrs at FreeBSD.org
Fri Mar 5 17:30:08 UTC 2004
>Number: 63810
>Category: ports
>Synopsis: New port: print/latex-lineno
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Mar 05 09:30:08 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: Hiroki Sato
>Release: FreeBSD 4.9-STABLE i386
>Organization:
Tokyo University of Science
>Environment:
System: FreeBSD alph.allbsd.org 4.9-STABLE FreeBSD 4.9-STABLE #1: Sun Feb 8 19:26:12 JST 2004 hrs at alph.allbsd.org:/usr/obj/usr/src/sys/ALPH i386
>Description:
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.
>How-To-Repeat:
N/A
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# latex-lineno
# latex-lineno/Makefile
# latex-lineno/pkg-descr
# latex-lineno/pkg-plist
# latex-lineno/distinfo
#
echo c - latex-lineno
mkdir -p latex-lineno > /dev/null 2>&1
echo x - latex-lineno/Makefile
sed 's/^X//' >latex-lineno/Makefile << 'END-of-latex-lineno/Makefile'
X# New ports collection makefile for: latex-lineno
X# Date created: 24 Jan 2004
X# Whom: hrs at FreeBSD.org
X#
X# $FreeBSD$
X
XPORTNAME= latex-lineno
XPORTVERSION= 3.10.20031112
XCATEGORIES= print
XMASTER_SITES= ftp://ftp.ctan.org/tex-archive/%SUBDIR%/ \
X ${MASTER_SITE_TEX_CTAN}
XMASTER_SITE_SUBDIR= macros/latex/contrib/lineno
XDISTFILES= ${CLASS_FILES} ${DOC_FILES}
XDIST_SUBDIR= ${PORTNAME}
X
XMAINTAINER= hrs at FreeBSD.org
XCOMMENT= A LaTeX package that provides line numbers on paragraphs
X
XBUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX \
X ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
XRUN_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX \
X ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
X
XNO_BUILD= yes
XPLIST_SUB= MKTEXLSR=${MKTEXLSR} CLASSDIR=${CLASSDIR}
X
XTEXMFLOCAL= share/texmf-local
XTEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R
XMKTEXLSR= ${LOCALBASE}/bin/mktexlsr
XCLASSDIR= ${TEXMFLOCAL}/tex/latex/${PORTNAME:S/^latex-//}
XWRKSRC= ${WRKDIR}/${PORTNAME:S/^latex-//}
X
XCLASS_FILES= lineno.sty lineno.tex ulineno.tex
XDOC_FILES= README
X
Xdo-extract:
X ${MKDIR} ${WRKSRC}
X cd ${DISTDIR}/${DIST_SUBDIR} && ${CP} ${DISTFILES} ${WRKSRC}
X
Xdo-install:
X ${MKDIR} ${PREFIX}/${CLASSDIR}
X ${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR}
X.if !defined(NOPORTDOCS)
X ${MKDIR} ${DOCSDIR}
X ${INSTALL_DATA} ${DOC_FILES:S@^@${WRKSRC}/@} ${DOCSDIR}
X.endif
X
Xpost-install:
X @${MKTEXLSR}
X
X.include <bsd.port.mk>
END-of-latex-lineno/Makefile
echo x - latex-lineno/pkg-descr
sed 's/^X//' >latex-lineno/pkg-descr << 'END-of-latex-lineno/pkg-descr'
XThe LaTeX package lineno.sty provides line numbers on paragraphs.
XAfter TeX has broken a paragraph into lines there will be line numbers
Xattached to them, with the possibility to make references through the
XLaTeX \ref, \pageref cross reference mechanism.
END-of-latex-lineno/pkg-descr
echo x - latex-lineno/pkg-plist
sed 's/^X//' >latex-lineno/pkg-plist << 'END-of-latex-lineno/pkg-plist'
X at comment $FreeBSD$
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X%%CLASSDIR%%/lineno.sty
X%%CLASSDIR%%/lineno.tex
X%%CLASSDIR%%/ulineno.tex
X at dirrm %%CLASSDIR%%
X at exec %%MKTEXLSR%%
X at unexec %%MKTEXLSR%%
END-of-latex-lineno/pkg-plist
echo x - latex-lineno/distinfo
sed 's/^X//' >latex-lineno/distinfo << 'END-of-latex-lineno/distinfo'
XMD5 (latex-lineno/lineno.sty) = cfe2d10c91ecc45f1d5f1e6f87b5c299
XSIZE (latex-lineno/lineno.sty) = 61206
XMD5 (latex-lineno/lineno.tex) = fc57ed1608340f5fd69edfac1026d941
XSIZE (latex-lineno/lineno.tex) = 48694
XMD5 (latex-lineno/ulineno.tex) = c8ea60c51da8ab4a8d85b55027302ee5
XSIZE (latex-lineno/ulineno.tex) = 35658
XMD5 (latex-lineno/README) = 46229990b6cf5ee76cc01525380ef4c5
XSIZE (latex-lineno/README) = 2706
END-of-latex-lineno/distinfo
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list