Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Mar 2004 23:12:50 +0900 (JST)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/63760: New port: print/latex-pict2e
Message-ID:  <200403041412.i24EColQ097958@alph.allbsd.org>
Resent-Message-ID: <200403041420.i24EKHfh036865@freefall.freebsd.org>

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

>Number:         63760
>Category:       ports
>Synopsis:       New port: print/latex-pict2e
>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:   Thu Mar 04 06:20:16 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 pict2e package extends the existing LaTeX picture environment,
	using the familiar technique (cf. the graphics and color packages)
	of driver files.

>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-pict2e
#	latex-pict2e/Makefile
#	latex-pict2e/pkg-descr
#	latex-pict2e/pkg-plist
#	latex-pict2e/distinfo
#
echo c - latex-pict2e
mkdir -p latex-pict2e > /dev/null 2>&1
echo x - latex-pict2e/Makefile
sed 's/^X//' >latex-pict2e/Makefile << 'END-of-latex-pict2e/Makefile'
X# New ports collection makefile for:	latex-pict2e
X# Date created:		24 Jan 2004
X# Whom:			hrs@FreeBSD.org
X#
X# $FreeBSD$
X
XPORTNAME=	latex-pict2e
XPORTVERSION=	0.2.20040219
XCATEGORIES=	print
XMASTER_SITES=	ftp://ftp.ctan.org/tex-archive/%SUBDIR%/ \
X		${MASTER_SITE_TEX_CTAN}
XMASTER_SITE_SUBDIR=	macros/latex/contrib/pict2e
XDISTFILES=	README.pict2e p2e-drivers.dtx pict2e.dtx pict2e.ins pict2e.pdf
XDIST_SUBDIR=	${PORTNAME}
X
XMAINTAINER=	hrs@FreeBSD.org
XCOMMENT=	A LaTeX package that extends the LaTeX picture environment
X
XBUILD_DEPENDS=	mktexlsr:${PORTSDIR}/print/teTeX \
X		tex:${PORTSDIR}/print/teTeX \
X		${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
XRUN_DEPENDS=	latex:${PORTSDIR}/print/teTeX \
X		${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
X
XPLIST_SUB=	MKTEXLSR=${MKTEXLSR} CLASSDIR=${CLASSDIR}
X
XTEXMFLOCAL=	share/texmf-local
XTEXMFLOCAL_LSR=	${LOCALBASE}/${TEXMFLOCAL}/ls-R
XMKTEXLSR=	${LOCALBASE}/bin/mktexlsr
XTEX_BIN=	${LOCALBASE}/bin/tex
XYES_CMD=	/usr/bin/yes
XCLASSDIR=	${TEXMFLOCAL}/tex/latex/${PORTNAME:S/^latex-//}
XWRKSRC=		${WRKDIR}/${PORTNAME:S/^latex-//}
X
XCLASS_FILES=	p2e-drivers.dtx p2e-dvipdfm.def p2e-dvips.def \
X		p2e-pctex32.def p2e-pctexps.def p2e-pdftex.def \
X		p2e-textures.def p2e-vtex.def \
X		pict2e-example.cfg pict2e.dtx pict2e.ins pict2e.sty \
X		pict2e.cfg
X
XDOC_FILES=	README.pict2e pict2e.pdf
X
Xdo-extract:
X	${MKDIR} ${WRKSRC}
X	cd ${DISTDIR}/${DIST_SUBDIR} && ${CP} ${DISTFILES} ${WRKSRC}
X
Xdo-build:
X	cd ${WRKSRC} && ${YES_CMD} | ${TEX_BIN} pict2e.ins
X	${CP} ${WRKSRC}/pict2e-example.cfg ${WRKSRC}/pict2e.cfg
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-pict2e/Makefile
echo x - latex-pict2e/pkg-descr
sed 's/^X//' >latex-pict2e/pkg-descr << 'END-of-latex-pict2e/pkg-descr'
XThe pict2e package extends the existing LaTeX picture environment, using
Xthe familiar technique (cf. the graphics and color packages) of driver
Xfiles.  The package documentation (pict2e.dtx) has a fair number of
Xexamples of use, showing where things are improved by comparison with
Xthe LaTeX picture environment.
END-of-latex-pict2e/pkg-descr
echo x - latex-pict2e/pkg-plist
sed 's/^X//' >latex-pict2e/pkg-plist << 'END-of-latex-pict2e/pkg-plist'
X@comment $FreeBSD$
X%%PORTDOCS%%%%DOCSDIR%%/README.pict2e
X%%PORTDOCS%%%%DOCSDIR%%/pict2e.pdf
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X%%CLASSDIR%%/p2e-drivers.dtx
X%%CLASSDIR%%/p2e-dvipdfm.def
X%%CLASSDIR%%/p2e-dvips.def
X%%CLASSDIR%%/p2e-pctex32.def
X%%CLASSDIR%%/p2e-pctexps.def
X%%CLASSDIR%%/p2e-pdftex.def
X%%CLASSDIR%%/p2e-textures.def
X%%CLASSDIR%%/p2e-vtex.def
X%%CLASSDIR%%/pict2e-example.cfg
X%%CLASSDIR%%/pict2e.dtx
X%%CLASSDIR%%/pict2e.ins
X%%CLASSDIR%%/pict2e.sty
X%%CLASSDIR%%/pict2e.cfg
X@dirrm %%CLASSDIR%%
X@exec %%MKTEXLSR%%
X@unexec %%MKTEXLSR%%
END-of-latex-pict2e/pkg-plist
echo x - latex-pict2e/distinfo
sed 's/^X//' >latex-pict2e/distinfo << 'END-of-latex-pict2e/distinfo'
XMD5 (latex-pict2e/README.pict2e) = 783843146c9da758b93aa01345b04d52
XSIZE (latex-pict2e/README.pict2e) = 1650
XMD5 (latex-pict2e/p2e-drivers.dtx) = 66d8967251eb0911fde333d893ec0588
XSIZE (latex-pict2e/p2e-drivers.dtx) = 13013
XMD5 (latex-pict2e/pict2e.dtx) = 580a629ed7686e60497fbe70afee8441
XSIZE (latex-pict2e/pict2e.dtx) = 88038
XMD5 (latex-pict2e/pict2e.ins) = 3aca5abbdc76d392e0acb21e8f8202e9
XSIZE (latex-pict2e/pict2e.ins) = 1163
XMD5 (latex-pict2e/pict2e.pdf) = 7e28cb46085748b39ac10ab087a99c02
XSIZE (latex-pict2e/pict2e.pdf) = 651901
END-of-latex-pict2e/distinfo
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



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