72c2343bda
MAN_MISC_INFO and MAN_FILE_FORMATS are in different sections to others so account for this with some PLIST magic. PKGREVISION++
39 lines
866 B
Makefile
39 lines
866 B
Makefile
# $NetBSD: Makefile,v 1.46 2008/11/16 15:10:10 adrianp Exp $
|
|
|
|
DISTNAME= libpcap-1.0.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
|
|
|
|
NOT_FOR_PLATFORM+= Interix-*-* # no raw interface access
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
INSTALLATION_DIRS= bin
|
|
|
|
USE_TOOLS+= bison gm4 lex
|
|
USE_LIBTOOL= yes
|
|
GNU_CONFIGURE= yes
|
|
PLIST_VARS+= SunOS std
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if exists(/usr/include/netinet/ip6.h)
|
|
CONFIGURE_ARGS+= --enable-ipv6
|
|
.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"
|