37578e8456
Bump to nb2
32 lines
792 B
Makefile
32 lines
792 B
Makefile
# $NetBSD: Makefile,v 1.29 2005/08/13 07:04:59 adrianp Exp $
|
|
|
|
DISTNAME= libpcap-0.9.3
|
|
PKGREVISION= 2
|
|
SVR4_PKGNAME= lpcap
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://www.tcpdump.org/release/
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
HOMEPAGE= http://www.tcpdump.org/
|
|
COMMENT= System-independent interface for user-level packet capture
|
|
|
|
NOT_FOR_PLATFORM+= Interix-*-* # no raw interface access
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_TOOLS+= bison gm4 lex
|
|
USE_LIBTOOL= yes
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} == "SunOS" || ${OPSYS} == "Linux" || ${OPSYS} == "NetBSD"
|
|
. if exists(/usr/include/netinet/ip6.h)
|
|
CONFIGURE_ARGS+= --enable-ipv6
|
|
. endif
|
|
.endif
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/pcap-int.h ${PREFIX}/include
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|