# New ports collection makefile for:	Tree::Simple::VisitorFactory
# Date created:				13 August 2004
# Whom:					Aaron Dalton <aaron@daltons.ca>
#
# $FreeBSD: ports/devel/p5-Tree-Simple-VisitorFactory/Makefile,v 1.6 2005/12/20 15:09:15 aaron Exp $
#

PORTNAME=	Tree-Simple-VisitorFactory
PORTVERSION=	0.10
CATEGORIES=	devel perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR=	Tree
PKGNAMEPREFIX=	p5-

MAINTAINER=	aaron@FreeBSD.org
COMMENT=	A set of visitor objects for traversing Tree::Simple hierarchies

BUILD_DEPENDS=	${SITE_PERL}/Tree/Simple.pm:${PORTSDIR}/devel/p5-Tree-Simple \
		${SITE_PERL}/${PERL_ARCH}/File/Spec.pm:${PORTSDIR}/devel/p5-PathTools \
		${SITE_PERL}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils
RUN_DEPENDS=	${BUILD_DEPENDS}

MAN3=		Tree::Simple::Visitor::BreadthFirstTraversal.3 \
		Tree::Simple::Visitor::FindByPath.3 \
		Tree::Simple::Visitor::GetAllDescendents.3 \
		Tree::Simple::Visitor::PathToRoot.3 \
		Tree::Simple::Visitor::PostOrderTraversal.3 \
		Tree::Simple::VisitorFactory.3 \
		Tree::Simple::Visitor::CreateDirectoryTree.3 \
		Tree::Simple::Visitor::FindByNodeValue.3 \
		Tree::Simple::Visitor::FindByUID.3 \
		Tree::Simple::Visitor::FromNestedArray.3 \
		Tree::Simple::Visitor::FromNestedHash.3 \
		Tree::Simple::Visitor::LoadClassHierarchy.3 \
		Tree::Simple::Visitor::LoadDirectoryTree.3 \
		Tree::Simple::Visitor::PreOrderTraversal.3 \
		Tree::Simple::Visitor::Sort.3 \
		Tree::Simple::Visitor::ToNestedArray.3 \
		Tree::Simple::Visitor::ToNestedHash.3 \
		Tree::Simple::Visitor::VariableDepthClone.3

PERL_CONFIGURE=	yes

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500600
IGNORE=		requires perl 5.6 or above
.endif

.include <bsd.port.post.mk>
