git: dd96d22609e5 - main - astro/qmapshack: fix pkg-plist use share/man

From: Loïc Bartoletti <lbartoletti_at_FreeBSD.org>
Date: Mon, 16 May 2022 06:57:25 UTC
The branch main has been updated by lbartoletti:

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

commit dd96d22609e5858cc9582f22bef5ec8950d44d65
Author:     Loïc Bartoletti <lbartoletti@FreeBSD.org>
AuthorDate: 2022-04-14 17:58:39 +0000
Commit:     Loïc Bartoletti <lbartoletti@FreeBSD.org>
CommitDate: 2022-05-16 06:49:44 +0000

    astro/qmapshack: fix pkg-plist use share/man
    
    Approved by:    portmgr (blanket)
---
 .../files/patch-cmake_Modules_DefineInstallationPaths.cmake       | 2 +-
 astro/qmapshack/pkg-plist                                         | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/astro/qmapshack/files/patch-cmake_Modules_DefineInstallationPaths.cmake b/astro/qmapshack/files/patch-cmake_Modules_DefineInstallationPaths.cmake
index 8fd3709ff063..77acfa3e0c2b 100644
--- a/astro/qmapshack/files/patch-cmake_Modules_DefineInstallationPaths.cmake
+++ b/astro/qmapshack/files/patch-cmake_Modules_DefineInstallationPaths.cmake
@@ -14,7 +14,7 @@
    )
    SET(MAN_INSTALL_DIR
 -    "${SHARE_INSTALL_PREFIX}/man"
-+    "${CMAKE_INSTALL_PREFIX}/man"
++    "${CMAKE_INSTALL_PREFIX}/share/man"
      CACHE PATH "The ${_PROJECT_NAME} man install dir (default prefix/man)"
      FORCE
    )
diff --git a/astro/qmapshack/pkg-plist b/astro/qmapshack/pkg-plist
index e442b203fbc4..79e13c72fc1b 100644
--- a/astro/qmapshack/pkg-plist
+++ b/astro/qmapshack/pkg-plist
@@ -2,10 +2,10 @@ bin/qmapshack
 bin/qmaptool
 bin/qmt_map2jnx
 bin/qmt_rgb2pct
-man/man1/qmapshack.1.gz
-man/man1/qmaptool.1.gz
-man/man1/qmt_map2jnx.1.gz
-man/man1/qmt_rgb2pct.1.gz
+share/man/man1/qmapshack.1.gz
+share/man/man1/qmaptool.1.gz
+share/man/man1/qmt_map2jnx.1.gz
+share/man/man1/qmt_rgb2pct.1.gz
 share/applications/qmapshack.desktop
 share/applications/qmaptool.desktop
 share/icons/hicolor/128x128/apps/QMapShack.png