freebsd-ports/net-mgmt/tcpreplay/Makefile
Mathieu Arnold 8d6597e0bb Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:16:16 +00:00

27 lines
565 B
Makefile

# Created by: cnh@ivmg.net
# $FreeBSD$
PORTNAME= tcpreplay
PORTVERSION= 4.1.1
CATEGORIES= net-mgmt
MASTER_SITES= SF
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Tool to replay saved packet capture files
LICENSE= GPLv3
BUILD_DEPENDS= pcapnav-config:net/libpcapnav
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-transform-name='s|.*\(tcp.*\)|\1|' \
--with-pcapnav-config=${LOCALBASE}/bin/pcapnav-config
post-patch:
@${REINPLACE_CMD} -e 's|-Wall -O3||' ${WRKSRC}/${CONFIGURE_SCRIPT}
regression-test: build
@cd ${WRKSRC} && ${MAKE} -s test
.include <bsd.port.mk>