From owner-svn-ports-all@freebsd.org Thu Aug 24 19:22:09 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 10204DE67B9; Thu, 24 Aug 2017 19:22:09 +0000 (UTC) (envelope-from amdmi3@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 mx1.freebsd.org (Postfix) with ESMTPS id DDC7B3E10; Thu, 24 Aug 2017 19:22:08 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v7OJM869042348; Thu, 24 Aug 2017 19:22:08 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v7OJM7np042340; Thu, 24 Aug 2017 19:22:07 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201708241922.v7OJM7np042340@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Thu, 24 Aug 2017 19:22:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r448704 - in head/games: . openrct2 openrct2/files X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: in head/games: . openrct2 openrct2/files X-SVN-Commit-Revision: 448704 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Aug 2017 19:22:09 -0000 Author: amdmi3 Date: Thu Aug 24 19:22:07 2017 New Revision: 448704 URL: https://svnweb.freebsd.org/changeset/ports/448704 Log: An open-source re-implementation of RollerCoaster Tycoon 2. A construction and management simulation video game that simulates amusement park management. WWW: https://openrct2.website/ PR: 221375 Submitted by: pkubaj@anongoth.pl Added: head/games/openrct2/ head/games/openrct2/Makefile (contents, props changed) head/games/openrct2/distinfo (contents, props changed) head/games/openrct2/files/ head/games/openrct2/files/patch-src_openrct2_config_Config.cpp (contents, props changed) head/games/openrct2/files/pkg-message.in (contents, props changed) head/games/openrct2/pkg-descr (contents, props changed) head/games/openrct2/pkg-plist (contents, props changed) Modified: head/games/Makefile Modified: head/games/Makefile ============================================================================== --- head/games/Makefile Thu Aug 24 19:08:20 2017 (r448703) +++ head/games/Makefile Thu Aug 24 19:22:07 2017 (r448704) @@ -702,6 +702,7 @@ SUBDIR += openomf SUBDIR += openpref SUBDIR += openra + SUBDIR += openrct2 SUBDIR += opensfx SUBDIR += opensonic SUBDIR += openspades Added: head/games/openrct2/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/openrct2/Makefile Thu Aug 24 19:22:07 2017 (r448704) @@ -0,0 +1,44 @@ +# Created by: Piotr Kubaj +# $FreeBSD$ + +PORTNAME= openrct2 +DISTVERSIONPREFIX= v +DISTVERSION= 0.1.1 +CATEGORIES= games +EXTRACT_ONLY= ${PORTNAME}-${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}_GH0${EXTRACT_SUFX} + +MAINTAINER= pkubaj@anongoth.pl +COMMENT= Open source re-implementation of RollerCoaster Tycoon 2 + +LICENSE= GPLv3+ +LICENSE_FILE= ${WRKSRC}/licence.txt + +LIB_DEPENDS= libpng.so:graphics/png \ + libjansson.so:devel/jansson \ + libzip.so:archivers/libzip \ + libspeexdsp.so:audio/speexdsp \ + libfontconfig.so:x11-fonts/fontconfig \ + libcurl.so:ftp/curl \ + libfreetype.so:print/freetype2 + +USE_GITHUB= yes + +WRKSRC= ${WRKDIR}/OpenRCT2-${PORTVERSION} +INSTALLS_ICONS= yes +USES= compiler:c++14-lang cmake:outsource iconv localbase:ldflags pkgconfig ssl +USE_GL= gl +USE_LDCONFIG= yes +USE_SDL= sdl2 +SUB_FILES= pkg-message +SUB_LIST= DISTVERSIONPREFIX=${DISTVERSIONPREFIX} \ + DISTVERSION=${DISTVERSION} \ + PORTNAME=${PORTNAME} +CMAKE_ARGS= -DDOWNLOAD_TITLE_SEQUENCES=OFF + +OPTIONS_DEFINE= DOCS + +post-patch: + @${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|' \ + ${WRKSRC}/src/openrct2/config/Config.cpp + +.include Added: head/games/openrct2/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/openrct2/distinfo Thu Aug 24 19:22:07 2017 (r448704) @@ -0,0 +1,3 @@ +TIMESTAMP = 1502898621 +SHA256 (openrct2-openrct2-v0.1.1_GH0.tar.gz) = 5d7a6c7f3c770e7de506958f86789c438c543c27d312fd096322cde4e89f50ad +SIZE (openrct2-openrct2-v0.1.1_GH0.tar.gz) = 6284135 Added: head/games/openrct2/files/patch-src_openrct2_config_Config.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/openrct2/files/patch-src_openrct2_config_Config.cpp Thu Aug 24 19:22:07 2017 (r448704) @@ -0,0 +1,11 @@ +--- src/openrct2/config/Config.cpp.orig 2017-08-09 22:02:59 UTC ++++ src/openrct2/config/Config.cpp +@@ -591,6 +591,8 @@ namespace Config + { + log_verbose("config_find_rct2_path(...)"); + ++ return "%%DATADIR%%"; ++ + static const utf8 * searchLocations[] = + { + "C:\\GOG Games\\RollerCoaster Tycoon 2 Triple Thrill Pack", Added: head/games/openrct2/files/pkg-message.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/openrct2/files/pkg-message.in Thu Aug 24 19:22:07 2017 (r448704) @@ -0,0 +1,10 @@ +================================================================================ + +To complete the installation of this port, you need to download the file +https://github.com/OpenRCT2/title-sequences/releases/download/%%DISTVERSIONPREFIX%%%%DISTVERSION%%/title-sequence-%%DISTVERSIONPREFIX%%%%DISTVERSION%%.zip +and unpack it to %%PREFIX%%/share/%%PORTNAME%%/title. + +You need to follow https://openrct2.website/getting-started/index.html +to finish installation. + +================================================================================ Added: head/games/openrct2/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/openrct2/pkg-descr Thu Aug 24 19:22:07 2017 (r448704) @@ -0,0 +1,4 @@ +An open-source re-implementation of RollerCoaster Tycoon 2. A construction and +management simulation video game that simulates amusement park management. + +WWW: https://openrct2.website/ Added: head/games/openrct2/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/openrct2/pkg-plist Thu Aug 24 19:22:07 2017 (r448704) @@ -0,0 +1,43 @@ +bin/openrct2 +lib/libopenrct2.a +share/applications/openrct2.desktop +%%PORTDOCS%%%%DOCSDIR%%/changelog.txt +%%PORTDOCS%%%%DOCSDIR%%/contributors.md +%%PORTDOCS%%%%DOCSDIR%%/licence.txt +%%PORTDOCS%%%%DOCSDIR%%/readme.txt +share/icons/hicolor/128x128/apps/openrct2.png +share/icons/hicolor/16x16/apps/openrct2.png +share/icons/hicolor/256x256/apps/openrct2.png +share/icons/hicolor/32x32/apps/openrct2.png +share/icons/hicolor/64x64/apps/openrct2.png +share/icons/hicolor/scalable/apps/openrct2.svg +man/man6/openrct2.6.gz +%%DATADIR%%/g2.dat +%%DATADIR%%/language/ca-ES.txt +%%DATADIR%%/language/cs-CZ.txt +%%DATADIR%%/language/de-DE.txt +%%DATADIR%%/language/en-GB.txt +%%DATADIR%%/language/en-US.txt +%%DATADIR%%/language/es-ES.txt +%%DATADIR%%/language/fi-FI.txt +%%DATADIR%%/language/fr-FR.txt +%%DATADIR%%/language/hu-HU.txt +%%DATADIR%%/language/it-IT.txt +%%DATADIR%%/language/ja-JP.txt +%%DATADIR%%/language/ko-KR.txt +%%DATADIR%%/language/nb-NO.txt +%%DATADIR%%/language/nl-NL.txt +%%DATADIR%%/language/pl-PL.txt +%%DATADIR%%/language/pt-BR.txt +%%DATADIR%%/language/ru-RU.txt +%%DATADIR%%/language/sv-SE.txt +%%DATADIR%%/language/zh-CN.txt +%%DATADIR%%/language/zh-TW.txt +%%DATADIR%%/shaders/copyframebuffer.frag +%%DATADIR%%/shaders/copyframebuffer.vert +%%DATADIR%%/shaders/drawimage.frag +%%DATADIR%%/shaders/drawimage.vert +%%DATADIR%%/shaders/drawline.frag +%%DATADIR%%/shaders/drawline.vert +%%DATADIR%%/shaders/fillrect.frag +%%DATADIR%%/shaders/fillrect.vert