# Created by: tobez
# $FreeBSD: tags/RELEASE_10_3_0/graphics/p5-GraphViz/Makefile 404756 2015-12-29 16:10:15Z sunpoet $

PORTNAME=	GraphViz
PORTVERSION=	2.20
CATEGORIES=	graphics perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@FreeBSD.org
COMMENT=	GraphViz - Perl interface to the GraphViz graphing tool

LICENSE=	ART20
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	dot:${PORTSDIR}/graphics/graphviz \
		p5-File-Which>=1.09:${PORTSDIR}/sysutils/p5-File-Which \
		p5-IPC-Run>=0.60:${PORTSDIR}/devel/p5-IPC-Run \
		p5-Parse-RecDescent>=1.965.001:${PORTSDIR}/devel/p5-Parse-RecDescent \
		p5-XML-Twig>=3.38:${PORTSDIR}/textproc/p5-XML-Twig
RUN_DEPENDS:=	${BUILD_DEPENDS}
BUILD_DEPENDS+=	p5-File-Which>=1.09:${PORTSDIR}/sysutils/p5-File-Which

NO_ARCH=	yes
USES=		perl5 tar:tgz
USE_PERL5=	configure

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 502200
TEST_DEPENDS+=	p5-Test-Simple>=1.001.014:${PORTSDIR}/devel/p5-Test-Simple
.endif

.include <bsd.port.post.mk>
