# New ports collection makefile for:	Net-Pcap
# Date created:		10 Dec 2001
# Whom:			Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD: branches/RELENG_9_1_0/net/p5-Net-Pcap/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	Net-Pcap
PORTVERSION=	0.16
CATEGORIES=	net perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@FreeBSD.org
COMMENT=	Interface to pcap(3) LBL packet capture library

RUN_DEPENDS=	p5-IO-Interface>=0:${PORTSDIR}/net/p5-IO-Interface
TEST_DEPENDS=	p5-Socket>=0:${PORTSDIR}/net/p5-Socket \
		p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception

PERL_CONFIGURE=	yes

MAN1=		pcapinfo.1
MAN3=		Net::Pcap.3

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 800000
EXTRA_PATCHES+=	${FILESDIR}/extra-patch-t__03-openlive.t
.endif

.include <bsd.port.post.mk>
