git: 4142172a2262 - main - games/heroes: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 24 Feb 2024 07:08:39 UTC
The branch main has been updated by bofh:

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

commit 4142172a2262720fc4c0368c42401973da068fc3
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-24 06:56:36 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-24 07:08:09 +0000

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

diff --git a/games/heroes/Makefile b/games/heroes/Makefile
index 17a0ef9df564..5cb9549d0ad4 100644
--- a/games/heroes/Makefile
+++ b/games/heroes/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	heroes
 PORTVERSION=	0.21
-PORTREVISION=	19
+PORTREVISION=	20
 CATEGORIES=	games
 MASTER_SITES=	SF \
 		SF/${PORTNAME}/${PORTNAME}-data/${DATAVERSION}:data \
@@ -24,6 +24,7 @@ USES=		gettext gmake iconv localbase:ldflags sdl
 USE_SDL=	mixer sdl
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ARGS=	--with-sdl_mixer=${LOCALBASE} --without-gii --without-ggi
 
 LDFLAGS+=	-lpthread -lsmpeg -lm
diff --git a/games/heroes/pkg-plist b/games/heroes/pkg-plist
index 03c001315b6c..3fdd038e38ae 100644
--- a/games/heroes/pkg-plist
+++ b/games/heroes/pkg-plist
@@ -1,7 +1,7 @@
 bin/heroes
 bin/heroeslvl
-man/man6/heroes.6.gz
-man/man6/heroeslvl.6.gz
+share/man/man6/heroes.6.gz
+share/man/man6/heroeslvl.6.gz
 %%DATADIR%%/etc/heroesrc
 %%DATADIR%%/levels/level.lst
 %%DATADIR%%/levels/niv010.lvl