git: cdec161749a4 - main - games/gnuchess: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Tue, 30 Jan 2024 20:25:28 UTC
The branch main has been updated by bofh:

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

commit cdec161749a4894aa9d3ade5e49201d5a76a1856
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-30 15:00:21 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-30 20:25:04 +0000

    games/gnuchess: Moved man to share/man
---
 games/gnuchess/Makefile  | 2 ++
 games/gnuchess/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/games/gnuchess/Makefile b/games/gnuchess/Makefile
index b057034b63a9..c0cdb65147a0 100644
--- a/games/gnuchess/Makefile
+++ b/games/gnuchess/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	gnuchess
 PORTVERSION=	6.2.9
+PORTREVISION=	1
 CATEGORIES=	games
 MASTER_SITES=	GNU/chess
 # The DISTFILES here is explicitly needed because it can be extended later.
@@ -19,6 +20,7 @@ USE_CXXSTD=	c++14
 SHEBANG_FILES=	doc/quotes.rb
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ENV=	MKDIR_P="${MKDIR}"
 
 INFO=		gnuchess
diff --git a/games/gnuchess/pkg-plist b/games/gnuchess/pkg-plist
index 3fc286235081..ebf31afedfef 100644
--- a/games/gnuchess/pkg-plist
+++ b/games/gnuchess/pkg-plist
@@ -1,7 +1,7 @@
 bin/gnuchess
 bin/gnuchessu
 bin/gnuchessx
-man/man1/gnuchess.1.gz
+share/man/man1/gnuchess.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/Makefile
 %%PORTDOCS%%%%DOCSDIR%%/Makefile.am
 %%PORTDOCS%%%%DOCSDIR%%/Makefile.in