git: e2e2e9b5709d - main - games/gnubg: Move man pages to share/man

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Sat, 09 Mar 2024 11:05:07 UTC
The branch main has been updated by eduardo:

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

commit e2e2e9b5709dbe4f99e4e90b6ef63990d52ae7f7
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-09 08:59:03 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-09 11:04:50 +0000

    games/gnubg: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 games/gnubg/Makefile  |  3 ++-
 games/gnubg/pkg-plist | 10 +++++-----
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/games/gnubg/Makefile b/games/gnubg/Makefile
index 19bc4375f754..1d443ada3478 100644
--- a/games/gnubg/Makefile
+++ b/games/gnubg/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	gnubg
 PORTVERSION=	1.07.001
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	games
 MASTER_SITES=	GNU
 DISTFILES=	gnubg-release-${PORTVERSION}-sources.tar.gz
@@ -33,6 +33,7 @@ CONFIGURE_ENV=	ac_cv_path_ARTSC_CONFIG=no ac_cv_path_LIBART_CONFIG=no
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 INSTALL_TARGET=	install-strip
 
 OPTIONS_DEFINE=	NLS DOCS
diff --git a/games/gnubg/pkg-plist b/games/gnubg/pkg-plist
index 02a0cf760c6c..600b973fd217 100644
--- a/games/gnubg/pkg-plist
+++ b/games/gnubg/pkg-plist
@@ -3,11 +3,6 @@ bin/gnubg
 bin/makebearoff
 bin/makehyper
 bin/makeweights
-man/man6/bearoffdump.6.gz
-man/man6/gnubg.6.gz
-man/man6/makebearoff.6.gz
-man/man6/makehyper.6.gz
-man/man6/makeweights.6.gz
 %%PORTDOCS%%%%DOCSDIR%%/allabout.html
 %%PORTDOCS%%%%DOCSDIR%%/allabout.pdf
 %%PORTDOCS%%%%DOCSDIR%%/gnubg.html
@@ -236,3 +231,8 @@ share/locale/ja/LC_MESSAGES/gnubg.mo
 share/locale/ro/LC_MESSAGES/gnubg.mo
 share/locale/ru/LC_MESSAGES/gnubg.mo
 share/locale/tr/LC_MESSAGES/gnubg.mo
+share/man/man6/bearoffdump.6.gz
+share/man/man6/gnubg.6.gz
+share/man/man6/makebearoff.6.gz
+share/man/man6/makehyper.6.gz
+share/man/man6/makeweights.6.gz