aboutsummaryrefslogtreecommitdiff
path: root/net/p5-Net-Packet/Makefile
blob: 6843302e0a77a10d2c03e787914c8eb369227851 (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
# New ports collection makefile for:	Net-Packet
# Date created:				01 Feb 2005
# Whom:					GomoR <netpkt@gomor.org>
#
# $FreeBSD$
#

PORTNAME=	Net-Packet
DISTVERSION=	3.25
CATEGORIES=	net perl5
MASTER_SITES=	CPAN
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-Net-IPv6Addr>=0.2:${PORTSDIR}/net-mgmt/p5-Net-IPv6Addr \
		p5-Net-Libdnet>=0.01:${PORTSDIR}/net/p5-Net-Libdnet \
		p5-Net-Write>=1.00:${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

MAN3=	Net::Packet.3 Net::Packet::ARP.3 Net::Packet::CDP.3 Net::Packet::CDP::Address.3 \
Net::Packet::CDP::Type.3 Net::Packet::CDP::TypeAddresses.3 Net::Packet::CDP::TypeCapabilities.3 \
Net::Packet::CDP::TypeDeviceId.3 Net::Packet::CDP::TypePortId.3 \
Net::Packet::CDP::TypeSoftwareVersion.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::IGMPv4.3 \
Net::Packet::IPv4.3 Net::Packet::IPv6.3 Net::Packet::LLC.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::OSPF.3 Net::Packet::PPP.3 Net::Packet::PPPLCP.3 Net::Packet::PPPoE.3 Net::Packet::RAW.3 \
Net::Packet::SLL.3 Net::Packet::STP.3 Net::Packet::TCP.3 Net::Packet::UDP.3 Net::Packet::Utils.3 \
Net::Packet::VLAN.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>