diff --git a/devel/Makefile b/devel/Makefile index a68605c2cc75..b98c540c181d 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -2373,6 +2373,7 @@ SUBDIR += p5-Moo SUBDIR += p5-MooX-ConfigFromFile SUBDIR += p5-MooX-File-ConfigDir + SUBDIR += p5-MooX-HandlesVia SUBDIR += p5-MooX-Options SUBDIR += p5-MooX-StrictConstructor SUBDIR += p5-MooX-Types-MooseLike diff --git a/devel/p5-MooX-HandlesVia/Makefile b/devel/p5-MooX-HandlesVia/Makefile new file mode 100644 index 000000000000..8a8a5cbcd57b --- /dev/null +++ b/devel/p5-MooX-HandlesVia/Makefile @@ -0,0 +1,28 @@ +# $FreeBSD$ + +PORTNAME= MooX-HandlesVia +PORTVERSION= 0.001005 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= perl@FreeBSD.org +COMMENT= NativeTrait-like behavior for Moo + +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + +BUILD_DEPENDS= p5-Moo>=1.001000:${PORTSDIR}/devel/p5-Moo \ + p5-MooX-Types-MooseLike>=0:${PORTSDIR}/devel/p5-MooX-Types-MooseLike \ + p5-Data-Perl>=0.002006:${PORTSDIR}/devel/p5-Data-Perl +TEST_DEPENDS= p5-MooX-Types-MooseLike>=0:${PORTSDIR}/devel/p5-MooX-Types-MooseLike \ + p5-Test-Fatal>=0:${PORTSDIR}/devel/p5-Test-Fatal \ + p5-bareword-filehandles>=0:${PORTSDIR}/devel/p5-bareword-filehandles \ + p5-indirect>=0:${PORTSDIR}/devel/p5-indirect \ + p5-multidimensional>=0:${PORTSDIR}/devel/p5-multidimensional +RUN_DEPENDS:= ${BUILD_DEPENDS} + +USES= perl5 +USE_PERL5= configure + +.include diff --git a/devel/p5-MooX-HandlesVia/distinfo b/devel/p5-MooX-HandlesVia/distinfo new file mode 100644 index 000000000000..75fbd3d9510f --- /dev/null +++ b/devel/p5-MooX-HandlesVia/distinfo @@ -0,0 +1,2 @@ +SHA256 (MooX-HandlesVia-0.001005.tar.gz) = a69de0c201269a4ad2bfce51b200a91bf7f20c0a1d392f130185c8ae533f9360 +SIZE (MooX-HandlesVia-0.001005.tar.gz) = 24293 diff --git a/devel/p5-MooX-HandlesVia/pkg-descr b/devel/p5-MooX-HandlesVia/pkg-descr new file mode 100644 index 000000000000..91ee861fc2bd --- /dev/null +++ b/devel/p5-MooX-HandlesVia/pkg-descr @@ -0,0 +1,7 @@ +MooX::HandlesVia is an extension of Moo's 'handles' attribute +functionality. It provides a means of proxying functionality from +an external class to the given atttribute. This is most commonly +used as a way to emulate 'Native Trait' behavior that has become +commonplace in Moose code, for which there was no Moo alternative. + +WWW: http://search.cpan.org/dist/MooX-HandlesVia/ diff --git a/devel/p5-MooX-HandlesVia/pkg-plist b/devel/p5-MooX-HandlesVia/pkg-plist new file mode 100644 index 000000000000..27bf3cedb14e --- /dev/null +++ b/devel/p5-MooX-HandlesVia/pkg-plist @@ -0,0 +1,21 @@ +%%PERL5_MAN3%%/Data::Perl::Bool::MooseLike.3.gz +%%PERL5_MAN3%%/Data::Perl::Collection::Array::MooseLike.3.gz +%%PERL5_MAN3%%/Data::Perl::Collection::Hash::MooseLike.3.gz +%%PERL5_MAN3%%/Data::Perl::Number::MooseLike.3.gz +%%PERL5_MAN3%%/Data::Perl::String::MooseLike.3.gz +%%PERL5_MAN3%%/MooX::HandlesVia.3.gz +%%SITE_PERL%%/Data/Perl/Bool/MooseLike.pm +%%SITE_PERL%%/Data/Perl/Collection/Array/MooseLike.pm +%%SITE_PERL%%/Data/Perl/Collection/Hash/MooseLike.pm +%%SITE_PERL%%/Data/Perl/Number/MooseLike.pm +%%SITE_PERL%%/Data/Perl/String/MooseLike.pm +%%SITE_PERL%%/MooX/HandlesVia.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/MooX/HandlesVia/.packlist +@dirrmtry %%SITE_PERL%%/Data/Perl/Bool +@dirrmtry %%SITE_PERL%%/Data/Perl/Collection/Array +@dirrmtry %%SITE_PERL%%/Data/Perl/Collection/Hash +@dirrmtry %%SITE_PERL%%/Data/Perl/Number +@dirrmtry %%SITE_PERL%%/Data/Perl/String +@dirrmtry %%SITE_PERL%%/MooX +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MooX/HandlesVia +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MooX