summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorseb <seb>2009-03-22 14:57:51 +0000
committerseb <seb>2009-03-22 14:57:51 +0000
commit4f5de3135f1dcc4702a9e21b6648181fa461cbbd (patch)
treecacfc1e059d45948f3dc9abeaf563f4a0761058a /devel
parentf529519ff967c0ba35ad8b04d630f5dfc4dec44d (diff)
downloadpkgsrc-4f5de3135f1dcc4702a9e21b6648181fa461cbbd.tar.gz
Initial import of p5-autobox-Core version 0.6 in the NetBSD Packages
Collection. The Perl 5 module autobox::Core wraps perl's built-in functions for manipulating numbers, strings, arrays, hashes, and code references. It can be handy to use built-in functions as methods to avoid messy dereferencing syntaxes and parentheses pile ups. The autobox module lets you call methods in scalars that aren't object references but perl but does not itself provide any methods to call. That is left to the user or another module, for example, autobox::Core. autobox::Core is a stub module. It is merely glue, presenting existing functions with a new interface. Besides built-ins that operate on hashes, arrays, scalars, and code references, some Perl 6-ish things were thrown in, and some keyword like foreach have been turned into methods.
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-autobox-Core/DESCR15
-rw-r--r--devel/p5-autobox-Core/Makefile21
-rw-r--r--devel/p5-autobox-Core/distinfo5
3 files changed, 41 insertions, 0 deletions
diff --git a/devel/p5-autobox-Core/DESCR b/devel/p5-autobox-Core/DESCR
new file mode 100644
index 00000000000..0bc7e1787fe
--- /dev/null
+++ b/devel/p5-autobox-Core/DESCR
@@ -0,0 +1,15 @@
+The Perl 5 module autobox::Core wraps perl's built-in functions for
+manipulating numbers, strings, arrays, hashes, and code references.
+It can be handy to use built-in functions as methods to avoid messy
+dereferencing syntaxes and parentheses pile ups.
+
+The autobox module lets you call methods in scalars that aren't
+object references but perl but does not itself provide any methods
+to call. That is left to the user or another module, for example,
+autobox::Core.
+
+autobox::Core is a stub module. It is merely glue, presenting
+existing functions with a new interface. Besides built-ins that
+operate on hashes, arrays, scalars, and code references, some Perl
+6-ish things were thrown in, and some keyword like foreach have
+been turned into methods.
diff --git a/devel/p5-autobox-Core/Makefile b/devel/p5-autobox-Core/Makefile
new file mode 100644
index 00000000000..881517696f0
--- /dev/null
+++ b/devel/p5-autobox-Core/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/03/22 14:57:51 seb Exp $
+#
+
+DISTNAME= autobox-Core-0.6
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/S/SW/SWALTERS/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/autobox-Core/
+COMMENT= Perl 5 module adding core built-in functions in primitive types
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_LANGUAGES= # empty
+PERL5_PACKLIST= auto/autobox/Core/.packlist
+
+DEPENDS+= p5-autobox>=0.11:../../devel/p5-autobox
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p5-autobox-Core/distinfo b/devel/p5-autobox-Core/distinfo
new file mode 100644
index 00000000000..4a46b909938
--- /dev/null
+++ b/devel/p5-autobox-Core/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/03/22 14:57:51 seb Exp $
+
+SHA1 (autobox-Core-0.6.tar.gz) = a8dfdcdb10e3ca12675863d25c41471e0a13d6eb
+RMD160 (autobox-Core-0.6.tar.gz) = bea7bbe11325c1838b47226839244f84e4db8bcb
+Size (autobox-Core-0.6.tar.gz) = 13038 bytes