From 3a2644f9772cca50d0c83c4863893cf3504d37fa Mon Sep 17 00:00:00 2001 From: minskim Date: Thu, 27 Oct 2011 19:03:24 +0000 Subject: Import tex-pdftools-0.82 as print/tex-pdftools. This package provides PDF-related utilities for TeX Live. --- print/tex-pdftools/DESCR | 1 + print/tex-pdftools/Makefile | 38 +++++++++++++++++++++++++++++ print/tex-pdftools/PLIST | 2 ++ print/tex-pdftools/distinfo | 6 +++++ print/tex-pdftools/patches/patch-bin_e2pall | 13 ++++++++++ 5 files changed, 60 insertions(+) create mode 100644 print/tex-pdftools/DESCR create mode 100644 print/tex-pdftools/Makefile create mode 100644 print/tex-pdftools/PLIST create mode 100644 print/tex-pdftools/distinfo create mode 100644 print/tex-pdftools/patches/patch-bin_e2pall (limited to 'print/tex-pdftools') diff --git a/print/tex-pdftools/DESCR b/print/tex-pdftools/DESCR new file mode 100644 index 00000000000..2add24aee08 --- /dev/null +++ b/print/tex-pdftools/DESCR @@ -0,0 +1 @@ +This package provides PDF-related utilities for TeX Live. 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" diff --git a/print/tex-pdftools/PLIST b/print/tex-pdftools/PLIST new file mode 100644 index 00000000000..8a93e601b5d --- /dev/null +++ b/print/tex-pdftools/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2011/10/27 19:03:24 minskim Exp $ +bin/e2pall diff --git a/print/tex-pdftools/distinfo b/print/tex-pdftools/distinfo new file mode 100644 index 00000000000..014c6eeeaec --- /dev/null +++ b/print/tex-pdftools/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2011/10/27 19:03:24 minskim Exp $ + +SHA1 (tex-pdftools-23089/pdftools.tar.xz) = 37046b934df5a65d9e962170c7349f190f3593ef +RMD160 (tex-pdftools-23089/pdftools.tar.xz) = d5231b31011a58127ec30360f0c4f413d5508907 +Size (tex-pdftools-23089/pdftools.tar.xz) = 1848 bytes +SHA1 (patch-bin_e2pall) = 48ffe6471de86f09b45f9aa8a2d1b58400a2ecee diff --git a/print/tex-pdftools/patches/patch-bin_e2pall b/print/tex-pdftools/patches/patch-bin_e2pall new file mode 100644 index 00000000000..b8a7f3c3263 --- /dev/null +++ b/print/tex-pdftools/patches/patch-bin_e2pall @@ -0,0 +1,13 @@ +$NetBSD: patch-bin_e2pall,v 1.1.1.1 2011/10/27 19:03:24 minskim Exp $ + +--- bin/e2pall.orig 2008-03-03 18:51:04.000000000 +0000 ++++ bin/e2pall +@@ -27,7 +27,7 @@ + + # EDIT these two lines for your system.... + +-$Eps2PdfCom = "epstopdf"; ++$Eps2PdfCom = "@EPSTOPDF@"; + $ThisFunCom = "e2pall"; + + $fname=$ARGV[0]; -- cgit v1.2.3