git: ece7f0033f54 - main - games/xpilot-ng-server: Moved man to share/man

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

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

commit ece7f0033f5434246dc0267a2e9d73eed96b0129
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-24 08:19:25 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-24 09:03:08 +0000

    games/xpilot-ng-server: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 games/xpilot-ng-server/Makefile         | 3 ++-
 games/xpilot-ng-server/pkg-plist.client | 8 ++++----
 games/xpilot-ng-server/pkg-plist.server | 2 +-
 3 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/games/xpilot-ng-server/Makefile b/games/xpilot-ng-server/Makefile
index 7f3be3677c6b..7df55a8388f6 100644
--- a/games/xpilot-ng-server/Makefile
+++ b/games/xpilot-ng-server/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	xpilot-ng
 PORTVERSION=	4.7.3
-PORTREVISION?=	5
+PORTREVISION?=	6
 CATEGORIES=	games
 MASTER_SITES=	SF/xpilot/xpilot_ng/${PORTNAME}-${PORTVERSION}
 PKGNAMESUFFIX?=	-server
@@ -15,6 +15,7 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 LIB_DEPENDS=	libexpat.so:textproc/expat2
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 
 CPPFLAGS+=	-I${LOCALBASE}/include -Wno-return-type
 LDFLAGS+=	-L${LOCALBASE}/lib
diff --git a/games/xpilot-ng-server/pkg-plist.client b/games/xpilot-ng-server/pkg-plist.client
index 635fb5ae62dc..612000aa1e30 100644
--- a/games/xpilot-ng-server/pkg-plist.client
+++ b/games/xpilot-ng-server/pkg-plist.client
@@ -2,10 +2,10 @@ bin/xpilot-ng-replay
 %%SDL%%bin/xpilot-ng-sdl
 bin/xpilot-ng-x11
 bin/xpilot-ng-xp-mapedit
-man/man6/xpilot-ng-replay.6.gz
-%%SDL%%man/man6/xpilot-ng-sdl.6.gz
-man/man6/xpilot-ng-x11.6.gz
-man/man6/xpilot-ng-xp-mapedit.6.gz
+share/man/man6/xpilot-ng-replay.6.gz
+%%SDL%%share/man/man6/xpilot-ng-sdl.6.gz
+share/man/man6/xpilot-ng-x11.6.gz
+share/man/man6/xpilot-ng-xp-mapedit.6.gz
 share/xpilot-ng/fonts/ConsoleFont.bmp
 share/xpilot-ng/fonts/FreeSansBoldOblique.ttf
 share/xpilot-ng/fonts/VeraMoBd.ttf
diff --git a/games/xpilot-ng-server/pkg-plist.server b/games/xpilot-ng-server/pkg-plist.server
index 0dfd84bc4a01..6371bc9aea3c 100644
--- a/games/xpilot-ng-server/pkg-plist.server
+++ b/games/xpilot-ng-server/pkg-plist.server
@@ -1,5 +1,5 @@
 bin/xpilot-ng-server
-man/man6/xpilot-ng-server.6.gz
+share/man/man6/xpilot-ng-server.6.gz
 share/xpilot-ng/defaults.txt
 share/xpilot-ng/mapconvert.py
 share/xpilot-ng/maps/blood-music.xp2