diff options
author | wiz <wiz> | 2016-04-15 11:38:07 +0000 |
---|---|---|
committer | wiz <wiz> | 2016-04-15 11:38:07 +0000 |
commit | e836e38c898d001a3dd02b10756d949accc3040f (patch) | |
tree | 8ea611f0b769aa5c5ec2d9a715813c6044caa4fb /devel/p5-MooX-StrictConstructor/Makefile | |
parent | bf7706be07bd55fa02c257735a1bf4cf0fa52945 (diff) | |
download | pkgsrc-e836e38c898d001a3dd02b10756d949accc3040f.tar.gz |
Import p5-MooX-StrictConstructor-0.008 as devel/p5-MooX-StrictConstructor.
Simply loading this module makes your constructors "strict". If
your constructor is called with an attribute init argument that
your class does not declare, then it dies. This is a great way to
catch small typos.
Diffstat (limited to 'devel/p5-MooX-StrictConstructor/Makefile')
-rw-r--r-- | devel/p5-MooX-StrictConstructor/Makefile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/devel/p5-MooX-StrictConstructor/Makefile b/devel/p5-MooX-StrictConstructor/Makefile new file mode 100644 index 00000000000..dda04ffc79d --- /dev/null +++ b/devel/p5-MooX-StrictConstructor/Makefile @@ -0,0 +1,30 @@ +# $NetBSD: Makefile,v 1.1 2016/04/15 11:38:07 wiz Exp $ + +DISTNAME= MooX-StrictConstructor-0.008 +PKGNAME= p5-${DISTNAME} +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/H/HA/HARTZELL/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://search.cpan.org/~hartzell/MooX-StrictConstructor/ +COMMENT= Make your Moo-based object constructors blow up on unknown attributes +LICENSE= ${PERL5_LICENSE} + +DEPENDS+= p5-Class-Method-Modifiers-[0-9]*:../../devel/p5-Class-Method-Modifiers +DEPENDS+= p5-Moo-[0-9]*:../../devel/p5-Moo +DEPENDS+= p5-indirect-[0-9]*:../../devel/p5-indirect +DEPENDS+= p5-bareword-filehandles-[0-9]*:../../devel/p5-bareword-filehandles +DEPENDS+= p5-multidimensional-[0-9]*:../../devel/p5-multidimensional +DEPENDS+= p5-strictures-[0-9]*:../../devel/p5-strictures +BUILD_DEPENDS+= p5-Test-CPAN-Meta-[0-9]*:../../devel/p5-Test-CPAN-Meta +BUILD_DEPENDS+= p5-Test-Fatal-[0-9]*:../../devel/p5-Test-Fatal +BUILD_DEPENDS+= p5-Test-Pod-[0-9]*:../../devel/p5-Test-Pod +BUILD_DEPENDS+= p5-Test-Pod-Coverage-[0-9]*:../../devel/p5-Test-Pod-Coverage +BUILD_DEPENDS+= p5-Pod-Coverage-[0-9]*:../../textproc/p5-Pod-Coverage +BUILD_DEPENDS+= p5-Pod-Coverage-TrustPod-[0-9]*:../../textproc/p5-Pod-Coverage-TrustPod + +PERL5_PACKLIST= auto/MooX/StrictConstructor/.packlist +PERL5_MODULE_TYPE= Module::Build + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" |