git: 987a8880309f - main - lang/linux-j: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 24 Feb 2024 16:12:39 UTC
The branch main has been updated by bofh:

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

commit 987a8880309f3523c52c980fe120046df71d461b
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-24 15:21:55 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-24 16:12:14 +0000

    lang/linux-j: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 lang/linux-j/Makefile  | 6 +++---
 lang/linux-j/pkg-plist | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/lang/linux-j/Makefile b/lang/linux-j/Makefile
index 64b94b677cd1..5982d7001a3c 100644
--- a/lang/linux-j/Makefile
+++ b/lang/linux-j/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	j
 PORTVERSION=	504b
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	lang linux java
 MASTER_SITES=	http://www.jsoftware.com/download/
 PKGNAMEPREFIX=	linux-
@@ -32,7 +32,7 @@ SUB_LIST=	PORTVERSION=${PORTVERSION:S/b//g}
 do-install:
 	${INSTALL_SCRIPT} ${WRKDIR}/j-jconsole.sh ${STAGEDIR}${PREFIX}/bin/j-jconsole
 	${INSTALL_SCRIPT} ${WRKDIR}/jw.sh ${STAGEDIR}${PREFIX}/bin/jw
-	${INSTALL_MAN} ${WRKSRC}/j${PORTVERSION:S/b//g}/system/extras/help/man/jconsole.1 ${STAGEDIR}${PREFIX}/man/man1/${MAN1}
+	${INSTALL_MAN} ${WRKSRC}/j${PORTVERSION:S/b//g}/system/extras/help/man/jconsole.1 ${STAGEDIR}${PREFIX}/share/man/man1/${MAN1}
 	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/j
 	cd ${WRKSRC}/j${PORTVERSION:S/b//g} && \
 		${COPYTREE_SHARE} "system user profile.ijs j.jar" \
@@ -40,6 +40,6 @@ do-install:
 	${BRANDELF} -t Linux ${WRKSRC}/j${PORTVERSION:S/b//g}/jconsole
 	${INSTALL_PROGRAM} ${WRKSRC}/j${PORTVERSION:S/b//g}/jconsole ${STAGEDIR}${PREFIX}/lib/j/jconsole
 
-	${MV} ${STAGEDIR}${PREFIX}/man/man1/jconsole.1 ${STAGEDIR}${PREFIX}/man/man1/j-jconsole.1
+	${MV} ${STAGEDIR}${PREFIX}/share/man/man1/jconsole.1 ${STAGEDIR}${PREFIX}/share/man/man1/j-jconsole.1
 
 .include <bsd.port.mk>
diff --git a/lang/linux-j/pkg-plist b/lang/linux-j/pkg-plist
index fa057ea1ef4c..767b10c0160b 100644
--- a/lang/linux-j/pkg-plist
+++ b/lang/linux-j/pkg-plist
@@ -1688,5 +1688,5 @@ lib/j/user/projects/projects.txt
 lib/j/user/user.txt
 lib/j/user/classes/classes.txt
 lib/j/profile.ijs
-man/man1/j-jconsole.1.gz
+share/man/man1/j-jconsole.1.gz
 @dir lib/j/system/extras/help/help_index