2008-11-16 16:10:10 +01:00
|
|
|
# $NetBSD: Makefile,v 1.46 2008/11/16 15:10:10 adrianp Exp $
|
1999-04-07 14:54:16 +02:00
|
|
|
|
2008-10-30 09:12:34 +01:00
|
|
|
DISTNAME= libpcap-1.0.0
|
2008-11-16 16:10:10 +01:00
|
|
|
PKGREVISION= 2
|
2007-10-08 22:38:17 +02:00
|
|
|
SVR4_PKGNAME= lpcap
|
|
|
|
CATEGORIES= net
|
2007-02-22 20:26:05 +01:00
|
|
|
MASTER_SITES= http://www.tcpdump.org/release/
|
1999-04-07 14:54:16 +02:00
|
|
|
|
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
|
1999-04-07 14:54:16 +02:00
|
|
|
|
2005-03-12 06:24:50 +01:00
|
|
|
NOT_FOR_PLATFORM+= Interix-*-* # no raw interface access
|
|
|
|
|
2008-02-29 01:38:12 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
2004-04-08 20:08:52 +02:00
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
2008-11-07 12:51:10 +01:00
|
|
|
INSTALLATION_DIRS= bin
|
2004-04-08 20:08:52 +02:00
|
|
|
|
2005-05-22 22:07:36 +02:00
|
|
|
USE_TOOLS+= bison gm4 lex
|
2005-08-10 15:48:22 +02:00
|
|
|
USE_LIBTOOL= yes
|
2007-10-08 22:38:17 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2008-11-16 16:10:10 +01:00
|
|
|
PLIST_VARS+= SunOS std
|
1999-04-07 14:54:16 +02:00
|
|
|
|
2001-08-24 13:13:36 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2005-09-06 05:26:14 +02:00
|
|
|
.if exists(/usr/include/netinet/ip6.h)
|
2002-02-13 16:25:16 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-ipv6
|
2001-08-24 13:13:36 +02:00
|
|
|
.endif
|
|
|
|
|
2008-11-16 16:10:10 +01:00
|
|
|
.if ${OPSYS} == "SunOS"
|
|
|
|
PLIST.SunOS= yes
|
|
|
|
.else
|
|
|
|
PLIST.std= yes
|
|
|
|
.endif
|
|
|
|
|
2005-08-13 09:04:59 +02:00
|
|
|
post-install:
|
2008-02-29 01:38:12 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/pcap-int.h ${DESTDIR}${PREFIX}/include
|
2005-08-13 09:04:59 +02:00
|
|
|
|
1999-04-07 14:54:16 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|