Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Mar 2004 02:22:55 +0900 (JST)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/63810: New port: print/latex-lineno
Message-ID:  <200403051722.i25HMtSM012054@alph.allbsd.org>
Resent-Message-ID: <200403051730.i25HU8uZ087550@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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@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@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@comment $FreeBSD$
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X%%CLASSDIR%%/lineno.sty
X%%CLASSDIR%%/lineno.tex
X%%CLASSDIR%%/ulineno.tex
X@dirrm %%CLASSDIR%%
X@exec %%MKTEXLSR%%
X@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403051722.i25HMtSM012054>