git: ad7f4e9334cd - main - games/xmahjongg: Move man pages to share/man

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

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

commit ad7f4e9334cdba4ac6108812136b4e65e1413b66
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-09 11:03:05 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-09 11:04:54 +0000

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

diff --git a/games/xmahjongg/Makefile b/games/xmahjongg/Makefile
index ec2240b73638..dd53dfd5cc78 100644
--- a/games/xmahjongg/Makefile
+++ b/games/xmahjongg/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	xmahjongg
 PORTVERSION=	3.7
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	games
 MASTER_SITES=	http://www.lcdf.org/xmahjongg/
 
@@ -13,5 +13,6 @@ LICENSE=	GPLv2
 USES=		xorg
 USE_XORG=	x11
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 
 .include <bsd.port.mk>
diff --git a/games/xmahjongg/pkg-plist b/games/xmahjongg/pkg-plist
index e6cfe363712d..06c132a5b134 100644
--- a/games/xmahjongg/pkg-plist
+++ b/games/xmahjongg/pkg-plist
@@ -1,4 +1,5 @@
 bin/xmahjongg
+share/man/man6/xmahjongg.6.gz
 share/xmahjongg/backgrounds/default.gif
 share/xmahjongg/backgrounds/green.gif
 share/xmahjongg/layouts/arena
@@ -33,4 +34,3 @@ share/xmahjongg/tiles/real.gif
 share/xmahjongg/tiles/small.gif
 share/xmahjongg/tiles/thick.gif
 share/xmahjongg/tiles/thin.gif
-man/man6/xmahjongg.6.gz