View | Details | Raw Unified | Return to bug 226897 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-4 / +12 lines)
Lines 4-11 Link Here
4
PORTNAME=	openrct2
4
PORTNAME=	openrct2
5
DISTVERSIONPREFIX=	v
5
DISTVERSIONPREFIX=	v
6
DISTVERSION=	0.1.2
6
DISTVERSION=	0.1.2
7
PORTREVISION=	1
7
PORTREVISION=	2
8
CATEGORIES=	games
8
CATEGORIES=	games
9
MASTER_SITES+=	https://github.com/OpenRCT2/title-sequences/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/:title
10
DISTFILES+=	title-sequence-${DISTVERSIONPREFIX}${DISTVERSION}.zip:title
11
EXTRACT_ONLY=	OpenRCT2-OpenRCT2-${DISTVERSIONPREFIX}${DISTVERSION}_GH0.tar.gz
9
12
10
MAINTAINER=	pkubaj@anongoth.pl
13
MAINTAINER=	pkubaj@anongoth.pl
11
COMMENT=	Open source re-implementation of RollerCoaster Tycoon 2
14
COMMENT=	Open source re-implementation of RollerCoaster Tycoon 2
Lines 30-46 Link Here
30
USE_SDL=	sdl2
33
USE_SDL=	sdl2
31
INSTALLS_ICONS=	yes
34
INSTALLS_ICONS=	yes
32
SUB_FILES=	pkg-message
35
SUB_FILES=	pkg-message
33
SUB_LIST=	DISTVERSIONPREFIX=${DISTVERSIONPREFIX} \
34
		DISTVERSION=${DISTVERSION} \
35
		PORTNAME=${PORTNAME}
36
CMAKE_ON=	BUILD_SHARED_LIBS
36
CMAKE_ON=	BUILD_SHARED_LIBS
37
CMAKE_OFF=	DOWNLOAD_TITLE_SEQUENCES
37
CMAKE_OFF=	DOWNLOAD_TITLE_SEQUENCES
38
38
39
OPTIONS_DEFINE=	DOCS
39
OPTIONS_DEFINE=	DOCS
40
PORTDOCS=	changelog.txt contributors.md licence.txt readme.txt
40
PORTDOCS=	changelog.txt contributors.md licence.txt readme.txt
41
41
42
post-extract:
43
	@${UNZIP_NATIVE_CMD} -d ${WRKDIR}/title-sequence \
44
		${DISTDIR}/title-sequence-${DISTVERSIONPREFIX}${DISTVERSION}.zip
45
42
post-patch:
46
post-patch:
43
	@${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|' \
47
	@${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|' \
44
		${WRKSRC}/src/openrct2/config/Config.cpp
48
		${WRKSRC}/src/openrct2/config/Config.cpp
45
49
50
post-install:
51
	(cd ${WRKDIR}/title-sequence; \
52
		${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/title)
53
46
.include <bsd.port.mk>
54
.include <bsd.port.mk>
(-)distinfo (-1 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1521471656
1
TIMESTAMP = 1521892321
2
SHA256 (title-sequence-v0.1.2.zip) = dcb1648739b351e857e2d19fed1626bec561d5e9f4b49201568f42c475ee7e61
3
SIZE (title-sequence-v0.1.2.zip) = 4073116
2
SHA256 (OpenRCT2-OpenRCT2-v0.1.2_GH0.tar.gz) = 358fc0ceff848734b399dc63c1d7a0c096a54a793afe4522d6f0dd00ba9328c7
4
SHA256 (OpenRCT2-OpenRCT2-v0.1.2_GH0.tar.gz) = 358fc0ceff848734b399dc63c1d7a0c096a54a793afe4522d6f0dd00ba9328c7
3
SIZE (OpenRCT2-OpenRCT2-v0.1.2_GH0.tar.gz) = 6769785
5
SIZE (OpenRCT2-OpenRCT2-v0.1.2_GH0.tar.gz) = 6769785
(-)files/pkg-message.in (-6 / +2 lines)
Lines 1-10 Link Here
1
================================================================================
1
================================================================================
2
2
3
To complete the installation of this port, you need to download the file
3
You need to follow https://openrct2.io/getting-started/index.html to finish
4
https://github.com/OpenRCT2/title-sequences/releases/download/%%DISTVERSIONPREFIX%%%%DISTVERSION%%/title-sequence-%%DISTVERSIONPREFIX%%%%DISTVERSION%%.zip
4
installation.
5
and unpack it to %%PREFIX%%/share/%%PORTNAME%%/title.
6
5
7
You need to follow https://openrct2.website/getting-started/index.html
8
to finish installation.
9
10
================================================================================
6
================================================================================
(-)pkg-plist (+5 lines)
Lines 47-49 Link Here
47
%%DATADIR%%/shaders/drawline.vert
47
%%DATADIR%%/shaders/drawline.vert
48
%%DATADIR%%/shaders/drawrect.frag
48
%%DATADIR%%/shaders/drawrect.frag
49
%%DATADIR%%/shaders/drawrect.vert
49
%%DATADIR%%/shaders/drawrect.vert
50
%%DATADIR%%/title/openrct2.parkseq
51
%%DATADIR%%/title/rct1.parkseq
52
%%DATADIR%%/title/rct1aa.parkseq
53
%%DATADIR%%/title/rct1aall.parkseq
54
%%DATADIR%%/title/rct2.parkseq

Return to bug 226897