git: 5ef2d389fccf - main - games/ri-li: fix path to data files

From: Dmitry Marakasov <amdmi3_at_FreeBSD.org>
Date: Thu, 23 May 2024 22:26:25 UTC
The branch main has been updated by amdmi3:

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

commit 5ef2d389fccff63cd57a49a3136ee8affcf05562
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2024-05-15 19:13:53 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2024-05-23 22:24:38 +0000

    games/ri-li: fix path to data files
---
 games/ri-li/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/games/ri-li/Makefile b/games/ri-li/Makefile
index 6f11a8caedad..b17939091fff 100644
--- a/games/ri-li/Makefile
+++ b/games/ri-li/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	Ri-li
 DISTVERSIONPREFIX=	v
 DISTVERSION=	3.1.4
+PORTREVISION=	1
 CATEGORIES=	games
 
 MAINTAINER=	amdmi3@FreeBSD.org
@@ -19,6 +20,7 @@ GH_ACCOUNT=	petitlapin
 GH_PROJECT=	Li-Ri
 USE_SDL=	sdl2 mixer2
 CMAKE_ON=	USE_CONAN  # doesn't really use conan, just handles system depends properly
+CMAKE_ARGS=	-DLIRI_DATA_DIR="${DATADIR}"
 
 DATADIR=	${PREFIX}/share/Li-ri
 PORTDATA=	*