blob: 0f6e674e3035de962709cb91033a430e15aa7959 (
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
|
# $NetBSD: Makefile,v 1.25 2014/05/29 23:37:09 wiz Exp $
#
DISTNAME= Net-Pcap-0.16
PKGNAME= p5-${DISTNAME}
PKGREVISION= 7
CATEGORIES= net perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Net/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/Net-Pcap/
COMMENT= Perl interface to pcap(3) LBL packet capture library
LICENSE= ${PERL5_LICENSE}
DEPENDS+= p5-IO-Interface-[0-9]*:../../net/p5-IO-Interface
# Used during test, doesn't work properly:
# BUILD_DEPENDS+= p5-Test-Distribution-[0-9]*:../../devel/p5-Test-Distribution
BUILDLINK_API_DEPENDS.libpcap+= libpcap>=0.9.5
PERL5_PACKLIST= auto/Net/Pcap/.packlist
MAKE_PARAMS+= INC=-I${BUILDLINK_PREFIX.libpcap}/include
MAKE_PARAMS+= LIBS='-L${BUILDLINK_PREFIX.libpcap}/lib ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libpcap}/lib -lpcap'
.include "../../lang/perl5/module.mk"
.include "../../net/libpcap/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|