aboutsummaryrefslogtreecommitdiff
path: root/net/nethogs/Makefile
blob: 9f41d2f61462e6cc06792d8f1d4d3a9e669dc194 (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
30
31
# $FreeBSD$

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>