git: ca1cb5c51907 - main - science/mcxtrace: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 25 Feb 2024 12:55:26 UTC
The branch main has been updated by bofh:

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

commit ca1cb5c519073c85b19fecf7cffbe9fa1e7c6691
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-25 12:26:21 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-25 12:54:42 +0000

    science/mcxtrace: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 science/mcxtrace/Makefile                                      | 1 +
 science/mcxtrace/files/patch-cmake_Modules_InstallMCCODE.cmake | 4 ++--
 science/mcxtrace/pkg-plist                                     | 4 ++--
 3 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/science/mcxtrace/Makefile b/science/mcxtrace/Makefile
index bb6b07d648ba..f1f19eec10f2 100644
--- a/science/mcxtrace/Makefile
+++ b/science/mcxtrace/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	mcxtrace
 DISTVERSION=	1.2
+PORTREVISION=	1
 DISTVERSIONSUFFIX=	-src
 CATEGORIES=	science
 MASTER_SITES=	http://download.mcxtrace.org/${PORTNAME}-${DISTVERSION}/unix/mcxtrace-${DISTVERSION}-src/
diff --git a/science/mcxtrace/files/patch-cmake_Modules_InstallMCCODE.cmake b/science/mcxtrace/files/patch-cmake_Modules_InstallMCCODE.cmake
index 7b148ed9a6be..318015793662 100644
--- a/science/mcxtrace/files/patch-cmake_Modules_InstallMCCODE.cmake
+++ b/science/mcxtrace/files/patch-cmake_Modules_InstallMCCODE.cmake
@@ -6,14 +6,14 @@
        FILES "${WORK}/doc/man/${FLAVOR}.1"
 -      DESTINATION ${FLAVOR}/${MCCODE_VERSION}/doc/man/man1
 -      RENAME "${FLAVOR}${PROGRAM_SUFFIX}.1"
-+      DESTINATION "man/man1"
++      DESTINATION "share/man/man1"
 +      RENAME "${FLAVOR}.1"
        )
      install (
        FILES "${WORK}/doc/man/${FLAVOR_FMT}.1"
 -      DESTINATION "${FLAVOR}/${MCCODE_VERSION}/doc/man/man1"
 -      RENAME "${FLAVOR_FMT}${PROGRAM_SUFFIX}.1"
-+      DESTINATION "man/man1"
++      DESTINATION "share/man/man1"
 +      RENAME "${FLAVOR_FMT}.1"
        )
 -
diff --git a/science/mcxtrace/pkg-plist b/science/mcxtrace/pkg-plist
index 45e513959586..10c2119b3473 100644
--- a/science/mcxtrace/pkg-plist
+++ b/science/mcxtrace/pkg-plist
@@ -28,5 +28,5 @@ mcxtrace/%%DISTVERSION%%/share/nxslib/sgio.c
 mcxtrace/%%DISTVERSION%%/share/nxslib/sgsi.c
 mcxtrace/%%DISTVERSION%%/share/read_table-lib.c
 mcxtrace/%%DISTVERSION%%/share/read_table-lib.h
-man/man1/mcxtrace.1.gz
-man/man1/mxformat.1.gz
+share/man/man1/mcxtrace.1.gz
+share/man/man1/mxformat.1.gz