PORTNAME=	RRDTool-OO
DISTVERSION=	0.36
PORTREVISION=	2
CATEGORIES=	devel perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	bofh@FreeBSD.org
COMMENT=	Object-oriented interface to RRDTool
WWW=		https://metacpan.org/release/RRDTool-OO

LICENSE=	ART10 GPLv1+
LICENSE_COMB=	dual

BUILD_DEPENDS=	${RUN_DEPENDS}
RUN_DEPENDS=	rrdtool>=0:databases/rrdtool \
		p5-Log-Log4perl>=0.40:devel/p5-Log-Log4perl

USES=		perl5
USE_PERL5=	configure

post-patch:
	@${REINPLACE_CMD} -e 's|1.2011|1.10002|g' ${WRKSRC}/Makefile.PL

.include <bsd.port.mk>
