1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-07 11:49:40 +00:00
Dag-Erling Smørgrav 5b543262ea net/measurement-kit: Drop ca_root_nss dependency.
Since this piece of software is no longer maintained, we don't strive
for elegance but simply hack the configure script to stop requiring a
trust bundle and the code to use the system trust store instead.

MFH:		2023Q4
Reviewed by:	egypcio
Differential Revision:	https://reviews.freebsd.org/D42040
2023-10-03 17:09:30 +02:00

44 lines
1.1 KiB
Makefile

PORTNAME= measurement-kit
DISTVERSIONPREFIX= v
DISTVERSION= 0.10.14
PORTREVISION= 1
CATEGORIES= net devel
MAINTAINER= egypcio@FreeBSD.org
COMMENT= Portable C++14 network measurement library
WWW= https://measurement-kit.github.io/
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libcurl.so:ftp/curl \
libevent.so:devel/libevent \
libmaxminddb.so:net/libmaxminddb
USES= autoreconf:build compiler:c++14-lang libtool ssl
USE_GITHUB= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-libcurl=${LOCALBASE} \
--with-libevent=${LOCALBASE} \
--with-libmaxminddb=${LOCALBASE} \
--with-openssl=${OPENSSLBASE}
CONFIGURE_ENV= CC=${CC} \
CXX=${CXX}
INSTALL_TARGET= install-strip
PORTDOCS= README.md include/README.md
OPTIONS_DEFINE= DOCS
do-configure:
@(cd ${WRKSRC} && ${SH} autogen.sh --no-geoip && \
${SETENV} ${CONFIGURE_ENV} ${SH} configure ${CONFIGURE_ARGS})
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}/include
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/include/measurement_kit/README.md ${STAGEDIR}${DOCSDIR}/include
.include <bsd.port.mk>