summaryrefslogtreecommitdiff
path: root/net/nethogs/Makefile
blob: a21eeaf6b48ac5e1ea0b630fe1c7df56d115ae27 (plain)
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

PORTNAME=	nethogs
PORTVERSION=	0.8.5
DISTVERSIONPREFIX=	v
PORTREVISION=	1
CATEGORIES=	net

MAINTAINER=	anastasios@mageirias.com
COMMENT=	Small net top tool

LICENSE=	GPLv2+
LICENSE_FILE=	${WRKSRC}/COPYING

BROKEN_i386=	non-constant-expression cannot be narrowed from type 'unsigned int' to 'time_t' (aka 'int') in initializer list

USE_GITHUB=	yes
GH_ACCOUNT=	raboof

USES=	compiler:c++11-lang gmake shebangfix

SHEBANG_FILES=	determineVersion.sh
bash_CMD=	/bin/sh

PLIST_FILES=	man/man8/nethogs.8.gz \
		sbin/nethogs

post-install:
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/nethogs

.include <bsd.port.mk>