# $OpenBSD$ VMEM_WARNING = Yes #BROKEN = SHARED_ONLY = Yes COMMENT = rewrite of the HoMM3 engine DISTNAME = vcmi-0.93 SHARED_LIBS = vcmi 0.0 # 0.0 CATEGORIES = games HOMEPAGE = http://forum.vcmi.eu/portal.php MAINTAINER = Kirill Bychkov # GPLv2 PERMIT_PACKAGE_CDROM = Yes WANTLIB += SDL SDL_image SDL_mixer SDL_ttf avcodec avformat avutil WANTLIB += boost_filesystem-mt boost_program_options-mt boost_system-mt WANTLIB += boost_thread-mt c m pthread swscale z MASTER_SITES = http://download.vcmi.eu/ MODULES = devel/cmake gcc4 MODGCC4_ARCHS = * MODGCC4_LANGS += c++ RUN_DEPENDS = devel/desktop-file-utils LIB_DEPENDS = devel/boost \ devel/sdl-image \ devel/sdl-mixer \ devel/sdl-ttf \ graphics/ffmpeg \ graphics/jpeg \ graphics/png # Add -pthread to "enable" boost threading support. CONFIGURE_ARGS += -DCMAKE_CXX_FLAGS=-pthread NO_TEST = Yes .include