aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2010-12-27 16:37:42 +0800
committerwen <wen@FreeBSD.org>2010-12-27 16:37:42 +0800
commit6739ffd0afc751940e4be839ef423dc1f3b5648b (patch)
tree70699971cf37daabfff590ce64c4a4adbfffb26b /devel
parentbd3aacab4634d92a58f58d4ba370cd37881d3c8c (diff)
downloadfreebsd-ports-graphics-6739ffd0afc751940e4be839ef423dc1f3b5648b.tar.gz
freebsd-ports-graphics-6739ffd0afc751940e4be839ef423dc1f3b5648b.tar.zst
freebsd-ports-graphics-6739ffd0afc751940e4be839ef423dc1f3b5648b.zip
MooseX::Types::VariantTable implements a simple dispatch table based on
Moose type constraints. Subtypes will be checked before their parents, meaning that the order of the declaration does not matter. WWW: http://search.cpan.org/dist/MooseX-Types-VariantTable/
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-MooseX-Types-VariantTable/Makefile26
-rw-r--r--devel/p5-MooseX-Types-VariantTable/distinfo2
-rw-r--r--devel/p5-MooseX-Types-VariantTable/pkg-descr7
-rw-r--r--devel/p5-MooseX-Types-VariantTable/pkg-plist14
5 files changed, 50 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 28ab99c5379..a8e8620b108 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1974,6 +1974,7 @@
SUBDIR += p5-MooseX-Types-Path-Class
SUBDIR += p5-MooseX-Types-Signal
SUBDIR += p5-MooseX-Types-Structured
+ SUBDIR += p5-MooseX-Types-VariantTable
SUBDIR += p5-Mouse
SUBDIR += p5-MouseX-AttributeHelpers
SUBDIR += p5-MouseX-ConfigFromFile
diff --git a/devel/p5-MooseX-Types-VariantTable/Makefile b/devel/p5-MooseX-Types-VariantTable/Makefile
new file mode 100644
index 00000000000..095232ae450
--- /dev/null
+++ b/devel/p5-MooseX-Types-VariantTable/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: devel/p5-MooseX-Types-VariantTable
+# Date created: Dec 26, 2010
+# Whom: Wen Heping <wen@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= MooseX-Types-VariantTable
+PORTVERSION= 0.04
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= wen@FreeBSD.org
+COMMENT= Type constraint based variant table
+
+RUN_DEPENDS= p5-MooseX-Types-Structured>=0.12:${PORTSDIR}/devel/p5-MooseX-Types-Structured \
+ p5-MooseX-Clone>=0.03:${PORTSDIR}/devel/p5-MooseX-Clone
+BUILD_DEPENDS= ${RUN_DEPENDS}
+
+PERL_CONFIGURE= 5.8.0+
+
+MAN3= MooseX::Types::VariantTable::Declare.3 \
+ MooseX::Types::VariantTable.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-MooseX-Types-VariantTable/distinfo b/devel/p5-MooseX-Types-VariantTable/distinfo
new file mode 100644
index 00000000000..e1498b3e573
--- /dev/null
+++ b/devel/p5-MooseX-Types-VariantTable/distinfo
@@ -0,0 +1,2 @@
+SHA256 (MooseX-Types-VariantTable-0.04.tar.gz) = 3029abda57d530991f4af4d21f23b61f5e522a5b1e3bd69202edd6960a38d070
+SIZE (MooseX-Types-VariantTable-0.04.tar.gz) = 8093
diff --git a/devel/p5-MooseX-Types-VariantTable/pkg-descr b/devel/p5-MooseX-Types-VariantTable/pkg-descr
new file mode 100644
index 00000000000..dfea62e8dff
--- /dev/null
+++ b/devel/p5-MooseX-Types-VariantTable/pkg-descr
@@ -0,0 +1,7 @@
+MooseX::Types::VariantTable implements a simple dispatch table based on
+Moose type constraints.
+
+Subtypes will be checked before their parents, meaning that the order of
+the declaration does not matter.
+
+WWW: http://search.cpan.org/dist/MooseX-Types-VariantTable/
diff --git a/devel/p5-MooseX-Types-VariantTable/pkg-plist b/devel/p5-MooseX-Types-VariantTable/pkg-plist
new file mode 100644
index 00000000000..377929bd8ec
--- /dev/null
+++ b/devel/p5-MooseX-Types-VariantTable/pkg-plist
@@ -0,0 +1,14 @@
+%%SITE_PERL%%/MooseX/Types/VariantTable/Declare.pm
+%%SITE_PERL%%/MooseX/Types/VariantTable.pm
+%%SITE_PERL%%/Moose/Meta/Method/VariantTable.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX/Types/VariantTable/.packlist
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX/Types/VariantTable
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX/Types
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX
+@dirrmtry %%SITE_PERL%%/MooseX/Types/VariantTable
+@dirrmtry %%SITE_PERL%%/MooseX/Types
+@dirrmtry %%SITE_PERL%%/MooseX
+@dirrmtry %%SITE_PERL%%/Moose/Meta/Method
+@dirrmtry %%SITE_PERL%%/Moose/Meta
+@dirrmtry %%SITE_PERL%%/Moose