aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/tcpreplay/Makefile
blob: 3b008ae2da6079108768494046563ad8f0d0ec8d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# New ports collection makefile for:   tcpreplay
# Date created:        2 November 2000
# Whom:                cnh@ivmg.net
#
# $FreeBSD$
#

PORTNAME=   tcpreplay
PORTVERSION=    2.2.2
CATEGORIES= net-mgmt
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= smace@FreeBSD.org
COMMENT=    A tool to replay saved packet capture files

BUILD_DEPENDS=  ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet-devel \
        ${LOCALBASE}/lib/libpcap.a:${PORTSDIR}/net/libpcap

GNU_CONFIGURE=  yes
# Pickup correct pcap.h; CFLAGS gets overwritten
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include"
CONFIGURE_ARGS= --with-libpcap=${LOCALBASE} \
        --without-pcapnav-config

MAN1=       capinfo.1 tcpprep.1 pcapmerge.1 flowreplay.1
MAN8=       tcpreplay.8

PLIST_FILES=    bin/capinfo bin/pcapmerge bin/tcpprep sbin/tcpreplay bin/flowreplay

.include <bsd.port.mk>