pkgsrc/net/p5-Net-Pcap/Makefile
mef b605fe6caa Updated net/p5-Net-Pcap to 0.18
-------------------------------
0.18 - 2016-05-15 - Sebastien Aperghis-Tramoni (SAPER)

  [Bugfixes]
  - CPAN RT #77807: Net::Pcap is no longer limited to one callback function,
    thanks to a patch by James Rouzier.
  - CPAN RT #55163: Typo in eg/pcapdump (Iain Arnell and Jose Pedro Oliveira).
  - CPAN RT #83842: Typo in Net:Pcap (Xavier Guimard).

  [API]
  - Added pcap_offline_filter() (Martijn Lievaart).

  [Code]
  - use warnings (David Farrell).

  [Documentation]
  - Moved HISTORY from README to main documentation.
  - Rewrote AUTHORS to acknowledge all contributors.
  - Updated copyright years.

  [Tests]
  - Added timeouts to prevent tests from hanging (Patrice Auffret).
  - t/17-lib_version.t: adjust regexp to match Apple builds (David Farrell).
  - t/50-poe-component-pcap.t: small improvments.
  - Added t/50-net-pcap-easy.t to test with Net::Pcap::Easy.
  - Added t/50-anyevent-pcap.t to test with AnyEvent::Pcap.
  - Make t/50-* pass with old versions of Test::More

  [Distribution]
  - Converted the Changes file to CPAN::Changes::Spec format.
  - Makefile.PL: append CCFLAGS to $Config{ccflags} instead of overriding it.
  - Makefile.PL: now dies when libpcap isn't found.
  - Makefile.PL: declare minimum Perl version (David Farrell).
2016-08-01 12:34:11 +00:00

32 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.30 2016/08/01 12:34:11 mef Exp $
#
DISTNAME= Net-Pcap-0.18
PKGNAME= p5-${DISTNAME}
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'
SUBST_CLASSES+= pcaplib
SUBST_STAGE.pcaplib= pre-configure
SUBST_FILES.pcaplib= Makefile.PL
SUBST_SED.pcaplib= -e 's,@PCAP_LIBDIR@,${BUILDLINK_PREFIX.libpcap}/lib,'
.include "../../lang/perl5/module.mk"
.include "../../net/libpcap/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"