diff --git a/games/openttd/Makefile b/games/openttd/Makefile index 2c4fcc228288..4dcaec155bd1 100644 --- a/games/openttd/Makefile +++ b/games/openttd/Makefile @@ -1,52 +1,54 @@ # Created by: Alexey Dokuchaev 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 MAINTAINER= danfe@FreeBSD.org COMMENT= Open source clone of Microprose Transport Tycoon Deluxe LICENSE= GPLv2 LIB_DEPENDS= libpng.so:graphics/png \ liblzo2.so:archivers/lzo2 USES= cmake compiler:c++17-lang cpe pkgconfig tar:xz CMAKE_ARGS= -DCMAKE_INSTALL_BINDIR:PATH=bin \ -DCMAKE_INSTALL_DATADIR:PATH=share WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} SUB_FILES= pkg-message DESKTOP_ENTRIES="OpenTTD" "${COMMENT}" "${PORTNAME}" "${PORTNAME}" \ "Game;Simulation;StrategyGame;" false OPTIONS_DEFINE= DOCS FLUIDSYNTH SAVE_PASSWORDS SERVER SERVER_PREVENTS= FLUIDSYNTH FLUIDSYNTH_LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth SAVE_PASSWORDS_DESC= Save passwords between server restarts SAVE_PASSWORDS_EXTRA_PATCHES= ${FILESDIR}/extra-patch-save-passwords SERVER_DESC= Build dedicated server only (no GUI) SERVER_USES_OFF= gnome sdl SERVER_USE_OFF= SDL=sdl SERVER_CMAKE_ON= -DOPTION_DEDICATED:BOOL=ON SERVER_LIB_DEPENDS_OFF= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libicui18n.so:devel/icu \ libicu-le-hb.so:devel/icu-le-hb \ libiculx.so:devel/icu-lx SERVER_VARS= USE_RC_SUBR=${PORTNAME} 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 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