git: f6b57dfb6ecc - main - games/opencity: Move man pages to share/man

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

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

commit f6b57dfb6ecc8574de8c1da35773cf6b3d3ff993
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-09 10:16:28 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-09 11:04:52 +0000

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

diff --git a/games/opencity/Makefile b/games/opencity/Makefile
index f19d41603d86..b03bcd229053 100644
--- a/games/opencity/Makefile
+++ b/games/opencity/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	opencity
 PORTVERSION=	0.0.6.5
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	games
 MASTER_SITES=	SF/${PORTNAME}/Stable/${PORTVERSION:C/^([0-9]+\.[0-9]+\.[0-9]+)\..*$/\1/}/
 DISTNAME=	${PORTNAME}-${PORTVERSION}stable
@@ -15,6 +15,7 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 LIB_DEPENDS=	libpng.so:graphics/png
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 USES=		compiler:c11 gl gmake pkgconfig sdl tar:bzip2
 USE_SDL=	sdl mixer image net
 USE_GL=		gl glu
diff --git a/games/opencity/pkg-plist b/games/opencity/pkg-plist
index ea115f0a1319..1649ee55d087 100644
--- a/games/opencity/pkg-plist
+++ b/games/opencity/pkg-plist
@@ -2,6 +2,6 @@ bin/opencity
 etc/opencity/config/graphism.conf
 etc/opencity/config/graphism.xml
 etc/opencity/config/opencity.xml
-man/man6/opencity.6.gz
 share/applications/opencity.desktop
+share/man/man6/opencity.6.gz
 share/pixmaps/opencity.png