git: de85ee831442 - main - sysutils/radeontop: Sanitize MANPREFIX
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 22 Jan 2024 13:52:22 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=de85ee831442b96c51876263a36493235648de90
commit de85ee831442b96c51876263a36493235648de90
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-22 13:04:39 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-22 13:52:01 +0000
sysutils/radeontop: Sanitize MANPREFIX
Approved by: portmgr (blanket)
---
sysutils/radeontop/Makefile | 1 +
sysutils/radeontop/files/patch-Makefile | 2 +-
sysutils/radeontop/pkg-plist | 2 +-
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/sysutils/radeontop/Makefile b/sysutils/radeontop/Makefile
index 523b6db1f601..3d4722393106 100644
--- a/sysutils/radeontop/Makefile
+++ b/sysutils/radeontop/Makefile
@@ -1,5 +1,6 @@
PORTNAME= radeontop
PORTVERSION= 1.4
+PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= sysutils
diff --git a/sysutils/radeontop/files/patch-Makefile b/sysutils/radeontop/files/patch-Makefile
index 7986075e6cd7..4d1c1e0b5d5c 100644
--- a/sysutils/radeontop/files/patch-Makefile
+++ b/sysutils/radeontop/files/patch-Makefile
@@ -36,7 +36,7 @@
+ $(INSTALL) -m755 $(xcblib) $(DESTDIR)$(PREFIX)/$(LIBDIR)
endif
- $(INSTALL) -D -m644 radeontop.1 $(DESTDIR)/$(PREFIX)/$(MANDIR)/man1/radeontop.1
-+ $(INSTALL) -m644 radeontop.1 $(DESTDIR)$(MANPREFIX)/man/man1
++ $(INSTALL) -m644 radeontop.1 $(DESTDIR)$(PREFIX)/share/man/man1
ifeq ($(nls), 1)
$(MAKE) -C translations install PREFIX=$(PREFIX)
endif
diff --git a/sysutils/radeontop/pkg-plist b/sysutils/radeontop/pkg-plist
index be7e45c58031..483d28d698cb 100644
--- a/sysutils/radeontop/pkg-plist
+++ b/sysutils/radeontop/pkg-plist
@@ -1,6 +1,6 @@
bin/radeontop
lib/libradeontop_xcb.so
-man/man1/radeontop.1.gz
+share/man/man1/radeontop.1.gz
%%NLS%%share/locale/cs/LC_MESSAGES/radeontop.mo
%%NLS%%share/locale/de/LC_MESSAGES/radeontop.mo
%%NLS%%share/locale/el/LC_MESSAGES/radeontop.mo