04d6f52202
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some circumstances such as versions of FreeBSD or platforms). This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using using Mk/bsd.octave.mk which in turn has USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang, c++11-lang, c++0x, c11, or gcc-c++11-lib. PR: 216707
38 lines
814 B
Makefile
38 lines
814 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= dustrac
|
|
PORTVERSION= 1.11.0
|
|
PORTREVISION= 1
|
|
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>
|