Sun May 17 10:20:36 2009 UTC ()
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.
Status:
Vendor Tag: TNF
Release Tags: pkgsrc-base
(sno)
diff -r0 -r1.1.1.1 pkgsrc/print/p5-LaTeX-Driver/Makefile
diff -r0 -r1.1.1.1 pkgsrc/print/p5-LaTeX-Driver/DESCR
diff -r0 -r1.1.1.1 pkgsrc/print/p5-LaTeX-Driver/distinfo
diff -r0 -r1.1.1.1 pkgsrc/print/p5-LaTeX-Driver/patches/patch-aa
# $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"
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.
$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
$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' ],