summaryrefslogtreecommitdiff
path: root/net/nethogs/Makefile
blob: bfaaaa3f2577728002c20156dffd2a51987b15a1 (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
25
26
27
28
29
PORTNAME=	nethogs
DISTVERSIONPREFIX=	v
DISTVERSION=	0.8.8
CATEGORIES=	net

MAINTAINER=	anastasios@mageirias.com
COMMENT=	Small net top tool
WWW=		https://github.com/raboof/nethogs

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

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

USE_GITHUB=	yes
GH_ACCOUNT=	raboof

SHEBANG_FILES=	determineVersion.sh
bash_CMD=	/bin/sh

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

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

.include <bsd.port.mk>