git: 18553307aa04 - main - sysutils/pslist: Move man pages to share/man

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Sun, 24 Mar 2024 12:30:50 UTC
The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=18553307aa045f4d887c9dc10f6eb9ae1cbdf977

commit 18553307aa045f4d887c9dc10f6eb9ae1cbdf977
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-24 12:26:10 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-24 12:30:31 +0000

    sysutils/pslist: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 sysutils/pslist/Makefile  | 3 ++-
 sysutils/pslist/pkg-plist | 6 +++---
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/sysutils/pslist/Makefile b/sysutils/pslist/Makefile
index 51eae662cce9..27d880d4943b 100644
--- a/sysutils/pslist/Makefile
+++ b/sysutils/pslist/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	pslist
 PORTVERSION=	1.4.0
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	http://devel.ringlet.net/files/sys/pslist/
 
@@ -13,7 +14,7 @@ LICENSE=	BSD2CLAUSE
 USES=		perl5 shebangfix
 USE_PERL5=	run
 SHEBANG_FILES=	pslist
-MAKE_ENV=	INSTALL_DATA="${INSTALL_DATA}" INSTALL_SCRIPT="${INSTALL_SCRIPT}"
+MAKE_ENV=	INSTALL_DATA="${INSTALL_DATA}" INSTALL_SCRIPT="${INSTALL_SCRIPT}" MANDIR="${PREFIX}/share/man/man"
 NO_ARCH=	yes
 
 .include <bsd.port.mk>
diff --git a/sysutils/pslist/pkg-plist b/sysutils/pslist/pkg-plist
index c6b97b1cc487..d15c6009c98c 100644
--- a/sysutils/pslist/pkg-plist
+++ b/sysutils/pslist/pkg-plist
@@ -1,6 +1,6 @@
 bin/pslist
 bin/rkill
 bin/rrenice
-man/man1/pslist.1.gz
-man/man1/rkill.1.gz
-man/man1/rrenice.1.gz
+share/man/man1/pslist.1.gz
+share/man/man1/rkill.1.gz
+share/man/man1/rrenice.1.gz