# $NetBSD: Makefile,v 1.53 2013/03/30 22:21:10 tron Exp $ DISTNAME= libpcap-1.3.0 PKGREVISION= 2 SVR4_PKGNAME= lpcap CATEGORIES= net MASTER_SITES= http://www.tcpdump.org/release/ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.tcpdump.org/ COMMENT= System-independent interface for user-level packet capture LICENSE= modified-bsd NOT_FOR_PLATFORM+= Interix-*-* # no raw interface access PKG_INSTALLATION_TYPES= overwrite pkgviews USE_LIBTOOL= yes USE_TOOLS+= bison flex gm4 GNU_CONFIGURE= yes .include "../../mk/bsd.prefs.mk" .if ${OPSYS} == "SunOS" CONFIGURE_ARGS+= --with-pcap=dlpi .endif post-install: ${INSTALL_DATA} ${WRKSRC}/pcap-int.h ${DESTDIR}${PREFIX}/include .include "../../mk/bsd.pkg.mk"