# New ports collection makefile for:	p5-Net-ACL
# Date created:		2006-08-25
# Whom:			Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD: ports/net-mgmt/p5-Net-ACL/Makefile,v 1.2 2008/04/17 14:27:50 araujo Exp $
#

PORTNAME=	Net-ACL
PORTVERSION=	0.07
CATEGORIES=	net-mgmt perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	gslin@gslin.org
COMMENT=	Class representing a generic access-list/route-map

RUN_DEPENDS=	p5-Cisco-Reconfig>=0.05:${PORTSDIR}/net-mgmt/p5-Cisco-Reconfig \
		p5-IO-String>=1.02:${PORTSDIR}/devel/p5-IO-String
BUILD_DEPENDS=	${RUN_DEPENDS}

PERL_CONFIGURE=	yes

MAN3=		Net::ACL.3 Net::ACL::Bootstrap.3 Net::ACL::File.3 \
		Net::ACL::File::ASPath.3 Net::ACL::File::Community.3 \
		Net::ACL::File::IPAccess.3 Net::ACL::File::IPAccessExt.3 \
		Net::ACL::File::Prefix.3 Net::ACL::File::RouteMap.3 \
		Net::ACL::File::Standard.3 Net::ACL::IPAccessExtRule.3 \
		Net::ACL::Match.3 Net::ACL::Match::IP.3 \
		Net::ACL::Match::List.3 Net::ACL::Match::Member.3 \
		Net::ACL::Match::Prefix.3 Net::ACL::Match::Regexp.3 \
		Net::ACL::Match::Scalar.3 Net::ACL::RouteMapRule.3 \
		Net::ACL::Rule.3 Net::ACL::Set.3 Net::ACL::Set::Add.3 \
		Net::ACL::Set::Scalar.3 Net::ACL::Set::Union.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500703
RUN_DEPENDS+=	${SITE_PERL}/${PERL_ARCH}/List/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils
.endif

.include <bsd.port.post.mk>
