afc508d646
Often you want to create components that can be added to a class arbitrarily. MouseX::Traits makes it easy for the end user to use these components. Instead of requiring the user to create a named class with the desired roles applied, or apply roles to the instance one-by-one, he can just create a new class from yours with with_traits, and then instantiate that. WWW: http://search.cpan.org/dist/MouseX-Traits/
25 lines
580 B
Makefile
25 lines
580 B
Makefile
# New ports collection makefile for: p5-MouseX-Traits
|
|
# Date created: 2011-06-02
|
|
# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= MouseX-Traits
|
|
PORTVERSION= 0.1102
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= CPAN
|
|
MASTER_SITE_SUBDIR= CPAN:GFUJI
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Automatically apply roles at object creation time
|
|
|
|
RUN_DEPENDS= p5-Mouse>=0.81:${PORTSDIR}/devel/p5-Mouse
|
|
TEST_DEPENDS= p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
MAN3= MouseX::Traits.3
|
|
|
|
.include <bsd.port.mk>
|