head	1.15;
access;
symbols
	pkgsrc-2026Q1:1.15.0.6
	pkgsrc-2026Q1-base:1.15
	pkgsrc-2025Q4:1.15.0.4
	pkgsrc-2025Q4-base:1.15
	pkgsrc-2025Q3:1.15.0.2
	pkgsrc-2025Q3-base:1.15
	pkgsrc-2025Q2:1.14.0.8
	pkgsrc-2025Q2-base:1.14
	pkgsrc-2025Q1:1.14.0.6
	pkgsrc-2025Q1-base:1.14
	pkgsrc-2024Q4:1.14.0.4
	pkgsrc-2024Q4-base:1.14
	pkgsrc-2024Q3:1.14.0.2
	pkgsrc-2024Q3-base:1.14
	pkgsrc-2024Q2:1.13.0.8
	pkgsrc-2024Q2-base:1.13
	pkgsrc-2024Q1:1.13.0.6
	pkgsrc-2024Q1-base:1.13
	pkgsrc-2023Q4:1.13.0.4
	pkgsrc-2023Q4-base:1.13
	pkgsrc-2023Q3:1.13.0.2
	pkgsrc-2023Q3-base:1.13
	pkgsrc-2023Q2:1.12.0.8
	pkgsrc-2023Q2-base:1.12
	pkgsrc-2023Q1:1.12.0.6
	pkgsrc-2023Q1-base:1.12
	pkgsrc-2022Q4:1.12.0.4
	pkgsrc-2022Q4-base:1.12
	pkgsrc-2022Q3:1.12.0.2
	pkgsrc-2022Q3-base:1.12
	pkgsrc-2022Q2:1.11.0.8
	pkgsrc-2022Q2-base:1.11
	pkgsrc-2022Q1:1.11.0.6
	pkgsrc-2022Q1-base:1.11
	pkgsrc-2021Q4:1.11.0.4
	pkgsrc-2021Q4-base:1.11
	pkgsrc-2021Q3:1.11.0.2
	pkgsrc-2021Q3-base:1.11
	pkgsrc-2021Q2:1.10.0.6
	pkgsrc-2021Q2-base:1.10
	pkgsrc-2021Q1:1.10.0.4
	pkgsrc-2021Q1-base:1.10
	pkgsrc-2020Q4:1.10.0.2
	pkgsrc-2020Q4-base:1.10
	pkgsrc-2020Q3:1.9.0.6
	pkgsrc-2020Q3-base:1.9
	pkgsrc-2020Q2:1.9.0.4
	pkgsrc-2020Q2-base:1.9
	pkgsrc-2020Q1:1.9.0.2
	pkgsrc-2020Q1-base:1.9
	pkgsrc-2019Q4:1.8.0.6
	pkgsrc-2019Q4-base:1.8
	pkgsrc-2019Q3:1.8.0.2
	pkgsrc-2019Q3-base:1.8
	pkgsrc-2019Q2:1.6.0.2
	pkgsrc-2019Q2-base:1.6
	pkgsrc-2019Q1:1.5.0.16
	pkgsrc-2019Q1-base:1.5
	pkgsrc-2018Q4:1.5.0.14
	pkgsrc-2018Q4-base:1.5
	pkgsrc-2018Q3:1.5.0.12
	pkgsrc-2018Q3-base:1.5
	pkgsrc-2018Q2:1.5.0.10
	pkgsrc-2018Q2-base:1.5
	pkgsrc-2018Q1:1.5.0.8
	pkgsrc-2018Q1-base:1.5
	pkgsrc-2017Q4:1.5.0.6
	pkgsrc-2017Q4-base:1.5
	pkgsrc-2017Q3:1.5.0.4
	pkgsrc-2017Q3-base:1.5
	pkgsrc-2017Q2:1.4.0.18
	pkgsrc-2017Q2-base:1.4
	pkgsrc-2017Q1:1.4.0.16
	pkgsrc-2017Q1-base:1.4
	pkgsrc-2016Q4:1.4.0.14
	pkgsrc-2016Q4-base:1.4
	pkgsrc-2016Q3:1.4.0.12
	pkgsrc-2016Q3-base:1.4
	pkgsrc-2016Q2:1.4.0.10
	pkgsrc-2016Q2-base:1.4
	pkgsrc-2016Q1:1.4.0.8
	pkgsrc-2016Q1-base:1.4
	pkgsrc-2015Q4:1.4.0.6
	pkgsrc-2015Q4-base:1.4
	pkgsrc-2015Q3:1.4.0.4
	pkgsrc-2015Q3-base:1.4
	pkgsrc-2015Q2:1.4.0.2
	pkgsrc-2015Q2-base:1.4
	pkgsrc-2015Q1:1.3.0.8
	pkgsrc-2015Q1-base:1.3
	pkgsrc-2014Q4:1.3.0.6
	pkgsrc-2014Q4-base:1.3
	pkgsrc-2014Q3:1.3.0.4
	pkgsrc-2014Q3-base:1.3
	pkgsrc-2014Q2:1.3.0.2
	pkgsrc-2014Q2-base:1.3
	pkgsrc-2014Q1:1.2.0.2
	pkgsrc-2014Q1-base:1.2;
locks; strict;
comment	@# @;


1.15
date	2025.08.20.11.34.56;	author wiz;	state Exp;
branches;
next	1.14;
commitid	lgT5N7I1hRAxGs7G;

1.14
date	2024.08.25.06.18.44;	author wiz;	state Exp;
branches;
next	1.13;
commitid	BcrSL94SO85mvanF;

1.13
date	2023.08.14.05.24.26;	author wiz;	state Exp;
branches;
next	1.12;
commitid	LOSB79OLVxvXjIAE;

1.12
date	2022.06.30.11.18.24;	author nia;	state Exp;
branches;
next	1.11;
commitid	AhctUV91Vubws3KD;

1.11
date	2021.08.10.11.53.16;	author nia;	state Exp;
branches;
next	1.10;
commitid	aU2PKBjXOeos4q4D;

1.10
date	2020.12.04.20.45.19;	author nia;	state Exp;
branches;
next	1.9;
commitid	FPz71MqRX3WN0tyC;

1.9
date	2020.01.26.17.31.14;	author rillig;	state Exp;
branches;
next	1.8;
commitid	4fBBvoSLJaGd0eUB;

1.8
date	2019.08.09.17.16.27;	author nia;	state Exp;
branches;
next	1.7;
commitid	vY2VnJqlyDOZnnyB;

1.7
date	2019.07.01.13.20.51;	author nia;	state Exp;
branches;
next	1.6;
commitid	pLTY83NqjZ5EkltB;

1.6
date	2019.04.25.07.32.55;	author maya;	state Exp;
branches;
next	1.5;
commitid	1FEMQBEPb9uTxHkB;

1.5
date	2017.09.16.19.26.57;	author wiz;	state Exp;
branches;
next	1.4;
commitid	A7fIQ99zTdcMls7A;

1.4
date	2015.04.25.14.22.54;	author tnn;	state Exp;
branches;
next	1.3;
commitid	fkfRjMEDCPfoNYiy;

1.3
date	2014.05.17.16.10.44;	author wiz;	state Exp;
branches;
next	1.2;
commitid	vZBubLIZiAZOpUAx;

1.2
date	2014.02.24.16.16.11;	author joerg;	state Exp;
branches;
next	1.1;
commitid	vnycbyClvP5m5nqx;

1.1
date	2014.02.02.23.21.37;	author rodent;	state Exp;
branches;
next	;
commitid	zTl4zo6nsKfa9Anx;


desc
@@


1.15
log
@*: fix build with cmake 4
@
text
@# $NetBSD: Makefile,v 1.14 2024/08/25 06:18:44 wiz Exp $

DISTNAME=	flare-game-1.12
PKGREVISION=	2
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_CONFIGURE_ARGS+=	-DDATADIR:STRING="${PREFIX}/share/flare"
CMAKE_CONFIGURE_ARGS+=  -DCMAKE_POLICY_VERSION_MINIMUM=3.5

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


1.14
log
@*: replace CMAKE_ARGS with CMAKE_CONFIGURE_ARGS
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2023/08/14 05:24:26 wiz Exp $
d25 1
@


1.13
log
@*: recursive bump for Python 3.11 as new default
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2022/06/30 11:18:24 nia Exp $
d24 1
a24 1
CMAKE_ARGS+=	-DDATADIR:STRING="${PREFIX}/share/flare"
@


1.12
log
@*: Revbump packages that use Python at runtime without a PKGNAME prefix
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2021/08/10 11:53:16 nia Exp $
d4 1
a4 1
PKGREVISION=	1
@


1.11
log
@flare*: update to 1.12

Release notes:
https://flarerpg.org/2021/08/02/flare-1-12/
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2020/12/04 20:45:19 nia Exp $
d4 1
@


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

For the Python 3.8 default switch.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2020/01/26 17:31:14 rillig Exp $
d3 1
a3 2
DISTNAME=	flare-game-1.11
PKGREVISION=	1
@


1.9
log
@all: migrate homepages from http to https

pkglint -r --network --only "migrate"

As a side-effect of migrating the homepages, pkglint also fixed a few
indentations in unrelated lines. These and the new homepages have been
checked manually.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2019/08/09 17:16:27 nia Exp $
d4 1
@


1.8
log
@flare{-engine,-game}: Update to 1.11

Changelog

Engine features

* Players now have their own private stash in addition to the shared stash.
* Expanded the 'no_stash' Item variable to account for having multiple stashes.

Engine fixes

* Fix bug where items could be dragged from the vendor window and dropped in the opposite vendor tab.
* Fix bug that caused item max_quantity to be reset when attempting to append an item definition.
* Fix bug where Powers with 'replace_by_effect' would still use properties from the parent power, such as animation state.

Game updates

* Items that couldn't be stashed in the last update can now be put in the private stash.
* Salted Field: moved chest to the south end of the map to prevent easy farming.

Translation updates

* Belarusian (be) update (Zmicer Turok)
* German (de) update (Wuzzy2)
* Hungarian (hu) by bzt
* Ukranian (uk) update (Igor Paliychuk)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2019/07/01 13:20:51 nia Exp $
d9 1
a9 1
HOMEPAGE=	http://flarerpg.org/
@


1.7
log
@games/flare-*: Update to 1.10

Changelog

Engine features

    The configuration menu has been redesigned and is now used as the pause menu.
    The interface features from version 1.09 have been reverted due to being accessible from the pause menu.
    Added an Interface option to disable showing hidden entity markers.
    Support floating point values for loot drop chance values.
    Add ‘hide_timeout’ option to stat bar configuration to support auto-hiding. (Leszek Cimała)
    Added an Interface option to disable stat bar auto-hiding globally.
    Add ‘no_stash’ property to item definitions to prevent items from being placed in the stash.
    Add low HP notification system. (Leszek Cimała)
    Add ability to change the minimap zoom level by clicking on the minimap.

Engine fixes

    Fixed event activation being tied to distance to the camera position. It is now correctly tied to distance from the player.
    Mouse movement and mouse aim now calculate direction relative to the player instead of relative to the screen.
    Fixed enemy AI so that enemies can now enter combat if a hero ally is in their proximity.
    Fix –data-path command line flag on Windows.
    Fixed dialog not being available if it lacked a topic.
    Fixed loot drop rate bonus having no effect when loot drop chance was too low.
    Fix bug where the wrong requirements were checked for passive powers that had been granted bonus points.
    Items that can’t be stashed are now dropped on the ground upon opening the stash.
    Prevent re-binding the primary Main1 binding, which could break many interactions.
    Removed the ability to re-bind the Ctrl, Shift, Alt, and Delete keys, since they correspond to specific keyboard keys.
    Fix crash when trying to load a mod that contained ‘engine/default_keybindings.txt’. (nwtour)
    Display XP stat bar value as relative to current level instead of total XP. (Leszek Cimała)
    Fix key bindings not working when switched to a non-US keyboard layout. (nwtour)
    Fix segfault when NPC filename is invalid.
    Fix inventory tooltips covering books when using no mouse.
    Fix navigation of dialog menu when using no mouse.
    Fix upgrading powers when using no mouse.
    When using the sdl_hardware renderer on Windows, OpenGL will now be used instead of Direct3D. This fixes the loss of some textures when resizing the window.
    Fixed the “level up” string to represent the ability to allocate multiple stat points. Also note if Power points can be allocated.
    Refactored ‘requires_hpmp_state’ for Powers to check against both stats at once. See the attribute reference for syntax changes.
    Greatly improved performance of loot tooltips.
    Fix bug where high item find chance prevented the player from finding currency.

Game updates

    Fixed an oversight that allowed easy farming of the Torture Chambers boss and loot chests.
    Made it so that potions and scrolls can not be stashed. This fixes an exploit where players could utilize a low level character to get these items for cheap.
    Added new attack and interact cursors.
    Added sound effect and cursors for indicating low health.

Translation updates

    Belarusian (be) update (Zmicer Turok)
    Brazilian Portuguese (pt_BR) update (Vinicius Rech)
    Catalan (ca) update (Marc Tormo i Bochaca)
    German (de) update (Fyrenic)
    Spanish (es) update (Agustin Ferrario)
    French (fr) update (syl_)
    Scottish Gaelic (gd) update (GunChleoc)
    Japanese (ja) update (sujiniku)
    Portuguese (pt) update (Rui)
    Russian (ru) update (Andrey Kapitonov, Igor Paliychuk, nwtour)
    Ukranian (uk) update (Igor Paliychuk)
    Chinese (zh) update (dumaosen, neverwin)
@
text
@d1 1
a1 2
# $NetBSD: Makefile,v 1.6 2019/04/25 07:32:55 maya Exp $
#
d3 1
a3 1
DISTNAME=	flare-game-1.10
@


1.6
log
@PKGREVISION bump for anything using python without a PYPKGPREFIX.

This is a semi-manual PKGREVISION bump.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2017/09/16 19:26:57 wiz Exp $
d4 1
a4 3
DISTNAME=	v0.19
PKGNAME=	flare-game-${DISTNAME:S/v//1}
PKGREVISION=	3
d6 2
a7 2
MASTER_SITES=	https://github.com/clintbellanger/flare-game/archive/
DIST_SUBDIR=	${PKGBASE}
d14 1
a14 1
DEPENDS+=	flare-engine>=0.19:../../games/flare-engine
a19 2
CMAKE_ARGS+=	-DDATADIR:STRING="${PREFIX}/share/flare" -DBINDIR:STRING=bin -DMANDIR:STRING=${PKGMANDIR}

d24 2
a25 1
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
a27 4
.include "../../audio/SDL_mixer/buildlink3.mk"
.include "../../devel/SDL_ttf/buildlink3.mk"
.include "../../graphics/SDL_image/buildlink3.mk"
.include "../../devel/SDL/buildlink3.mk"
@


1.5
log
@Reset maintainer
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2015/04/25 14:22:54 tnn Exp $
d6 1
a6 1
PKGREVISION=	2
@


1.4
log
@Recursive revbump following MesaLib update, categories g through n.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2014/05/17 16:10:44 wiz Exp $
d11 1
a11 1
MAINTAINER=	rodent@@NetBSD.org
@


1.3
log
@Bump applications PKGREVISIONs for python users that might be using
python3, since the default changed from python33 to python34.

I probably bumped too many. I hope I got them all.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2014/02/24 16:16:11 joerg Exp $
d6 1
a6 1
PKGREVISION=	1
@


1.2
log
@Simplify and unbreak.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2014/02/02 23:21:37 rodent Exp $
d6 1
@


1.1
log
@Import flare-game-0.19 as games/flare-game.

Flare (Free Libre Action Roleplaying Engine) is a simple game engine built to
handle a very specific kind of game: single-player 2D action RPGs. Flare is not
a reimplementation of an existing game or engine. It is a tribute to and
exploration of the action RPG genre.

This package contains Flare the game.
@
text
@d1 1
a1 1
# $NetBSD$
d21 1
a21 2
CMAKE_ARGS+=    -DCMAKE_INSTALL_PREFIX:STRING="${DESTDIR}${PREFIX}"
CMAKE_ARGS+=    -DDATADIR:STRING="${PREFIX}/share/flare"
a26 22
SUBST_CLASSES+=		paths
SUBST_FILES.paths=	CMakeLists.txt build/cmake_install.cmake
SUBST_FILES.paths+=	build/CMakeCache.txt
SUBST_MESSAGE.paths=	Fixing paths.
SUBST_SED.paths=	-e "s|/usr/local/games|${PREFIX}/bin|g"
SUBST_SED.paths+=	-e "s|/usr/local|${PREFIX}|g"
SUBST_SED.paths+=	-e 's|share/games|share|g'
SUBST_SED.paths+=	-e 's|/games|/bin|1'
SUBST_STAGE.paths=	post-configure

pre-configure:
	cd ${WRKSRC} && ${MKDIR} build

do-configure:
	cd ${WRKSRC}/build && ${SETENV} ${CONFIGURE_ENV} ${CMAKE} ..

do-build:
	cd ${WRKSRC}/build && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM}

do-install:
	cd ${WRKSRC}/build && ${SETENV} ${INSTALL_ENV} ${MAKE_PROGRAM} ${INSTALL_TARGET}

@

