git: bda90c551cb3 - main - japanese/jls: Move man pages to share/man

From: Christian Weisgerber <naddy_at_FreeBSD.org>
Date: Thu, 21 Mar 2024 07:52:23 UTC
The branch main has been updated by naddy:

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

commit bda90c551cb3b2188e946723d46d3d400e607ba9
Author:     Christian Weisgerber <naddy@FreeBSD.org>
AuthorDate: 2024-03-21 07:51:20 +0000
Commit:     Christian Weisgerber <naddy@FreeBSD.org>
CommitDate: 2024-03-21 07:51:20 +0000

    japanese/jls: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 japanese/jls/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/japanese/jls/Makefile b/japanese/jls/Makefile
index 37241f28be55..1cd89a33b37c 100644
--- a/japanese/jls/Makefile
+++ b/japanese/jls/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	ls
 PORTVERSION=	0.5
+PORTREVISION=	1
 CATEGORIES=	japanese
 MASTER_SITES=	http://www.angels.vg/bsd/
 DISTNAME=	freebsd-ls.releng_4_9_0_release
@@ -15,10 +16,12 @@ CONFLICTS=	sleuthkit
 
 USES=		ncurses uidfix
 PLIST_FILES=	bin/jls \
-		man/man1/jls.1.gz
+		share/man/man1/jls.1.gz
 
 WRKSRC=	${WRKDIR}/ls
 
+MAKE_ARGS=	MANDIR="${PREFIX}/share/man/man"
+
 .include <bsd.port.options.mk>
 
 .if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))