1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/net-mgmt/pktstat/Makefile
Andrew Pantyukhin e4c03bc5da Add port net-mgmt/pktstat:
Pktstat listens to the network and shows the bandwidth being consumed
by packets of various kinds in realtime. It understands some protocols
(including FTP, HTTP, and X11) and adds a descriptive name next to the
entry.

WWW: http://www.adaptive-enterprises.com.au/~d/software/pktstat/
Author: David Leonard <leonard at users.sourceforge.net>

Adapted from:	OpenBSD port
2007-04-05 07:51:52 +00:00

26 lines
636 B
Makefile

# New ports collection makefile for: pktstat
# Date created: 5 April 2007
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= pktstat
PORTVERSION= 1.8.3
CATEGORIES= net-mgmt
MASTER_SITES= http://www.adaptive-enterprises.com.au/~d/software/pktstat/ CENKES
MAINTAINER= infofarmer@FreeBSD.org
COMMENT= Network traffic viewer
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --mandir=${MANPREFIX}/man
MAN1= ${PORTNAME}.1
PLIST_FILES= bin/${PORTNAME}
post-patch:
@${REINPLACE_CMD} '/struct arphdr/d' ${WRKSRC}/ether.c
@${REINPLACE_CMD} -e 's/IPPORT_USERRESERVED/IPPORT_RESERVED/' ${WRKSRC}/tcp.c
.include <bsd.port.mk>