git: 7a66a72bd431 - main - games/opengfx: update to 7.1

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Fri, 10 Jun 2022 14:41:23 UTC
The branch main has been updated by fernape:

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

commit 7a66a72bd43194fea5b7a1fa764d824a2d5af83f
Author:     Alastair Hogge <agh@riseup.net>
AuthorDate: 2022-05-27 08:12:59 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2022-06-10 14:38:58 +0000

    games/opengfx: update to 7.1
    
    ChangeLog: https://github.com/OpenTTD/OpenGFX/blob/7.1/changelog.txt
    
    PR:     264212
    Reported by:    agh@riseup.net
    Approved by:    rum1cro@yandex.ru (maintainer, timeout > 2 weeks)
---
 games/opengfx/Makefile | 16 ++++++++--------
 games/opengfx/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/games/opengfx/Makefile b/games/opengfx/Makefile
index 24d1a6272f96..5807ddc33fc4 100644
--- a/games/opengfx/Makefile
+++ b/games/opengfx/Makefile
@@ -1,9 +1,10 @@
 # Created by: Ilya A. Arkhipov <rum1cro@yandex.ru>
 
 PORTNAME=	opengfx
-PORTVERSION=	0.6.0
+PORTVERSION=	7.1
 CATEGORIES=	games
 MASTER_SITES=	https://cdn.openttd.org/${PORTNAME}-releases/${PORTVERSION}/
+PKGNAMEPREFIX=	openttd-
 DISTFILES=	${PORTNAME}-${PORTVERSION}-all.zip
 
 MAINTAINER=	rum1cro@yandex.ru
@@ -12,18 +13,17 @@ COMMENT=	Free alternative graphics for OpenTTD game engine
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/license.txt
 
-USES=		zip
-
-NO_BUILD=	yes
 NO_ARCH=	yes
-DATADIR=	${PREFIX}/share/openttd/baseset/opengfx
+NO_BUILD=	yes
 
-# upstream zipped a tar file, unpack it.
 post-extract:
 	@cd ${WRKDIR} && tar -xf ${PORTNAME}-${PORTVERSION}.tar
 
 do-install:
-	@${MKDIR} ${STAGEDIR}${DATADIR}
-	${INSTALL_DATA} ${WRKSRC}/* ${STAGEDIR}${DATADIR}
+	@${MKDIR} \
+		${STAGEDIR}${PREFIX}/share/openttd/baseset/${PORTNAME}
+	${INSTALL_DATA} \
+		${WRKSRC}/* \
+		${STAGEDIR}${PREFIX}/share/openttd/baseset/${PORTNAME}
 
 .include <bsd.port.mk>
diff --git a/games/opengfx/distinfo b/games/opengfx/distinfo
index 2c53e3b65235..571ee79da1af 100644
--- a/games/opengfx/distinfo
+++ b/games/opengfx/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1585775685
-SHA256 (opengfx-0.6.0-all.zip) = d419c0f5f22131de15f66ebefde464df3b34eb10e0645fe218c59cbc26c20774
-SIZE (opengfx-0.6.0-all.zip) = 3551230
+TIMESTAMP = 1653450074
+SHA256 (opengfx-7.1-all.zip) = 928fcf34efd0719a3560cbab6821d71ce686b6315e8825360fba87a7a94d7846
+SIZE (opengfx-7.1-all.zip) = 3547160