1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/net-mgmt/tcpreplay/Makefile
2013-03-08 14:00:30 +00:00

29 lines
714 B
Makefile

# Created by: cnh@ivmg.net
# $FreeBSD$
PORTNAME= tcpreplay
PORTVERSION= 3.4.4
CATEGORIES= net-mgmt
MASTER_SITES= SF
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Tool to replay saved packet capture files
BUILD_DEPENDS= pcapnav-config:${PORTSDIR}/net/libpcapnav
GNU_CONFIGURE= yes
MAKE_JOBS_SAFE= yes
CONFIGURE_ARGS= --program-transform-name='s|.*\(tcp.*\)|\1|' \
--with-pcapnav-config=${LOCALBASE}/bin/pcapnav-config \
--enable-tcpreplay-edit
MAN1= tcpreplay.1 tcpprep.1 tcprewrite.1 tcpbridge.1 tcpreplay-edit.1
PLIST_FILES= bin/tcpreplay bin/tcpprep bin/tcprewrite bin/tcpbridge \
bin/tcpreplay-edit
post-patch:
@${REINPLACE_CMD} -e 's|-Wall -O3||' ${WRKSRC}/${CONFIGURE_SCRIPT}
.include <bsd.port.mk>