# Created by: ijliao
# $FreeBSD: graphics/p5-Chart-Graph/Makefile 331644 2013-10-26 00:52:33Z gerald $

PORTNAME=	Chart-Graph
PORTVERSION=	3.2
PORTREVISION=	6
CATEGORIES=	graphics perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Perl extension for a front-end to gnuplot, XRT, and Xmgrace

RUN_DEPENDS=	gnuplot:${PORTSDIR}/math/gnuplot \
		xmgrace:${PORTSDIR}/math/grace \
		ppmtogif:${PORTSDIR}/graphics/netpbm

USES=		perl5
USE_PERL5=	configure

MAN3=	Chart::Graph.3 \
	Chart::Graph::Gnuplot.3 \
	Chart::Graph::Xmgrace.3 \
	Chart::Graph::Xrt2d.3 \
	Chart::Graph::Xrt3d.3

NO_STAGE=	yes
post-patch:
	@${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE}," ${WRKSRC}/Makefile.PL

.include <bsd.port.mk>
