blob: 4b83b824f35728f1e5bb3b76af223c39c9d2716e (
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
33
34
35
36
37
38
39
|
PORTNAME= dustrac
PORTVERSION= 2.1.1
PORTREVISION= 1
CATEGORIES= games
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= 2D top-view racing game
WWW= http://dustrac.sourceforge.net/
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libvorbisfile.so:audio/libvorbis
RUN_DEPENDS= ${LOCALBASE}/share/fonts/dejavu/DejaVuSans-Bold.ttf:x11-fonts/dejavu
USE_GITHUB= yes
GH_ACCOUNT= juzzlin
GH_PROJECT= DustRacing2D
GH_TAGNAME= ae380b8 # includes crash fix
USES= compiler:c++11-lib cmake gl openal pkgconfig qt:5
USE_GL= gl glu
USE_QT= core gui opengl xml widgets testlib sql \
buildtools:build linguisttools:build qmake:build
CMAKE_ARGS= -DReleaseBuild=on \
-DSystemFonts=on \
-DDATA_PATH=${DATADIR} \
-DDOC_PATH=${DOCSDIR}
LDFLAGS+= -L${LOCALBASE}/lib
PORTDATA= *
PORTDOCS= *
OPTIONS_DEFINE= DOCS
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/dustrac-editor
.include <bsd.port.mk>
|