pkgsrc/net/libpcap/Makefile

40 lines
866 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.46 2008/11/16 15:10:10 adrianp Exp $
DISTNAME= libpcap-1.0.0
PKGREVISION= 2
2007-10-08 22:38:17 +02:00
SVR4_PKGNAME= lpcap
CATEGORIES= net
MASTER_SITES= http://www.tcpdump.org/release/
2007-10-08 22:38:17 +02:00
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.tcpdump.org/
COMMENT= System-independent interface for user-level packet capture
2005-03-12 06:24:50 +01:00
NOT_FOR_PLATFORM+= Interix-*-* # no raw interface access
PKG_DESTDIR_SUPPORT= user-destdir
2004-04-08 20:08:52 +02:00
PKG_INSTALLATION_TYPES= overwrite pkgviews
INSTALLATION_DIRS= bin
2004-04-08 20:08:52 +02:00
USE_TOOLS+= bison gm4 lex
USE_LIBTOOL= yes
2007-10-08 22:38:17 +02:00
GNU_CONFIGURE= yes
PLIST_VARS+= SunOS std
2001-08-24 13:13:36 +02:00
.include "../../mk/bsd.prefs.mk"
.if exists(/usr/include/netinet/ip6.h)
CONFIGURE_ARGS+= --enable-ipv6
2001-08-24 13:13:36 +02:00
.endif
.if ${OPSYS} == "SunOS"
PLIST.SunOS= yes
.else
PLIST.std= yes
.endif
post-install:
${INSTALL_DATA} ${WRKSRC}/pcap-int.h ${DESTDIR}${PREFIX}/include
.include "../../mk/bsd.pkg.mk"