aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authoraz <az@FreeBSD.org>2011-08-14 01:05:46 +0800
committeraz <az@FreeBSD.org>2011-08-14 01:05:46 +0800
commit007c6dd645ef8f46122bdba38b02bc9d31fc012d (patch)
treed8fe58c345ee8bca669ac486b65725987611caa1 /devel
parentde03444b0b5dd7c992beac5b359b8ee00ac25434 (diff)
downloadfreebsd-ports-gnome-007c6dd645ef8f46122bdba38b02bc9d31fc012d.tar.gz
freebsd-ports-gnome-007c6dd645ef8f46122bdba38b02bc9d31fc012d.tar.zst
freebsd-ports-gnome-007c6dd645ef8f46122bdba38b02bc9d31fc012d.zip
MooseX::Types::LoadableClass - ClassName type constraint with coercion to load
the class. WWW: http://search.cpan.org/dist/MooseX-Types-LoadableClass/
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-MooseX-Types-LoadableClass/Makefile34
-rw-r--r--devel/p5-MooseX-Types-LoadableClass/distinfo2
-rw-r--r--devel/p5-MooseX-Types-LoadableClass/pkg-descr4
-rw-r--r--devel/p5-MooseX-Types-LoadableClass/pkg-plist7
5 files changed, 48 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 705c5411be79..dec2378e9ab1 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -2019,6 +2019,7 @@
SUBDIR += p5-MooseX-Types-DateTime-ButMaintained
SUBDIR += p5-MooseX-Types-DateTimeX
SUBDIR += p5-MooseX-Types-JSON
+ SUBDIR += p5-MooseX-Types-LoadableClass
SUBDIR += p5-MooseX-Types-Path-Class
SUBDIR += p5-MooseX-Types-Perl
SUBDIR += p5-MooseX-Types-Set-Object
diff --git a/devel/p5-MooseX-Types-LoadableClass/Makefile b/devel/p5-MooseX-Types-LoadableClass/Makefile
new file mode 100644
index 000000000000..55abfc1b44b6
--- /dev/null
+++ b/devel/p5-MooseX-Types-LoadableClass/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: MooseX::Types::LoadableClass
+# Date created: 2011-08-13
+# Whom: Andrej Zverev <az@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= MooseX-Types-LoadableClass
+PORTVERSION= 0.006
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= CPAN:BOBTFISH
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= az@FreeBSD.org
+COMMENT= ClassName type constraint with coercion to load the class
+
+LICENSE= ART20 GPLv1
+LICENSE_COMB= dual
+
+RUN_DEPENDS= p5-Class-Load>=0.06:${PORTSDIR}/devel/p5-Class-Load \
+ p5-Moose>=0:${PORTSDIR}/devel/p5-Moose \
+ p5-MooseX-Types>=0.22:${PORTSDIR}/devel/p5-MooseX-Types \
+ p5-namespace-clean>=0:${PORTSDIR}/devel/p5-namespace-clean
+
+BUILD_DEPENDS:= ${RUN_DEPENDS}
+
+TEST_DEPENDS= p5-Moose>=0:${PORTSDIR}/devel/p5-Moose
+
+PERL_CONFIGURE= yes
+
+MAN3= MooseX::Types::LoadableClass.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-MooseX-Types-LoadableClass/distinfo b/devel/p5-MooseX-Types-LoadableClass/distinfo
new file mode 100644
index 000000000000..d81bf29b7b3f
--- /dev/null
+++ b/devel/p5-MooseX-Types-LoadableClass/distinfo
@@ -0,0 +1,2 @@
+SHA256 (MooseX-Types-LoadableClass-0.006.tar.gz) = 443f9fbf830a6e369893ae56bc1386a12f6db2145bc934ecd4c0c880ff13ad0c
+SIZE (MooseX-Types-LoadableClass-0.006.tar.gz) = 20303
diff --git a/devel/p5-MooseX-Types-LoadableClass/pkg-descr b/devel/p5-MooseX-Types-LoadableClass/pkg-descr
new file mode 100644
index 000000000000..9b8d75f131d2
--- /dev/null
+++ b/devel/p5-MooseX-Types-LoadableClass/pkg-descr
@@ -0,0 +1,4 @@
+MooseX::Types::LoadableClass - ClassName type constraint with coercion to load
+the class.
+
+WWW: http://search.cpan.org/dist/MooseX-Types-LoadableClass/
diff --git a/devel/p5-MooseX-Types-LoadableClass/pkg-plist b/devel/p5-MooseX-Types-LoadableClass/pkg-plist
new file mode 100644
index 000000000000..0cb6f9c2071b
--- /dev/null
+++ b/devel/p5-MooseX-Types-LoadableClass/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX/Types/LoadableClass/.packlist
+%%SITE_PERL%%/MooseX/Types/LoadableClass.pm
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX/Types/LoadableClass
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX/Types
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX
+@dirrmtry %%SITE_PERL%%/MooseX/Types
+@dirrmtry %%SITE_PERL%%/MooseX