# Created by: Olivier Tharan <olive@oban.frmug.org>
# $FreeBSD: head/net/nload/Makefile 408179 2016-02-05 12:47:48Z marino $

PORTNAME=	nload
PORTVERSION=	0.7.4
CATEGORIES=	net
MASTER_SITES=	http://www.roland-riegel.de/nload/ \
		LOCAL/ehaupt

MAINTAINER=	ehaupt@FreeBSD.org
COMMENT=	Console application which monitors network traffic in real time

LICENSE=	GPLv2

USES=		ncurses
GNU_CONFIGURE=	yes

PLIST_FILES=	bin/nload man/man1/nload.1.gz

post-patch:
	@${REINPLACE_CMD} -e "s|\(/etc/nload\.conf\)|${PREFIX}\1|" \
		${WRKSRC}/docs/nload.1.in ${WRKSRC}/src/main.cpp

.include <bsd.port.mk>