--- games/vcmi/Makefile 2017-09-29 01:02:25.233621000 +0300 +++ games/vcmi/Makefile 2017-09-29 00:58:34.012391000 +0300 @@ -2,7 +2,8 @@ # $FreeBSD$ PORTNAME= vcmi -PORTVERSION= 0.99 +DISTVERSION= 0.99-615 +DISTVERSIONSUFFIX= -gec2bef40 CATEGORIES= games MAINTAINER= pkubaj@anongoth.pl @@ -13,17 +14,22 @@ LIB_DEPENDS= libboost_date_time.so:devel/boost-libs \ libavcodec.so:multimedia/ffmpeg \ - libminizip.so:archivers/minizip + libminizip.so:archivers/minizip \ + libfuzzylite.so:devel/fuzzylite RUN_DEPENDS= innoextract:archivers/innoextract USE_GITHUB= yes SHEBANG_FILES= vcmibuilder -USES= compiler cmake execinfo pkgconfig shebangfix +USES= cmake:outsource compiler:c++11-lang pkgconfig shebangfix USE_QT5= buildtools_build core gui network qmake_build widgets USE_SDL= image2 mixer2 ttf2 -USE_LDCONFIG= yes +USE_LDCONFIG= ${PREFIX}/lib/vcmi INSTALLS_ICONS= yes + +CMAKE_BUILD_TYPE= RelWithDebInfo # This is REQUIRED. Release build crashes when starting a game. +CMAKE_ARGS+= -DFORCE_BUNDLED_FL:BOOL=OFF \ + -DENABLE_TEST:BOOL=OFF .include