summaryrefslogtreecommitdiff
path: root/print/tex-pdftools/Makefile
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2011-10-27 19:03:24 +0000
committerminskim <minskim@pkgsrc.org>2011-10-27 19:03:24 +0000
commite31194616236b5e4fb9b0cb315eb85606868f289 (patch)
tree7b796a0322b35ba774a7298332a7c964977a03df /print/tex-pdftools/Makefile
parentd1e21941b2fb567ce844fcd4650967fb5c9a7a75 (diff)
downloadpkgsrc-e31194616236b5e4fb9b0cb315eb85606868f289.tar.gz
Import tex-pdftools-0.82 as print/tex-pdftools.
This package provides PDF-related utilities for TeX Live.
Diffstat (limited to 'print/tex-pdftools/Makefile')
-rw-r--r--print/tex-pdftools/Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/print/tex-pdftools/Makefile b/print/tex-pdftools/Makefile
new file mode 100644
index 00000000000..a4158ccba8e
--- /dev/null
+++ b/print/tex-pdftools/Makefile
@@ -0,0 +1,38 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/10/27 19:03:24 minskim Exp $
+
+DISTNAME= pdftools
+PKGNAME= tex-${DISTNAME}-0.82
+TEXLIVE_REV= 23089
+
+MAINTAINER= minskim@NetBSD.org
+COMMENT= PDF-related utilities, including PostScript-to-PDF conversion
+LICENSE= public-domain
+
+CONFLICTS= texlive-pdftools<2011
+DEPENDS+= tex-epstopdf-[0-9]*:../../graphics/tex-epstopdf
+DEPENDS+= tex-oberdiek>=2011:../../print/tex-oberdiek
+DEPENDS+= tex-pst-pdf-[0-9]*:../../graphics/tex-pst-pdf
+DEPENDS+= web2c-[0-9]*:../../print/web2c
+DEPENDS+= xpdfopen-[0-9]*:../../print/xpdfopen
+
+EVAL_PREFIX+= EPSTOPDF_PREFIX=tex-epstopdf
+USE_TOOLS+= perl:run
+
+REPLACE_PERL+= bin/e2pall
+
+SUBST_CLASSES+= paths
+SUBST_MESSAGE.paths= Setting paths to commands.
+SUBST_STAGE.paths= pre-configure
+SUBST_FILES.paths= bin/e2pall
+SUBST_SED.paths+= -e 's,@EPSTOPDF@,${EPSTODPF_PREFIX}/bin/epstopdf,g'
+
+INSTALLATION_DIRS+= bin
+TEX_TEXMF_DIRS= # empty
+
+.include "../../print/texlive/package.mk"
+
+post-extract:
+ ${MKDIR} ${WRKSRC}/bin
+ ${MV} ${WRKSRC}/texmf/scripts/tetex/e2pall.pl ${WRKSRC}/bin/e2pall
+
+.include "../../mk/bsd.pkg.mk"