1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00

Add p5-MooseX-AttributeShortcuts 0.015, shorthand for common attribute

options.
This commit is contained in:
Lars Thegler 2012-09-16 16:09:34 +00:00
parent 0b5cba0be1
commit 1eb913cb36
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=304365
5 changed files with 39 additions and 0 deletions

View File

@ -2173,6 +2173,7 @@
SUBDIR += p5-MooseX-Attribute-Chained
SUBDIR += p5-MooseX-Attribute-ENV
SUBDIR += p5-MooseX-AttributeHelpers
SUBDIR += p5-MooseX-AttributeShortcuts
SUBDIR += p5-MooseX-AuthorizedMethods
SUBDIR += p5-MooseX-ChainedAccessors
SUBDIR += p5-MooseX-ClassAttribute

View File

@ -0,0 +1,24 @@
# $FreeBSD$
PORTNAME= MooseX-AttributeShortcuts
PORTVERSION= 0.015
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= MooseX
PKGNAMEPREFIX= p5-
MAINTAINER= lth@FreeBSD.org
COMMENT= Shorthand for common attribute options
BUILD_DEPENDS= p5-Moose>=0:${PORTSDIR}/devel/p5-Moose \
p5-MooseX-Role-Parameterized>=0:${PORTSDIR}/devel/p5-MooseX-Role-Parameterized \
p5-MooseX-Types-Common>=0:${PORTSDIR}/devel/p5-MooseX-Types-Common \
p5-MooseX-Types>=0:${PORTSDIR}/devel/p5-MooseX-Types \
p5-namespace-autoclean>=0:${PORTSDIR}/devel/p5-namespace-autoclean
RUN_DEPENDS:= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN3= MooseX::AttributeShortcuts.3
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (MooseX-AttributeShortcuts-0.015.tar.gz) = 304fce301bdc1857294d28740f5094f69fe7bf8baed9b6d32e712979c68aac06
SIZE (MooseX-AttributeShortcuts-0.015.tar.gz) = 18111

View File

@ -0,0 +1,7 @@
Ever find yourself repeatedly specifying writers and builders, because there's
no good shortcut to specifying them? Sometimes you want an attribute to have
a read-only public interface, but a private writer. And wouldn't it be easier
to just say "builder => 1" and have the attribute construct the canonical
"_build_$name" builder name for you?
WWW: http://search.cpan.org/dist/MooseX-AttributeShortcuts/

View File

@ -0,0 +1,5 @@
%%SITE_PERL%%/MooseX/AttributeShortcuts.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX/AttributeShortcuts/.packlist
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX/AttributeShortcuts
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX
@dirrmtry %%SITE_PERL%%/MooseX