pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/p5-LaTeX-Driver Importing package for perl modul...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dc9c0ebf743e
branches:  trunk
changeset: 393076:dc9c0ebf743e
user:      sno <sno%pkgsrc.org@localhost>
date:      Sun May 17 10:20:36 2009 +0000

description:
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:

 print/p5-LaTeX-Driver/DESCR            |  10 ++++++++
 print/p5-LaTeX-Driver/Makefile         |  26 +++++++++++++++++++++++
 print/p5-LaTeX-Driver/distinfo         |   6 +++++
 print/p5-LaTeX-Driver/patches/patch-aa |  38 ++++++++++++++++++++++++++++++++++
 4 files changed, 80 insertions(+), 0 deletions(-)

diffs (96 lines):

diff -r 5a9553139bad -r dc9c0ebf743e print/p5-LaTeX-Driver/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/p5-LaTeX-Driver/DESCR       Sun May 17 10:20:36 2009 +0000
@@ -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 -r 5a9553139bad -r dc9c0ebf743e print/p5-LaTeX-Driver/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/p5-LaTeX-Driver/Makefile    Sun May 17 10:20:36 2009 +0000
@@ -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@localhost
+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 -r 5a9553139bad -r dc9c0ebf743e print/p5-LaTeX-Driver/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/p5-LaTeX-Driver/distinfo    Sun May 17 10:20:36 2009 +0000
@@ -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 -r 5a9553139bad -r dc9c0ebf743e print/p5-LaTeX-Driver/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/p5-LaTeX-Driver/patches/patch-aa    Sun May 17 10:20:36 2009 +0000
@@ -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' ], 



Home | Main Index | Thread Index | Old Index