Date: Thu, 6 Feb 2014 20:34:55 +0000 (UTC) From: Pawel Pekala <pawel@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r343149 - in head/games: . tome4 tome4/files Message-ID: <201402062034.s16KYtjj016176@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pawel Date: Thu Feb 6 20:34:55 2014 New Revision: 343149 URL: http://svnweb.freebsd.org/changeset/ports/343149 QAT: https://qat.redports.org/buildarchive/r343149/ Log: Tales of Maj'Eyal (ToME) is a free, open source rouguelike RPG, featuring tactical turn-based combat and advanced character building. Play as one of many unique races and classes in the lore-filled world of Eyal, exploring random dungeons, facing challenging battles, and developing characters with your own tailored mix of abilities and powers. With a modern graphical and customisable interface, intuitive mouse control, streamlined mechanics, and deep, challenging combat, Tales of Maj'Eyal offers engaging roguelike gameplay for the 21st century. WWW: http://te4.org/ PR: ports/185479 Submitted by: Nikolai Lifanov <lifanov@mail.lifanov.com> Added: head/games/tome4/ head/games/tome4/Makefile (contents, props changed) head/games/tome4/distinfo (contents, props changed) head/games/tome4/files/ head/games/tome4/files/patch-build__te4core.lua (contents, props changed) head/games/tome4/files/patch-premake4.lua (contents, props changed) head/games/tome4/files/patch-src__getself.c (contents, props changed) head/games/tome4/files/tome4.in (contents, props changed) head/games/tome4/pkg-descr (contents, props changed) head/games/tome4/pkg-plist (contents, props changed) Modified: head/games/Makefile Modified: head/games/Makefile ============================================================================== --- head/games/Makefile Thu Feb 6 20:18:12 2014 (r343148) +++ head/games/Makefile Thu Feb 6 20:34:55 2014 (r343149) @@ -949,6 +949,7 @@ SUBDIR += tkmoo SUBDIR += tksol SUBDIR += tomatoes + SUBDIR += tome4 SUBDIR += tomenet SUBDIR += tong SUBDIR += toppler Added: head/games/tome4/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/tome4/Makefile Thu Feb 6 20:34:55 2014 (r343149) @@ -0,0 +1,49 @@ +# Created by: Nikolai Lifanov <lifanov@mail.lifanov.com> +# $FreeBSD$ + +PORTNAME= tome4 +PORTVERSION= 1.1.5 +CATEGORIES= games +MASTER_SITES= http://te4.org/dl/t-engine/ \ + SF/lifanov-ports-icons/${PORTNAME}/:icons +DISTFILES= t-engine4-src-${PORTVERSION}${EXTRACT_SUFX} \ + ${PORTNAME}.png:icons +EXTRACT_ONLY= t-engine4-src-${PORTVERSION}${EXTRACT_SUFX} + +MAINTAINER= lifanov@mail.lifanov.com +COMMENT= Epic tactical turn-based roguelike adventure + +LICENSE= GPLv3 + +BUILD_DEPENDS= premake4:${PORTSDIR}/devel/premake4 +LIB_DEPENDS= libvorbisfile.so:${PORTSDIR}/audio/libvorbis + +DESKTOP_ENTRIES="ToME 4" "${COMMENT}" "${PORTNAME}" \ + "${PORTNAME}" "Game;RolePlaying;" false + +WRKSRC= ${WRKDIR}/t-engine4-src-${PORTVERSION} +MAKE_ARGS+= config=release verbose=yes ARCH="" +USES= gmake openal:al +USE_BZIP2= yes +USE_SDL= image2 sdl2 ttf2 +USE_GL= gl +SUB_FILES= tome4 + +MAKE_JOBS_UNSAFE=yes + +pre-build: + (cd ${WRKSRC}; premake4 gmake) + @${REINPLACE_CMD} 's|-lpthread|-pthread|' ${WRKSRC}/build/TEngine.make + +do-install: + ${MKDIR} ${STAGEDIR}${DATADIR} + ${MKDIR} ${STAGEDIR}${PREFIX}/bin + + ${INSTALL_PROGRAM} ${WRKSRC}/t-engine ${STAGEDIR}${DATADIR} + ${INSTALL} -m 0755 ${WRKDIR}/tome4 ${STAGEDIR}${PREFIX}/bin + (cd ${WRKSRC}; ${COPYTREE_SHARE} "bootstrap game" ${STAGEDIR}${DATADIR}) + + ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \ + ${STAGEDIR}${PREFIX}/share/pixmaps/ + +.include <bsd.port.mk> Added: head/games/tome4/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/tome4/distinfo Thu Feb 6 20:34:55 2014 (r343149) @@ -0,0 +1,4 @@ +SHA256 (t-engine4-src-1.1.5.tar.bz2) = f911b095064153b97b62fcb72124cdbcf19d712c24e5a735c7de6b98e527d4dd +SIZE (t-engine4-src-1.1.5.tar.bz2) = 259331390 +SHA256 (tome4.png) = b5223208ca6f0a51f8bbe3b96055f38f94336dbeca6704db6684fec00fad1a36 +SIZE (tome4.png) = 37143 Added: head/games/tome4/files/patch-build__te4core.lua ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/tome4/files/patch-build__te4core.lua Thu Feb 6 20:34:55 2014 (r343149) @@ -0,0 +1,29 @@ +--- ./build/te4core.lua.orig 2014-01-05 19:42:37.000000000 -0500 ++++ ./build/te4core.lua 2014-02-06 13:23:22.476164878 -0500 +@@ -109,7 +109,7 @@ + + configuration "bsd" + libdirs {"/usr/local/lib/"} +- links { "SDL2", "SDL2_ttf", "SDL2_image", "png", "openal", "vorbisfile", "GL", "GLU", "m", "pthread" } ++ links { "SDL2", "SDL2_ttf", "SDL2_image", "png", "openal", "vorbisfile", "GL", "GLU", "m" } + defines { [[TENGINE_HOME_PATH='".t-engine"']], 'SELFEXE_BSD' } + + configuration {"Debug"} +@@ -159,7 +159,7 @@ + + files { "../src/luajit2/src/host/minilua.c" } + +- local arch_test = os.capture("gcc -E ../src/luajit2/src/lj_arch.h -dM", true) ++ local arch_test = os.capture("cc -E ../src/luajit2/src/lj_arch.h -dM", true) + + if string.find(arch_test, "LJ_TARGET_X64") then + target_arch = "x64" +@@ -201,7 +201,7 @@ + links { "minilua" } + + local dasm_flags = "" +- local arch_test = os.capture("gcc -E ../src/luajit2/src/lj_arch.h -dM", true) ++ local arch_test = os.capture("cc -E ../src/luajit2/src/lj_arch.h -dM", true) + + if string.find(arch_test, "LJ_TARGET_X64") then + target_arch = "x64" Added: head/games/tome4/files/patch-premake4.lua ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/tome4/files/patch-premake4.lua Thu Feb 6 20:34:55 2014 (r343149) @@ -0,0 +1,21 @@ +--- ./premake4.lua.orig 2014-02-06 13:23:35.469164876 -0500 ++++ ./premake4.lua 2014-02-06 13:34:48.071117476 -0500 +@@ -35,6 +35,9 @@ + includedirs { + "/usr/local/include", + } ++ buildoptions { ++ "-pthread", ++ } + + configuration "windows" + libdirs { +@@ -61,8 +64,6 @@ + + configuration "Release" + defines { "NDEBUG=1" } +- flags { "Optimize", "NoFramePointer" } +- buildoptions { "-O2" } + targetdir "bin/Release" + + Added: head/games/tome4/files/patch-src__getself.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/tome4/files/patch-src__getself.c Thu Feb 6 20:34:55 2014 (r343149) @@ -0,0 +1,27 @@ +--- ./src/getself.c.orig 2014-01-05 19:42:37.000000000 -0500 ++++ ./src/getself.c 2014-02-06 13:23:22.555164880 -0500 +@@ -42,6 +42,8 @@ + #elif defined(SELFEXE_BSD) + #include <limits.h> + #include <stdlib.h> ++#include <sys/types.h> ++#include <sys/sysctl.h> + const char *get_self_executable(int argc, char **argv) + { + static char res[PATH_MAX]; +@@ -51,14 +53,13 @@ + return res; + } + +-#import <sys/sysctl.h> + + int get_number_cpus() + { + int count; + size_t size=sizeof(count); + +- if (sysctlbyname("hw.ncpu",&count,&size,NULL,0)) return 1; ++ sysctlbyname("hw.ncpu",&count,&size,NULL,0); + return count; + } + Added: head/games/tome4/files/tome4.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/tome4/files/tome4.in Thu Feb 6 20:34:55 2014 (r343149) @@ -0,0 +1,6 @@ +#!/bin/sh +# Wrap t-engine: it finds game data files +# relative to itself + +(cd %%DATADIR%%; ./t-engine "$@") + Added: head/games/tome4/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/tome4/pkg-descr Thu Feb 6 20:34:55 2014 (r343149) @@ -0,0 +1,10 @@ +Tales of Maj'Eyal (ToME) is a free, open source rouguelike RPG, +featuring tactical turn-based combat and advanced character building. +Play as one of many unique races and classes in the lore-filled world +of Eyal, exploring random dungeons, facing challenging battles, and +developing characters with your own tailored mix of abilities and powers. +With a modern graphical and customisable interface, intuitive mouse +control, streamlined mechanics, and deep, challenging combat, +Tales of Maj'Eyal offers engaging roguelike gameplay for the 21st century. + +WWW: http://te4.org/ Added: head/games/tome4/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/tome4/pkg-plist Thu Feb 6 20:34:55 2014 (r343149) @@ -0,0 +1,147 @@ +bin/tome4 +share/pixmaps/tome4.png +%%DATADIR%%/bootstrap/boot.lua +%%DATADIR%%/game/addons/tome-addon-dev.teaa +%%DATADIR%%/game/addons/tome-items-vault.teaa +%%DATADIR%%/game/addons/tome-stone-wardens.teaa +%%DATADIR%%/game/engines/te4-1.1.5.teae +%%DATADIR%%/game/loader/init.lua +%%DATADIR%%/game/loader/pre-init.lua +%%DATADIR%%/game/modules/boot-te4-1.1.5.team +%%DATADIR%%/game/modules/example/class/Actor.lua +%%DATADIR%%/game/modules/example/class/Game.lua +%%DATADIR%%/game/modules/example/class/Grid.lua +%%DATADIR%%/game/modules/example/class/NPC.lua +%%DATADIR%%/game/modules/example/class/Player.lua +%%DATADIR%%/game/modules/example/class/interface/Combat.lua +%%DATADIR%%/game/modules/example/data/birth/descriptors.lua +%%DATADIR%%/game/modules/example/data/damage_types.lua +%%DATADIR%%/game/modules/example/data/general/grids/basic.lua +%%DATADIR%%/game/modules/example/data/general/npcs/kobold.lua +%%DATADIR%%/game/modules/example/data/gfx/particles/acid.lua +%%DATADIR%%/game/modules/example/data/rooms/pilar.lua +%%DATADIR%%/game/modules/example/data/rooms/simple.lua +%%DATADIR%%/game/modules/example/data/talents.lua +%%DATADIR%%/game/modules/example/data/timed_effects.lua +%%DATADIR%%/game/modules/example/data/zones/dungeon/grids.lua +%%DATADIR%%/game/modules/example/data/zones/dungeon/npcs.lua +%%DATADIR%%/game/modules/example/data/zones/dungeon/objects.lua +%%DATADIR%%/game/modules/example/data/zones/dungeon/traps.lua +%%DATADIR%%/game/modules/example/data/zones/dungeon/zone.lua +%%DATADIR%%/game/modules/example/dialogs/DeathDialog.lua +%%DATADIR%%/game/modules/example/dialogs/Quit.lua +%%DATADIR%%/game/modules/example/init.lua +%%DATADIR%%/game/modules/example/load.lua +%%DATADIR%%/game/modules/example_realtime/class/Actor.lua +%%DATADIR%%/game/modules/example_realtime/class/Game.lua +%%DATADIR%%/game/modules/example_realtime/class/Grid.lua +%%DATADIR%%/game/modules/example_realtime/class/NPC.lua +%%DATADIR%%/game/modules/example_realtime/class/Player.lua +%%DATADIR%%/game/modules/example_realtime/class/interface/Combat.lua +%%DATADIR%%/game/modules/example_realtime/data/birth/descriptors.lua +%%DATADIR%%/game/modules/example_realtime/data/damage_types.lua +%%DATADIR%%/game/modules/example_realtime/data/general/grids/basic.lua +%%DATADIR%%/game/modules/example_realtime/data/general/npcs/kobold.lua +%%DATADIR%%/game/modules/example_realtime/data/gfx/particles/acid.lua +%%DATADIR%%/game/modules/example_realtime/data/rooms/pilar.lua +%%DATADIR%%/game/modules/example_realtime/data/rooms/simple.lua +%%DATADIR%%/game/modules/example_realtime/data/talents.lua +%%DATADIR%%/game/modules/example_realtime/data/timed_effects.lua +%%DATADIR%%/game/modules/example_realtime/data/zones/dungeon/grids.lua +%%DATADIR%%/game/modules/example_realtime/data/zones/dungeon/npcs.lua +%%DATADIR%%/game/modules/example_realtime/data/zones/dungeon/objects.lua +%%DATADIR%%/game/modules/example_realtime/data/zones/dungeon/traps.lua +%%DATADIR%%/game/modules/example_realtime/data/zones/dungeon/zone.lua +%%DATADIR%%/game/modules/example_realtime/dialogs/DeathDialog.lua +%%DATADIR%%/game/modules/example_realtime/dialogs/Quit.lua +%%DATADIR%%/game/modules/example_realtime/init.lua +%%DATADIR%%/game/modules/example_realtime/load.lua +%%DATADIR%%/game/modules/tome-1.1.5-gfx.team +%%DATADIR%%/game/modules/tome-1.1.5-music.team +%%DATADIR%%/game/modules/tome-1.1.5.team +%%DATADIR%%/game/profile-thread/Client.lua +%%DATADIR%%/game/profile-thread/UserChat.lua +%%DATADIR%%/game/profile-thread/init.lua +%%DATADIR%%/game/thirdparty/Json2.lua +%%DATADIR%%/game/thirdparty/config.lua +%%DATADIR%%/game/thirdparty/jit/bc.lua +%%DATADIR%%/game/thirdparty/jit/bcsave.lua +%%DATADIR%%/game/thirdparty/jit/dis_arm.lua +%%DATADIR%%/game/thirdparty/jit/dis_mips.lua +%%DATADIR%%/game/thirdparty/jit/dis_mipsel.lua +%%DATADIR%%/game/thirdparty/jit/dis_ppc.lua +%%DATADIR%%/game/thirdparty/jit/dis_x64.lua +%%DATADIR%%/game/thirdparty/jit/dis_x86.lua +%%DATADIR%%/game/thirdparty/jit/dump.lua +%%DATADIR%%/game/thirdparty/jit/v.lua +%%DATADIR%%/game/thirdparty/lpeg/re.lua +%%DATADIR%%/game/thirdparty/ltn12.lua +%%DATADIR%%/game/thirdparty/lxp/lom.lua +%%DATADIR%%/game/thirdparty/md5.lua +%%DATADIR%%/game/thirdparty/mime.lua +%%DATADIR%%/game/thirdparty/moonscript.lua +%%DATADIR%%/game/thirdparty/moonscript/compile.lua +%%DATADIR%%/game/thirdparty/moonscript/compile/format.lua +%%DATADIR%%/game/thirdparty/moonscript/compile/line.lua +%%DATADIR%%/game/thirdparty/moonscript/compile/types.lua +%%DATADIR%%/game/thirdparty/moonscript/compile/value.lua +%%DATADIR%%/game/thirdparty/moonscript/data.lua +%%DATADIR%%/game/thirdparty/moonscript/dump.lua +%%DATADIR%%/game/thirdparty/moonscript/errors.lua +%%DATADIR%%/game/thirdparty/moonscript/init.lua +%%DATADIR%%/game/thirdparty/moonscript/parse.lua +%%DATADIR%%/game/thirdparty/moonscript/util.lua +%%DATADIR%%/game/thirdparty/moonscript/version.lua +%%DATADIR%%/game/thirdparty/remdebug/engine.lua +%%DATADIR%%/game/thirdparty/socket.lua +%%DATADIR%%/game/thirdparty/socket/ftp.lua +%%DATADIR%%/game/thirdparty/socket/http.lua +%%DATADIR%%/game/thirdparty/socket/smtp.lua +%%DATADIR%%/game/thirdparty/socket/tp.lua +%%DATADIR%%/game/thirdparty/socket/url.lua +%%DATADIR%%/t-engine +@dirrm %%DATADIR%%/game/thirdparty/socket +@dirrm %%DATADIR%%/game/thirdparty/remdebug +@dirrm %%DATADIR%%/game/thirdparty/moonscript/compile +@dirrm %%DATADIR%%/game/thirdparty/moonscript +@dirrm %%DATADIR%%/game/thirdparty/lxp +@dirrm %%DATADIR%%/game/thirdparty/lpeg +@dirrm %%DATADIR%%/game/thirdparty/jit +@dirrm %%DATADIR%%/game/thirdparty +@dirrm %%DATADIR%%/game/profile-thread +@dirrm %%DATADIR%%/game/modules/example_realtime/dialogs +@dirrm %%DATADIR%%/game/modules/example_realtime/data/zones/dungeon +@dirrm %%DATADIR%%/game/modules/example_realtime/data/zones +@dirrm %%DATADIR%%/game/modules/example_realtime/data/rooms +@dirrm %%DATADIR%%/game/modules/example_realtime/data/gfx/particles +@dirrm %%DATADIR%%/game/modules/example_realtime/data/gfx +@dirrm %%DATADIR%%/game/modules/example_realtime/data/general/npcs +@dirrm %%DATADIR%%/game/modules/example_realtime/data/general/grids +@dirrm %%DATADIR%%/game/modules/example_realtime/data/general +@dirrm %%DATADIR%%/game/modules/example_realtime/data/birth +@dirrm %%DATADIR%%/game/modules/example_realtime/data +@dirrm %%DATADIR%%/game/modules/example_realtime/class/interface +@dirrm %%DATADIR%%/game/modules/example_realtime/class +@dirrm %%DATADIR%%/game/modules/example_realtime +@dirrm %%DATADIR%%/game/modules/example/dialogs +@dirrm %%DATADIR%%/game/modules/example/data/zones/dungeon +@dirrm %%DATADIR%%/game/modules/example/data/zones +@dirrm %%DATADIR%%/game/modules/example/data/rooms +@dirrm %%DATADIR%%/game/modules/example/data/gfx/particles +@dirrm %%DATADIR%%/game/modules/example/data/gfx +@dirrm %%DATADIR%%/game/modules/example/data/general/npcs +@dirrm %%DATADIR%%/game/modules/example/data/general/grids +@dirrm %%DATADIR%%/game/modules/example/data/general +@dirrm %%DATADIR%%/game/modules/example/data/birth +@dirrm %%DATADIR%%/game/modules/example/data +@dirrm %%DATADIR%%/game/modules/example/class/interface +@dirrm %%DATADIR%%/game/modules/example/class +@dirrm %%DATADIR%%/game/modules/example +@dirrm %%DATADIR%%/game/modules +@dirrm %%DATADIR%%/game/loader +@dirrm %%DATADIR%%/game/engines/cores +@dirrm %%DATADIR%%/game/engines +@dirrm %%DATADIR%%/game/addons +@dirrm %%DATADIR%%/game +@dirrm %%DATADIR%%/bootstrap +@dirrm %%DATADIR%%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402062034.s16KYtjj016176>