net/nethogs: Moved man to share/man

Approved by:    portmgr (blanket)
2024Q2
Muhammad Moinur Rahman 2024-02-25 10:24:54 +01:00
parent 62d396c115
commit 3e0f5dee83
No known key found for this signature in database
GPG Key ID: BDB9B5A617C0BC91
2 changed files with 26 additions and 2 deletions

View File

@ -1,7 +1,7 @@
PORTNAME= nethogs
PORTVERSION= 0.8.5
DISTVERSIONPREFIX= v
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= net
MAINTAINER= anastasios@mageirias.com
@ -21,7 +21,7 @@ USES= compiler:c++11-lang gmake shebangfix
SHEBANG_FILES= determineVersion.sh
bash_CMD= /bin/sh
PLIST_FILES= man/man8/nethogs.8.gz \
PLIST_FILES= share/man/man8/nethogs.8.gz \
sbin/nethogs
post-install:

View File

@ -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
-