# Ports collection makefile for:	Geometry-Primitive
# Date created:			2008/08/30
# Whom:	      			chinsan
#
# $FreeBSD: ports/graphics/p5-Geometry-Primitive/Makefile,v 1.15 2012/03/13 16:15:07 pgollucci Exp $
#

PORTNAME=	Geometry-Primitive
PORTVERSION=	0.22
CATEGORIES=	graphics perl5
MASTER_SITES=	CPAN
MASTER_SITE_SUBDIR=	CPAN:GPHAT
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@FreeBSD.org
COMMENT=	Primitive Geometry Entities

RUN_DEPENDS=	p5-Check-ISA>=0.04:${PORTSDIR}/devel/p5-Check-ISA \
		p5-JSON-Any>=1.22:${PORTSDIR}/converters/p5-JSON-Any \
		p5-Moose>=0.92:${PORTSDIR}/devel/p5-Moose \
		p5-MooseX-Clone>=0.04:${PORTSDIR}/devel/p5-MooseX-Clone \
		p5-MooseX-Storage>=0.17:${PORTSDIR}/devel/p5-MooseX-Storage
BUILD_DEPENDS=	${RUN_DEPENDS}

PERL_CONFIGURE=	YES

MAN3=		Geometry::Primitive.3 \
		Geometry::Primitive::Arc.3 \
		Geometry::Primitive::Bezier.3 \
		Geometry::Primitive::Circle.3 \
		Geometry::Primitive::Dimension.3 \
		Geometry::Primitive::Ellipse.3 \
		Geometry::Primitive::Equal.3 \
		Geometry::Primitive::Line.3 \
		Geometry::Primitive::Point.3 \
		Geometry::Primitive::Polygon.3 \
		Geometry::Primitive::Rectangle.3 \
		Geometry::Primitive::Shape.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 501001
RUN_DEPENDS+=	p5-Math-Complex>=1.56:${PORTSDIR}/math/p5-Math-Complex
.endif

.include <bsd.port.post.mk>
