aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2021-05-05 12:32:56 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2021-05-05 12:49:39 +0000
commit102adfca132760a608de3179fa7444b301964747 (patch)
tree7f842057854b080b863346381672963d243776e5
parentb7eb88a3c38760cce0bdcdf12925155bf98fd997 (diff)
- Update OpenTTD to version 1.11.2
- Hook some tests to our framework Found out via: repology.org
-rw-r--r--games/openttd/Makefile6
-rw-r--r--games/openttd/distinfo5
2 files changed, 7 insertions, 4 deletions
diff --git a/games/openttd/Makefile b/games/openttd/Makefile
index 2c4fcc228288..4dcaec155bd1 100644
--- a/games/openttd/Makefile
+++ b/games/openttd/Makefile
@@ -1,8 +1,7 @@
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
PORTNAME= openttd
-DISTVERSION= 1.11.0
-PORTREVISION= 1
+DISTVERSION= 1.11.2
CATEGORIES= games
MASTER_SITES= https://proxy.binaries.openttd.org/openttd-releases/${DISTVERSION}/
DISTNAME= ${PORTNAME}-${DISTVERSION}-source
@@ -49,4 +48,7 @@ SERVER_VARS_OFF= INSTALLS_ICONS=yes
post-install-SERVER-on:
@${REINPLACE_CMD} -E '/icons|pixmaps/d' ${TMPPLIST}
+do-test:
+ @cd ${TEST_WRKSRC} && ctest -C ${CMAKE_BUILD_TYPE} ${_MAKE_JOBS}
+
.include <bsd.port.mk>
diff --git a/games/openttd/distinfo b/games/openttd/distinfo
index ce172b03098e..21966db3a4c7 100644
--- a/games/openttd/distinfo
+++ b/games/openttd/distinfo
@@ -1,2 +1,3 @@
-SHA256 (openttd-1.11.0-source.tar.xz) = 5e65184e07368ba1afa62dbb3e35abaee6c4da6730ff4bc9eb4447d53363c7a8
-SIZE (openttd-1.11.0-source.tar.xz) = 6805420
+TIMESTAMP = 1620068733
+SHA256 (openttd-1.11.2-source.tar.xz) = 0fba935a2a815f4fe8cd6dc2e2ae33f72769538731228f848a63b3a6e9482e6d
+SIZE (openttd-1.11.2-source.tar.xz) = 6783972