From owner-svn-ports-head@freebsd.org Fri Aug 21 19:56:37 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B74463C7942; Fri, 21 Aug 2020 19:56:37 +0000 (UTC) (envelope-from makc@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BYC2Y4NxPz4QcD; Fri, 21 Aug 2020 19:56:37 +0000 (UTC) (envelope-from makc@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 75F39AA6C; Fri, 21 Aug 2020 19:56:37 +0000 (UTC) (envelope-from makc@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 07LJubIp097889; Fri, 21 Aug 2020 19:56:37 GMT (envelope-from makc@FreeBSD.org) Received: (from makc@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 07LJuaT6097885; Fri, 21 Aug 2020 19:56:36 GMT (envelope-from makc@FreeBSD.org) Message-Id: <202008211956.07LJuaT6097885@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: makc set sender to makc@FreeBSD.org using -f From: Max Brazhnikov Date: Fri, 21 Aug 2020 19:56:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r545621 - in head: . games games/colobot games/colobot/files X-SVN-Group: ports-head X-SVN-Commit-Author: makc X-SVN-Commit-Paths: in head: . games games/colobot games/colobot/files X-SVN-Commit-Revision: 545621 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Aug 2020 19:56:37 -0000 Author: makc Date: Fri Aug 21 19:56:36 2020 New Revision: 545621 URL: https://svnweb.freebsd.org/changeset/ports/545621 Log: games/colobot: fix build with Python 3 and restore port Added: head/games/colobot/ - copied from r544926, head/games/colobot/ head/games/colobot/files/patch-data_CMakeLists.txt (contents, props changed) Modified: head/MOVED head/games/Makefile head/games/colobot/Makefile Modified: head/MOVED ============================================================================== --- head/MOVED Fri Aug 21 19:02:02 2020 (r545620) +++ head/MOVED Fri Aug 21 19:56:36 2020 (r545621) @@ -15266,7 +15266,6 @@ devel/py-yum-metadata-parser||2020-08-15|Has expired: devel/rubygem-warden127||2020-08-15|Has expired: No longer needed dns/py-dnschain||2020-08-15|Has expired: Uses deprecated version of python dns/py-idnkit2||2020-08-15|Has expired: Uses deprecated version of python -games/colobot||2020-08-15|Has expired: Uses deprecated version of python games/endgame-singularity||2020-08-15|Has expired: Uses deprecated version of python games/katawa-shoujo||2020-08-15|Has expired: Uses deprecated version of RenPy games/pyfa||2020-08-15|Has expired: Uses deprecated version of python Modified: head/games/Makefile ============================================================================== --- head/games/Makefile Fri Aug 21 19:02:02 2020 (r545620) +++ head/games/Makefile Fri Aug 21 19:56:36 2020 (r545621) @@ -145,6 +145,7 @@ SUBDIR += circuslinux SUBDIR += cockatrice SUBDIR += coffeebreak + SUBDIR += colobot SUBDIR += colorcode SUBDIR += columns SUBDIR += concentration Modified: head/games/colobot/Makefile ============================================================================== --- head/games/colobot/Makefile Sat Aug 15 10:05:27 2020 (r544926) +++ head/games/colobot/Makefile Fri Aug 21 19:56:36 2020 (r545621) @@ -4,20 +4,17 @@ PORTNAME= colobot DISTVERSIONPREFIX= ${PORTNAME}-gold- DISTVERSION= 0.1.12 DISTVERSIONSUFFIX= -alpha -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= games MASTER_SITES= https://colobot.info/files/music/:music DISTFILES= colobot-music_ogg_0.1.12-alpha.tar.gz:music -MAINTAINER= fernape@FreeBSD.org +MAINTAINER= makc@FreeBSD.org COMMENT= Educational game aiming to teach programming to kids LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.txt -DEPRECATED= Uses deprecated version of python -EXPIRATION_DATE= 2020-08-15 - LIB_DEPENDS= libpng.so:graphics/png \ libsndfile.so:audio/libsndfile \ libvorbis.so:audio/libvorbis \ @@ -27,7 +24,8 @@ LIB_DEPENDS= libpng.so:graphics/png \ libboost_system.so:devel/boost-libs USES= cmake compiler:c++11-lang gl gettext-runtime \ - gettext-tools:build localbase:ldflags openal python:2.7 sdl + gettext-tools:build localbase:ldflags openal python:build \ + sdl shebangfix USE_SDL= image2 ttf2 USE_GL= gl glew glu USE_LDCONFIG= yes @@ -36,6 +34,7 @@ USE_GITHUB= yes GH_TUPLE= colobot:colobot-data:c467bd9:data LDFLAGS_i386= -Wl,-znotext +SHEBANG_FILES= data/i18n-tools/scripts/process_translations.py post-extract: @${MV} ${WRKDIR}/colobot-data-c467bd9/* ${WRKSRC}/data @@ -50,5 +49,6 @@ post-patch: @${REINPLACE_CMD} 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/cmake/FindSDL2_image.cmake @${REINPLACE_CMD} 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/cmake/FindSDL2_ttf.cmake @${REINPLACE_CMD} 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/tools/check-levels.sh + ${REINPLACE_CMD} 's|python|${PYTHON_CMD}|' ${WRKSRC}/data/tools/*.sh .include Added: head/games/colobot/files/patch-data_CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/colobot/files/patch-data_CMakeLists.txt Fri Aug 21 19:56:36 2020 (r545621) @@ -0,0 +1,11 @@ +--- data/CMakeLists.txt.orig 2019-02-23 19:01:32 UTC ++++ data/CMakeLists.txt +@@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 2.8) + option(TRANSLATIONS "Enable translations of help and level files" ON) + + if(TRANSLATIONS) +- find_package(PythonInterp 2.7 REQUIRED) ++ find_package(PythonInterp REQUIRED) + else() + message(STATUS "Translations disabled; only English files will be installed") + endif()