aboutsummaryrefslogtreecommitdiffstats
path: root/net/p5-Net-Packet/Makefile
blob: ae78b165a70953a18e46bc137e50a236054434a1 (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# New ports collection makefile for:    Net-Packet
# Date created:             01 Feb 2005
# Whom:                 GomoR <netpkt@gomor.org>
#
# $FreeBSD$
#

PORTNAME=   Net-Packet
DISTVERSION=    3.20
CATEGORIES= net perl5
MASTER_SITES=   CPAN/../by-authors/id/G/GO/GOMOR
PKGNAMEPREFIX=  p5-

MAINTAINER= netpkt@gomor.org
COMMENT=    Send and receive frames from layer 2 to layer 7

BUILD_DEPENDS=  p5-Bit-Vector>=6.4:${PORTSDIR}/math/p5-Bit-Vector \
        p5-Class-Gomor>=1.00:${PORTSDIR}/devel/p5-Class-Gomor \
        p5-IO-Interface>=1.02:${PORTSDIR}/net/p5-IO-Interface \
        p5-Net-IPv6Addr>=0.2:${PORTSDIR}/net-mgmt/p5-Net-IPv6Addr \
        p5-Net-Libdnet>=0.01:${PORTSDIR}/net/p5-Net-Libdnet \
        p5-Net-Write>=0.82:${PORTSDIR}/net/p5-Net-Write \
        p5-Net-Pcap>=0.14:${PORTSDIR}/net/p5-Net-Pcap \
        p5-Socket6>=0.19:${PORTSDIR}/net/p5-Socket6 \
        p5-Storable>=2.15:${PORTSDIR}/devel/p5-Storable \
        p5-Time-HiRes>=1.90,1:${PORTSDIR}/devel/p5-Time-HiRes
RUN_DEPENDS:=   ${BUILD_DEPENDS}

PERL_CONFIGURE= yes
ONLY_FOR_ARCHS=     i386 amd64 alpha
ONLY_FOR_ARCHS_REASON=  Big endian architectures not supported yet

MAN3=       Net::Packet.3 \
        Net::Packet::ARP.3 \
        Net::Packet::Consts.3 \
        Net::Packet::Desc.3 \
        Net::Packet::DescL2.3 \
        Net::Packet::DescL3.3 \
        Net::Packet::DescL4.3 \
        Net::Packet::Dump.3 \
        Net::Packet::ETH.3 \
        Net::Packet::Env.3 \
        Net::Packet::Frame.3 \
        Net::Packet::ICMPv4.3 \
        Net::Packet::IPv4.3 \
        Net::Packet::IPv6.3 \
        Net::Packet::Layer.3 \
        Net::Packet::Layer2.3 \
        Net::Packet::Layer3.3 \
        Net::Packet::Layer4.3 \
        Net::Packet::Layer7.3 \
        Net::Packet::NULL.3 \
        Net::Packet::RAW.3 \
        Net::Packet::SLL.3 \
        Net::Packet::TCP.3 \
        Net::Packet::UDP.3 \
        Net::Packet::Utils.3 \
        Net::Packet::VLAN.3 \
        Net::Packet::CDP::Type.3 \
        Net::Packet::PPPoE.3 \
        Net::Packet::CDP::TypeDeviceId.3 \
        Net::Packet::PPP.3 \
        Net::Packet::CDP.3 \
        Net::Packet::LLC.3 \
        Net::Packet::PPPLCP.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500600
IGNORE= requires perl 5.6.0 or higher. Please install lang/perl5.8 and try again
.endif

.include <bsd.port.post.mk>