summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorsno <sno>2009-08-26 19:51:32 +0000
committersno <sno>2009-08-26 19:51:32 +0000
commite3ca051c2d8d55cc977ba4d56fb1a9c9f6f11e9d (patch)
tree7c78bf717c6ac3e00b68702cdd11686d857103e2 /devel
parent36159ca83cd4ec1a18f2c75a5f5c64d59858a3a2 (diff)
downloadpkgsrc-e3ca051c2d8d55cc977ba4d56fb1a9c9f6f11e9d.tar.gz
Importing package for p5 module Template::Plugin::ListUtil 0.02
This module provides a selection of handy functions for dealing with lists in the Template Toolkit. Most of the functions are adapted from those provided by or documented in List::Util, though note these have been altered in name and function to work better with the template toolkit.
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-Template-Plugin-ListUtil/DESCR4
-rw-r--r--devel/p5-Template-Plugin-ListUtil/Makefile28
-rw-r--r--devel/p5-Template-Plugin-ListUtil/distinfo6
-rw-r--r--devel/p5-Template-Plugin-ListUtil/patches/patch-aa15
4 files changed, 53 insertions, 0 deletions
diff --git a/devel/p5-Template-Plugin-ListUtil/DESCR b/devel/p5-Template-Plugin-ListUtil/DESCR
new file mode 100644
index 00000000000..2e713852d40
--- /dev/null
+++ b/devel/p5-Template-Plugin-ListUtil/DESCR
@@ -0,0 +1,4 @@
+This module provides a selection of handy functions for dealing with lists in
+the Template Toolkit. Most of the functions are adapted from those provided
+by or documented in List::Util, though note these have been altered in name
+and function to work better with the template toolkit.
diff --git a/devel/p5-Template-Plugin-ListUtil/Makefile b/devel/p5-Template-Plugin-ListUtil/Makefile
new file mode 100644
index 00000000000..9d3dbf06eb1
--- /dev/null
+++ b/devel/p5-Template-Plugin-ListUtil/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/08/26 19:51:32 sno Exp $
+#
+
+DISTNAME= Template-Plugin-ListUtil-0.02
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Template/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Template-Plugin-ListUtil/
+COMMENT= List::Util functions for TT
+LICENSE= ${PERL5_LICENSE}
+
+PKG_DESTDIR_SUPPORT= user-destdir
+USE_LANGUAGES= # empty
+
+DEPENDS+= {perl>=5.8,p5-Scalar-List-Utils-[0-9]*}:../../devel/p5-Scalar-List-Utils
+DEPENDS+= p5-Template-Plugin-VMethods:../../devel/p5-Template-Plugin-VMethods
+DEPENDS+= p5-Template-Toolkit>=2.06:../../www/p5-Template-Toolkit
+
+PERL5_PACKLIST= auto/Template/Plugin/ListUtil/.packlist
+PERL5_MODULE_TYPE= Module::Build
+
+pre-configure:
+ cd ${WRKSRC} && find `pwd` -name "*.orig" -type f | xargs rm
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p5-Template-Plugin-ListUtil/distinfo b/devel/p5-Template-Plugin-ListUtil/distinfo
new file mode 100644
index 00000000000..5340b69bf0b
--- /dev/null
+++ b/devel/p5-Template-Plugin-ListUtil/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/08/26 19:51:32 sno Exp $
+
+SHA1 (Template-Plugin-ListUtil-0.02.tar.gz) = 2b8f43a276abd28302e402af98c9b1923fd2e00e
+RMD160 (Template-Plugin-ListUtil-0.02.tar.gz) = 487ec1c02d9dbe956a88c16f34a90fd8a35270db
+Size (Template-Plugin-ListUtil-0.02.tar.gz) = 4987 bytes
+SHA1 (patch-aa) = 00965288c2728af3cd92728d57d1344a7bf96663
diff --git a/devel/p5-Template-Plugin-ListUtil/patches/patch-aa b/devel/p5-Template-Plugin-ListUtil/patches/patch-aa
new file mode 100644
index 00000000000..67aa9efffef
--- /dev/null
+++ b/devel/p5-Template-Plugin-ListUtil/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/08/26 19:51:32 sno Exp $
+
+# Fix one of warnings reported in RT #48991 'Confusing warnings when
+# doing "make test"'
+
+--- t/01basic.t.orig 2009-08-25 10:54:13.908232000 +0200
++++ t/01basic.t 2009-08-25 12:47:42.351172000 +0200
+@@ -89,6 +89,7 @@
+ ##########################################################################
+
+ use File::Spec::Functions;
++use FindBin;
+
+ sub tt
+ {