Import texlive-pdftools-2008 as print/texlive-pdftools.
This package provides PDF-related utilites included in TeX Live.
This commit is contained in:
parent
032618c002
commit
93d273d597
7 changed files with 106 additions and 0 deletions
1
print/texlive-pdftools/DESCR
Normal file
1
print/texlive-pdftools/DESCR
Normal file
|
@ -0,0 +1 @@
|
|||
This package provides PDF-related utilites included in TeX Live.
|
53
print/texlive-pdftools/Makefile
Normal file
53
print/texlive-pdftools/Makefile
Normal file
|
@ -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"
|
9
print/texlive-pdftools/PLIST
Normal file
9
print/texlive-pdftools/PLIST
Normal file
|
@ -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
|
8
print/texlive-pdftools/distinfo
Normal file
8
print/texlive-pdftools/distinfo
Normal file
|
@ -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
|
13
print/texlive-pdftools/patches/patch-aa
Normal file
13
print/texlive-pdftools/patches/patch-aa
Normal file
|
@ -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
|
11
print/texlive-pdftools/patches/patch-ab
Normal file
11
print/texlive-pdftools/patches/patch-ab
Normal file
|
@ -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
|
11
print/texlive-pdftools/patches/patch-ac
Normal file
11
print/texlive-pdftools/patches/patch-ac
Normal file
|
@ -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
|
||||
#
|
Loading…
Reference in a new issue