summaryrefslogtreecommitdiff
path: root/net/p5-Net-Packet/Makefile
blob: 90fabf91b9b91ea5a4aba39d603866202481df8b (plain)
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
# $NetBSD: Makefile,v 1.8 2009/07/18 18:40:05 sno Exp $

DISTNAME=	Net-Packet-3.26
PKGNAME=	p5-${DISTNAME}
CATEGORIES=	net perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN:=Net/}

MAINTAINER=	pkgsrc-users@NetBSD.org
COMMENT=	Modules to assemble/disassemble network packets
HOMEPAGE=	http://search.cpan.org/dist/Net-Packet/
LICENSE=	artistic

DEPENDS+=	p5-Bit-Vector-[0-9]*:../../devel/p5-Bit-Vector
DEPENDS+=	p5-Class-Gomor>=1.0:../../devel/p5-Class-Gomor
#DEPENDS+=	p5-IO-Interface-[0-9]*:../../net/p5-IO-Interface
DEPENDS+=	p5-Net-IPv6Addr-[0-9]*:../../net/p5-Net-IPv6Addr
DEPENDS+=	p5-Net-Libdnet>=0.91:../../net/p5-Net-Libdnet
DEPENDS+=	p5-Net-Pcap>=0.14:../../net/p5-Net-Pcap
DEPENDS+=	p5-Net-Write>=1.0:../../net/p5-Net-Write
DEPENDS+=	p5-Socket6-[0-9]*:../../net/p5-Socket6

PKG_INSTALLATION_TYPES=		overwrite pkgviews
PKG_DESTDIR_SUPPORT=	user-destdir

BUILDLINK_API_DEPENDS.libpcap+=	libpcap>=0.9.3nb2

PERL5_PACKLIST=		auto/Net/Packet/.packlist

.include "../../mk/endian.mk"
.if ${MACHINE_ENDIAN} == "big"
PKG_SKIP_REASON+=	"Big endian architectures not supported yet"
.endif

.include "../../net/libpcap/buildlink3.mk"
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"