git: 76f265c5def2 - main - games/xsokoban: use ${PREFIX}/share/man

From: Dirk Meyer <dinoex_at_FreeBSD.org>
Date: Fri, 12 Jan 2024 20:43:47 UTC
The branch main has been updated by dinoex:

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

commit 76f265c5def26b9e06f9ab74511465bda7686c26
Author:     Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2024-01-12 20:43:36 +0000
Commit:     Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2024-01-12 20:43:36 +0000

    games/xsokoban: use ${PREFIX}/share/man
    
    add LICENSE
    fix dependecies
    take maintainership
---
 games/xsokoban/Makefile  | 7 +++++--
 games/xsokoban/pkg-plist | 2 +-
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/games/xsokoban/Makefile b/games/xsokoban/Makefile
index 0727d13021e6..20ba6298681a 100644
--- a/games/xsokoban/Makefile
+++ b/games/xsokoban/Makefile
@@ -5,12 +5,15 @@ CATEGORIES=	games
 MASTER_SITES=	http://www.cs.cornell.edu/andru/release/ \
 		ftp://ftp.pmg.lcs.mit.edu/pub/xsokoban/
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	dinoex@FreeBSD.org
 COMMENT=	Puzzle of pushing objects to the goals
 WWW=		https://www.cs.cornell.edu/andru/xsokoban.html
 
+LICENSE=	PD
+
 USES=		imake xorg
-USE_XORG=	xpm
+USE_XORG=	xpm x11 xext
+MAKE_ARGS+=	MANPATH="${PREFIX}/share/man"
 WRKSRC=		${WRKDIR}/xsokoban
 ALL_TARGET=	xsokoban
 
diff --git a/games/xsokoban/pkg-plist b/games/xsokoban/pkg-plist
index 5888a8f37cd4..ec4177669386 100644
--- a/games/xsokoban/pkg-plist
+++ b/games/xsokoban/pkg-plist
@@ -1,5 +1,4 @@
 @(,games,2555) bin/xsokoban
-man/man1/xsokoban.1.gz
 lib/X11/xsokoban/bitmaps/defaults/centerwall.xbm
 lib/X11/xsokoban/bitmaps/defaults/centerwall.xpm
 lib/X11/xsokoban/bitmaps/defaults/east_twall.xbm
@@ -136,6 +135,7 @@ lib/X11/xsokoban/screens/screen.88
 lib/X11/xsokoban/screens/screen.89
 lib/X11/xsokoban/screens/screen.9
 lib/X11/xsokoban/screens/screen.90
+share/man/man1/xsokoban.1.gz
 @sample(,games,664) /var/games/xsokoban/scores/scores.sample
 @dir(,games,775) /var/games/xsokoban/scores
 @dir(,games,775) /var/games/xsokoban/saves