aboutsummaryrefslogtreecommitdiffstats
path: root/net/p5-Net-Pcap/Makefile
blob: 21b30754f79fc18d77271c5e8cb82391f6d2795c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# New ports collection makefile for:    Net-Pcap
# Date created:     10 Dec 2001
# Whom:         Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#

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=    ${SITE_PERL}/${PERL_ARCH}/IO/Interface.pm:${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>