git: e14a0487f725 - main - games/openclaw: update to 0.3-98

From: Mikael Urankar <mikael_at_FreeBSD.org>
Date: Mon, 16 Jan 2023 18:57:53 UTC
The branch main has been updated by mikael:

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

commit e14a0487f7257f3158bbf7efcc0359e2014ae348
Author:     Val Packett <val@packett.cool>
AuthorDate: 2023-01-16 18:56:01 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2023-01-16 18:57:17 +0000

    games/openclaw: update to 0.3-98
    
    PR:             260002
---
 games/openclaw/Makefile | 10 +++++++---
 games/openclaw/distinfo |  8 +++++---
 2 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/games/openclaw/Makefile b/games/openclaw/Makefile
index 293b10a2591d..eaa272bd2073 100644
--- a/games/openclaw/Makefile
+++ b/games/openclaw/Makefile
@@ -1,9 +1,11 @@
 PORTNAME=	OpenClaw
-DISTVERSION=	0.0-51
-PORTREVISION=	4
-DISTVERSIONSUFFIX=	-gbac7730
+DISTVERSION=	0.3-98
+DISTVERSIONSUFFIX=	-g3586dfa
 CATEGORIES=	games
 
+PATCH_SITES=	https://github.com/valpackett/${GH_PROJECT}/commit/
+PATCHFILES+=	005aa1d36cae.patch:-p1 # fix running without launcher
+
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Reimplementation of Captain Claw (1997) platformer
 WWW=		https://github.com/pjasicek/OpenClaw
@@ -18,6 +20,8 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	pjasicek
 USE_SDL=	gfx2 image2 mixer2 ttf2
 
+CMAKE_ARGS+=	-DDEFAULT_ASSETS_FOLDER=${DATADIR}/
+
 PLIST_FILES=	bin/openclaw
 PORTDATA=	ASSETS.ZIP SAVES.XML clacon.ttf config.xml console02.tga
 SUB_FILES=	pkg-message
diff --git a/games/openclaw/distinfo b/games/openclaw/distinfo
index eb778e326bea..4fb8d5e3207b 100644
--- a/games/openclaw/distinfo
+++ b/games/openclaw/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1511143151
-SHA256 (pjasicek-OpenClaw-0.0-51-gbac7730_GH0.tar.gz) = 61f5e4d440615a08369591562e2d9489235676bee4bd0182050768eb6ca48af2
-SIZE (pjasicek-OpenClaw-0.0-51-gbac7730_GH0.tar.gz) = 26516775
+TIMESTAMP = 1673895315
+SHA256 (pjasicek-OpenClaw-0.3-98-g3586dfa_GH0.tar.gz) = f2b2b096c453e29f0b6e90f4d4b897b3f479f4f107e653c79f09e13babb29de5
+SIZE (pjasicek-OpenClaw-0.3-98-g3586dfa_GH0.tar.gz) = 28813973
+SHA256 (005aa1d36cae.patch) = 22de43c8bae35b7fddf4e943e5b805d6e9bb097b9ca378670e2d79d266b34d59
+SIZE (005aa1d36cae.patch) = 17473226