aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorAlastair Hogge <agh@riseup.net>2022-05-27 08:12:59 +0000
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2022-06-10 14:38:58 +0000
commit7a66a72bd43194fea5b7a1fa764d824a2d5af83f (patch)
tree1d812919914c8c97c2dc604accf7b056458bbf85 /games
parentcc0881bd3140bffc30b3c0018282ab90c4bb6105 (diff)
downloadports-7a66a72bd43194fea5b7a1fa764d824a2d5af83f.tar.gz
ports-7a66a72bd43194fea5b7a1fa764d824a2d5af83f.zip
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)
Diffstat (limited to 'games')
-rw-r--r--games/opengfx/Makefile16
-rw-r--r--games/opengfx/distinfo6
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