1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00
freebsd-ports/games/dustrac/Makefile

39 lines
868 B
Makefile
Raw Normal View History

PORTNAME= dustrac
2021-04-20 18:21:33 +00:00
PORTVERSION= 2.1.1
PORTREVISION= 1
CATEGORIES= games
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= 2D top-view racing game
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libvorbisfile.so:audio/libvorbis
2021-04-20 18:21:33 +00:00
RUN_DEPENDS= ${LOCALBASE}/share/fonts/dejavu/DejaVuSans-Bold.ttf:x11-fonts/dejavu
USE_GITHUB= yes
GH_ACCOUNT= juzzlin
GH_PROJECT= DustRacing2D
2021-04-20 18:21:33 +00:00
GH_TAGNAME= ae380b8 # includes crash fix
USES= compiler:c++11-lib cmake gl openal pkgconfig qt:5
USE_GL= gl glu
2021-04-20 18:21:33 +00:00
USE_QT= core gui opengl xml widgets testlib sql \
buildtools_build linguisttools_build qmake_build
CMAKE_ARGS= -DReleaseBuild=on \
2021-04-20 18:21:33 +00:00
-DSystemFonts=on \
-DDATA_PATH=${DATADIR} \
-DDOC_PATH=${DOCSDIR}
LDFLAGS+= -L${LOCALBASE}/lib
PORTDATA= *
PORTDOCS= *
OPTIONS_DEFINE= DOCS
post-install:
2021-04-20 18:21:33 +00:00
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/dustrac-editor
.include <bsd.port.mk>