freebsd-ports/devel/p5-MooseX-Role-WarnOnConflict/Makefile
Po-Chuan Hsieh b91a0f2776
devel/p5-MooseX-Role-WarnOnConflict: Add p5-MooseX-Role-WarnOnConflict 0.01
When using Moose::Role, a class which provides a method a role provides will
silently override that method. This can cause strange, hard-to-debug errors when
the role's methods are not called. Simply use MooseX::Role::WarnOnConflict
instead of Moose::Role and overriding a role's method becomes a composition-time
warning. See the synopsis for a resolution.
2022-10-09 23:37:42 +08:00

24 lines
565 B
Makefile

PORTNAME= MooseX-Role-WarnOnConflict
PORTVERSION= 0.01
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Warn if classes override role methods without excluding them
WWW= https://metacpan.org/dist/MooseX-Role-WarnOnConflict
LICENSE= ART20
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= p5-Moose>=0:devel/p5-Moose
TEST_DEPENDS= p5-Capture-Tiny>=0:devel/p5-Capture-Tiny \
p5-Test-Most>=0:devel/p5-Test-Most
USES= perl5
USE_PERL5= configure
NO_ARCH= yes
.include <bsd.port.mk>