summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2008-10-12 17:26:41 +0000
committerabs <abs@pkgsrc.org>2008-10-12 17:26:41 +0000
commitce516e9dabea876235f4e1eb53e0c242d188e3a3 (patch)
tree774e21d90328bb6b064f684e65e9e8d5d15a584e /devel
parent5dd782f3476b3fe00e8fbd10a8be44164275bdf4 (diff)
downloadpkgsrc-ce516e9dabea876235f4e1eb53e0c242d188e3a3.tar.gz
Added devel/p5-MooseX-Types version 0.04
The types provided with Moose are by design global. This package helps you to organise and selectively import your own and the built-in types in libraries. As a nice side effect, it catches typos at compile-time too. However, the main reason for this module is to provide an easy way to not have conflicts with your type names, since the internal fully qualified names of the types will be prefixed with the library's name. This module will also provide you with some helper functions to make it easier to use Moose types in your code.
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-MooseX-Types/DESCR12
-rw-r--r--devel/p5-MooseX-Types/Makefile26
-rw-r--r--devel/p5-MooseX-Types/distinfo5
3 files changed, 43 insertions, 0 deletions
diff --git a/devel/p5-MooseX-Types/DESCR b/devel/p5-MooseX-Types/DESCR
new file mode 100644
index 00000000000..a851d875cd6
--- /dev/null
+++ b/devel/p5-MooseX-Types/DESCR
@@ -0,0 +1,12 @@
+The types provided with Moose are by design global. This package
+helps you to organise and selectively import your own and the
+built-in types in libraries. As a nice side effect, it catches
+typos at compile-time too.
+
+However, the main reason for this module is to provide an easy way
+to not have conflicts with your type names, since the internal
+fully qualified names of the types will be prefixed with the
+library's name.
+
+This module will also provide you with some helper functions to
+make it easier to use Moose types in your code.
diff --git a/devel/p5-MooseX-Types/Makefile b/devel/p5-MooseX-Types/Makefile
new file mode 100644
index 00000000000..4d334728fbc
--- /dev/null
+++ b/devel/p5-MooseX-Types/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/10/12 17:26:41 abs Exp $
+#
+
+DISTNAME= MooseX-Types-0.04
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=MooseX/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/perldoc?MooseX::Types
+COMMENT= Organise your Moose types in libraries
+
+DEPENDS+= p5-Moose>=0.24:../../devel/p5-Moose
+DEPENDS+= p5-Sub-Uplevel>=0.14:../../devel/p5-Sub-Uplevel
+DEPENDS+= p5-Sub-Install>=0.922:../../devel/p5-Sub-Install
+DEPENDS+= p5-namespace-clean>=0.04:../../devel/p5-namespace-clean
+DEPENDS+= p5-Carp-Clan>=0:../../devel/p5-Carp-Clan
+DEPENDS+= p5-Class-MOP>=0:../../devel/p5-Class-MOP
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_LANGUAGES= # empty
+PERL5_PACKLIST= auto/MooseX/Types/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p5-MooseX-Types/distinfo b/devel/p5-MooseX-Types/distinfo
new file mode 100644
index 00000000000..0dc6a91f435
--- /dev/null
+++ b/devel/p5-MooseX-Types/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/10/12 17:26:41 abs Exp $
+
+SHA1 (MooseX-Types-0.04.tar.gz) = f7b1c07c0c82593684540c12d2a68471d527d0eb
+RMD160 (MooseX-Types-0.04.tar.gz) = ce4bb226b776340c26d0fd05c3b858b44ae4250f
+Size (MooseX-Types-0.04.tar.gz) = 27316 bytes