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

Collapse All | Expand All

(-)Makefile (-5 / +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 29-38 Link Here
29
USE_LDCONFIG=	yes
32
USE_LDCONFIG=	yes
30
USE_SDL=	sdl2
33
USE_SDL=	sdl2
31
INSTALLS_ICONS=	yes
34
INSTALLS_ICONS=	yes
32
SUB_FILES=	pkg-message
33
SUB_LIST=	DISTVERSIONPREFIX=${DISTVERSIONPREFIX} \
34
		DISTVERSION=${DISTVERSION} \
35
		PORTNAME=${PORTNAME}
36
CMAKE_ON=	BUILD_SHARED_LIBS
35
CMAKE_ON=	BUILD_SHARED_LIBS
37
CMAKE_OFF=	DOWNLOAD_TITLE_SEQUENCES
36
CMAKE_OFF=	DOWNLOAD_TITLE_SEQUENCES
38
37
Lines 39-46 Link Here
39
OPTIONS_DEFINE=	DOCS
38
OPTIONS_DEFINE=	DOCS
40
PORTDOCS=	changelog.txt contributors.md licence.txt readme.txt
39
PORTDOCS=	changelog.txt contributors.md licence.txt readme.txt
41
40
41
post-extract:
42
	@${UNZIP_NATIVE_CMD} -d ${WRKDIR}/title-sequence \
43
		${DISTDIR}/title-sequence-${DISTVERSIONPREFIX}${DISTVERSION}.zip
44
42
post-patch:
45
post-patch:
43
	@${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|' \
46
	@${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|' \
44
		${WRKSRC}/src/openrct2/config/Config.cpp
47
		${WRKSRC}/src/openrct2/config/Config.cpp
45
48
49
post-install:
50
	(cd ${WRKDIR}/title-sequence; \
51
		${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/title)
52
46
.include <bsd.port.mk>
53
.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 (-10 lines)
Lines 1-10 Link Here
1
================================================================================
2
3
To complete the installation of this port, you need to download the file
4
https://github.com/OpenRCT2/title-sequences/releases/download/%%DISTVERSIONPREFIX%%%%DISTVERSION%%/title-sequence-%%DISTVERSIONPREFIX%%%%DISTVERSION%%.zip
5
and unpack it to %%PREFIX%%/share/%%PORTNAME%%/title.
6
7
You need to follow https://openrct2.website/getting-started/index.html
8
to finish installation.
9
10
================================================================================
(-)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