1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00

The module MooseX::HasDefaults::RO defaults is to ro.

The module MooseX::HasDefaults::RW defaults is to rw.

If you pass a specific value to any has's is, that overrides the default. If
you do not want an accessor, pass is => undef.

WWW:	http://search.cpan.org/dist/MooseX-HasDefaults/

PR:		ports/166591
Submitted by:	Muhammad Moinur Rahman <5u623l20@gmail.com>
This commit is contained in:
Martin Wilke 2012-04-10 16:39:32 +00:00
parent 043ab643b9
commit a1e2d9def5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=294538
5 changed files with 46 additions and 0 deletions

View File

@ -2129,6 +2129,7 @@
SUBDIR += p5-MooseX-FollowPBP
SUBDIR += p5-MooseX-Getopt
SUBDIR += p5-MooseX-Has-Sugar
SUBDIR += p5-MooseX-HasDefaults
SUBDIR += p5-MooseX-IOC
SUBDIR += p5-MooseX-InsideOut
SUBDIR += p5-MooseX-LazyRequire

View File

@ -0,0 +1,24 @@
# New ports collection makefile for: Mason
# Date created: 03 April, 2012
# Whom: Muhammad Moinur Rahman <5u623l20@gmail.com>
#
# $FreeBSD$
#
PORTNAME= MooseX-HasDefaults
PORTVERSION= 0.03
CATEGORIES= devel perl5
MASTER_SITES= CPAN/../by-authors/id/S/SA/SARTAK
PKGNAMEPREFIX= p5-
MAINTAINER= 5u623l20@gmail.com
COMMENT= Default "is" to "ro" or "rw" for all attributes
BUILD_DEPENDS= p5-Moose>2:${PORTSDIR}/devel/p5-Moose \
p5-Test-Exception>0:${PORTSDIR}/devel/p5-Test-Exception
PERL_CONFIGURE= yes
MAN3= MooseX::HasDefaults.3
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (MooseX-HasDefaults-0.03.tar.gz) = 1efe4b6639ee8f8f9f57c4c56dd1d65b596819a82c7ac0f8a3046a80d2e51f83
SIZE (MooseX-HasDefaults-0.03.tar.gz) = 18890

View File

@ -0,0 +1,8 @@
The module MooseX::HasDefaults::RO defaults is to ro.
The module MooseX::HasDefaults::RW defaults is to rw.
If you pass a specific value to any has's is, that overrides the default. If
you do not want an accessor, pass is => undef.
WWW: http://search.cpan.org/dist/MooseX-HasDefaults/

View File

@ -0,0 +1,11 @@
%%SITE_PERL%%/mach/auto/MooseX/HasDefaults/.packlist
%%SITE_PERL%%/MooseX/HasDefaults/Meta/IsRO.pm
%%SITE_PERL%%/MooseX/HasDefaults/Meta/IsRW.pm
%%SITE_PERL%%/MooseX/HasDefaults/RW.pm
%%SITE_PERL%%/MooseX/HasDefaults/RO.pm
%%SITE_PERL%%/MooseX/HasDefaults.pm
@dirrm %%SITE_PERL%%/mach/auto/MooseX/HasDefaults
@dirrmtry %%SITE_PERL%%/mach/auto/MooseX
@dirrm %%SITE_PERL%%/MooseX/HasDefaults/Meta
@dirrm %%SITE_PERL%%/MooseX/HasDefaults
@dirrmtry %%SITE_PERL%%/MooseX