2000-11-29 03:29:03 +01:00
|
|
|
# New ports collection makefile for: tcpreplay
|
|
|
|
# Date created: 2 November 2000
|
|
|
|
# Whom: cnh@ivmg.net
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2001-01-23 09:45:52 +01:00
|
|
|
PORTNAME= tcpreplay
|
2004-06-23 17:41:32 +02:00
|
|
|
PORTVERSION= 2.2.2
|
2004-02-23 05:42:13 +01:00
|
|
|
CATEGORIES= net-mgmt
|
2002-10-10 02:24:03 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2002-04-15 22:03:51 +02:00
|
|
|
|
2002-10-10 02:24:03 +02:00
|
|
|
MAINTAINER= smace@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= A tool to replay saved packet capture files
|
2000-11-29 03:29:03 +01:00
|
|
|
|
2004-06-23 17:41:32 +02:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet-devel \
|
|
|
|
${LOCALBASE}/lib/libpcap.a:${PORTSDIR}/net/libpcap
|
2000-11-29 03:29:03 +01:00
|
|
|
|
2002-04-15 22:03:51 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2004-06-23 17:41:32 +02:00
|
|
|
# Pickup correct pcap.h; CFLAGS gets overwritten
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include"
|
|
|
|
CONFIGURE_ARGS= --with-libpcap=${LOCALBASE} \
|
|
|
|
--without-pcapnav-config
|
2002-04-15 22:03:51 +02:00
|
|
|
|
2004-06-23 17:41:32 +02:00
|
|
|
MAN1= capinfo.1 tcpprep.1 pcapmerge.1 flowreplay.1
|
2002-10-10 02:24:03 +02:00
|
|
|
MAN8= tcpreplay.8
|
2000-11-29 03:29:03 +01:00
|
|
|
|
2004-06-23 17:41:32 +02:00
|
|
|
PLIST_FILES= bin/capinfo bin/pcapmerge bin/tcpprep sbin/tcpreplay bin/flowreplay
|
|
|
|
|
2000-11-29 03:29:03 +01:00
|
|
|
.include <bsd.port.mk>
|