git: ee1dad29eb23 - main - astro/opencpn: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Thu, 22 Feb 2024 12:03:20 UTC
The branch main has been updated by bofh:

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

commit ee1dad29eb23bd44f99ba5583e9a76668bbcb855
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-22 11:43:30 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-22 12:02:55 +0000

    astro/opencpn: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 astro/opencpn/Makefile                   |  2 +-
 astro/opencpn/files/patch-CMakeLists.txt | 11 -----------
 astro/opencpn/pkg-plist                  |  2 +-
 3 files changed, 2 insertions(+), 13 deletions(-)

diff --git a/astro/opencpn/Makefile b/astro/opencpn/Makefile
index 74953a235756..3d2d75e5a840 100644
--- a/astro/opencpn/Makefile
+++ b/astro/opencpn/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	opencpn
 PORTVERSION=	5.2.4
 DISTVERSIONPREFIX=	v
-PORTREVISION=	7
+PORTREVISION=	8
 CATEGORIES=	astro geography
 
 MAINTAINER=	ml@netfence.it
diff --git a/astro/opencpn/files/patch-CMakeLists.txt b/astro/opencpn/files/patch-CMakeLists.txt
deleted file mode 100644
index 9b8d530f28f5..000000000000
--- a/astro/opencpn/files/patch-CMakeLists.txt
+++ /dev/null
@@ -1,11 +0,0 @@
---- CMakeLists.txt.orig	2020-10-22 23:20:06 UTC
-+++ CMakeLists.txt
-@@ -2230,7 +2230,7 @@ if (NOT APPLE)
-       DESTINATION ${PREFIX_DATA}/metainfo
-       RENAME opencpn.appdata.xml
-     )
--    install(FILES opencpn.1 DESTINATION ${PREFIX_DATA}/man/man1)
-+    install(FILES opencpn.1 DESTINATION ${PREFIX_DATA}/../man/man1)
-   endif (UNIX)
- 
-   IF(PACKAGE_FORMAT MATCHES "DEB")
diff --git a/astro/opencpn/pkg-plist b/astro/opencpn/pkg-plist
index f1411631b15e..97adf11c00be 100644
--- a/astro/opencpn/pkg-plist
+++ b/astro/opencpn/pkg-plist
@@ -3,7 +3,7 @@ lib/opencpn/libchartdldr_pi.so
 lib/opencpn/libdashboard_pi.so
 lib/opencpn/libgrib_pi.so
 lib/opencpn/libwmm_pi.so
-man/man1/opencpn.1.gz
+share/man/man1/opencpn.1.gz
 share/applications/opencpn.desktop
 %%PORTDOCS%%%%DOCSDIR%%/50info/MBT1.jpg
 %%PORTDOCS%%%%DOCSDIR%%/50info/bridge1.jpg