aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2013-09-11 02:07:44 +0800
committersunpoet <sunpoet@FreeBSD.org>2013-09-11 02:07:44 +0800
commit467965a80b9721edfe7d63102fbd848606ccdb6e (patch)
tree1b6b93b8589f622ff3dea7e1b539920264ef1449
parent1a6e8b97280f666d15ef6ef197cd1a171c02a220 (diff)
downloadfreebsd-ports-gnome-467965a80b9721edfe7d63102fbd848606ccdb6e.tar.gz
freebsd-ports-gnome-467965a80b9721edfe7d63102fbd848606ccdb6e.tar.zst
freebsd-ports-gnome-467965a80b9721edfe7d63102fbd848606ccdb6e.zip
- Add p5-MooseX-Types-URI 0.03
MooseX::Types::URI provides Moose types for fun with URIs. It has slightly DWIMier types than the URI classes have due to implementation details, so the types should be more forgiving when ducktyping will work anyway (e.g. URI::WithBase does not inherit URI). WWW: http://search.cpan.org/dist/MooseX-Types-URI/
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-MooseX-Types-URI/Makefile30
-rw-r--r--devel/p5-MooseX-Types-URI/distinfo2
-rw-r--r--devel/p5-MooseX-Types-URI/pkg-descr7
-rw-r--r--devel/p5-MooseX-Types-URI/pkg-plist7
5 files changed, 47 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index f474037fd4b7..49f7db94687c 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -2395,6 +2395,7 @@
SUBDIR += p5-MooseX-Types-Signal
SUBDIR += p5-MooseX-Types-Stringlike
SUBDIR += p5-MooseX-Types-Structured
+ SUBDIR += p5-MooseX-Types-URI
SUBDIR += p5-MooseX-Types-VariantTable
SUBDIR += p5-Mouse
SUBDIR += p5-MouseX-App-Cmd
diff --git a/devel/p5-MooseX-Types-URI/Makefile b/devel/p5-MooseX-Types-URI/Makefile
new file mode 100644
index 000000000000..6bda15a5d28e
--- /dev/null
+++ b/devel/p5-MooseX-Types-URI/Makefile
@@ -0,0 +1,30 @@
+# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= MooseX-Types-URI
+PORTVERSION= 0.03
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= URI related types and coercions for Moose
+
+LICENSE= ART10 GPLv1
+LICENSE_COMB= dual
+
+BUILD_DEPENDS= p5-Moose>=0.50:${PORTSDIR}/devel/p5-Moose \
+ p5-MooseX-Types>=0:${PORTSDIR}/devel/p5-MooseX-Types \
+ p5-MooseX-Types-Path-Class>=0:${PORTSDIR}/devel/p5-MooseX-Types-Path-Class \
+ p5-URI>=0:${PORTSDIR}/net/p5-URI \
+ p5-URI-FromHash>=0:${PORTSDIR}/net/p5-URI-FromHash \
+ p5-namespace-clean>=0.08:${PORTSDIR}/devel/p5-namespace-clean
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+TEST_DEPENDS= p5-Test-use-ok>=0:${PORTSDIR}/devel/p5-Test-use-ok
+
+USE_PERL5= configure
+USES= perl5
+
+MAN3= MooseX::Types::URI.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-MooseX-Types-URI/distinfo b/devel/p5-MooseX-Types-URI/distinfo
new file mode 100644
index 000000000000..cb561e8b18cc
--- /dev/null
+++ b/devel/p5-MooseX-Types-URI/distinfo
@@ -0,0 +1,2 @@
+SHA256 (MooseX-Types-URI-0.03.tar.gz) = 3a2591996ac8ec0d188fe66e69fe5b05c102f2ea0dc76428822335f62702db14
+SIZE (MooseX-Types-URI-0.03.tar.gz) = 4601
diff --git a/devel/p5-MooseX-Types-URI/pkg-descr b/devel/p5-MooseX-Types-URI/pkg-descr
new file mode 100644
index 000000000000..f18795a408ce
--- /dev/null
+++ b/devel/p5-MooseX-Types-URI/pkg-descr
@@ -0,0 +1,7 @@
+MooseX::Types::URI provides Moose types for fun with URIs.
+
+It has slightly DWIMier types than the URI classes have due to implementation
+details, so the types should be more forgiving when ducktyping will work anyway
+(e.g. URI::WithBase does not inherit URI).
+
+WWW: http://search.cpan.org/dist/MooseX-Types-URI/
diff --git a/devel/p5-MooseX-Types-URI/pkg-plist b/devel/p5-MooseX-Types-URI/pkg-plist
new file mode 100644
index 000000000000..13b8487ff8ad
--- /dev/null
+++ b/devel/p5-MooseX-Types-URI/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/MooseX/Types/URI.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX/Types/URI/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX/Types/URI
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX/Types
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX
+@dirrmtry %%SITE_PERL%%/MooseX/Types
+@dirrmtry %%SITE_PERL%%/MooseX