git: dde922706510 - main - shells/mksh: Sanitize MANPREFIX

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 21 Jan 2024 20:48:39 UTC
The branch main has been updated by bofh:

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

commit dde9227065100163441137f1012c68b06a6328e1
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-21 20:48:02 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-21 20:48:13 +0000

    shells/mksh: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 shells/mksh/Makefile  | 3 ++-
 shells/mksh/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/shells/mksh/Makefile b/shells/mksh/Makefile
index 21b554cbf411..4bc4568d9db7 100644
--- a/shells/mksh/Makefile
+++ b/shells/mksh/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	mksh
 PORTVERSION=	59c
+PORTREVISION=	1
 DISTVERSIONPREFIX=	R
 CATEGORIES=	shells
 MASTER_SITES=	https://www.mirbsd.org/MirOS/dist/mir/mksh/ \
@@ -26,7 +27,7 @@ do-build:
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/mksh ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/mksh.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/mksh.1 ${STAGEDIR}${PREFIX}/share/man/man1
 
 do-install-EXAMPLES-on:
 	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
diff --git a/shells/mksh/pkg-plist b/shells/mksh/pkg-plist
index f779bdb33e22..e368f0562826 100644
--- a/shells/mksh/pkg-plist
+++ b/shells/mksh/pkg-plist
@@ -1,3 +1,3 @@
 @shell bin/mksh
-man/man1/mksh.1.gz
+share/man/man1/mksh.1.gz
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/dot.mkshrc