git: a8b47f63df3f - main - shells/yash: Sanitize MANPREFIX

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 22 Jan 2024 13:52:25 UTC
The branch main has been updated by bofh:

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

commit a8b47f63df3fbc203a5f234c558abf50974401e1
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-22 13:33:52 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-22 13:52:02 +0000

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

diff --git a/shells/yash/Makefile b/shells/yash/Makefile
index c0f55b134565..bd19aea09271 100644
--- a/shells/yash/Makefile
+++ b/shells/yash/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	yash
 DISTVERSION=	2.55
+PORTREVISION=	1
 CATEGORIES=	shells
 MASTER_SITES=	https://github.com/magicant/${PORTNAME}/releases/download/${DISTVERSION}/
 
@@ -14,7 +15,7 @@ USES=		tar:xz
 USE_CSTD=	c99
 
 HAS_CONFIGURE=	yes
-CONFIGURE_ARGS=	--prefix=${PREFIX} --mandir=${MANPREFIX}/man
+CONFIGURE_ARGS=	--prefix=${PREFIX} --mandir=${PREFIX}/share/man
 
 OPTIONS_DEFINE=	NLS
 OPTIONS_SUB=	yes
diff --git a/shells/yash/pkg-plist b/shells/yash/pkg-plist
index 9ae7573d8875..f334bdc4becd 100644
--- a/shells/yash/pkg-plist
+++ b/shells/yash/pkg-plist
@@ -1,6 +1,6 @@
 bin/yash
-man/ja/man1/yash.1.gz
-man/man1/yash.1.gz
+share/man/ja/man1/yash.1.gz
+share/man/man1/yash.1.gz
 %%NLS%%share/locale/en@boldquot/LC_MESSAGES/yash.mo
 %%NLS%%share/locale/en@quot/LC_MESSAGES/yash.mo
 %%NLS%%share/locale/ja/LC_MESSAGES/yash.mo