freebsd-ports/net/libpcap/Makefile
Renato Botelho 08a9c4db98 */*: Restore GNU_CONFIGURE on my ports
I made a mistake and changed these ports to HAS_CONFIGURE when working
on MANPREFIX sanitization.  Restore proper macro usage and set
GNU_CONFIGURE_MANPREFIX properly to keep manpages installed under
${PREFIX}/share.

Reported by:	danfe
Sponsored by:	Rubicon Communications, LLC ("Netgate")
2024-01-16 11:02:42 -03:00

38 lines
752 B
Makefile

PORTNAME= libpcap
PORTVERSION= 1.10.4
PORTREVISION= 2
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
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
CONFIGURE_ARGS+=--enable-dbus=no \
--with-pcap=bpf
CONFIGURE_ENV+= LEX=${LOCALBASE}/bin/flex
CFLAGS_amd64= -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>