summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2009-04-27 04:19:39 +0000
committerseb <seb@pkgsrc.org>2009-04-27 04:19:39 +0000
commitafa98327a87b4df7a2f507062e410da9f78e1b54 (patch)
treebdc556226540e33281bc7e2916e516a1845ac3b3
parent5be066d6805bbfdec033ecab129569f71b6f3dc3 (diff)
downloadpkgsrc-afa98327a87b4df7a2f507062e410da9f78e1b54.tar.gz
Initial import of p5-MooseX-Singleton version 0.17 in the NetBSD
Packages Collection. The Perl 5 module MooseX::Singleton lets you easily upgrade your Moose class to a singleton. All you should need to do to transform your class is to change 'use Moose' to 'use MooseX::Singleton'. MooseX::Singleton gives your class an 'instance' method that can be used to get a handle on the singleton.
-rw-r--r--devel/p5-MooseX-Singleton/DESCR5
-rw-r--r--devel/p5-MooseX-Singleton/Makefile23
-rw-r--r--devel/p5-MooseX-Singleton/distinfo5
3 files changed, 33 insertions, 0 deletions
diff --git a/devel/p5-MooseX-Singleton/DESCR b/devel/p5-MooseX-Singleton/DESCR
new file mode 100644
index 00000000000..aad973d87d0
--- /dev/null
+++ b/devel/p5-MooseX-Singleton/DESCR
@@ -0,0 +1,5 @@
+The Perl 5 module MooseX::Singleton lets you easily upgrade your
+Moose class to a singleton. All you should need to do to transform
+your class is to change 'use Moose' to 'use MooseX::Singleton'.
+MooseX::Singleton gives your class an 'instance' method that can
+be used to get a handle on the singleton.
diff --git a/devel/p5-MooseX-Singleton/Makefile b/devel/p5-MooseX-Singleton/Makefile
new file mode 100644
index 00000000000..7e3780ab4e1
--- /dev/null
+++ b/devel/p5-MooseX-Singleton/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/04/27 04:19:39 seb Exp $
+#
+
+DISTNAME= MooseX-Singleton-0.17
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=MooseX/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/MooseX-Singleton/
+COMMENT= Perl 5 module to turn Moose class into a singleton
+#LICENSE= artistic OR gnu-gpl-v2
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_LANGUAGES= # empty
+PERL5_PACKLIST= auto/MooseX/Singleton/.packlist
+
+DEPENDS+= p5-Moose>=0.74:../../devel/p5-Moose
+BUILD_DEPENDS+= p5-Test-Exception-[0-9]*:../../devel/p5-Test-Exception
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p5-MooseX-Singleton/distinfo b/devel/p5-MooseX-Singleton/distinfo
new file mode 100644
index 00000000000..7c0a096fdf2
--- /dev/null
+++ b/devel/p5-MooseX-Singleton/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/04/27 04:19:39 seb Exp $
+
+SHA1 (MooseX-Singleton-0.17.tar.gz) = c5fdbf5264efa906589b95c86b407424bed7091b
+RMD160 (MooseX-Singleton-0.17.tar.gz) = 2b2e0195295d3731241acb40db9159f4d730d65b
+Size (MooseX-Singleton-0.17.tar.gz) = 19454 bytes