1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/net/libpcap/Makefile
Renato Botelho c62ccf3104 net/libpcap: Update to 1.10.4
Sponsored by:	Rubicon Communications, LLC ("Netgate")
2023-04-26 11:06:16 -03:00

37 lines
717 B
Makefile

PORTNAME= libpcap
PORTVERSION= 1.10.4
CATEGORIES= net
MASTER_SITES= http://www.tcpdump.org/release/
MAINTAINER= garga@FreeBSD.org
COMMENT= Ubiquitous network traffic capture library
WWW= https://www.tcpdump.org/
LICENSE= BSD3CLAUSE
BUILD_DEPENDS= ${LOCALBASE}/bin/flex:textproc/flex
USES= bison cpe gmake ssl
CPE_VENDOR= tcpdump
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--enable-dbus=no \
--with-pcap=bpf
CONFIGURE_ENV+= LEX=${LOCALBASE}/bin/flex
CFLAGS_amd64= -fPIC
CFLAGS_sparc64= -fPIC
PLIST_SUB+= PORTVERSION=${PORTVERSION}
OPTIONS_DEFINE= IPV6 REMOTE
OPTIONS_SUB= yes
REMOTE_DESC= Remote packet capture
IPV6_CONFIGURE_ENABLE= ipv6
REMOTE_CONFIGURE_ENABLE=remote
.include <bsd.port.mk>