From 007c6dd645ef8f46122bdba38b02bc9d31fc012d Mon Sep 17 00:00:00 2001 From: az Date: Sat, 13 Aug 2011 17:05:46 +0000 Subject: MooseX::Types::LoadableClass - ClassName type constraint with coercion to load the class. WWW: http://search.cpan.org/dist/MooseX-Types-LoadableClass/ --- devel/Makefile | 1 + devel/p5-MooseX-Types-LoadableClass/Makefile | 34 +++++++++++++++++++++++++++ devel/p5-MooseX-Types-LoadableClass/distinfo | 2 ++ devel/p5-MooseX-Types-LoadableClass/pkg-descr | 4 ++++ devel/p5-MooseX-Types-LoadableClass/pkg-plist | 7 ++++++ 5 files changed, 48 insertions(+) create mode 100644 devel/p5-MooseX-Types-LoadableClass/Makefile create mode 100644 devel/p5-MooseX-Types-LoadableClass/distinfo create mode 100644 devel/p5-MooseX-Types-LoadableClass/pkg-descr create mode 100644 devel/p5-MooseX-Types-LoadableClass/pkg-plist (limited to 'devel') 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 +# +# $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 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 -- cgit