summaryrefslogtreecommitdiff
path: root/textproc/p5-Template-Plugin-Autoformat
diff options
context:
space:
mode:
authorsno <sno>2009-08-17 19:28:10 +0000
committersno <sno>2009-08-17 19:28:10 +0000
commita369aea52bf22d8de3861fa1dfecdcd65f37d3a2 (patch)
tree02dccfdca4af57ae0cbfb29ca0bbd930e7f77d15 /textproc/p5-Template-Plugin-Autoformat
parentae7e896709336fd85d42bfe08181d5bec888e61a (diff)
downloadpkgsrc-a369aea52bf22d8de3861fa1dfecdcd65f37d3a2.tar.gz
Importing new package for p5 module Template::Plugin::Autoformat version
2.71. This module was included in Template::Toolkit until 2.21 - since 2.22 it's distributed separately. This Template Toolkit plugin module is an interface to Damian Conway's Text::Autoformat Perl module which provides advanced text wrapping and formatting.
Diffstat (limited to 'textproc/p5-Template-Plugin-Autoformat')
-rw-r--r--textproc/p5-Template-Plugin-Autoformat/DESCR3
-rw-r--r--textproc/p5-Template-Plugin-Autoformat/Makefile24
-rw-r--r--textproc/p5-Template-Plugin-Autoformat/distinfo6
-rw-r--r--textproc/p5-Template-Plugin-Autoformat/patches/patch-aa11
4 files changed, 44 insertions, 0 deletions
diff --git a/textproc/p5-Template-Plugin-Autoformat/DESCR b/textproc/p5-Template-Plugin-Autoformat/DESCR
new file mode 100644
index 00000000000..cdbaae4f4f7
--- /dev/null
+++ b/textproc/p5-Template-Plugin-Autoformat/DESCR
@@ -0,0 +1,3 @@
+This Template Toolkit plugin module is an interface to Damian Conway's
+Text::Autoformat Perl module which provides advanced text wrapping and
+formatting.
diff --git a/textproc/p5-Template-Plugin-Autoformat/Makefile b/textproc/p5-Template-Plugin-Autoformat/Makefile
new file mode 100644
index 00000000000..030d41f294e
--- /dev/null
+++ b/textproc/p5-Template-Plugin-Autoformat/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/08/17 19:28:10 sno Exp $
+
+DISTNAME= Template-Plugin-Autoformat-2.71
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= www perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Template/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Template-Plugin-Autoformat/
+COMMENT= Interface to Text::Autoformat module for TT2
+LICENSE= ${PERL5_LICENSE}
+
+CONFLICTS+= p5-Template-Toolkit<=2.21
+
+DEPENDS+= p5-Template-Toolkit>=2.02:../../www/p5-Template-Toolkit
+DEPENDS+= p5-Text-Autoformat>=1.013:../../textproc/p5-Text-Autoformat
+
+USE_LANGUAGES= # empty
+PERL5_PACKLIST= auto/Template/Plugin/Autoformat/.packlist
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/p5-Template-Plugin-Autoformat/distinfo b/textproc/p5-Template-Plugin-Autoformat/distinfo
new file mode 100644
index 00000000000..69d79731dfc
--- /dev/null
+++ b/textproc/p5-Template-Plugin-Autoformat/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/08/17 19:28:10 sno Exp $
+
+SHA1 (Template-Plugin-Autoformat-2.71.tar.gz) = 4a1cb350b0690ce21c1b793867bbfa7fc4f7bfe0
+RMD160 (Template-Plugin-Autoformat-2.71.tar.gz) = d7fb9b2d482738001d4e60fd858f68b14fb79949
+Size (Template-Plugin-Autoformat-2.71.tar.gz) = 4736 bytes
+SHA1 (patch-aa) = 2c3f0426830d13f577853ada658e472fbb6063ac
diff --git a/textproc/p5-Template-Plugin-Autoformat/patches/patch-aa b/textproc/p5-Template-Plugin-Autoformat/patches/patch-aa
new file mode 100644
index 00000000000..90d66f5573a
--- /dev/null
+++ b/textproc/p5-Template-Plugin-Autoformat/patches/patch-aa
@@ -0,0 +1,11 @@
+--- Makefile.PL.orig 2009-08-17 19:13:38.000000000 +0000
++++ Makefile.PL 2009-08-17 19:13:56.000000000 +0000
+@@ -5,7 +5,7 @@
+ use ExtUtils::MakeMaker;
+
+ my %opts = (
+- 'NAME' => 'Template-Plugin-Autoformat',
++ 'NAME' => 'Template::Plugin::Autoformat',
+ 'VERSION_FROM' => 'lib/Template/Plugin/Autoformat.pm',
+ 'PMLIBDIRS' => [ 'lib' ],
+ 'PREREQ_PM' => {