Files
ports/games/dustrac/Makefile
Dmitry Marakasov ed5c420093 - Update to 2.0.3
- Take maintainership

Though it has graphical problems for me on Intel graphics, the
older version segfaults so it's still better. I hope to resolve
these (see https://github.com/juzzlin/DustRacing2D/issues/58),
or they may not reproduce on other hardware.
2019-07-29 20:51:27 +00:00

40 lines
765 B
Makefile

# $FreeBSD$
PORTNAME= dustrac
PORTVERSION= 2.0.3
CATEGORIES= games
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= 2D top-view racing game
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libvorbisfile.so:audio/libvorbis
USE_GITHUB= yes
GH_ACCOUNT= juzzlin
GH_PROJECT= DustRacing2D
USES= compiler:c++11-lib cmake gl openal pkgconfig qt:5
USE_GL= gl glu
USE_QT= core gui opengl xml widgets testlib \
buildtools_build linguisttools_build qmake_build
CMAKE_ARGS= -DReleaseBuild=on \
-DDATA_PATH=${DATADIR} \
-DDOC_PATH=${DOCSDIR}
LDFLAGS+= -L${LOCALBASE}/lib
PORTDATA= *
PORTDOCS= *
OPTIONS_DEFINE= DOCS
STRIP_FILES= bin/dustrac-game \
bin/dustrac-editor
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/dustrac-*
.include <bsd.port.mk>