Index: head/devel/Makefile =================================================================== --- head/devel/Makefile +++ head/devel/Makefile @@ -3028,6 +3028,7 @@ SUBDIR += p5-MooseX-MethodAttributes SUBDIR += p5-MooseX-MultiInitArg SUBDIR += p5-MooseX-MultiMethods + SUBDIR += p5-MooseX-MungeHas SUBDIR += p5-MooseX-NonMoose SUBDIR += p5-MooseX-Object-Pluggable SUBDIR += p5-MooseX-OneArgNew Index: head/devel/p5-MooseX-MungeHas/Makefile =================================================================== --- head/devel/p5-MooseX-MungeHas/Makefile +++ head/devel/p5-MooseX-MungeHas/Makefile @@ -0,0 +1,29 @@ +# Created by: Geoffroy Desvernay +# $FreeBSD$ + +PORTNAME= MooseX-MungeHas +PORTVERSION= 0.011 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= dgeo@centrale-marseille.fr +COMMENT= Munge your "has" (works with Moo, Moose and Mouse) + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual +LICENSE_FILE_ART10= ${WRKSRC}/LICENSE +LICENSE_FILE_GPLv1+ = ${WRKSRC}/LICENSE + +BUILD_DEPENDS= p5-Moose>=1.10:devel/p5-Moose +RUN_DEPENDS= p5-Moose>=1.10:devel/p5-Moose +TEST_DEPENDS= p5-Test-Requires>=0:devel/p5-Test-Requires + +USES= perl5 +USE_PERL5= configure + +NO_ARCH= yes +PLIST_FILES= ${SITE_PERL_REL}/MooseX/MungeHas.pm \ + ${SITE_MAN3_REL}/MooseX::MungeHas.3.gz + +.include Index: head/devel/p5-MooseX-MungeHas/distinfo =================================================================== --- head/devel/p5-MooseX-MungeHas/distinfo +++ head/devel/p5-MooseX-MungeHas/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1553517622 +SHA256 (MooseX-MungeHas-0.011.tar.gz) = 863bc8e9049f2c06f0af15fa4b413f287be2c0821d1981661803ceae36d06495 +SIZE (MooseX-MungeHas-0.011.tar.gz) = 23927 Index: head/devel/p5-MooseX-MungeHas/pkg-descr =================================================================== --- head/devel/p5-MooseX-MungeHas/pkg-descr +++ head/devel/p5-MooseX-MungeHas/pkg-descr @@ -0,0 +1,8 @@ +MooseX::MungeHas alters the behaviour of the attributes of your Moo, Moose or +Mouse based class. + +It manages to support all three because it doesn't attempt to do anything smart +with metathingies; it simply installs a wrapper for has that munges the +attribute specification hash before passing it on to the original has function. + +WWW: https://metacpan.org/pod/MooseX::MungeHas