git: 85fe18938dfa - main - games/powermanga: Move man pages to share/man

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

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

commit 85fe18938dfaf234a750d54a1de26ac574c54b7c
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-09 10:44:10 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-09 11:04:53 +0000

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

diff --git a/games/powermanga/Makefile b/games/powermanga/Makefile
index 078d6653a55f..5246cb2ebd1a 100644
--- a/games/powermanga/Makefile
+++ b/games/powermanga/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	powermanga
 PORTVERSION=	0.93.1
+PORTREVISION=	1
 CATEGORIES=	games
 MASTER_SITES=	http://linux.tlk.fr/games/Powermanga/download/ \
 		https://mirror.amdmi3.ru/distfiles/
@@ -17,6 +18,7 @@ USES=		autoreconf localbase sdl tar:tgz xorg
 USE_XORG=	xext xxf86dga
 USE_SDL=	sdl mixer
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 
 PORTDOCS=	*
 PORTDATA=	*
diff --git a/games/powermanga/pkg-plist b/games/powermanga/pkg-plist
index 5659990249d3..ca69db28ded1 100644
--- a/games/powermanga/pkg-plist
+++ b/games/powermanga/pkg-plist
@@ -1,7 +1,7 @@
 @(,games,2555) bin/powermanga
-man/man6/powermanga.6.gz
-man/fr/man6/powermanga.6.gz
 share/applications/powermanga.desktop
+share/man/fr/man6/powermanga.6.gz
+share/man/man6/powermanga.6.gz
 share/pixmaps/powermanga.xpm
 @sample(,games,664) /var/games/powermanga/powermanga.hi.sample
 @sample(,games,664) /var/games/powermanga/powermanga.hi-easy.sample