git: eca05b18626f - main - games/mari0: fix path to game data

Dmitry Marakasov amdmi3 at FreeBSD.org
Wed May 19 15:22:53 UTC 2021


The branch main has been updated by amdmi3:

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

commit eca05b18626fc410096ae600f3cb0704c769688f
Author:     Dmitry Marakasov <amdmi3 at FreeBSD.org>
AuthorDate: 2021-05-19 15:19:12 +0000
Commit:     Dmitry Marakasov <amdmi3 at FreeBSD.org>
CommitDate: 2021-05-19 15:21:31 +0000

    games/mari0: fix path to game data
---
 games/mari0/Makefile       | 4 ++--
 games/mari0/files/mari0.in | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/games/mari0/Makefile b/games/mari0/Makefile
index 5ddc646682da..de2e2d88d2b2 100644
--- a/games/mari0/Makefile
+++ b/games/mari0/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	mari0
 PORTVERSION=	1.6
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	games
 MASTER_SITES=	http://stabyourself.net/dl.php?file=${PORTNAME}-${PORTVERSION:C/\./00/}/
 DISTNAME=	${PORTNAME}-source
@@ -29,7 +29,7 @@ PORTDATA=	*
 OPTIONS_DEFINE=	DOCS
 
 do-install:
-	${MKDIR} ${STAGEDIR}${DATADIR}
+	@${MKDIR} ${STAGEDIR}${DATADIR}
 	${INSTALL_DATA} ${WRKDIR}/${PORTNAME}_${PORTVERSION}.love \
 		${STAGEDIR}${DATADIR}/
 	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
diff --git a/games/mari0/files/mari0.in b/games/mari0/files/mari0.in
index 0113afadede6..84ac5d4ecdb3 100644
--- a/games/mari0/files/mari0.in
+++ b/games/mari0/files/mari0.in
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-exec %%LOCALBASE%%/bin/love08 %%DATADIR%%/mari0.love "$@"
+exec %%LOCALBASE%%/bin/love08 %%DATADIR%%/mari0_%%PORTVERSION%%.love "$@"


More information about the dev-commits-ports-all mailing list