summaryrefslogtreecommitdiff
path: root/graphics/tex-mptopdf
diff options
context:
space:
mode:
authorminskim <minskim>2011-01-20 17:08:02 +0000
committerminskim <minskim>2011-01-20 17:08:02 +0000
commitc34b24eb27077553bdddf952ba4031febf54e40a (patch)
treec5e633178ae89377dbb169e352d9b1130d691c69 /graphics/tex-mptopdf
parent03261769b39228d7e74ca5a9eb4eb9e3f0f379a8 (diff)
downloadpkgsrc-c34b24eb27077553bdddf952ba4031febf54e40a.tar.gz
Import tex-mptopdf-2010 as graphics/tex-mptopdf.
The mptopdf script does standalone conversion from mpost to PDF, using the supp-* and syst-* files. They also allow native MetaPost graphics inclusion in LaTeX (via pdftex.def) and ConTeXt. They can be used independently of the rest of ConTeXt, yet are maintained as part of it. So in TeX Live we pull them out to this separate package for the benefit of LaTeX users who do not install the rest of ConTeXt. This can be found on CTAN in macros/pdftex/graphics.
Diffstat (limited to 'graphics/tex-mptopdf')
-rw-r--r--graphics/tex-mptopdf/DESCR7
-rw-r--r--graphics/tex-mptopdf/Makefile25
-rw-r--r--graphics/tex-mptopdf/PLIST8
-rw-r--r--graphics/tex-mptopdf/distinfo5
4 files changed, 45 insertions, 0 deletions
diff --git a/graphics/tex-mptopdf/DESCR b/graphics/tex-mptopdf/DESCR
new file mode 100644
index 00000000000..c16d44ea0ed
--- /dev/null
+++ b/graphics/tex-mptopdf/DESCR
@@ -0,0 +1,7 @@
+The mptopdf script does standalone conversion from mpost to PDF, using
+the supp-* and syst-* files. They also allow native MetaPost graphics
+inclusion in LaTeX (via pdftex.def) and ConTeXt. They can be used
+independently of the rest of ConTeXt, yet are maintained as part of it.
+So in TeX Live we pull them out to this separate package for the benefit
+of LaTeX users who do not install the rest of ConTeXt. This can be
+found on CTAN in macros/pdftex/graphics.
diff --git a/graphics/tex-mptopdf/Makefile b/graphics/tex-mptopdf/Makefile
new file mode 100644
index 00000000000..abb232922b5
--- /dev/null
+++ b/graphics/tex-mptopdf/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/01/20 17:08:02 minskim Exp $
+
+DISTNAME= mptopdf
+PKGNAME= tex-${DISTNAME}-2010
+TEXLIVE_REV= 18835
+
+MAINTAINER= minskim@NetBSD.org
+COMMENT= Script to convert mpost to PDF
+
+CONFLICTS+= tex-supp-pdf<2010
+DEPENDS+= tex-plain>=3.141592653nb2:../../print/tex-plain
+DEPENDS+= web2c>=2010:../../print/web2c
+SUPERSEDES+= tex-supp-pdf<2010
+
+INSTALLATION_DIRS= bin
+
+TEX_FORMATS+= "mptopdf pdftex -translate-file=cp227.tcx mptopdf.tex\\n"
+TEX_TEXMF_DIRS+= ${PREFIX}/share/texmf-dist
+
+.include "../../print/texlive/package.mk"
+
+post-install:
+ ${LN} -sf pdftex ${DESTDIR}${PREFIX}/bin/mptopdf
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/tex-mptopdf/PLIST b/graphics/tex-mptopdf/PLIST
new file mode 100644
index 00000000000..d682be5cb7d
--- /dev/null
+++ b/graphics/tex-mptopdf/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2011/01/20 17:08:02 minskim Exp $
+bin/mptopdf
+share/texmf-dist/scripts/context/perl/mptopdf.pl
+share/texmf-dist/tex/context/base/supp-mis.mkii
+share/texmf-dist/tex/context/base/supp-mpe.mkii
+share/texmf-dist/tex/context/base/supp-pdf.mkii
+share/texmf-dist/tex/context/base/syst-tex.mkii
+share/texmf-dist/tex/generic/context/mptopdf.tex
diff --git a/graphics/tex-mptopdf/distinfo b/graphics/tex-mptopdf/distinfo
new file mode 100644
index 00000000000..b34a96f4954
--- /dev/null
+++ b/graphics/tex-mptopdf/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2011/01/20 17:08:02 minskim Exp $
+
+SHA1 (tex-mptopdf-18835/mptopdf.tar.xz) = 25e1507ce82059a4f97258034d8c36ca72dadcbc
+RMD160 (tex-mptopdf-18835/mptopdf.tar.xz) = 49a9777667bb4560307fcbf529a74c160145ffeb
+Size (tex-mptopdf-18835/mptopdf.tar.xz) = 36940 bytes