aboutsummaryrefslogtreecommitdiffstats
path: root/print/latex-pict2e
diff options
context:
space:
mode:
Diffstat (limited to 'print/latex-pict2e')
-rw-r--r--print/latex-pict2e/Makefile62
-rw-r--r--print/latex-pict2e/distinfo10
-rw-r--r--print/latex-pict2e/pkg-descr5
-rw-r--r--print/latex-pict2e/pkg-plist20
4 files changed, 97 insertions, 0 deletions
diff --git a/print/latex-pict2e/Makefile b/print/latex-pict2e/Makefile
new file mode 100644
index 000000000000..65464072d239
--- /dev/null
+++ b/print/latex-pict2e/Makefile
@@ -0,0 +1,62 @@
+# New ports collection makefile for: latex-pict2e
+# Date created: 24 Jan 2004
+# Whom: hrs@FreeBSD.org
+#
+# $FreeBSD$
+
+PORTNAME= latex-pict2e
+PORTVERSION= 0.2.20040219
+CATEGORIES= print
+MASTER_SITES= ftp://ftp.ctan.org/tex-archive/%SUBDIR%/ \
+ ${MASTER_SITE_TEX_CTAN}
+MASTER_SITE_SUBDIR= macros/latex/contrib/pict2e
+DISTFILES= README.pict2e p2e-drivers.dtx pict2e.dtx pict2e.ins pict2e.pdf
+DIST_SUBDIR= ${PORTNAME}
+
+MAINTAINER= hrs@FreeBSD.org
+COMMENT= A LaTeX package that extends the LaTeX picture environment
+
+BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX \
+ tex:${PORTSDIR}/print/teTeX \
+ ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
+RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX \
+ ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
+
+PLIST_SUB= MKTEXLSR=${MKTEXLSR} CLASSDIR=${CLASSDIR}
+
+TEXMFLOCAL= share/texmf-local
+TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R
+MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
+TEX_BIN= ${LOCALBASE}/bin/tex
+YES_CMD= /usr/bin/yes
+CLASSDIR= ${TEXMFLOCAL}/tex/latex/${PORTNAME:S/^latex-//}
+WRKSRC= ${WRKDIR}/${PORTNAME:S/^latex-//}
+
+CLASS_FILES= p2e-drivers.dtx p2e-dvipdfm.def p2e-dvips.def \
+ p2e-pctex32.def p2e-pctexps.def p2e-pdftex.def \
+ p2e-textures.def p2e-vtex.def \
+ pict2e-example.cfg pict2e.dtx pict2e.ins pict2e.sty \
+ pict2e.cfg
+
+DOC_FILES= README.pict2e pict2e.pdf
+
+do-extract:
+ ${MKDIR} ${WRKSRC}
+ cd ${DISTDIR}/${DIST_SUBDIR} && ${CP} ${DISTFILES} ${WRKSRC}
+
+do-build:
+ cd ${WRKSRC} && ${YES_CMD} | ${TEX_BIN} pict2e.ins
+ ${CP} ${WRKSRC}/pict2e-example.cfg ${WRKSRC}/pict2e.cfg
+
+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-pict2e/distinfo b/print/latex-pict2e/distinfo
new file mode 100644
index 000000000000..2f5968b0035c
--- /dev/null
+++ b/print/latex-pict2e/distinfo
@@ -0,0 +1,10 @@
+MD5 (latex-pict2e/README.pict2e) = 783843146c9da758b93aa01345b04d52
+SIZE (latex-pict2e/README.pict2e) = 1650
+MD5 (latex-pict2e/p2e-drivers.dtx) = 66d8967251eb0911fde333d893ec0588
+SIZE (latex-pict2e/p2e-drivers.dtx) = 13013
+MD5 (latex-pict2e/pict2e.dtx) = 580a629ed7686e60497fbe70afee8441
+SIZE (latex-pict2e/pict2e.dtx) = 88038
+MD5 (latex-pict2e/pict2e.ins) = 3aca5abbdc76d392e0acb21e8f8202e9
+SIZE (latex-pict2e/pict2e.ins) = 1163
+MD5 (latex-pict2e/pict2e.pdf) = 7e28cb46085748b39ac10ab087a99c02
+SIZE (latex-pict2e/pict2e.pdf) = 651901
diff --git a/print/latex-pict2e/pkg-descr b/print/latex-pict2e/pkg-descr
new file mode 100644
index 000000000000..8508443f6d77
--- /dev/null
+++ b/print/latex-pict2e/pkg-descr
@@ -0,0 +1,5 @@
+The pict2e package extends the existing LaTeX picture environment, using
+the familiar technique (cf. the graphics and color packages) of driver
+files. The package documentation (pict2e.dtx) has a fair number of
+examples of use, showing where things are improved by comparison with
+the LaTeX picture environment.
diff --git a/print/latex-pict2e/pkg-plist b/print/latex-pict2e/pkg-plist
new file mode 100644
index 000000000000..7ef911c45777
--- /dev/null
+++ b/print/latex-pict2e/pkg-plist
@@ -0,0 +1,20 @@
+@comment $FreeBSD$
+%%PORTDOCS%%%%DOCSDIR%%/README.pict2e
+%%PORTDOCS%%%%DOCSDIR%%/pict2e.pdf
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%CLASSDIR%%/p2e-drivers.dtx
+%%CLASSDIR%%/p2e-dvipdfm.def
+%%CLASSDIR%%/p2e-dvips.def
+%%CLASSDIR%%/p2e-pctex32.def
+%%CLASSDIR%%/p2e-pctexps.def
+%%CLASSDIR%%/p2e-pdftex.def
+%%CLASSDIR%%/p2e-textures.def
+%%CLASSDIR%%/p2e-vtex.def
+%%CLASSDIR%%/pict2e-example.cfg
+%%CLASSDIR%%/pict2e.dtx
+%%CLASSDIR%%/pict2e.ins
+%%CLASSDIR%%/pict2e.sty
+%%CLASSDIR%%/pict2e.cfg
+@dirrm %%CLASSDIR%%
+@exec %%MKTEXLSR%%
+@unexec %%MKTEXLSR%%