# New ports collection makefile for:	p5-Net-CLI-Interact
# Date created:		2011-10-05
# Whom:			Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
#
# $FreeBSD: ports/net/p5-Net-CLI-Interact/Makefile,v 1.7 2012/03/13 16:15:15 pgollucci Exp $
#

PORTNAME=	Net-CLI-Interact
PORTVERSION=	1.120.670
CATEGORIES=	net perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-
DISTNAME=	${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E}

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	Toolkit for CLI Automation

BUILD_DEPENDS=	p5-IO-Tty>=0:${PORTSDIR}/devel/p5-IO-Tty \
		p5-IPC-Run>=0:${PORTSDIR}/devel/p5-IPC-Run \
		p5-Log-Dispatch-Config>=0:${PORTSDIR}/devel/p5-Log-Dispatch-Config \
		p5-Log-Dispatch-Configurator-Any>=0:${PORTSDIR}/devel/p5-Log-Dispatch-Configurator-Any \
		p5-Moose>=2:${PORTSDIR}/devel/p5-Moose \
		p5-Net-Telnet>=0:${PORTSDIR}/net/p5-Net-Telnet \
		p5-Path-Class>=0:${PORTSDIR}/devel/p5-Path-Class
RUN_DEPENDS:=	${BUILD_DEPENDS}

PERL_CONFIGURE=	yes

MAN3=		Net::CLI::Interact.3 \
		Net::CLI::Interact::Action.3 \
		Net::CLI::Interact::ActionSet.3 \
		Net::CLI::Interact::Logger.3 \
		Net::CLI::Interact::Manual::Cookbook.3 \
		Net::CLI::Interact::Manual::Phrasebook.3 \
		Net::CLI::Interact::Manual::Tutorial.3 \
		Net::CLI::Interact::Phrasebook.3 \
		Net::CLI::Interact::Role::Engine.3 \
		Net::CLI::Interact::Role::Iterator.3 \
		Net::CLI::Interact::Role::Prompt.3 \
		Net::CLI::Interact::Transport.3 \
		Net::CLI::Interact::Transport::SSH.3 \
		Net::CLI::Interact::Transport::Serial.3 \
		Net::CLI::Interact::Transport::Telnet.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 501001
TEST_DEPENDS+=	p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple
.endif

.include <bsd.port.post.mk>
