1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/net/nethogs/Makefile
Piotr Kubaj ec12766678 net/nethogs: fix build on GCC architectures
Needs C++11 compiler:
inode2prog.cpp: In function 'std::string getprogname(pid_t)':
inode2prog.cpp:123: error: 'snprintf' is not a member of 'std'

Approved by:	mentors (implicit approval)
2019-09-27 09:16:39 +00:00

32 lines
619 B
Makefile

# $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>