summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorsno <sno@pkgsrc.org>2009-05-17 10:20:36 +0000
committersno <sno@pkgsrc.org>2009-05-17 10:20:36 +0000
commitedd681e7ae9cdf16df84e6a75692470e22d3dad0 (patch)
tree7036c148084d68958a82f7dd6c9858e93416b686 /print
parentdcef2ebdba3d03550c4408005078abbf008e6aec (diff)
downloadpkgsrc-edd681e7ae9cdf16df84e6a75692470e22d3dad0.tar.gz
Importing package for perl module LaTeX::Driver 0.08. It's used by
the Template::Toolkit Latex plugin. DESCR: The LaTeX::Driver module encapsulates the details of invoking the Latex programs to format a LaTeX document. Formatting with LaTeX is complicated; there are potentially many programs to run and the output of those programs must be monitored to determine whether further processing is required. This module runs the required commands in the directory specified, either explicitly with the dirname option or implicitly by the directory part of basename, or in the current directory. As a result of the processing up to a dozen or more intermediate files are created. These can be removed with the cleanup method.
Diffstat (limited to 'print')
-rw-r--r--print/p5-LaTeX-Driver/DESCR10
-rw-r--r--print/p5-LaTeX-Driver/Makefile26
-rw-r--r--print/p5-LaTeX-Driver/distinfo6
-rw-r--r--print/p5-LaTeX-Driver/patches/patch-aa38
4 files changed, 80 insertions, 0 deletions
diff --git a/print/p5-LaTeX-Driver/DESCR b/print/p5-LaTeX-Driver/DESCR
new file mode 100644
index 00000000000..b113f2f7f5f
--- /dev/null
+++ b/print/p5-LaTeX-Driver/DESCR
@@ -0,0 +1,10 @@
+The LaTeX::Driver module encapsulates the details of invoking the Latex
+programs to format a LaTeX document. Formatting with LaTeX is complicated;
+there are potentially many programs to run and the output of those programs
+must be monitored to determine whether further processing is required.
+
+This module runs the required commands in the directory specified, either
+explicitly with the dirname option or implicitly by the directory part of
+basename, or in the current directory. As a result of the processing up to
+a dozen or more intermediate files are created. These can be removed with
+the cleanup method.
diff --git a/print/p5-LaTeX-Driver/Makefile b/print/p5-LaTeX-Driver/Makefile
new file mode 100644
index 00000000000..6e5631db6ce
--- /dev/null
+++ b/print/p5-LaTeX-Driver/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/05/17 10:20:36 sno Exp $
+#
+
+DISTNAME= LaTeX-Driver-0.08
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= print
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=LaTeX/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/LaTeX-Driver/
+COMMENT= Perl module encapsulates the details of invoking the Latex programs
+LICENSE= gnu-gpl-v2 # OR artistic
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+DEPENDS+= p5-Class-Accessor-[0-9]*:../../devel/p5-Class-Accessor
+DEPENDS+= p5-Exception-Class-[0-9]*:../../devel/p5-Exception-Class
+DEPENDS+= p5-File-Slurp-[0-9]*:../../devel/p5-File-Slurp
+
+PERL5_PACKLIST= auto/LaTeX/Driver/.packlist
+
+TEX_ACCEPTED= teTeX3
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/tex.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/print/p5-LaTeX-Driver/distinfo b/print/p5-LaTeX-Driver/distinfo
new file mode 100644
index 00000000000..48d0dd0c38c
--- /dev/null
+++ b/print/p5-LaTeX-Driver/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/05/17 10:20:36 sno Exp $
+
+SHA1 (LaTeX-Driver-0.08.tar.gz) = e8a7fd36539f5aabc46322d5ce128eec06840470
+RMD160 (LaTeX-Driver-0.08.tar.gz) = 6c627b2d178322aed895f45b20ac96e0658712f7
+Size (LaTeX-Driver-0.08.tar.gz) = 30601 bytes
+SHA1 (patch-aa) = 61f6c32a1421c68af6cd361e0a61559b7b991657
diff --git a/print/p5-LaTeX-Driver/patches/patch-aa b/print/p5-LaTeX-Driver/patches/patch-aa
new file mode 100644
index 00000000000..075488b3083
--- /dev/null
+++ b/print/p5-LaTeX-Driver/patches/patch-aa
@@ -0,0 +1,38 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/05/17 10:20:36 sno Exp $
+
+Do not prompt for pkgsrc provided utils
+
+--- Makefile.PL.orig 2007-10-16 21:36:07.000000000 +0000
++++ Makefile.PL 2009-05-17 10:03:54.000000000 +0000
+@@ -39,14 +39,14 @@
+
+ #------------------------------------------------------------------------
+
+-our $LATEX = ttprompt('latex path', find_program($ENV{PATH}, "latex"));
+-our $PDFLATEX = ttprompt('pdflatex path', find_program($ENV{PATH}, "pdflatex"));
+-our $BIBTEX = ttprompt('bibtex path', find_program($ENV{PATH}, "bibtex"));
+-our $MAKEINDEX = ttprompt('makeindex path', find_program($ENV{PATH}, "makeindex"));
+-our $DVIPS = ttprompt('dvips path', find_program($ENV{PATH}, "dvips"));
+-our $DVIPDFM = ttprompt('dvipdfm path', find_program($ENV{PATH}, "dvipdfm"));
+-our $PS2PDF = ttprompt('ps2pdf path', find_program($ENV{PATH}, "ps2pdf"));
+-our $PDF2PS = ttprompt('pdf2ps path', find_program($ENV{PATH}, "pdf2ps"));
++our $LATEX = find_program($ENV{PATH}, "latex");
++our $PDFLATEX = find_program($ENV{PATH}, "pdflatex");
++our $BIBTEX = find_program($ENV{PATH}, "bibtex");
++our $MAKEINDEX = find_program($ENV{PATH}, "makeindex");
++our $DVIPS = find_program($ENV{PATH}, "dvips");
++our $DVIPDFM = find_program($ENV{PATH}, "dvipdfm");
++our $PS2PDF = find_program($ENV{PATH}, "ps2pdf");
++our $PDF2PS = find_program($ENV{PATH}, "pdf2ps");
+
+ if (!$LATEX and !$PDFLATEX) {
+ my $continue = ttprompt('You don\'t seem to have LaTeX installed. Continue anyway?', 'N');
+@@ -65,7 +65,7 @@
+ #------------------------------------------------------------------------
+
+ my %opts = (
+- 'NAME' => 'LaTeX-Driver',
++ 'NAME' => 'LaTeX::Driver',
+ 'VERSION_FROM' => 'lib/LaTeX/Driver.pm',
+ 'EXE_FILES' => [ 'scripts/latex2dvi', 'scripts/latex2pdf', 'scripts/latex2ps' ],
+ 'PMLIBDIRS' => [ 'lib' ],