82b92aa53b
Adds a "COMPONENT" method to your Catalyst component base class that reads the optional traits parameter from app and component config and instantiates the component subclass with those traits using "new_with_traits" in MooseX::Traits from MooseX::Traits::Pluggable.
23 lines
500 B
Makefile
23 lines
500 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2012/04/08 21:06:25 sthen Exp $
|
|
|
|
COMMENT = automatic trait loading and resolution
|
|
|
|
MODULES = cpan
|
|
DISTNAME = CatalystX-Component-Traits-0.16
|
|
CATEGORIES = www
|
|
|
|
# same as perl
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
RUN_DEPENDS = www/p5-Catalyst-Runtime \
|
|
devel/p5-List-MoreUtils \
|
|
devel/p5-MooseX-Traits-Pluggable \
|
|
devel/p5-namespace-autoclean
|
|
|
|
CONFIGURE_STYLE = modinst
|
|
|
|
.include <bsd.port.mk>
|