aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-MooseX-Types-Structured/Makefile29
-rw-r--r--devel/p5-MooseX-Types-Structured/distinfo3
-rw-r--r--devel/p5-MooseX-Types-Structured/pkg-descr15
-rw-r--r--devel/p5-MooseX-Types-Structured/pkg-plist14
5 files changed, 62 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index ee479025be64..5181adc78ec9 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1613,6 +1613,7 @@
SUBDIR += p5-MooseX-StrictConstructor
SUBDIR += p5-MooseX-Types
SUBDIR += p5-MooseX-Types-Path-Class
+ SUBDIR += p5-MooseX-Types-Structured
SUBDIR += p5-Mouse
SUBDIR += p5-MouseX-AttributeHelpers
SUBDIR += p5-MouseX-ConfigFromFile
diff --git a/devel/p5-MooseX-Types-Structured/Makefile b/devel/p5-MooseX-Types-Structured/Makefile
new file mode 100644
index 000000000000..7c8108b414a0
--- /dev/null
+++ b/devel/p5-MooseX-Types-Structured/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: MooseX-Types-Structured
+# Date created: 11 May 2009
+# Whom: Sergey Skvortsov <skv@protey.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= MooseX-Types-Structured
+PORTVERSION= 0.14
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= skv@FreeBSD.org
+COMMENT= Moose Type Constraint classes for Structured Types
+
+BUILD_DEPENDS= p5-Moose>=0.63:${PORTSDIR}/devel/p5-Mouse \
+ p5-MooseX-Types>=0.08:${PORTSDIR}/devel/p5-MooseX-Types \
+ p5-Devel-PartialDump>=0.07:${PORTSDIR}/devel/p5-Devel-PartialDump \
+ p5-Sub-Exporter>=0.982:${PORTSDIR}/devel/p5-Sub-Exporter
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= MooseX::Meta::TypeCoercion::Structured.3 \
+ MooseX::Meta::TypeConstraint::Structured.3 \
+ MooseX::Types::Structured.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-MooseX-Types-Structured/distinfo b/devel/p5-MooseX-Types-Structured/distinfo
new file mode 100644
index 000000000000..e0d2021b8eda
--- /dev/null
+++ b/devel/p5-MooseX-Types-Structured/distinfo
@@ -0,0 +1,3 @@
+MD5 (MooseX-Types-Structured-0.14.tar.gz) = e935a4d405c828baafc4c6f0d47f5868
+SHA256 (MooseX-Types-Structured-0.14.tar.gz) = 83f792a7992284e98914e89e9d859ecdf6f5c0c43aa34a658c2374d2e5d173da
+SIZE (MooseX-Types-Structured-0.14.tar.gz) = 47410
diff --git a/devel/p5-MooseX-Types-Structured/pkg-descr b/devel/p5-MooseX-Types-Structured/pkg-descr
new file mode 100644
index 000000000000..4897b3757cf3
--- /dev/null
+++ b/devel/p5-MooseX-Types-Structured/pkg-descr
@@ -0,0 +1,15 @@
+A structured type constraint is a standard container Moose type
+constraint, such as an ArrayRef or HashRef, which has been enhanced to
+allow you to explicitly name all the allowed type constraints inside the
+structure. The generalized form is:
+
+ TypeConstraint[@TypeParameters or %TypeParameters]
+
+Where 'TypeParameters' is an array reference or hash references of
+Moose::Meta::TypeConstraint objects.
+
+This type library enables structured type constraints. It is built on
+top of the MooseX::Types library system, so you should review the
+documentation for that if you are not familiar with it.
+
+WWW: http://search.cpan.org/dist/MooseX-Types-Structured/
diff --git a/devel/p5-MooseX-Types-Structured/pkg-plist b/devel/p5-MooseX-Types-Structured/pkg-plist
new file mode 100644
index 000000000000..6df93d5315ae
--- /dev/null
+++ b/devel/p5-MooseX-Types-Structured/pkg-plist
@@ -0,0 +1,14 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX/Types/Structured/.packlist
+%%SITE_PERL%%/MooseX/Meta/TypeCoercion/Structured.pm
+%%SITE_PERL%%/MooseX/Meta/TypeConstraint/Structured.pm
+%%SITE_PERL%%/MooseX/Types/Structured.pm
+%%SITE_PERL%%/MooseX/Types/Structured/OverflowHandler.pm
+@dirrm %%SITE_PERL%%/MooseX/Types/Structured
+@dirrmtry %%SITE_PERL%%/MooseX/Types
+@dirrmtry %%SITE_PERL%%/MooseX/Meta/TypeCoercion
+@dirrmtry %%SITE_PERL%%/MooseX/Meta/TypeConstraint
+@dirrmtry %%SITE_PERL%%/MooseX/Meta
+@dirrmtry %%SITE_PERL%%/MooseX
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX/Types/Structured
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX/Types
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX