775f103325
not set, but that cannot be altered once set. If you try to alter the value of an attribute with the SetOnce trait, either by accessor or writer, and the attribute has a value, it will throw an exception. WWW: http://search.cpan.org/dist/MooseX-SetOnce/ This new port is needed to update www/p5-HTML-FormFu.
26 lines
587 B
Makefile
26 lines
587 B
Makefile
# New ports collection makefile for: MooseX-SetOnce
|
|
# Date created: 2011-04-03
|
|
# Whom: Frederic Culot <culot@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= MooseX-SetOnce
|
|
PORTVERSION= 0.100473
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= CPAN
|
|
MASTER_SITE_SUBDIR= CPAN:RJBS
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= perl@FreeBSD.org
|
|
COMMENT= Write-once, read-many attributes for Moose
|
|
|
|
RUN_DEPENDS= p5-Moose>=0.90:${PORTSDIR}/devel/p5-Moose
|
|
BUILD_DEPENDS:= ${RUN_DEPENDS}
|
|
TEST_DEPENDS= p5-Test-Fatal>=0:{PORTSDIR}/devel/p5-Test-Fatal
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
MAN3= MooseX::SetOnce.3
|
|
|
|
.include <bsd.port.mk>
|