mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
e59c88cece
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from GCC 5.4 to GCC 6.4 under most circumstances. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang, c++14-lang, c++0x, c11, or gcc-c++11-lib. PR: 219275
39 lines
814 B
Makefile
39 lines
814 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= dustrac
|
|
PORTVERSION= 1.11.0
|
|
PORTREVISION= 3
|
|
CATEGORIES= games
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= 2D top-view racing game
|
|
|
|
LIB_DEPENDS= libvorbisfile.so:audio/libvorbis
|
|
|
|
USES= compiler:c++11-lib cmake:outsource openal pkgconfig
|
|
USE_GL= glu
|
|
USE_QT5= core opengl xml widgets \
|
|
buildtools_build linguisttools_build qmake_build
|
|
CMAKE_ARGS= -DReleaseBuild=on \
|
|
-DDATA_PATH=${DATADIR} \
|
|
-DDOC_PATH=${DOCSDIR}
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= juzzlin
|
|
GH_PROJECT= DustRacing2D
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
STRIP_FILES= bin/dustrac-game \
|
|
bin/dustrac-editor
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e '/add_subdirectory(UnitTests)/d' \
|
|
${WRKSRC}/src/game/MiniCore/CMakeLists.txt
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STRIP_FILES:S,^,${STAGEDIR}${PREFIX}/,}
|
|
|
|
.include <bsd.port.mk>
|