aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2011-03-10 00:43:43 +0800
committermiwi <miwi@FreeBSD.org>2011-03-10 00:43:43 +0800
commit29398138ff0dc5f073e563f30396c59483684ddb (patch)
treeb4c1a5c552ebf495073f4586270a602952babe69
parent47899f223ddfc7f79c911e505b911c4b5929d88d (diff)
downloadfreebsd-ports-gnome-29398138ff0dc5f073e563f30396c59483684ddb.tar.gz
freebsd-ports-gnome-29398138ff0dc5f073e563f30396c59483684ddb.tar.zst
freebsd-ports-gnome-29398138ff0dc5f073e563f30396c59483684ddb.zip
This library provides Moose types for checking things (mostly strings)
against syntax that is, or is a reasonable subset of, Perl syntax. WWW: http://search.cpan.org/dist/MooseX-Types-Perl/ PR: ports/154811 Submitted by: Gea-Suan Lin <gslin at gslin.org>
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-MooseX-Types-Perl/Makefile30
-rw-r--r--devel/p5-MooseX-Types-Perl/distinfo2
-rw-r--r--devel/p5-MooseX-Types-Perl/pkg-descr4
-rw-r--r--devel/p5-MooseX-Types-Perl/pkg-plist8
5 files changed, 45 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index a4e81b8107e7..acdb24ead30c 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -2005,6 +2005,7 @@
SUBDIR += p5-MooseX-Types-DateTimeX
SUBDIR += p5-MooseX-Types-JSON
SUBDIR += p5-MooseX-Types-Path-Class
+ SUBDIR += p5-MooseX-Types-Perl
SUBDIR += p5-MooseX-Types-Signal
SUBDIR += p5-MooseX-Types-Structured
SUBDIR += p5-MooseX-Types-VariantTable
diff --git a/devel/p5-MooseX-Types-Perl/Makefile b/devel/p5-MooseX-Types-Perl/Makefile
new file mode 100644
index 000000000000..15b3a0d5d474
--- /dev/null
+++ b/devel/p5-MooseX-Types-Perl/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: p5-MooseX-Types-Perl
+# Date created: 2011-02-16
+# Whom: Gea-Suan Lin <gslin@gslin.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= MooseX-Types-Perl
+PORTVERSION= 0.101340
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= gslin@gslin.org
+COMMENT= Moose types that check against Perl syntax
+
+RUN_DEPENDS= p5-MooseX-Types>=0:${PORTSDIR}/devel/p5-MooseX-Types \
+ p5-Params-Utils>=0:${PORTSDIR}/devel/p5-Params-Util
+
+PERL_CONFIGURE= yes
+
+MAN3= MooseX::Types::Perl.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501200
+RUN_DEPENDS+= p5-version>=0.82:${PORTSDIR}/devel/p5-version
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-MooseX-Types-Perl/distinfo b/devel/p5-MooseX-Types-Perl/distinfo
new file mode 100644
index 000000000000..a5d377da7f09
--- /dev/null
+++ b/devel/p5-MooseX-Types-Perl/distinfo
@@ -0,0 +1,2 @@
+SHA256 (MooseX-Types-Perl-0.101340.tar.gz) = b845679d4871ef0a19a084211db7711f96bd6df07a1feb6881f4a770f565d449
+SIZE (MooseX-Types-Perl-0.101340.tar.gz) = 10954
diff --git a/devel/p5-MooseX-Types-Perl/pkg-descr b/devel/p5-MooseX-Types-Perl/pkg-descr
new file mode 100644
index 000000000000..e62ce7cd3fbd
--- /dev/null
+++ b/devel/p5-MooseX-Types-Perl/pkg-descr
@@ -0,0 +1,4 @@
+This library provides Moose types for checking things (mostly strings)
+against syntax that is, or is a reasonable subset of, Perl syntax.
+
+WWW: http://search.cpan.org/dist/MooseX-Types-Perl/
diff --git a/devel/p5-MooseX-Types-Perl/pkg-plist b/devel/p5-MooseX-Types-Perl/pkg-plist
new file mode 100644
index 000000000000..3857f355d8b0
--- /dev/null
+++ b/devel/p5-MooseX-Types-Perl/pkg-plist
@@ -0,0 +1,8 @@
+@comment $FreeBSD$
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX/Types/Perl/.packlist
+%%SITE_PERL%%/MooseX/Types/Perl.pm
+@dirrmtry %%SITE_PERL%%/MooseX/Types
+@dirrmtry %%SITE_PERL%%/MooseX
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX/Types/Perl
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX/Types
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX