Tweak net-mgmt/tcpreplay version 4.1.1
[dports.git] / net-mgmt / tcpreplay / Makefile
1 # Created by: cnh@ivmg.net
2 # $FreeBSD$
3
4 PORTNAME=       tcpreplay
5 PORTVERSION=    4.1.1
6 CATEGORIES=     net-mgmt
7 MASTER_SITES=   SF
8
9 MAINTAINER=     ehaupt@FreeBSD.org
10 COMMENT=        Tool to replay saved packet capture files
11
12 LICENSE=        GPLv3
13
14 BUILD_DEPENDS=  pcapnav-config:net/libpcapnav
15
16 GNU_CONFIGURE=  yes
17
18 CONFIGURE_ARGS= --program-transform-name='s|.*\(tcp.*\)|\1|' \
19                 --with-pcapnav-config=${LOCALBASE}/bin/pcapnav-config
20
21 post-patch:
22         @${REINPLACE_CMD} -e 's|-Wall -O3||' ${WRKSRC}/${CONFIGURE_SCRIPT}
23
24 regression-test: build
25         @cd ${WRKSRC} && ${MAKE} -s test
26
27 .include <bsd.port.mk>