[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / games / flare-game

File: [cvs.NetBSD.org] / pkgsrc / games / flare-game / Makefile (download)

Revision 1.10, Fri Dec 4 20:45:19 2020 UTC (3 years, 2 months ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4
Changes since 1.9: +2 -1 lines

Revbump packages with a runtime Python dep but no version prefix.

For the Python 3.8 default switch.

# $NetBSD: Makefile,v 1.10 2020/12/04 20:45:19 nia Exp $

DISTNAME=	flare-game-1.11
PKGREVISION=	1
CATEGORIES=	games
MASTER_SITES=	${MASTER_SITE_GITHUB:=flareteam/}
GITHUB_TAG=	v${PKGVERSION_NOREV}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://flarerpg.org/
COMMENT=	Fantasy action RPG using the FLARE engine
LICENSE=	gnu-gpl-v3 AND cc-by-sa-v3.0 AND ofl-v1.1 AND gnu-gpl-v2

DEPENDS+=	flare-engine>=1.10:../../games/flare-engine

WRKSRC=		${WRKDIR}/${PKGNAME_NOREV}
USE_LANGUAGES=	c c++
USE_CMAKE=	yes

REPLACE_PYTHON+=	mods/alpha_demo/languages/xgettext.py
REPLACE_PYTHON+=	mods/default/languages/xgettext.py
REPLACE_PYTHON+=	mods/fantasycore/languages/xgettext.py

CMAKE_ARGS+=	-DDATADIR:STRING="${PREFIX}/share/flare"

.include "../../lang/python/application.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"