git: 31e1e0d3e888 - main - astro/xtide: Moved man to share/man

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

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

commit 31e1e0d3e8887e79b8ae86d954a64b67379c84b4
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-22 11:50:33 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-22 12:02:57 +0000

    astro/xtide: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 astro/xtide/Makefile  | 3 ++-
 astro/xtide/pkg-plist | 6 +++---
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/astro/xtide/Makefile b/astro/xtide/Makefile
index a35d340177f5..9cad1ed479ec 100644
--- a/astro/xtide/Makefile
+++ b/astro/xtide/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	xtide
 PORTVERSION=	2.15.5
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	astro geography
 MASTER_SITES=	https://flaterco.com/files/xtide/
 DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
@@ -21,6 +21,7 @@ USE_CXXSTD=	c++11
 USE_LDCONFIG=	yes
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ENV=	ac_cv_header_tcd_h=yes \
 		ac_cv_lib_tcd_get_tide_db_header=yes
 CFLAGS+=	-Wno-deprecated-declarations
diff --git a/astro/xtide/pkg-plist b/astro/xtide/pkg-plist
index f1abc3792dae..ea0251952e0b 100644
--- a/astro/xtide/pkg-plist
+++ b/astro/xtide/pkg-plist
@@ -64,9 +64,9 @@ lib/libxtide.a
 lib/libxtide.so
 lib/libxtide.so.1
 lib/libxtide.so.1.0.5
-man/man1/tide.1.gz
-%%X11%%man/man1/xtide.1.gz
-man/man8/xttpd.8.gz
+share/man/man1/tide.1.gz
+%%X11%%share/man/man1/xtide.1.gz
+share/man/man8/xttpd.8.gz
 sbin/xttpd
 share/libtcd/libtcd.html
 %%X11%%share/pixmaps/xtide.png