svn commit: r448704 - in head/games: . openrct2 openrct2/files
Dmitry Marakasov
amdmi3 at FreeBSD.org
Thu Aug 24 19:22:09 UTC 2017
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 at 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 <pkubaj at anongoth.pl>
+# $FreeBSD$
+
+PORTNAME= openrct2
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.1.1
+CATEGORIES= games
+EXTRACT_ONLY= ${PORTNAME}-${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}_GH0${EXTRACT_SUFX}
+
+MAINTAINER= pkubaj at 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 <bsd.port.mk>
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
More information about the svn-ports-all
mailing list