pkgsrc/games/megaglest/Makefile
2021-12-08 16:01:42 +00:00

46 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.17 2021/12/08 16:04:38 adam Exp $
DISTNAME= megaglest-3.13.0
PKGREVISION= 15
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_GITHUB:=MegaGlest/}
GITHUB_PROJECT= megaglest-source
GITHUB_TAG= ${PKGVERSION_NOREV}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://megaglest.org/
COMMENT= 3D real-time-strategy game with seven factions
LICENSE= gnu-gpl-v3
USE_CMAKE= yes
USE_TOOLS+= pkg-config
USE_LANGUAGES= c c++
DEPENDS+= megaglest-data>=${PKGVERSION_NOREV}:../../games/megaglest-data
TOOL_DEPENDS+= help2man-[0-9]*:../../converters/help2man
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE="Release"
CMAKE_ARGS+= -DWANT_GIT_STAMP=OFF
CMAKE_ARGS+= -DWANT_USE_VLC=OFF
CMAKE_ARGS+= -DWANT_USE_GoogleBreakpad=OFF
# detection fails; only used by tests?
CMAKE_ARGS+= -DWANT_USE_FriBiDi=OFF
CMAKE_ARGS+= -DMEGAGLEST_MANPAGE_INSTALL_PATH="${PKGMANDIR}/man6/"
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../audio/openal-soft/buildlink3.mk"
.include "../../devel/SDL2/buildlink3.mk"
.include "../../fonts/fontconfig/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/ftgl/buildlink3.mk"
.include "../../graphics/glew/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../lang/lua/buildlink3.mk"
.include "../../net/miniupnpc/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../x11/wxGTK30/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"