f1416ac036
0.002 into p5-MooseX-OneArgNew. MooseX::OneArgNew lets your constructor take a single argument, which will be translated into the value for a one-entry hashref. It is a parameterized role with two parameters: type The Moose type that the single argument must be for the one-arg form to work. This should be an existing type, and may be either a string type or a MooseX::Type. init_arg This is the string that will be used as the key for the hashref constructed from the one-arg call to new.
26 lines
860 B
Makefile
26 lines
860 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2012/07/05 09:51:46 sno Exp $
|
|
#
|
|
|
|
DISTNAME= MooseX-OneArgNew-0.002
|
|
PKGNAME= p5-${DISTNAME}
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=MooseX/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://search.cpan.org/dist/MooseX-OneArgNew/
|
|
COMMENT= Perl 5 Moose role to teach ->new to accept single, non-hashref arguments
|
|
LICENSE= ${PERL5_LICENSE}
|
|
|
|
DEPENDS+= p5-Moose-[0-9]*:../../devel/p5-Moose
|
|
DEPENDS+= p5-MooseX-Role-Parameterized-[0-9]*:../../devel/p5-MooseX-Role-Parameterized
|
|
DEPENDS+= p5-namespace-autoclean-[0-9]*:../../devel/p5-namespace-autoclean
|
|
|
|
BUILD_DEPENDS+= {perl>=5.14.0,p5-Test-Simple>=0.96}:../../devel/p5-Test-Simple
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
USE_LANGUAGES= # empty
|
|
PERL5_PACKLIST= auto/MooseX/OneArgNew/.packlist
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|