summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorrodent <rodent@pkgsrc.org>2014-02-02 23:19:51 +0000
committerrodent <rodent@pkgsrc.org>2014-02-02 23:19:51 +0000
commitff46c368adf42f2548b16f91264bcd6877f36a23 (patch)
tree8fc40e6d510c7bdc9aaa9ec4eaa3ba6cdebe9a11 /games
parent2b3b8f483a3fa78f22b427ccfc76dc4b6036b8b4 (diff)
downloadpkgsrc-ff46c368adf42f2548b16f91264bcd6877f36a23.tar.gz
Import flare-engine-0.19 as games/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 package contains only the engine part of Flare.
Diffstat (limited to 'games')
-rw-r--r--games/flare-engine/DESCR6
-rw-r--r--games/flare-engine/Makefile56
-rw-r--r--games/flare-engine/PLIST63
-rw-r--r--games/flare-engine/distinfo5
4 files changed, 130 insertions, 0 deletions
diff --git a/games/flare-engine/DESCR b/games/flare-engine/DESCR
new file mode 100644
index 00000000000..767005c8adf
--- /dev/null
+++ b/games/flare-engine/DESCR
@@ -0,0 +1,6 @@
+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 only the engine part of Flare.
diff --git a/games/flare-engine/Makefile b/games/flare-engine/Makefile
new file mode 100644
index 00000000000..6923faed4d4
--- /dev/null
+++ b/games/flare-engine/Makefile
@@ -0,0 +1,56 @@
+# $NetBSD: Makefile,v 1.1 2014/02/02 23:19:51 rodent Exp $
+#
+
+DISTNAME= v0.19
+PKGNAME= flare-engine-${DISTNAME:S/v//1}
+CATEGORIES= games
+MASTER_SITES= https://github.com/clintbellanger/flare-engine/archive/
+DIST_SUBDIR= ${PKGBASE}
+
+MAINTAINER= rodent@NetBSD.org
+HOMEPAGE= http://flarerpg.org/
+COMMENT= Fantasy action RPG using the FLARE engine
+LICENSE= gnu-gpl-v3 AND cc-by-sa-v3.0 AND ofl-v1.1
+
+WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
+USE_LANGUAGES= c c++
+USE_CMAKE= yes
+
+CMAKE_ARGS+= -DCMAKE_INSTALL_PREFIX:STRING="${DESTDIR}${PREFIX}" -DMANDIR=man
+CMAKE_ARGS+= -DDATADIR:STRING="${PREFIX}/share/flare" -DBINDIR=bin
+
+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/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_SED.paths+= -e "s|share/man|${PKGMANDIR}|1"
+SUBST_SED.paths+= -e 's|BINDIR:STRING=games|BINDIR:STRING=bin|1'
+SUBST_STAGE.paths= post-configure
+
+REPLACE_PYTHON+= mods/default/languages/xgettext.py
+
+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 "../../lang/python/application.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"
diff --git a/games/flare-engine/PLIST b/games/flare-engine/PLIST
new file mode 100644
index 00000000000..3bdb7d94bfc
--- /dev/null
+++ b/games/flare-engine/PLIST
@@ -0,0 +1,63 @@
+@comment $NetBSD: PLIST,v 1.1 2014/02/02 23:19:51 rodent Exp $
+bin/flare
+share/flare/default/mods/default/cutscenes/credits.txt
+share/flare/default/mods/default/cutscenes/intro_example.txt
+share/flare/default/mods/default/engine/combat.txt
+share/flare/default/mods/default/engine/death_penalty.txt
+share/flare/default/mods/default/engine/elements.txt
+share/flare/default/mods/default/engine/font_colors.txt
+share/flare/default/mods/default/engine/font_settings.txt
+share/flare/default/mods/default/engine/gameplay.txt
+share/flare/default/mods/default/engine/languages.txt
+share/flare/default/mods/default/engine/misc.txt
+share/flare/default/mods/default/engine/resolutions.txt
+share/flare/default/mods/default/engine/tileset_config.txt
+share/flare/default/mods/default/engine/tooltips.txt
+share/flare/default/mods/default/fonts/LiberationSans-Regular.ttf
+share/flare/default/mods/default/images/logo/icon.png
+share/flare/default/mods/default/images/menus/buttons/button_default.png
+share/flare/default/mods/default/images/menus/buttons/button_x.png
+share/flare/default/mods/default/images/menus/buttons/checkbox_default.png
+share/flare/default/mods/default/images/menus/buttons/down.png
+share/flare/default/mods/default/images/menus/buttons/left.png
+share/flare/default/mods/default/images/menus/buttons/listbox_default.png
+share/flare/default/mods/default/images/menus/buttons/right.png
+share/flare/default/mods/default/images/menus/buttons/scrollbar_default.png
+share/flare/default/mods/default/images/menus/buttons/slider_default.png
+share/flare/default/mods/default/images/menus/buttons/up.png
+share/flare/default/mods/default/images/menus/config.png
+share/flare/default/mods/default/images/menus/confirm_bg.png
+share/flare/default/mods/default/images/menus/logo.png
+share/flare/default/mods/default/images/menus/tab_active.png
+share/flare/default/mods/default/images/menus/tab_inactive.png
+share/flare/default/mods/default/languages/data.gd.po
+share/flare/default/mods/default/languages/data.pot
+share/flare/default/mods/default/languages/data.uk.po
+share/flare/default/mods/default/languages/engine.be.po
+share/flare/default/mods/default/languages/engine.cs.po
+share/flare/default/mods/default/languages/engine.de.po
+share/flare/default/mods/default/languages/engine.el.po
+share/flare/default/mods/default/languages/engine.es.po
+share/flare/default/mods/default/languages/engine.fi.po
+share/flare/default/mods/default/languages/engine.fr.po
+share/flare/default/mods/default/languages/engine.gd.po
+share/flare/default/mods/default/languages/engine.gl.po
+share/flare/default/mods/default/languages/engine.it.po
+share/flare/default/mods/default/languages/engine.ja.po
+share/flare/default/mods/default/languages/engine.nb.po
+share/flare/default/mods/default/languages/engine.nl.po
+share/flare/default/mods/default/languages/engine.pl.po
+share/flare/default/mods/default/languages/engine.pot
+share/flare/default/mods/default/languages/engine.ru.po
+share/flare/default/mods/default/languages/engine.sk.po
+share/flare/default/mods/default/languages/engine.sv.po
+share/flare/default/mods/default/languages/engine.uk.po
+share/flare/default/mods/default/languages/engine.zh.po
+share/flare/default/mods/default/languages/xgettext.py
+share/flare/default/mods/default/menus/config.txt
+share/flare/default/mods/default/menus/fps.txt
+share/flare/default/mods/default/menus/gameload.txt
+share/flare/default/mods/default/menus/gamenew.txt
+share/flare/default/mods/default/menus/menus.txt
+share/flare/default/mods/mods.txt
+man/man1/flare.1
diff --git a/games/flare-engine/distinfo b/games/flare-engine/distinfo
new file mode 100644
index 00000000000..50617eef909
--- /dev/null
+++ b/games/flare-engine/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/02/02 23:19:51 rodent Exp $
+
+SHA1 (flare-engine/v0.19.tar.gz) = ec33aaf68738d7422fdada5599bb7c001abd5ed3
+RMD160 (flare-engine/v0.19.tar.gz) = 0799e2b0ac9b4a07c6215c2f213efe0c48e1229c
+Size (flare-engine/v0.19.tar.gz) = 544468 bytes