Import flare-engine-0.17 as wip/flare-engine.

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 commit is contained in:
Blue Rats 2013-02-07 22:44:31 +00:00 committed by Thomas Klausner
parent d446f80ece
commit e115f67f2f
4 changed files with 114 additions and 0 deletions

4
flare-engine/DESCR Normal file
View file

@ -0,0 +1,4 @@
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.

52
flare-engine/Makefile Normal file
View file

@ -0,0 +1,52 @@
# $NetBSD: Makefile,v 1.1 2013/02/07 22:44:31 othyro Exp $
#
DISTNAME= v0.17
PKGNAME= flare-engine-${DISTNAME:S/v//1}
CATEGORIES= games
MASTER_SITES= https://github.com/clintbellanger/flare-engine/archive/
FETCH_USING= curl
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://flarerpg.org/
COMMENT= Free Libre Action Roleplaying Engine (engine only)
LICENSE= gnu-gpl-v3
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
USE_LANGUAGES= c c++
USE_CMAKE= yes
CMAKE_ARGS+= -DCMAKE_INSTALL_PREFIX:STRING="${DESTDIR}${PREFIX}"
CMAKE_ARGS+= -DDATADIR:STRING="${PREFIX}/share/flare"
SUBST_CLASSES+= paths
SUBST_FILES.paths= CMakeLists.txt build/cmake_install.cmake src/Settings.cpp
SUBST_FILES.paths+= build/CMakeFiles/flare.dir/DependInfo.cmake
SUBST_FILES.paths+= build/flare.desktop build/CMakeFiles/flare.dir/flags.make
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}
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../audio/SDL_mixer/buildlink3.mk"
.include "../../devel/SDL_ttf/buildlink3.mk"
.include "../../graphics/SDL_image/buildlink3.mk"
.include "../../devel/SDL/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

53
flare-engine/PLIST Normal file
View file

@ -0,0 +1,53 @@
@comment $NetBSD: PLIST,v 1.1 2013/02/07 22:44:32 othyro Exp $
bin/flare
share/applications/flare.desktop
share/flare/mods/default/engine/combat.txt
share/flare/mods/default/engine/elements.txt
share/flare/mods/default/engine/font_colors.txt
share/flare/mods/default/engine/font_settings.txt
share/flare/mods/default/engine/gameplay.txt
share/flare/mods/default/engine/languages.txt
share/flare/mods/default/engine/misc.txt
share/flare/mods/default/engine/resolutions.txt
share/flare/mods/default/engine/tileset_config.txt
share/flare/mods/default/engine/tooltips.txt
share/flare/mods/default/fonts/LiberationSans-Regular.ttf
share/flare/mods/default/images/logo/icon.png
share/flare/mods/default/images/menus/buttons/button_default.png
share/flare/mods/default/images/menus/buttons/button_x.png
share/flare/mods/default/images/menus/buttons/checkbox_default.png
share/flare/mods/default/images/menus/buttons/down.png
share/flare/mods/default/images/menus/buttons/left.png
share/flare/mods/default/images/menus/buttons/listbox_default.png
share/flare/mods/default/images/menus/buttons/right.png
share/flare/mods/default/images/menus/buttons/scrollbar_default.png
share/flare/mods/default/images/menus/buttons/slider_default.png
share/flare/mods/default/images/menus/buttons/up.png
share/flare/mods/default/images/menus/config.png
share/flare/mods/default/images/menus/confirm_bg.png
share/flare/mods/default/images/menus/logo.png
share/flare/mods/default/images/menus/tab_active.png
share/flare/mods/default/images/menus/tab_inactive.png
share/flare/mods/default/languages/engine.be.po
share/flare/mods/default/languages/engine.de.po
share/flare/mods/default/languages/engine.el.po
share/flare/mods/default/languages/engine.es.po
share/flare/mods/default/languages/engine.fi.po
share/flare/mods/default/languages/engine.fr.po
share/flare/mods/default/languages/engine.gl.po
share/flare/mods/default/languages/engine.it.po
share/flare/mods/default/languages/engine.ja.po
share/flare/mods/default/languages/engine.nl.po
share/flare/mods/default/languages/engine.pot
share/flare/mods/default/languages/engine.ru.po
share/flare/mods/default/languages/engine.sk.po
share/flare/mods/default/languages/engine.sv.po
share/flare/mods/default/languages/engine.uk.po
share/flare/mods/default/languages/readme.txt
share/flare/mods/default/menus/config.txt
share/flare/mods/default/menus/fps.txt
share/flare/mods/default/menus/gameload.txt
share/flare/mods/default/menus/gamenew.txt
share/flare/mods/default/menus/menus.txt
share/flare/mods/mods.txt
share/icons/hicolor/scalable/apps/flare.svg

5
flare-engine/distinfo Normal file
View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1 2013/02/07 22:44:32 othyro Exp $
SHA1 (v0.17.tar.gz) = b5f52c0a04136fd9d02c5e7dbac18c25efa2509b
RMD160 (v0.17.tar.gz) = 0163a084d41bf2695fea3b81d5bedd2c30afff18
Size (v0.17.tar.gz) = 471250 bytes