summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorsno <sno@pkgsrc.org>2009-05-17 10:37:39 +0000
committersno <sno@pkgsrc.org>2009-05-17 10:37:39 +0000
commit8eadc783daf5cf88d00f46fba04cbaa6d2b06c67 (patch)
tree1f746ee3d27ba1de0081a57e694533506c404f38 /textproc
parent349f88c9557cc686b6b2ed76d7ff59add28c90f0 (diff)
downloadpkgsrc-8eadc783daf5cf88d00f46fba04cbaa6d2b06c67.tar.gz
Importing package for perl module Template::Plugin::Latex 3.02.
DESCR: The Latex Template Toolkit plugin provides a latex filter that allows the use of LaTeX to generate PDF, PostScript and DVI output files from the Template Toolkit. The plugin uses LaTeX::Driver to run the various LaTeX programs. The Template::Latex module is a wrapper of convenience around the Template module, providing additional support for generating PDF, PostScript and DVI documents from LaTeX templates.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/p5-Template-Plugin-Latex/DESCR7
-rw-r--r--textproc/p5-Template-Plugin-Latex/Makefile24
-rw-r--r--textproc/p5-Template-Plugin-Latex/distinfo6
-rw-r--r--textproc/p5-Template-Plugin-Latex/patches/patch-aa11
4 files changed, 48 insertions, 0 deletions
diff --git a/textproc/p5-Template-Plugin-Latex/DESCR b/textproc/p5-Template-Plugin-Latex/DESCR
new file mode 100644
index 00000000000..e2c66c1186a
--- /dev/null
+++ b/textproc/p5-Template-Plugin-Latex/DESCR
@@ -0,0 +1,7 @@
+The Latex Template Toolkit plugin provides a latex filter that allows the use
+of LaTeX to generate PDF, PostScript and DVI output files from the Template
+Toolkit. The plugin uses LaTeX::Driver to run the various LaTeX programs.
+
+The Template::Latex module is a wrapper of convenience around the Template
+module, providing additional support for generating PDF, PostScript and DVI
+documents from LaTeX templates.
diff --git a/textproc/p5-Template-Plugin-Latex/Makefile b/textproc/p5-Template-Plugin-Latex/Makefile
new file mode 100644
index 00000000000..7ba3687d947
--- /dev/null
+++ b/textproc/p5-Template-Plugin-Latex/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/05/17 10:37:39 sno Exp $
+#
+
+DISTNAME= Template-Plugin-Latex-3.02
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Template/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Template-Plugin-Latex/
+COMMENT= Latex support for the Template Toolkit
+LICENSE= gnu-gpl-v2 # OR artistic
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+DEPENDS+= p5-Template-Toolkit>=2.16:../../www/p5-Template-Toolkit
+DEPENDS+= p5-LaTeX-Driver>=0.07:../../print/p5-LaTeX-Driver
+DEPENDS+= p5-LaTeX-Encode>=0.02:../../print/p5-LaTeX-Encode
+DEPENDS+= p5-LaTeX-Table-[0-9]*:../../print/p5-LaTeX-Table
+
+PERL5_PACKLIST= auto/Template/Plugin/Latex/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/p5-Template-Plugin-Latex/distinfo b/textproc/p5-Template-Plugin-Latex/distinfo
new file mode 100644
index 00000000000..10e6ede9b60
--- /dev/null
+++ b/textproc/p5-Template-Plugin-Latex/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/05/17 10:37:39 sno Exp $
+
+SHA1 (Template-Plugin-Latex-3.02.tar.gz) = 77643d4dc9da5c1c9d254e452511d4d03eebc815
+RMD160 (Template-Plugin-Latex-3.02.tar.gz) = d3a3505578d02793dea98a618ab162d0ec9f3665
+Size (Template-Plugin-Latex-3.02.tar.gz) = 22048 bytes
+SHA1 (patch-aa) = 483becc002d5c6cf107876b6fa636ccfee7a51ca
diff --git a/textproc/p5-Template-Plugin-Latex/patches/patch-aa b/textproc/p5-Template-Plugin-Latex/patches/patch-aa
new file mode 100644
index 00000000000..2c341db75aa
--- /dev/null
+++ b/textproc/p5-Template-Plugin-Latex/patches/patch-aa
@@ -0,0 +1,11 @@
+--- Makefile.PL.orig 2009-05-17 10:00:40.000000000 +0000
++++ Makefile.PL 2009-05-17 10:00:56.000000000 +0000
+@@ -51,7 +51,7 @@
+ #------------------------------------------------------------------------
+
+ my %opts = (
+- 'NAME' => 'Template-Plugin-Latex',
++ 'NAME' => 'Template::Plugin::Latex',
+ 'VERSION_FROM' => 'lib/Template/Plugin/Latex.pm',
+ 'PMLIBDIRS' => [ 'lib' ],
+ 'PREREQ_PM' => {