pkgsrc/graphics/tex-mptopdf/Makefile
minskim 7742d87859 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.
2011-01-20 17:08:02 +00:00

25 lines
646 B
Makefile

# $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"