diff options
author | abs <abs> | 2010-05-16 12:31:31 +0000 |
---|---|---|
committer | abs <abs> | 2010-05-16 12:31:31 +0000 |
commit | cdddff569ab03171ff82d43f25ded424f555bea4 (patch) | |
tree | 973f5ad1265fec9f7085d3d8aa08b7ca27ab5afc /devel | |
parent | e728108c9f4d6e00e50cbf51a1a0510303a3b0cc (diff) | |
download | pkgsrc-cdddff569ab03171ff82d43f25ded424f555bea4.tar.gz |
Added devel/p5-MooseX-FollowPBP version 0.02
This module does not provide any methods. Simply loading it changes
the default naming policy for the loading class so that accessors
are separated into get and set methods. The get methods are prefixed
with "get_" as the accessor, while set methods are prefixed with
"set_". This is the naming style recommended by Damian Conway in
Perl Best Practices.
If you define an attribute with a leading underscore, then both the
get and set method will also have an underscore prefix.
If you explicitly set a "reader" or "writer" name when creating an
attribute, then that attribute's naming scheme is left unchanged.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/p5-MooseX-FollowPBP/DESCR | 12 | ||||
-rw-r--r-- | devel/p5-MooseX-FollowPBP/Makefile | 23 | ||||
-rw-r--r-- | devel/p5-MooseX-FollowPBP/distinfo | 5 |
3 files changed, 40 insertions, 0 deletions
diff --git a/devel/p5-MooseX-FollowPBP/DESCR b/devel/p5-MooseX-FollowPBP/DESCR new file mode 100644 index 00000000000..24d59a84d40 --- /dev/null +++ b/devel/p5-MooseX-FollowPBP/DESCR @@ -0,0 +1,12 @@ +This module does not provide any methods. Simply loading it changes +the default naming policy for the loading class so that accessors +are separated into get and set methods. The get methods are prefixed +with "get_" as the accessor, while set methods are prefixed with +"set_". This is the naming style recommended by Damian Conway in +Perl Best Practices. + +If you define an attribute with a leading underscore, then both the +get and set method will also have an underscore prefix. + +If you explicitly set a "reader" or "writer" name when creating an +attribute, then that attribute's naming scheme is left unchanged. diff --git a/devel/p5-MooseX-FollowPBP/Makefile b/devel/p5-MooseX-FollowPBP/Makefile new file mode 100644 index 00000000000..97872fdd3cf --- /dev/null +++ b/devel/p5-MooseX-FollowPBP/Makefile @@ -0,0 +1,23 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/05/16 12:31:31 abs Exp $ +# + +DISTNAME= MooseX-FollowPBP-0.02 +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-FollowPBP/ +COMMENT= Name your accessors get_foo() and set_foo() +LICENSE= ${PERL5_LICENSE} + +DEPENDS+= p5-Moose>=0.93:../../devel/p5-Moose + +PKG_DESTDIR_SUPPORT= user-destdir + +USE_LANGUAGES= # empty +PERL5_PACKLIST= auto/MooseX/FollowPBP/.packlist +PERL5_MODULE_TYPE= Module::Build + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/p5-MooseX-FollowPBP/distinfo b/devel/p5-MooseX-FollowPBP/distinfo new file mode 100644 index 00000000000..b092170a0f1 --- /dev/null +++ b/devel/p5-MooseX-FollowPBP/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2010/05/16 12:31:31 abs Exp $ + +SHA1 (MooseX-FollowPBP-0.02.tar.gz) = 5ed4d9163460f8ebd5ce7d719cd8596823b03d0f +RMD160 (MooseX-FollowPBP-0.02.tar.gz) = 805930d50c0ca52fa0c6241e1c83684872b49cc6 +Size (MooseX-FollowPBP-0.02.tar.gz) = 4472 bytes |