aboutsummaryrefslogtreecommitdiff
path: root/net/nethogs
diff options
context:
space:
mode:
Diffstat (limited to 'net/nethogs')
-rw-r--r--net/nethogs/Makefile11
-rw-r--r--net/nethogs/distinfo6
-rw-r--r--net/nethogs/files/patch-doc_Makefile24
3 files changed, 32 insertions, 9 deletions
diff --git a/net/nethogs/Makefile b/net/nethogs/Makefile
index a6ee081633a8..bfaaaa3f2577 100644
--- a/net/nethogs/Makefile
+++ b/net/nethogs/Makefile
@@ -1,7 +1,6 @@
PORTNAME= nethogs
-PORTVERSION= 0.8.5
DISTVERSIONPREFIX= v
-PORTREVISION= 1
+DISTVERSION= 0.8.8
CATEGORIES= net
MAINTAINER= anastasios@mageirias.com
@@ -13,16 +12,16 @@ 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
-USES= compiler:c++11-lang gmake shebangfix
-
SHEBANG_FILES= determineVersion.sh
bash_CMD= /bin/sh
-PLIST_FILES= man/man8/nethogs.8.gz \
- sbin/nethogs
+PLIST_FILES= sbin/nethogs \
+ share/man/man8/nethogs.8.gz
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/nethogs
diff --git a/net/nethogs/distinfo b/net/nethogs/distinfo
index b3e21916547e..6402b03d3b98 100644
--- a/net/nethogs/distinfo
+++ b/net/nethogs/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1488685002
-SHA256 (raboof-nethogs-v0.8.5_GH0.tar.gz) = 6a9392726feca43228b3f0265379154946ef0544c2ca2cac59ec35a24f469dcc
-SIZE (raboof-nethogs-v0.8.5_GH0.tar.gz) = 112385
+TIMESTAMP = 1745858151
+SHA256 (raboof-nethogs-v0.8.8_GH0.tar.gz) = 111ade20cc545e8dfd7ce4e293bd6b31cd1678a989b6a730bd2fa2acc6254818
+SIZE (raboof-nethogs-v0.8.8_GH0.tar.gz) = 272792
diff --git a/net/nethogs/files/patch-doc_Makefile b/net/nethogs/files/patch-doc_Makefile
new file mode 100644
index 000000000000..f4dd7125e9dc
--- /dev/null
+++ b/net/nethogs/files/patch-doc_Makefile
@@ -0,0 +1,24 @@
+--- doc/Makefile.orig 2024-02-25 09:26:05 UTC
++++ doc/Makefile
+@@ -1,15 +1,7 @@ UNAME_S := $(shell uname -s)
+ all:
+
+ UNAME_S := $(shell uname -s)
+-ifeq ($(UNAME_S),FreeBSD)
+- ifeq ($(PREFIX),/usr/local)
+- man8 := $(PREFIX)/man/man8
+- else
+- man8 := $(PREFIX)/share/man/man8
+- endif
+-else
+- man8 := $(PREFIX)/share/man/man8
+-endif
++man8 := $(PREFIX)/share/man/man8
+
+ install: nethogs.8
+ install -d -m 755 $(DESTDIR)$(man8)
+@@ -17,4 +9,3 @@ uninstall:
+
+ uninstall:
+ rm $(DESTDIR)$(man8)/nethogs.8 || true
+-