mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
da3162c7c9
Per discussion with bapt on helping pkg handle the changing of these deps and avoiding impossible upgrade senarios. PR: 246767 Reviewed by: manu, bapt Approved by: x11 Differential Revision: https://reviews.freebsd.org/D30824
33 lines
643 B
Makefile
33 lines
643 B
Makefile
PORTNAME= OpenLara
|
|
DISTVERSION= g20210226
|
|
PORTREVISION= 1
|
|
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>
|