PORTNAME=	MooseX-SimpleConfig
PORTVERSION=	0.11
CATEGORIES=	devel perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@FreeBSD.org
COMMENT=	Moose role for setting attributes from a simple configfile
WWW=		https://metacpan.org/release/MooseX-SimpleConfig

BUILD_DEPENDS=	${RUN_DEPENDS}
RUN_DEPENDS=	p5-Moose>=0.35:devel/p5-Moose \
		p5-MooseX-ConfigFromFile>=0.02:devel/p5-MooseX-ConfigFromFile \
		p5-Config-Any>=0.13:devel/p5-Config-Any

USES=		perl5
USE_PERL5=	configure

post-patch:
	@${REINPLACE_CMD} -e '/auto_install/d' -e '/Test::More/d' \
		${WRKSRC}/Makefile.PL

.include <bsd.port.mk>
