diff options
author | Wen Heping <wen@FreeBSD.org> | 2010-03-24 02:09:28 +0000 |
---|---|---|
committer | Wen Heping <wen@FreeBSD.org> | 2010-03-24 02:09:28 +0000 |
commit | b3911591ff38ade58916cda9ac43d87ae9e5b3f0 (patch) | |
tree | 38431cfc63edcd2b018db60a644dd98a66faad27 /devel/p5-MooseX-NonMoose | |
parent | fc1d8fe4c30c1232b812f1fb50b414a455c8c757 (diff) | |
download | ports-b3911591ff38ade58916cda9ac43d87ae9e5b3f0.tar.gz ports-b3911591ff38ade58916cda9ac43d87ae9e5b3f0.zip |
Notes
Diffstat (limited to 'devel/p5-MooseX-NonMoose')
-rw-r--r-- | devel/p5-MooseX-NonMoose/Makefile | 27 | ||||
-rw-r--r-- | devel/p5-MooseX-NonMoose/distinfo | 3 | ||||
-rw-r--r-- | devel/p5-MooseX-NonMoose/pkg-descr | 14 | ||||
-rw-r--r-- | devel/p5-MooseX-NonMoose/pkg-plist | 11 |
4 files changed, 55 insertions, 0 deletions
diff --git a/devel/p5-MooseX-NonMoose/Makefile b/devel/p5-MooseX-NonMoose/Makefile new file mode 100644 index 000000000000..95b4a766d13d --- /dev/null +++ b/devel/p5-MooseX-NonMoose/Makefile @@ -0,0 +1,27 @@ +# New ports collection makefile for: devel/p5-MooseX-NonMoose +# Date created: March 23, 2010 +# Whom: Wen Heping <wen@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= MooseX-NonMoose +PORTVERSION= 0.07 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= wen@FreeBSD.org +COMMENT= Easy subclassing of non-Moose classes + +RUN_DEPENDS= p5-Moose>=0:${PORTSDIR}/devel/p5-Moose +BUILD_DEPENDS= ${RUN_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= MooseX::NonMoose.3 \ + MooseX::NonMoose::InsideOut.3 \ + MooseX::NonMoose::Meta::Role::Class.3 \ + MooseX::NonMoose::Meta::Role::Constructor.3 + +.include <bsd.port.mk> diff --git a/devel/p5-MooseX-NonMoose/distinfo b/devel/p5-MooseX-NonMoose/distinfo new file mode 100644 index 000000000000..8f4417d2d8bc --- /dev/null +++ b/devel/p5-MooseX-NonMoose/distinfo @@ -0,0 +1,3 @@ +MD5 (MooseX-NonMoose-0.07.tar.gz) = 2a88c8933e08ab385676fb57d3bfd2e5 +SHA256 (MooseX-NonMoose-0.07.tar.gz) = 8cb9d7b6220f11a168313b48e894ce4a3830ef4b59343f9e20e6774ab597a4de +SIZE (MooseX-NonMoose-0.07.tar.gz) = 16710 diff --git a/devel/p5-MooseX-NonMoose/pkg-descr b/devel/p5-MooseX-NonMoose/pkg-descr new file mode 100644 index 000000000000..5094292b0c07 --- /dev/null +++ b/devel/p5-MooseX-NonMoose/pkg-descr @@ -0,0 +1,14 @@ +MooseX::NonMoose allows for easily subclassing non-Moose classes with +Moose, taking care of the annoying details connected with doing this, +such as setting up proper inheritance from Moose::Object and installing +(and inlining, at make_immutable time) a constructor that makes sure +things like BUILD methods are called. It tries to be as non-intrusive +as possible - when this module is used, inheriting from non-Moose classes +and inheriting from Moose classes should work identically, aside from the +few caveats mentioned below. One of the goals of this module is that +including it in a Moose::Exporter-based package used across an entire +application should be possible, without interfering with classes that +only inherit from Moose modules, or even classes that don't inherit from +anything at all. + +WWW: http://search.cpan.org/dist/MooseX-NonMoose/ diff --git a/devel/p5-MooseX-NonMoose/pkg-plist b/devel/p5-MooseX-NonMoose/pkg-plist new file mode 100644 index 000000000000..4a0708f614a3 --- /dev/null +++ b/devel/p5-MooseX-NonMoose/pkg-plist @@ -0,0 +1,11 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX/NonMoose/.packlist +%%SITE_PERL%%/MooseX/NonMoose.pm +%%SITE_PERL%%/MooseX/NonMoose/InsideOut.pm +%%SITE_PERL%%/MooseX/NonMoose/Meta/Role/Class.pm +%%SITE_PERL%%/MooseX/NonMoose/Meta/Role/Constructor.pm +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX/NonMoose +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX +@dirrmtry %%SITE_PERL%%/MooseX/NonMoose/Meta/Role +@dirrmtry %%SITE_PERL%%/MooseX/NonMoose/Meta +@dirrmtry %%SITE_PERL%%/MooseX/NonMoose +@dirrmtry %%SITE_PERL%%/MooseX |