While here, reorder variables to make portclippy/portfmt happy. Changelog: - https://github.com/raboof/nethogs/releases/tag/v0.8.6 - https://github.com/raboof/nethogs/releases/tag/v0.8.7 - https://github.com/raboof/nethogs/releases/tag/v0.8.8 PR: 284559 Reported by: kunda <luzpaz@pm.me>, Siva Mahadevan <me@svmhdvn.name> Approved by: anastasios@mageirias.com (maintainer timeout, >7 weeks)
30 lines
637 B
Makefile
30 lines
637 B
Makefile
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>
|