blob: ad20c97acdb33fc976dd3e54a02cc3bddf96cbc8 (
plain)
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
|
PORTNAME= OpenLara
DISTVERSION= g20210226
CATEGORIES= games
MAINTAINER= pkubaj@FreeBSD.org
COMMENT= Classic Tomb Raider open-source engine
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= compiler:c++11-lang gl sdl
USE_GL= gl
USE_GITHUB= yes
GH_ACCOUNT= XProger
GH_TAGNAME= b4b19f2
USE_SDL= sdl2
PLIST_FILES= bin/${PORTNAME}
post-patch:
${REINPLACE_CMD} 's|g++|${CXX} ${CXXFLAGS}|' \
${WRKSRC}/src/platform/sdl2/build.sh
do-build:
cd ${WRKSRC}/src/platform/sdl2 && ./build.sh
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/platform/sdl2/OpenLara \
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>
|