git: 9cb3a7410379 - main - devel/jetbrains-clion: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Fri, 23 Feb 2024 12:52:12 UTC
The branch main has been updated by bofh:

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

commit 9cb3a7410379604e5684276a9f6e6adf1f1f017a
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-23 12:01:01 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-23 12:50:31 +0000

    devel/jetbrains-clion: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 devel/jetbrains-clion/Makefile  | 3 ++-
 devel/jetbrains-clion/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/devel/jetbrains-clion/Makefile b/devel/jetbrains-clion/Makefile
index bf16dfc3afd0..e0f52dbfe873 100644
--- a/devel/jetbrains-clion/Makefile
+++ b/devel/jetbrains-clion/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	clion
 PORTVERSION=	2023.3.4
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	https://download-cdn.jetbrains.com/cpp/ \
 		https://packages.jetbrains.team/files/p/clion/ports/2023.3/freebsd/clang/:clang
@@ -80,7 +81,7 @@ do-install:
 	@(cd ${WRKSRC}/bin && ${COPYTREE_BIN} . ${STAGEDIR}${DATADIR}/bin/ \
 		"-name *\.sh -o -name *\.py")
 	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
-	${INSTALL_MAN} ${FILESDIR}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1
+	${INSTALL_MAN} ${FILESDIR}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1
 	${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications/
 # Use fsnotifier replacement provided by java/intellij-fsnotifier
 	${ECHO} "idea.filewatcher.executable.path=${PREFIX}/bin/fsnotifier" >> ${STAGEDIR}${DATADIR}/bin/idea.properties
diff --git a/devel/jetbrains-clion/pkg-plist b/devel/jetbrains-clion/pkg-plist
index d25fab04c5ad..ec22c4291c5a 100644
--- a/devel/jetbrains-clion/pkg-plist
+++ b/devel/jetbrains-clion/pkg-plist
@@ -1,5 +1,5 @@
 bin/clion
-man/man1/clion.1.gz
+share/man/man1/clion.1.gz
 share/applications/clion.desktop
 %%DATADIR%%/Install-Linux-tar.txt
 %%DATADIR%%/bin/brokenPlugins.db