git: 37a3fd898650 - main - japanese/mh: Sanitize MANPREFIX

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

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

commit 37a3fd898650364c064d1f0765fce0870b738f99
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-22 19:34:10 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-22 20:26:42 +0000

    japanese/mh: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 japanese/mh/Makefile  |   5 +-
 japanese/mh/pkg-plist | 204 +++++++++++++++++++++++++-------------------------
 2 files changed, 105 insertions(+), 104 deletions(-)

diff --git a/japanese/mh/Makefile b/japanese/mh/Makefile
index 3a7de421c848..18ea387ca766 100644
--- a/japanese/mh/Makefile
+++ b/japanese/mh/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	mh
 PORTVERSION=	${VERSION}.j${JP_VERSION}
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	japanese mail
 MASTER_SITES=	ftp://ftp.laic.u-hyogo.ac.jp/pub/net/mh/
 DISTNAME=	${PORTNAME}-${VERSION}-JP-${JP_VERSION}
@@ -15,9 +15,10 @@ VERSION=	6.8.4
 JP_VERSION=	3.05
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 CONFIGURE_ARGS=	--enable-batchmode \
 		--enable-apop=${PREFIX}/etc/pop.auth \
-		--enable-jmandir=${MANPREFIX}/man/ja
+		--enable-jmandir=${PREFIX}/share/man/ja
 MAKE_JOBS_UNSAFE=	yes
 CFLAGS+=	-Wno-return-type
 LLD_UNSAFE=	yes
diff --git a/japanese/mh/pkg-plist b/japanese/mh/pkg-plist
index 87bffbd61b13..9c96cbafcebb 100644
--- a/japanese/mh/pkg-plist
+++ b/japanese/mh/pkg-plist
@@ -70,105 +70,105 @@ lib/mh/tmac.h
 lib/mh/viamail
 lib/libmh.so
 lib/libmh.so.3
-man/ja/man1/ali.1.gz
-man/ja/man1/anno.1.gz
-man/ja/man1/bbc.1.gz
-man/ja/man1/burst.1.gz
-man/ja/man1/comp.1.gz
-man/ja/man1/dist.1.gz
-man/ja/man1/folder.1.gz
-man/ja/man1/forw.1.gz
-man/ja/man1/inc.1.gz
-man/ja/man1/mark.1.gz
-man/ja/man1/mh-chart.1.gz
-man/ja/man1/mh.1.gz
-man/ja/man1/mhl.1.gz
-man/ja/man1/mhmail.1.gz
-man/ja/man1/mhn.1.gz
-man/ja/man1/mhook.1.gz
-man/ja/man1/mhparam.1.gz
-man/ja/man1/mhpath.1.gz
-man/ja/man1/msgchk.1.gz
-man/ja/man1/msh.1.gz
-man/ja/man1/next.1.gz
-man/ja/man1/packf.1.gz
-man/ja/man1/pgped.1.gz
-man/ja/man1/pick.1.gz
-man/ja/man1/prev.1.gz
-man/ja/man1/prompter.1.gz
-man/ja/man1/rcvstore.1.gz
-man/ja/man1/refile.1.gz
-man/ja/man1/repl.1.gz
-man/ja/man1/rmf.1.gz
-man/ja/man1/rmm.1.gz
-man/ja/man1/scan.1.gz
-man/ja/man1/send.1.gz
-man/ja/man1/show.1.gz
-man/ja/man1/slocal.1.gz
-man/ja/man1/sortm.1.gz
-man/ja/man1/vmh.1.gz
-man/ja/man1/whatnow.1.gz
-man/ja/man1/whom.1.gz
-man/ja/man5/mh-alias.5.gz
-man/ja/man5/mh-format.5.gz
-man/ja/man5/mh-mail.5.gz
-man/ja/man5/mh-profile.5.gz
-man/ja/man5/mh-sequence.5.gz
-man/ja/man5/mh-tailor.5.gz
-man/ja/man8/ap.8.gz
-man/ja/man8/conflict.8.gz
-man/ja/man8/dp.8.gz
-man/ja/man8/fmtdump.8.gz
-man/ja/man8/install-mh.8.gz
-man/ja/man8/post.8.gz
-man/man1/ali.1.gz
-man/man1/anno.1.gz
-man/man1/bbc.1.gz
-man/man1/burst.1.gz
-man/man1/comp.1.gz
-man/man1/dist.1.gz
-man/man1/folder.1.gz
-man/man1/forw.1.gz
-man/man1/inc.1.gz
-man/man1/mark.1.gz
-man/man1/mh-chart.1.gz
-man/man1/mh.1.gz
-man/man1/mhl.1.gz
-man/man1/mhmail.1.gz
-man/man1/mhn.1.gz
-man/man1/mhook.1.gz
-man/man1/mhparam.1.gz
-man/man1/mhpath.1.gz
-man/man1/msgchk.1.gz
-man/man1/msh.1.gz
-man/man1/next.1.gz
-man/man1/packf.1.gz
-man/man1/pgped.1.gz
-man/man1/pick.1.gz
-man/man1/prev.1.gz
-man/man1/prompter.1.gz
-man/man1/rcvstore.1.gz
-man/man1/refile.1.gz
-man/man1/repl.1.gz
-man/man1/rmf.1.gz
-man/man1/rmm.1.gz
-man/man1/scan.1.gz
-man/man1/send.1.gz
-man/man1/show.1.gz
-man/man1/slocal.1.gz
-man/man1/sortm.1.gz
-man/man1/vmh.1.gz
-man/man1/whatnow.1.gz
-man/man1/whom.1.gz
-man/man5/mh-alias.5.gz
-man/man5/mh-format.5.gz
-man/man5/mh-mail.5.gz
-man/man5/mh-profile.5.gz
-man/man5/mh-sequence.5.gz
-man/man5/mh-tailor.5.gz
-man/man8/ap.8.gz
-man/man8/conflict.8.gz
-man/man8/dp.8.gz
-man/man8/fmtdump.8.gz
-man/man8/install-mh.8.gz
-man/man8/post.8.gz
+share/man/ja/man1/ali.1.gz
+share/man/ja/man1/anno.1.gz
+share/man/ja/man1/bbc.1.gz
+share/man/ja/man1/burst.1.gz
+share/man/ja/man1/comp.1.gz
+share/man/ja/man1/dist.1.gz
+share/man/ja/man1/folder.1.gz
+share/man/ja/man1/forw.1.gz
+share/man/ja/man1/inc.1.gz
+share/man/ja/man1/mark.1.gz
+share/man/ja/man1/mh-chart.1.gz
+share/man/ja/man1/mh.1.gz
+share/man/ja/man1/mhl.1.gz
+share/man/ja/man1/mhmail.1.gz
+share/man/ja/man1/mhn.1.gz
+share/man/ja/man1/mhook.1.gz
+share/man/ja/man1/mhparam.1.gz
+share/man/ja/man1/mhpath.1.gz
+share/man/ja/man1/msgchk.1.gz
+share/man/ja/man1/msh.1.gz
+share/man/ja/man1/next.1.gz
+share/man/ja/man1/packf.1.gz
+share/man/ja/man1/pgped.1.gz
+share/man/ja/man1/pick.1.gz
+share/man/ja/man1/prev.1.gz
+share/man/ja/man1/prompter.1.gz
+share/man/ja/man1/rcvstore.1.gz
+share/man/ja/man1/refile.1.gz
+share/man/ja/man1/repl.1.gz
+share/man/ja/man1/rmf.1.gz
+share/man/ja/man1/rmm.1.gz
+share/man/ja/man1/scan.1.gz
+share/man/ja/man1/send.1.gz
+share/man/ja/man1/show.1.gz
+share/man/ja/man1/slocal.1.gz
+share/man/ja/man1/sortm.1.gz
+share/man/ja/man1/vmh.1.gz
+share/man/ja/man1/whatnow.1.gz
+share/man/ja/man1/whom.1.gz
+share/man/ja/man5/mh-alias.5.gz
+share/man/ja/man5/mh-format.5.gz
+share/man/ja/man5/mh-mail.5.gz
+share/man/ja/man5/mh-profile.5.gz
+share/man/ja/man5/mh-sequence.5.gz
+share/man/ja/man5/mh-tailor.5.gz
+share/man/ja/man8/ap.8.gz
+share/man/ja/man8/conflict.8.gz
+share/man/ja/man8/dp.8.gz
+share/man/ja/man8/fmtdump.8.gz
+share/man/ja/man8/install-mh.8.gz
+share/man/ja/man8/post.8.gz
+share/man/man1/ali.1.gz
+share/man/man1/anno.1.gz
+share/man/man1/bbc.1.gz
+share/man/man1/burst.1.gz
+share/man/man1/comp.1.gz
+share/man/man1/dist.1.gz
+share/man/man1/folder.1.gz
+share/man/man1/forw.1.gz
+share/man/man1/inc.1.gz
+share/man/man1/mark.1.gz
+share/man/man1/mh-chart.1.gz
+share/man/man1/mh.1.gz
+share/man/man1/mhl.1.gz
+share/man/man1/mhmail.1.gz
+share/man/man1/mhn.1.gz
+share/man/man1/mhook.1.gz
+share/man/man1/mhparam.1.gz
+share/man/man1/mhpath.1.gz
+share/man/man1/msgchk.1.gz
+share/man/man1/msh.1.gz
+share/man/man1/next.1.gz
+share/man/man1/packf.1.gz
+share/man/man1/pgped.1.gz
+share/man/man1/pick.1.gz
+share/man/man1/prev.1.gz
+share/man/man1/prompter.1.gz
+share/man/man1/rcvstore.1.gz
+share/man/man1/refile.1.gz
+share/man/man1/repl.1.gz
+share/man/man1/rmf.1.gz
+share/man/man1/rmm.1.gz
+share/man/man1/scan.1.gz
+share/man/man1/send.1.gz
+share/man/man1/show.1.gz
+share/man/man1/slocal.1.gz
+share/man/man1/sortm.1.gz
+share/man/man1/vmh.1.gz
+share/man/man1/whatnow.1.gz
+share/man/man1/whom.1.gz
+share/man/man5/mh-alias.5.gz
+share/man/man5/mh-format.5.gz
+share/man/man5/mh-mail.5.gz
+share/man/man5/mh-profile.5.gz
+share/man/man5/mh-sequence.5.gz
+share/man/man5/mh-tailor.5.gz
+share/man/man8/ap.8.gz
+share/man/man8/conflict.8.gz
+share/man/man8/dp.8.gz
+share/man/man8/fmtdump.8.gz
+share/man/man8/install-mh.8.gz
+share/man/man8/post.8.gz