blob: 8fda3bf0c99591b7931a7635dfab1623568650c8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Created by: Piotr Kubaj <pkubaj@anongoth.pl>
# $FreeBSD$
PORTNAME= openrct2
DISTVERSIONPREFIX= v
DISTVERSION= 0.1.1
PORTREVISION= 2
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 <bsd.port.mk>
|