freebsd-ports/net-mgmt/tcpreplay/Makefile
Sergey Matveychuk e1c4707bab libnet update:
- move 1.0 obsoleted version to net/libnet10
  net/libnet is latest Stable Version
  net/libnet is latest Beta Version

- Fix all depended ports with a new DEPENDS scheme

- While I'm here fix security/yersinia build on 4.x
  (getopt_long and ncurses issues)

PR:		ports/85519 (based on)
Submitted by:	Stas Yakovlev <stas.yakovlev_at_gmail.com>
2005-11-14 17:07:08 +00:00

32 lines
854 B
Makefile

# New ports collection makefile for: tcpreplay
# Date created: 2 November 2000
# Whom: cnh@ivmg.net
#
# $FreeBSD$
#
PORTNAME= tcpreplay
PORTVERSION= 2.2.2
PORTREVISION= 1
CATEGORIES= net-mgmt
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= A tool to replay saved packet capture files
BUILD_DEPENDS= libnet*>=1.1.2,1:${PORTSDIR}/net/libnet \
${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>