git: 0fbe7e3efe4b - main - games/xshogi: Fix RUN_DEPENDS

From: Zsolt Udvari <uzsolt_at_FreeBSD.org>
Date: Mon, 28 Oct 2024 05:42:06 UTC
The branch main has been updated by uzsolt:

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

commit 0fbe7e3efe4b5842bb3a0970310e8e8cc8865fec
Author:     mew14930xvi <mew14930xvi@inbox.lv>
AuthorDate: 2024-10-28 05:37:26 +0000
Commit:     Zsolt Udvari <uzsolt@FreeBSD.org>
CommitDate: 2024-10-28 05:41:43 +0000

    games/xshogi: Fix RUN_DEPENDS
    
    Add x11-fonts/font-adobe-100dpi and gnushogi RUN_DEPENDS.
    Uses localbase.
    Add LICENSE information.
    Update WWW.
    Submitter takes maintainership.
    
    PR:             280023
---
 games/xshogi/Makefile              | 22 ++++++++++++----------
 games/xshogi/files/patch-sysdeps.h |  4 ++--
 games/xshogi/pkg-descr             |  3 ++-
 3 files changed, 16 insertions(+), 13 deletions(-)

diff --git a/games/xshogi/Makefile b/games/xshogi/Makefile
index b8af8014caab..6b58edce8a0d 100644
--- a/games/xshogi/Makefile
+++ b/games/xshogi/Makefile
@@ -1,23 +1,25 @@
 PORTNAME=	xshogi
-PORTVERSION=	1.4.2
-PORTREVISION=	1
+DISTVERSION=	1.4.2
+PORTREVISION=	2
 CATEGORIES=	games
 MASTER_SITES=	GNU/gnushogi
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	mew14930xvi@inbox.lv
 COMMENT=	Japanese chess-like game for X Window System
+WWW=		https://www.gnu.org/software/gnushogi/
 
-RUN_DEPENDS=	gnushogi:games/gnushogi
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		xorg
-USE_XORG=	xt xaw x11
-GNU_CONFIGURE=	yes
-GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
+RUN_DEPENDS=	${LOCALBASE}/share/fonts/100dpi/helvR12.pcf.gz:x11-fonts/font-adobe-100dpi \
+		gnushogi:games/gnushogi
 
-CPPFLAGS+=	-I${LOCALBASE}/include
+USES=		localbase xorg
+USE_XORG=	x11 xaw xext xmu xt
+GNU_CONFIGURE=	yes
 
-PORTDOCS=	README.xboard BUGS
 PLIST_FILES=	bin/xshogi share/man/man6/xshogi.6.gz
+PORTDOCS=	BUGS README.xboard
 
 OPTIONS_DEFINE=	DOCS
 
diff --git a/games/xshogi/files/patch-sysdeps.h b/games/xshogi/files/patch-sysdeps.h
index 104f97d45cb6..fcf0eb9dc5ea 100644
--- a/games/xshogi/files/patch-sysdeps.h
+++ b/games/xshogi/files/patch-sysdeps.h
@@ -1,5 +1,5 @@
---- sysdeps.h.orig	2014-02-19 13:11:16.000000000 +0100
-+++ sysdeps.h	2014-02-19 13:11:20.000000000 +0100
+--- sysdeps.h.orig	2014-02-04 23:01:34 UTC
++++ sysdeps.h
 @@ -74,16 +74,6 @@
  #include <sys/time.h>
  #include <fcntl.h>
diff --git a/games/xshogi/pkg-descr b/games/xshogi/pkg-descr
index b8c21d1ba23d..b6e4700dcef6 100644
--- a/games/xshogi/pkg-descr
+++ b/games/xshogi/pkg-descr
@@ -1 +1,2 @@
-The Japanese chess-like game for X Window System.
+This program provides an XWindows interface to the Japanese Chess (Shogi)
+playing program GNU Shogi