# New ports collection makefile for:	Algorithm-Dependency
# Date created:				20 Nov 2005
# Whom:					Aaron Dalton <aaron@FreeBSD.org>
#
# $FreeBSD: ports/devel/p5-Algorithm-Dependency/Makefile,v 1.8 2008/11/30 17:46:32 leeym Exp $
#

PORTNAME=	Algorithm-Dependency
PORTVERSION=	1.106
CATEGORIES=	devel perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Base class for implementing various dependency trees

RUN_DEPENDS=	p5-Params-Util>=0.06:${PORTSDIR}/devel/p5-Params-Util
BUILD_DEPENDS=	${RUN_DEPENDS}
BUILD_DEPENDS+=	p5-Test-ClassAPI>=0.6:${PORTSDIR}/devel/p5-Test-ClassAPI

MAN3=	Algorithm::Dependency.3 \
	Algorithm::Dependency::Item.3 \
	Algorithm::Dependency::Ordered.3 \
	Algorithm::Dependency::Source.3 \
	Algorithm::Dependency::Source::File.3 \
	Algorithm::Dependency::Source::HoA.3 \
	Algorithm::Dependency::Weight.3

PERL_CONFIGURE=	yes

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500801
RUN_DEPENDS+=	p5-Scalar-List-Utils>=1.11:${PORTSDIR}/lang/p5-Scalar-List-Utils
.endif

.include <bsd.port.post.mk>
