freebsd-ports/benchmarks/flowgrind/Makefile

30 lines
634 B
Makefile

# Created by: Lars Eggert <lars@eggert.org>
# $FreeBSD$
PORTNAME= flowgrind
PORTVERSION= 0.7.5
PORTREVISION= 1
DISTVERSIONPREFIX= ${PORTNAME}-
CATEGORIES= benchmarks
MAINTAINER= ports@FreeBSD.org
COMMENT= Measure throughput and other metrics for TCP
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libgsl.so:math/gsl \
libxmlrpc.so:net/xmlrpc-c
USE_GITHUB= yes
USES= autoreconf
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-pcap --enable-gsl
CONFIGURE_ENV= LIBS="${LIBS} -lpcap"
post-patch:
@${RM} -rf ${WRKSRC}/build-aux
@${REINPLACE_CMD} -e 's|AC_LIB_RPATH||g' ${WRKSRC}/configure.ac
.include <bsd.port.mk>