aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/pktstat/Makefile
blob: 5358c9a1794ffadf39a65df4f21f5514814fe528 (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
# New ports collection makefile for:    pktstat
# Date created:     5 April 2007
# Whom:         Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   pktstat
PORTVERSION=    1.8.4
CATEGORIES= net-mgmt
MASTER_SITES=   http://www.adaptive-enterprises.com.au/~d/software/pktstat/ CENKES

MAINTAINER= ports@FreeBSD.org
COMMENT=    Network traffic viewer

GNU_CONFIGURE=  yes
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>