Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jan 2014 04:20:01 GMT
From:      Nikolai Lifanov <lifanov@mail.lifanov.com>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/185479: [new port] games/tome4
Message-ID:  <201401100420.s0A4K122040295@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/185479; it has been noted by GNATS.

From: Nikolai Lifanov <lifanov@mail.lifanov.com>
To: bug-followup@FreeBSD.org, lifanov@mail.lifanov.com
Cc:  
Subject: Re: ports/185479: [new port] games/tome4
Date: Thu, 09 Jan 2014 23:15:52 -0500

 This is a multi-part message in MIME format.
 --------------090606080109000305040604
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 Please update games/tome4 to 1.1.5.
 
 This is a very minor game change.
 It removes a controversial area of the game.
 It also makes a change that could possibly make future packaging easier?
 
 Port change: it now strips the one installed binary.
 
 Please use this shar instead.
 
 - Nikolai Lifanov
 
 
 
 --------------090606080109000305040604
 Content-Type: text/plain; charset=us-ascii;
  name="tome4.shar"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="tome4.shar"
 
 # This is a shell archive.  Save it in a file, remove anything before
 # this line, and then unpack it by entering "sh file".  Note, it may
 # create directories; files and directories will be owned by you and
 # have default permissions.
 #
 # This archive contains:
 #
 #	games/tome4
 #	games/tome4/pkg-plist
 #	games/tome4/Makefile
 #	games/tome4/distinfo
 #	games/tome4/pkg-descr
 #	games/tome4/files
 #	games/tome4/files/patch-build_te4core.lua
 #	games/tome4/files/tome4.in
 #	games/tome4/files/patch-src_getself.c
 #	games/tome4/files/pkg-message.in
 #
 echo c - games/tome4
 mkdir -p games/tome4 > /dev/null 2>&1
 echo x - games/tome4/pkg-plist
 sed 's/^X//' >games/tome4/pkg-plist << '642571c753a53b1950815bea3fa1f459'
 Xbin/tome4
 X%%DATADIR%%/bootstrap/boot.lua
 X%%DATADIR%%/game/addons/tome-addon-dev.teaa
 X%%DATADIR%%/game/addons/tome-items-vault.teaa
 X%%DATADIR%%/game/addons/tome-stone-wardens.teaa
 X%%DATADIR%%/game/engines/te4-1.1.5.teae
 X%%DATADIR%%/game/loader/init.lua
 X%%DATADIR%%/game/loader/pre-init.lua
 X%%DATADIR%%/game/modules/boot-te4-1.1.5.team
 X%%DATADIR%%/game/modules/example/class/Actor.lua
 X%%DATADIR%%/game/modules/example/class/Game.lua
 X%%DATADIR%%/game/modules/example/class/Grid.lua
 X%%DATADIR%%/game/modules/example/class/NPC.lua
 X%%DATADIR%%/game/modules/example/class/Player.lua
 X%%DATADIR%%/game/modules/example/class/interface/Combat.lua
 X%%DATADIR%%/game/modules/example/data/birth/descriptors.lua
 X%%DATADIR%%/game/modules/example/data/damage_types.lua
 X%%DATADIR%%/game/modules/example/data/general/grids/basic.lua
 X%%DATADIR%%/game/modules/example/data/general/npcs/kobold.lua
 X%%DATADIR%%/game/modules/example/data/gfx/particles/acid.lua
 X%%DATADIR%%/game/modules/example/data/rooms/pilar.lua
 X%%DATADIR%%/game/modules/example/data/rooms/simple.lua
 X%%DATADIR%%/game/modules/example/data/talents.lua
 X%%DATADIR%%/game/modules/example/data/timed_effects.lua
 X%%DATADIR%%/game/modules/example/data/zones/dungeon/grids.lua
 X%%DATADIR%%/game/modules/example/data/zones/dungeon/npcs.lua
 X%%DATADIR%%/game/modules/example/data/zones/dungeon/objects.lua
 X%%DATADIR%%/game/modules/example/data/zones/dungeon/traps.lua
 X%%DATADIR%%/game/modules/example/data/zones/dungeon/zone.lua
 X%%DATADIR%%/game/modules/example/dialogs/DeathDialog.lua
 X%%DATADIR%%/game/modules/example/dialogs/Quit.lua
 X%%DATADIR%%/game/modules/example/init.lua
 X%%DATADIR%%/game/modules/example/load.lua
 X%%DATADIR%%/game/modules/example_realtime/class/Actor.lua
 X%%DATADIR%%/game/modules/example_realtime/class/Game.lua
 X%%DATADIR%%/game/modules/example_realtime/class/Grid.lua
 X%%DATADIR%%/game/modules/example_realtime/class/NPC.lua
 X%%DATADIR%%/game/modules/example_realtime/class/Player.lua
 X%%DATADIR%%/game/modules/example_realtime/class/interface/Combat.lua
 X%%DATADIR%%/game/modules/example_realtime/data/birth/descriptors.lua
 X%%DATADIR%%/game/modules/example_realtime/data/damage_types.lua
 X%%DATADIR%%/game/modules/example_realtime/data/general/grids/basic.lua
 X%%DATADIR%%/game/modules/example_realtime/data/general/npcs/kobold.lua
 X%%DATADIR%%/game/modules/example_realtime/data/gfx/particles/acid.lua
 X%%DATADIR%%/game/modules/example_realtime/data/rooms/pilar.lua
 X%%DATADIR%%/game/modules/example_realtime/data/rooms/simple.lua
 X%%DATADIR%%/game/modules/example_realtime/data/talents.lua
 X%%DATADIR%%/game/modules/example_realtime/data/timed_effects.lua
 X%%DATADIR%%/game/modules/example_realtime/data/zones/dungeon/grids.lua
 X%%DATADIR%%/game/modules/example_realtime/data/zones/dungeon/npcs.lua
 X%%DATADIR%%/game/modules/example_realtime/data/zones/dungeon/objects.lua
 X%%DATADIR%%/game/modules/example_realtime/data/zones/dungeon/traps.lua
 X%%DATADIR%%/game/modules/example_realtime/data/zones/dungeon/zone.lua
 X%%DATADIR%%/game/modules/example_realtime/dialogs/DeathDialog.lua
 X%%DATADIR%%/game/modules/example_realtime/dialogs/Quit.lua
 X%%DATADIR%%/game/modules/example_realtime/init.lua
 X%%DATADIR%%/game/modules/example_realtime/load.lua
 X%%DATADIR%%/game/modules/tome-1.1.5-gfx.team
 X%%DATADIR%%/game/modules/tome-1.1.5-music.team
 X%%DATADIR%%/game/modules/tome-1.1.5.team
 X%%DATADIR%%/game/profile-thread/Client.lua
 X%%DATADIR%%/game/profile-thread/UserChat.lua
 X%%DATADIR%%/game/profile-thread/init.lua
 X%%DATADIR%%/game/thirdparty/Json2.lua
 X%%DATADIR%%/game/thirdparty/config.lua
 X%%DATADIR%%/game/thirdparty/jit/bc.lua
 X%%DATADIR%%/game/thirdparty/jit/bcsave.lua
 X%%DATADIR%%/game/thirdparty/jit/dis_arm.lua
 X%%DATADIR%%/game/thirdparty/jit/dis_mips.lua
 X%%DATADIR%%/game/thirdparty/jit/dis_mipsel.lua
 X%%DATADIR%%/game/thirdparty/jit/dis_ppc.lua
 X%%DATADIR%%/game/thirdparty/jit/dis_x64.lua
 X%%DATADIR%%/game/thirdparty/jit/dis_x86.lua
 X%%DATADIR%%/game/thirdparty/jit/dump.lua
 X%%DATADIR%%/game/thirdparty/jit/v.lua
 X%%DATADIR%%/game/thirdparty/lpeg/re.lua
 X%%DATADIR%%/game/thirdparty/ltn12.lua
 X%%DATADIR%%/game/thirdparty/lxp/lom.lua
 X%%DATADIR%%/game/thirdparty/md5.lua
 X%%DATADIR%%/game/thirdparty/mime.lua
 X%%DATADIR%%/game/thirdparty/moonscript.lua
 X%%DATADIR%%/game/thirdparty/moonscript/compile.lua
 X%%DATADIR%%/game/thirdparty/moonscript/compile/format.lua
 X%%DATADIR%%/game/thirdparty/moonscript/compile/line.lua
 X%%DATADIR%%/game/thirdparty/moonscript/compile/types.lua
 X%%DATADIR%%/game/thirdparty/moonscript/compile/value.lua
 X%%DATADIR%%/game/thirdparty/moonscript/data.lua
 X%%DATADIR%%/game/thirdparty/moonscript/dump.lua
 X%%DATADIR%%/game/thirdparty/moonscript/errors.lua
 X%%DATADIR%%/game/thirdparty/moonscript/init.lua
 X%%DATADIR%%/game/thirdparty/moonscript/parse.lua
 X%%DATADIR%%/game/thirdparty/moonscript/util.lua
 X%%DATADIR%%/game/thirdparty/moonscript/version.lua
 X%%DATADIR%%/game/thirdparty/remdebug/engine.lua
 X%%DATADIR%%/game/thirdparty/socket.lua
 X%%DATADIR%%/game/thirdparty/socket/ftp.lua
 X%%DATADIR%%/game/thirdparty/socket/http.lua
 X%%DATADIR%%/game/thirdparty/socket/smtp.lua
 X%%DATADIR%%/game/thirdparty/socket/tp.lua
 X%%DATADIR%%/game/thirdparty/socket/url.lua
 X%%DATADIR%%/t-engine
 X@dirrm %%DATADIR%%/game/thirdparty/socket
 X@dirrm %%DATADIR%%/game/thirdparty/remdebug
 X@dirrm %%DATADIR%%/game/thirdparty/moonscript/compile
 X@dirrm %%DATADIR%%/game/thirdparty/moonscript
 X@dirrm %%DATADIR%%/game/thirdparty/lxp
 X@dirrm %%DATADIR%%/game/thirdparty/lpeg
 X@dirrm %%DATADIR%%/game/thirdparty/jit
 X@dirrm %%DATADIR%%/game/thirdparty
 X@dirrm %%DATADIR%%/game/profile-thread
 X@dirrm %%DATADIR%%/game/modules/example_realtime/dialogs
 X@dirrm %%DATADIR%%/game/modules/example_realtime/data/zones/dungeon
 X@dirrm %%DATADIR%%/game/modules/example_realtime/data/zones
 X@dirrm %%DATADIR%%/game/modules/example_realtime/data/rooms
 X@dirrm %%DATADIR%%/game/modules/example_realtime/data/gfx/particles
 X@dirrm %%DATADIR%%/game/modules/example_realtime/data/gfx
 X@dirrm %%DATADIR%%/game/modules/example_realtime/data/general/npcs
 X@dirrm %%DATADIR%%/game/modules/example_realtime/data/general/grids
 X@dirrm %%DATADIR%%/game/modules/example_realtime/data/general
 X@dirrm %%DATADIR%%/game/modules/example_realtime/data/birth
 X@dirrm %%DATADIR%%/game/modules/example_realtime/data
 X@dirrm %%DATADIR%%/game/modules/example_realtime/class/interface
 X@dirrm %%DATADIR%%/game/modules/example_realtime/class
 X@dirrm %%DATADIR%%/game/modules/example_realtime
 X@dirrm %%DATADIR%%/game/modules/example/dialogs
 X@dirrm %%DATADIR%%/game/modules/example/data/zones/dungeon
 X@dirrm %%DATADIR%%/game/modules/example/data/zones
 X@dirrm %%DATADIR%%/game/modules/example/data/rooms
 X@dirrm %%DATADIR%%/game/modules/example/data/gfx/particles
 X@dirrm %%DATADIR%%/game/modules/example/data/gfx
 X@dirrm %%DATADIR%%/game/modules/example/data/general/npcs
 X@dirrm %%DATADIR%%/game/modules/example/data/general/grids
 X@dirrm %%DATADIR%%/game/modules/example/data/general
 X@dirrm %%DATADIR%%/game/modules/example/data/birth
 X@dirrm %%DATADIR%%/game/modules/example/data
 X@dirrm %%DATADIR%%/game/modules/example/class/interface
 X@dirrm %%DATADIR%%/game/modules/example/class
 X@dirrm %%DATADIR%%/game/modules/example
 X@dirrm %%DATADIR%%/game/modules
 X@dirrm %%DATADIR%%/game/loader
 X@dirrm %%DATADIR%%/game/engines/cores
 X@dirrm %%DATADIR%%/game/engines
 X@dirrm %%DATADIR%%/game/addons
 X@dirrm %%DATADIR%%/game
 X@dirrm %%DATADIR%%/bootstrap
 X@dirrm %%DATADIR%%
 642571c753a53b1950815bea3fa1f459
 echo x - games/tome4/Makefile
 sed 's/^X//' >games/tome4/Makefile << '8d92b4854841ba3f33d36f74a41a940d'
 X# Created by: Nikolai Lifanov <lifanov@mail.lifanov.com>
 X# $FreeBSD$
 X
 XPORTNAME=	tome4
 XPORTVERSION=	1.1.5
 XCATEGORIES=	games
 XMASTER_SITES=	http://te4.org/dl/t-engine/
 XDISTNAME=	t-engine4-src-${PORTVERSION}
 X
 XMAINTAINER=	lifanov@mail.lifanov.com
 XCOMMENT=	Epic tactical turn-based roguelike adventure
 X
 XLICENSE=	GPLv3
 X
 XBUILD_DEPENDS=	premake4:${PORTSDIR}/devel/premake4
 XLIB_DEPENDS=	libvorbisfile.so:${PORTSDIR}/audio/libvorbis
 X
 XWRKSRC=		${WRKDIR}/${DISTNAME}
 XMAKE_ARGS+=	config=release verbose=yes ARCH=""
 XUSES=		gmake openal:al
 XUSE_BZIP2=	yes
 XUSE_SDL=	image2 sdl2 ttf2
 XUSE_GL=		gl
 XSUB_FILES=	tome4
 X
 XMAKE_JOBS_UNSAFE=yes
 X
 X.include <bsd.port.pre.mk>
 X
 Xpre-build:
 X	(cd ${WRKSRC}; premake4 gmake)
 X
 Xdo-install:
 X	${MKDIR} ${STAGEDIR}${DATADIR}
 X	${MKDIR} ${STAGEDIR}${PREFIX}/bin
 X
 X	${INSTALL_PROGRAM} ${WRKSRC}/t-engine ${STAGEDIR}${DATADIR}
 X	${INSTALL} -m 0755 ${WRKDIR}/tome4 ${STAGEDIR}${PREFIX}/bin
 X	(cd ${WRKSRC}; ${COPYTREE_SHARE} "bootstrap game" ${STAGEDIR}${DATADIR})
 X
 X.include <bsd.port.post.mk>
 8d92b4854841ba3f33d36f74a41a940d
 echo x - games/tome4/distinfo
 sed 's/^X//' >games/tome4/distinfo << '4bd5607f5077bd3841422b3dbea016b0'
 XSHA256 (t-engine4-src-1.1.5.tar.bz2) = f911b095064153b97b62fcb72124cdbcf19d712c24e5a735c7de6b98e527d4dd
 XSIZE (t-engine4-src-1.1.5.tar.bz2) = 259331390
 4bd5607f5077bd3841422b3dbea016b0
 echo x - games/tome4/pkg-descr
 sed 's/^X//' >games/tome4/pkg-descr << '92a6b8771074598257287ff2ac927759'
 XTales of Maj'Eyal (ToME) is a free, open source rouguelike RPG,
 Xfeaturing tactical turn-based combat and advanced character building.
 XPlay as one of many unique races and classes in the lore-filled world
 Xof Eyal, exploring random dungeons, facing challenging battles, and
 Xdeveloping characters with your own tailored mix of abilities and powers.
 XWith a modern graphical and customisable interface, intuitive mouse
 Xcontrol, streamlined mechanics, and deep, challenging combat,
 XTales of Maj'Eyal offers engaging roguelike gameplay for the 21st century.
 X
 XWWW: http://te4.org/
 92a6b8771074598257287ff2ac927759
 echo c - games/tome4/files
 mkdir -p games/tome4/files > /dev/null 2>&1
 echo x - games/tome4/files/patch-build_te4core.lua
 sed 's/^X//' >games/tome4/files/patch-build_te4core.lua << '90bda0c93fde9596d82994e48ef26dd5'
 X--- build/te4core.lua.orig
 X+++ build/te4core.lua
 X@@ -159,7 +159,7 @@
 X 
 X 		files { "../src/luajit2/src/host/minilua.c" }
 X 
 X-		local arch_test = os.capture("gcc -E ../src/luajit2/src/lj_arch.h -dM", true)
 X+		local arch_test = os.capture("cc -E ../src/luajit2/src/lj_arch.h -dM", true)
 X 
 X 		if string.find(arch_test, "LJ_TARGET_X64") then
 X 			target_arch = "x64"
 X@@ -201,7 +201,7 @@
 X 		links { "minilua" }
 X 
 X 		local dasm_flags = ""
 X-		local arch_test = os.capture("gcc -E ../src/luajit2/src/lj_arch.h -dM", true)
 X+		local arch_test = os.capture("cc -E ../src/luajit2/src/lj_arch.h -dM", true)
 X 
 X 		if string.find(arch_test, "LJ_TARGET_X64") then
 X 			target_arch = "x64"
 90bda0c93fde9596d82994e48ef26dd5
 echo x - games/tome4/files/tome4.in
 sed 's/^X//' >games/tome4/files/tome4.in << 'e061c30c726ba36b1223b6265fa4ad56'
 X#!/bin/sh
 X# Wrap t-engine: it finds game data files
 X#  relative to itself
 X
 X(cd %%DATADIR%%; ./t-engine "$@")
 X
 e061c30c726ba36b1223b6265fa4ad56
 echo x - games/tome4/files/patch-src_getself.c
 sed 's/^X//' >games/tome4/files/patch-src_getself.c << '25bf2b16ab71a97ac6501e413a9b2094'
 X--- src/getself.c.orig
 X+++ src/getself.c
 X@@ -42,6 +42,8 @@
 X #elif defined(SELFEXE_BSD)
 X #include <limits.h>
 X #include <stdlib.h>
 X+#include <sys/types.h>
 X+#include <sys/sysctl.h>
 X const char *get_self_executable(int argc, char **argv)
 X {
 X 	static char res[PATH_MAX];
 X@@ -51,14 +53,13 @@
 X 	return res;
 X }
 X 
 X-#import <sys/sysctl.h>
 X 
 X int get_number_cpus()
 X {
 X 	int count;
 X 	size_t size=sizeof(count);
 X 	
 X-	if (sysctlbyname("hw.ncpu",&count,&size,NULL,0)) return 1;
 X+	sysctlbyname("hw.ncpu",&count,&size,NULL,0);
 X 	return count;
 X }
 X 
 25bf2b16ab71a97ac6501e413a9b2094
 echo x - games/tome4/files/pkg-message.in
 sed 's/^X//' >games/tome4/files/pkg-message.in << 'ff1ec734470e357fecc344c6a53d6b6c'
 XThe game files for ToME can be found in %%DATADIR%%.
 XLaunch the game with a wrapper in %%PREFIX%%/tome4
 ff1ec734470e357fecc344c6a53d6b6c
 exit
 
 
 --------------090606080109000305040604--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401100420.s0A4K122040295>