git: 4a4397ce3973 - main - games/adonthell: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Fri, 23 Feb 2024 19:02:36 UTC
The branch main has been updated by bofh:

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

commit 4a4397ce3973528945bb76e35c236a53ba3cd6c1
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-23 18:12:32 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-23 19:01:39 +0000

    games/adonthell: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 games/adonthell/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/games/adonthell/Makefile b/games/adonthell/Makefile
index 104845eebf7b..f9876d203576 100644
--- a/games/adonthell/Makefile
+++ b/games/adonthell/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	adonthell
 PORTVERSION=	0.3.8
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	games
 MASTER_SITES=	SAVANNAH
 DISTFILES=	${PORTNAME}-src-${PORTVERSION}${EXTRACT_SUFX}
@@ -21,6 +21,7 @@ USE_CXXSTD=	c++14
 USE_SDL=	mixer2 ttf2
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ARGS=	--disable-py-debug \
 		--disable-pyc \
 		--with-py-libs="$$(${PYTHON_CMD}-config --ldflags --embed)" \
@@ -28,7 +29,7 @@ CONFIGURE_ARGS=	--disable-py-debug \
 
 PLIST_DIRS=	${DATADIR}/games
 PLIST_FILES=	bin/adonthell \
-		man/man6/adonthell.6.gz \
+		share/man/man6/adonthell.6.gz \
 		${DATADIR}/modules/adonthell.py \
 		${DATADIR}/modules/dialogue.py