From 7bcd13b7d26e993fb6075a28bf97a34402d3264e Mon Sep 17 00:00:00 2001 From: minskim Date: Mon, 3 Aug 2009 23:37:33 +0000 Subject: Import texlive-pdftools-2008 as print/texlive-pdftools. This package provides PDF-related utilites included in TeX Live. --- print/texlive-pdftools/DESCR | 1 + print/texlive-pdftools/Makefile | 53 +++++++++++++++++++++++++++++++++ print/texlive-pdftools/PLIST | 9 ++++++ print/texlive-pdftools/distinfo | 8 +++++ print/texlive-pdftools/patches/patch-aa | 13 ++++++++ print/texlive-pdftools/patches/patch-ab | 11 +++++++ print/texlive-pdftools/patches/patch-ac | 11 +++++++ 7 files changed, 106 insertions(+) create mode 100644 print/texlive-pdftools/DESCR create mode 100644 print/texlive-pdftools/Makefile create mode 100644 print/texlive-pdftools/PLIST create mode 100644 print/texlive-pdftools/distinfo create mode 100644 print/texlive-pdftools/patches/patch-aa create mode 100644 print/texlive-pdftools/patches/patch-ab create mode 100644 print/texlive-pdftools/patches/patch-ac (limited to 'print') diff --git a/print/texlive-pdftools/DESCR b/print/texlive-pdftools/DESCR new file mode 100644 index 00000000000..3ee76a612cc --- /dev/null +++ b/print/texlive-pdftools/DESCR @@ -0,0 +1 @@ +This package provides PDF-related utilites included in TeX Live. diff --git a/print/texlive-pdftools/Makefile b/print/texlive-pdftools/Makefile new file mode 100644 index 00000000000..7c0383e898f --- /dev/null +++ b/print/texlive-pdftools/Makefile @@ -0,0 +1,53 @@ +# $NetBSD: Makefile,v 1.1.1.1 2009/08/03 23:37:33 minskim Exp $ + +DISTNAME= texlive-20080816-source +PKGNAME= texlive-pdftools-2008 +CATEGORIES= print +MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=systems/texlive/Source/} +EXTRACT_SUFX= .tar.lzma + +MAINTAINER= minskim@NetBSD.org +HOMEPAGE= http://www.tug.org/texlive/ +COMMENT= PDF-related utilities in TeX Live + +CONFLICTS+= teTeX-bin<=3.0nb34 +CONFLICTS+= texlive-tetex<=2008nb1 +DEPENDS+= p5-Digest-MD5-[0-9]*:../../security/p5-Digest-MD5 +DEPENDS+= p5-Getopt-Long-[0-9]*:../../devel/p5-Getopt-Long +DEPENDS+= web2c-[0-9]*:../../print/web2c + +PKG_DESTDIR_SUPPORT= user-destdir + +EXTRACT_ELEMENTS= ${DISTNAME}/texk/tetex \ + ${DISTNAME}/texk/texlive/linked_scripts \ + ${DISTNAME}/utils/pdfopen + +CONFIGURE_DIRS= utils/pdfopen +GNU_CONFIGURE= yes +USE_TOOLS+= sh:run + +REPLACE_PERL= texk/texlive/linked_scripts/e2pall.pl \ + texk/texlive/linked_scripts/epstopdf.pl \ + texk/texlive/linked_scripts/pdfatfi.pl +REPLACE_SH= texk/texlive/linked_scripts/ps4pdf + +INSTALLATION_DIRS= ${PKGMANDIR}/man1 + +.include "../../x11/libX11/buildlink3.mk" +.include "../../x11/xproto/buildlink3.mk" + +post-install: + ${INSTALL_SCRIPT} ${WRKSRC}/texk/texlive/linked_scripts/e2pall.pl \ + ${DESTDIR}${PREFIX}/bin/e2pall + ${INSTALL_SCRIPT} ${WRKSRC}/texk/texlive/linked_scripts/epstopdf.pl \ + ${DESTDIR}${PREFIX}/bin/epstopdf + ${INSTALL_SCRIPT} ${WRKSRC}/texk/texlive/linked_scripts/pdfatfi.pl \ + ${DESTDIR}${PREFIX}/bin/pdfatfi + ${INSTALL_SCRIPT} ${WRKSRC}/texk/texlive/linked_scripts/ps4pdf \ + ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/texk/tetex/e2pall.man \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/e2pall.1 + ${INSTALL_MAN} ${WRKSRC}/texk/tetex/epstopdf.man \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/epstopdf.1 + +.include "../../mk/bsd.pkg.mk" diff --git a/print/texlive-pdftools/PLIST b/print/texlive-pdftools/PLIST new file mode 100644 index 00000000000..3f0e1c7a610 --- /dev/null +++ b/print/texlive-pdftools/PLIST @@ -0,0 +1,9 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2009/08/03 23:37:33 minskim Exp $ +bin/e2pall +bin/epstopdf +bin/pdfatfi +bin/pdfclose +bin/pdfopen +bin/ps4pdf +man/man1/e2pall.1 +man/man1/epstopdf.1 diff --git a/print/texlive-pdftools/distinfo b/print/texlive-pdftools/distinfo new file mode 100644 index 00000000000..9e2e09c2de2 --- /dev/null +++ b/print/texlive-pdftools/distinfo @@ -0,0 +1,8 @@ +$NetBSD: distinfo,v 1.1.1.1 2009/08/03 23:37:33 minskim Exp $ + +SHA1 (texlive-20080816-source.tar.lzma) = 730986c628bd658b5062face9e400f61203d6b8d +RMD160 (texlive-20080816-source.tar.lzma) = 629784b111c0d4bc9fac9f9131f63203d6e1dd38 +Size (texlive-20080816-source.tar.lzma) = 23175835 bytes +SHA1 (patch-aa) = 1996037eb540560ae5314b9682cf3ff224023b09 +SHA1 (patch-ab) = aaf0428af7d3e2ceeb202e0c36de57e1e18cfea3 +SHA1 (patch-ac) = ccad9ed3a42d009ed4e713b50a0aca5e78ef0993 diff --git a/print/texlive-pdftools/patches/patch-aa b/print/texlive-pdftools/patches/patch-aa new file mode 100644 index 00000000000..ff826e94fe7 --- /dev/null +++ b/print/texlive-pdftools/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2009/08/03 23:37:33 minskim Exp $ + +--- utils/pdfopen/Makefile.in.orig 2006-11-26 06:50:06.000000000 -0800 ++++ utils/pdfopen/Makefile.in +@@ -158,7 +158,7 @@ sharedstatedir = @sharedstatedir@ + sysconfdir = @sysconfdir@ + target_alias = @target_alias@ + AM_CFLAGS = $(X_CFLAGS) +-LDADD = $(X_LIBS) -lX11 -lXmu $(X_EXTRA_LIBS) ++LDADD = $(X_LIBS) -lX11 $(X_EXTRA_LIBS) + pdfopen_SOURCES = pdfopen.c sendx.c + pdfclose_SOURCES = pdfclose.c sendx.c + all: all-am diff --git a/print/texlive-pdftools/patches/patch-ab b/print/texlive-pdftools/patches/patch-ab new file mode 100644 index 00000000000..7fba91dddec --- /dev/null +++ b/print/texlive-pdftools/patches/patch-ab @@ -0,0 +1,11 @@ +$NetBSD: patch-ab,v 1.1.1.1 2009/08/03 23:37:33 minskim Exp $ + +--- texk/texlive/linked_scripts/epstopdf.pl.orig 2008-05-26 02:52:43.000000000 -0700 ++++ texk/texlive/linked_scripts/epstopdf.pl +@@ -1,5 +1,4 @@ +-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' && eval 'exec perl -S $0 $argv:q' +- if 0; ++#!/usr/pkg/bin/perl + use strict; + + # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED diff --git a/print/texlive-pdftools/patches/patch-ac b/print/texlive-pdftools/patches/patch-ac new file mode 100644 index 00000000000..dee9724ddfa --- /dev/null +++ b/print/texlive-pdftools/patches/patch-ac @@ -0,0 +1,11 @@ +$NetBSD: patch-ac,v 1.1.1.1 2009/08/03 23:37:33 minskim Exp $ + +--- texk/texlive/linked_scripts/pdfatfi.pl.orig 2008-08-09 16:09:24.000000000 -0700 ++++ texk/texlive/linked_scripts/pdfatfi.pl +@@ -1,5 +1,4 @@ +-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' && eval 'exec perl -S $0 $argv:q' +- if 0; ++#!/usr/pkg/bin/perl + use strict; + $^W=1; # turn warning on + # -- cgit v1.2.3