Date: Mon, 22 Apr 2019 21:18:19 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r499688 - in head/games/teeworlds: . files Message-ID: <201904222118.x3MLIJ19060915@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Mon Apr 22 21:18:18 2019 New Revision: 499688 URL: https://svnweb.freebsd.org/changeset/ports/499688 Log: - Update to 0.7.3.1 - Switch downloads to GitHub - Support testing Deleted: head/games/teeworlds/files/ Modified: head/games/teeworlds/Makefile head/games/teeworlds/distinfo Modified: head/games/teeworlds/Makefile ============================================================================== --- head/games/teeworlds/Makefile Mon Apr 22 21:11:55 2019 (r499687) +++ head/games/teeworlds/Makefile Mon Apr 22 21:18:18 2019 (r499688) @@ -2,11 +2,8 @@ # $FreeBSD$ PORTNAME= teeworlds -PORTVERSION= 0.6.5 +PORTVERSION= 0.7.3.1 CATEGORIES= games -MASTER_SITES= https://downloads.teeworlds.com/ \ - http://mirror.amdmi3.ru/distfiles/ -DISTNAME= ${PORTNAME}-${PORTVERSION}-src MAINTAINER= amdmi3@FreeBSD.org COMMENT= Platform game featuring buggers equipped with weapons @@ -14,25 +11,32 @@ COMMENT= Platform game featuring buggers equipped with LICENSE= ZLIB LICENSE_FILE= ${WRKSRC}/license.txt -USES= cmake cpe pkgconfig python +USE_GITHUB= yes +GH_TUPLE= teeworlds:teeworlds-translation:1cd4924:translations/datasrc/languages \ + teeworlds:teeworlds-maps:7fefdb4:maps/datasrc/maps + +USES= cmake cpe pkgconfig python ssl CPE_VERSION= ${PORTVERSION:C/^0\.//} CMAKE_ARGS= -DPYTHON_EXECUTABLE="${PYTHON_CMD}" PLIST_FILES= bin/${PORTNAME}_srv PORTDATA= * -OPTIONS_DEFINE= CLIENT -OPTIONS_DEFAULT= CLIENT +OPTIONS_DEFINE= CLIENT TEST +OPTIONS_DEFAULT= CLIENT TEST CLIENT_DESC= Build game client CLIENT_CMAKE_BOOL= CLIENT -CLIENT_USES= gl -CLIENT_USE= GL=gl,glu XORG=x11 SDL=sdl +CLIENT_USES= gl sdl +CLIENT_USE= GL=gl,glu XORG=x11 SDL=sdl2 CLIENT_LIB_DEPENDS= libfreetype.so:print/freetype2 \ libwavpack.so:audio/wavpack \ libpnglite.so:graphics/pnglite CLIENT_PLIST_FILES= bin/${PORTNAME} +TEST_BUILD_DEPENDS= googletest>=0:devel/googletest +TEST_TEST_TARGET= run_tests + post-extract: @${RM} -r ${WRKSRC}/src/engine/external/wavpack @${RM} -r ${WRKSRC}/src/engine/external/pnglite @@ -40,16 +44,16 @@ post-extract: post-patch: @${REINPLACE_CMD} -e '/find_package.*Git/ d' ${WRKSRC}/CMakeLists.txt - @${REINPLACE_CMD} -e 's|engine/external/pnglite/pnglite.h|pnglite.h|' \ - ${WRKSRC}/src/engine/client/*.cpp \ - ${WRKSRC}/src/tools/*.cpp post-patch-CLIENT-off: @${REINPLACE_CMD} -e '/find_package.*Pnglite/ d' ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e '/find_package.*Wavpack/ d' ${WRKSRC}/CMakeLists.txt - @${REINPLACE_CMD} -e '/find_package.*SDL/ d' ${WRKSRC}/CMakeLists.txt + @${REINPLACE_CMD} -e '/find_package.*SDL2/ d' ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e '/find_package.*Freetype/ d' ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e '/find_package.*OpenGL/ d' ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e '/find_package.*X11/ d' ${WRKSRC}/CMakeLists.txt + +post-patch-TEST-off: + @${REINPLACE_CMD} -e '/find_package.*GTest/ d' ${WRKSRC}/CMakeLists.txt .include <bsd.port.mk> Modified: head/games/teeworlds/distinfo ============================================================================== --- head/games/teeworlds/distinfo Mon Apr 22 21:11:55 2019 (r499687) +++ head/games/teeworlds/distinfo Mon Apr 22 21:18:18 2019 (r499688) @@ -1,3 +1,7 @@ -TIMESTAMP = 1541171736 -SHA256 (teeworlds-0.6.5-src.tar.gz) = 0bd3b85c76437138438f8cd7848251d0085e19026e0f89656a2fb44398ec941e -SIZE (teeworlds-0.6.5-src.tar.gz) = 10387131 +TIMESTAMP = 1555964484 +SHA256 (teeworlds-teeworlds-0.7.3.1_GH0.tar.gz) = 62da301f20dfc20e2e480223dc1fc4ea5f9bfbfa6bc304c4c7732071a319ffd4 +SIZE (teeworlds-teeworlds-0.7.3.1_GH0.tar.gz) = 8422909 +SHA256 (teeworlds-teeworlds-translation-1cd4924_GH0.tar.gz) = f43c95361325521af7dcb5be1605f2a1e2e38cfc9a34013a78536592d2868aa5 +SIZE (teeworlds-teeworlds-translation-1cd4924_GH0.tar.gz) = 152911 +SHA256 (teeworlds-teeworlds-maps-7fefdb4_GH0.tar.gz) = 84764b026963e22cc58658837af9a857e11617c92311dafbd75412507bf7073a +SIZE (teeworlds-teeworlds-maps-7fefdb4_GH0.tar.gz) = 151472
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904222118.x3MLIJ19060915>