summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2012-03-08 11:24:17 +0000
committerfhajny <fhajny@pkgsrc.org>2012-03-08 11:24:17 +0000
commit74e761bea4baa67f52ad0045fefde3243f2160e4 (patch)
treea624ce88eecec9a1de10755633a9b421d53cd451
parent14cfc8425a6e7f148592823b8d37e0b302d626a0 (diff)
downloadpkgsrc-74e761bea4baa67f52ad0045fefde3243f2160e4.tar.gz
Import p5-Set-Array-0.24 as devel/p5-Set-Array.
Set::Array allows you to create arrays as objects and use OO-style methods on them. Many convenient methods are provided here that appear in the FAQ's, the Perl Cookbook or posts from comp.lang.perl.misc. In addition, there are Set methods with corresponding (overloaded) operators for the purpose of Set comparison, i.e. +, ==, etc. The purpose is to provide built-in methods for operations that people are always asking how to do, and which already exist in languages like Ruby. This should (hopefully) improve code readability and/or maintainability. The other advantage to this module is method-chaining by which any number of methods may be called on a single object in a single statement.
-rw-r--r--devel/p5-Set-Array/DESCR11
-rw-r--r--devel/p5-Set-Array/Makefile26
-rw-r--r--devel/p5-Set-Array/distinfo5
3 files changed, 42 insertions, 0 deletions
diff --git a/devel/p5-Set-Array/DESCR b/devel/p5-Set-Array/DESCR
new file mode 100644
index 00000000000..a7862ad7ef1
--- /dev/null
+++ b/devel/p5-Set-Array/DESCR
@@ -0,0 +1,11 @@
+Set::Array allows you to create arrays as objects and use OO-style methods on
+them. Many convenient methods are provided here that appear in the FAQ's, the
+Perl Cookbook or posts from comp.lang.perl.misc. In addition, there are Set
+methods with corresponding (overloaded) operators for the purpose of Set
+comparison, i.e. +, ==, etc.
+
+The purpose is to provide built-in methods for operations that people are
+always asking how to do, and which already exist in languages like Ruby. This
+should (hopefully) improve code readability and/or maintainability. The other
+advantage to this module is method-chaining by which any number of methods may
+be called on a single object in a single statement.
diff --git a/devel/p5-Set-Array/Makefile b/devel/p5-Set-Array/Makefile
new file mode 100644
index 00000000000..5d8e466e96e
--- /dev/null
+++ b/devel/p5-Set-Array/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2012/03/08 11:24:17 fhajny Exp $
+#
+
+DISTNAME= Set-Array-0.24
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Set/}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Set-Array/
+COMMENT= Arrays as objects with lots of handy methods
+LICENSE= ${PERL5_LICENSE}
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+BUILD_DEPENDS+= p5-Test-Deep>=0:../../devel/p5-Test-Deep
+BUILD_DEPENDS+= p5-Test-Pod>=0:../../devel/p5-Test-Pod
+DEPENDS+= p5-Want>=0:../../devel/p5-Want
+
+PERL5_MODULE_TYPE= Module::Build
+PERL5_PACKLIST= auto/Set/Array/.packlist
+USE_LANGUAGES= # none
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p5-Set-Array/distinfo b/devel/p5-Set-Array/distinfo
new file mode 100644
index 00000000000..38978e2f73d
--- /dev/null
+++ b/devel/p5-Set-Array/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2012/03/08 11:24:17 fhajny Exp $
+
+SHA1 (Set-Array-0.24.tgz) = 543a03c0b2e6e0c471775fb1be659b03efbb2dcc
+RMD160 (Set-Array-0.24.tgz) = aeb4c5f9066863b6a6107d443bd0c0114257f4c1
+Size (Set-Array-0.24.tgz) = 29018 bytes