aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-01-22 13:04:39 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-01-22 13:52:01 +0000
commitde85ee831442b96c51876263a36493235648de90 (patch)
tree387fdfe2923a87ab42219485228c45aec16e19d1
parentd9959c63680979fe732a9c65e09f1a6eb3ac4137 (diff)
downloadports-de85ee831442b96c51876263a36493235648de90.tar.gz
ports-de85ee831442b96c51876263a36493235648de90.zip
sysutils/radeontop: Sanitize MANPREFIX
Approved by: portmgr (blanket)
-rw-r--r--sysutils/radeontop/Makefile1
-rw-r--r--sysutils/radeontop/files/patch-Makefile2
-rw-r--r--sysutils/radeontop/pkg-plist2
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