1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/net/nethogs/Makefile
Jan Beich 32895b18a5 net/nethogs: unbreak with GCC < 6
inode2prog.cpp: In function 'std::string getprogname(pid_t)':
inode2prog.cpp:123: error: 'snprintf' is not a member of 'std'

Reported by:	pkg-fallout (mips64)
2017-12-12 03:27:03 +00:00

31 lines
522 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
USE_GITHUB= yes
GH_ACCOUNT= raboof
USES= gmake shebangfix
CXXFLAGS+= -D_GLIBCXX_USE_C99 # XXX ports/193528
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>