Add p5-MooseX-Policy-SemiAffordanceAccessor 0.02, a policy to name
accessors foo() and set_foo().
This commit is contained in:
parent
6cdd8156d5
commit
43ed0df44d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=207879
5 changed files with 45 additions and 0 deletions
|
@ -1416,6 +1416,7 @@
|
|||
SUBDIR += p5-Moose
|
||||
SUBDIR += p5-Moose-Policy
|
||||
SUBDIR += p5-MooseX-IOC
|
||||
SUBDIR += p5-MooseX-Policy-SemiAffordanceAccessor
|
||||
SUBDIR += p5-NEXT
|
||||
SUBDIR += p5-Net-DBus
|
||||
SUBDIR += p5-Number-Bytes-Human
|
||||
|
|
26
devel/p5-MooseX-Policy-SemiAffordanceAccessor/Makefile
Normal file
26
devel/p5-MooseX-Policy-SemiAffordanceAccessor/Makefile
Normal file
|
@ -0,0 +1,26 @@
|
|||
# New ports collection makefile for: MooseX-Policy-SemiAffordanceAccessor
|
||||
# Date created: 25 February 2008
|
||||
# Whom: Sergey Skvortsov <skv@protey.ru>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= MooseX-Policy-SemiAffordanceAccessor
|
||||
PORTVERSION= 0.02
|
||||
CATEGORIES= devel perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR= ../../authors/id/D/DR/DROLSKY
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= skv@FreeBSD.org
|
||||
COMMENT= A policy to name accessors foo() and set_foo()
|
||||
|
||||
RUN_DEPENDS= ${SITE_PERL}/Moose.pm:${PORTSDIR}/devel/p5-Moose \
|
||||
${SITE_PERL}/Moose/Policy.pm:${PORTSDIR}/devel/p5-Moose-Policy
|
||||
BUILD_DEPENDS= ${RUN_DEPENDS}
|
||||
|
||||
PERL_MODBUILD= yes
|
||||
|
||||
MAN3= MooseX::Policy::SemiAffordanceAccessor.3
|
||||
|
||||
.include <bsd.port.mk>
|
3
devel/p5-MooseX-Policy-SemiAffordanceAccessor/distinfo
Normal file
3
devel/p5-MooseX-Policy-SemiAffordanceAccessor/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
MD5 (MooseX-Policy-SemiAffordanceAccessor-0.02.tar.gz) = 7e0e2733a55f27c98bb3b5503f005de9
|
||||
SHA256 (MooseX-Policy-SemiAffordanceAccessor-0.02.tar.gz) = 850371a1d03766ef1f7ab77f45d72320e44a21e74f3410b09ad77d0430ff92d0
|
||||
SIZE (MooseX-Policy-SemiAffordanceAccessor-0.02.tar.gz) = 4065
|
12
devel/p5-MooseX-Policy-SemiAffordanceAccessor/pkg-descr
Normal file
12
devel/p5-MooseX-Policy-SemiAffordanceAccessor/pkg-descr
Normal file
|
@ -0,0 +1,12 @@
|
|||
This class while loading changes the default naming policy for the
|
||||
package so that accessors are separated into get and set methods. The
|
||||
get methods have the same name as the accessor, while set methods are
|
||||
prefixed with "set_".
|
||||
|
||||
If you define an attribute with a leading underscore, then the set
|
||||
method will start with "_set_".
|
||||
|
||||
If you explicitly set a "reader" or "writer" name when creating an
|
||||
attribute, then this policy skips that attribute.
|
||||
|
||||
WWW: http://search.cpan.org/dist/MooseX-Policy-SemiAffordanceAccessor/
|
3
devel/p5-MooseX-Policy-SemiAffordanceAccessor/pkg-plist
Normal file
3
devel/p5-MooseX-Policy-SemiAffordanceAccessor/pkg-plist
Normal file
|
@ -0,0 +1,3 @@
|
|||
%%SITE_PERL%%/MooseX/Policy/SemiAffordanceAccessor.pm
|
||||
@dirrmtry %%SITE_PERL%%/MooseX/Policy
|
||||
@dirrmtry %%SITE_PERL%%/MooseX
|
Loading…
Reference in a new issue