aboutsummaryrefslogtreecommitdiffstats
path: root/net/p5-Net-Frame-Dump/Makefile
blob: c7d755fa2c48e1f2ce1913b1004ebc1e05a84a72 (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
33
34
35
36
37
38
39
40
41
# New ports collection makefile for:    Net-Frame-Dump
# Date created:    08 Jan 2007
# Whom:        Cheng-Lung Sung <clsung@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   Net-Frame-Dump
PORTVERSION=    1.00
CATEGORIES= net perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Net
PKGNAMEPREFIX=  p5-

MAINTAINER= clsung@FreeBSD.org
COMMENT=    Tcpdump like perl implementation

BUILD_DEPENDS=  ${SITE_PERL}/${PERL_ARCH}/Bit/Vector.pm:${PORTSDIR}/math/p5-Bit-Vector \
        ${SITE_PERL}/Net/Frame.pm:${PORTSDIR}/net/p5-Net-Frame \
            p5-Net-Pcap>=0.12:${PORTSDIR}/net/p5-Net-Pcap \
            p5-Class-Gomor>=1.00:${PORTSDIR}/devel/p5-Class-Gomor
RUN_DEPENDS=    ${BUILD_DEPENDS}

PERL_CONFIGURE= yes

MAN3=       Net::Frame::Dump.3 \
        Net::Frame::Dump::Offline.3 \
        Net::Frame::Dump::Online.3 \
        Net::Frame::Dump::Writer.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500703
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes
.endif

.if ${PERL_LEVEL} < 500601
IGNORE=     requires perl 5.6.x or later. Install lang/perl5.8 then try again
.endif

.include <bsd.port.post.mk>