Date: Mon, 18 Feb 2008 02:30:58 +0300 (MSK) From: Dmitry Marakasov <amdmi3@amdmi3.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/120778: [NEW PORT] games/teewars: Platform game featuring buggers equipped with weapons Message-ID: <20080217233058.8542317023@hades.panopticon> Resent-Message-ID: <200802172340.m1HNe2tQ070105@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 120778 >Category: ports >Synopsis: [NEW PORT] games/teewars: Platform game featuring buggers equipped with weapons >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Feb 17 23:40:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Dmitry Marakasov >Release: FreeBSD 7.0-RC1 i386 >Organization: >Environment: System: FreeBSD hades.panopticon 7.0-RC1 FreeBSD 7.0-RC1 #0: Sat Jan 5 03:26:52 MSK 2008 root@hades.panopticon:/usr/obj/usr/src/sys/HADES i386 >Description: Teewars is a freeware online multiplayer game, designed as a crossover between Quake and Worms. Set on platform-based maps, players control a cute little bugger with guns to take out as many opponents as possible. The characters can jump but move more quickly using a grappling hook, swinging through the levels. It can also be used to lock other players to keep them near. The available weapons include a pistol, shotgun, grenade launcher and a hammer. The shooting and grappling direction is shown through a cursor, controlled by the mouse. A special power-up temporarily provides a ninja sword, used to slash through enemies. Each character has an amount of health and shield. Items scattered around include additional ammo, and health and shield bonuses. Unlike Worms, all the action that happens is fast-paced and happens in real-time. It supports CTF mode. WWW: http://www.teewars.com/ >How-To-Repeat: >Fix: --- teewars-0.3.4.shar begins here --- # 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: # # teewars # teewars/Makefile # teewars/pkg-descr # teewars/pkg-plist # teewars/distinfo # teewars/files # teewars/files/patch-default.bam # echo c - teewars mkdir -p teewars > /dev/null 2>&1 echo x - teewars/Makefile sed 's/^X//' >teewars/Makefile << 'END-of-teewars/Makefile' X# New ports collection makefile for: teewars X# Date created: 17 Feb 2008 X# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru> X# X# $FreeBSD$ X# X XPORTNAME= teewars XPORTVERSION= 0.3.4 XCATEGORIES= games XMASTER_SITES= http://www.teewars.com/files/ \ X http://www.amdmi3.ru/distfiles/ XDISTNAME= ${PORTNAME}-${PORTVERSION}-src XDISTFILES= ${DISTNAME}${EXTRACT_SUFX} bam${EXTRACT_SUFX} X XMAINTAINER= amdmi3@amdmi3.ru XCOMMENT= Platform game featuring buggers equipped with weapons X XUSE_ZIP= yes XUSE_PYTHON_BUILD= yes X XBAM= ${WRKDIR}/bam.bin XBAM_TARGET= release X XOPTIONS= TEEWARS_SERVER_ONLY "Build dedicated server only" off X X.include <bsd.port.pre.mk> X X.if defined(WITH_TEEWARS_SERVER_ONLY) XBAM_TARGET= server_release XPLIST_SUB+= CLIENT="@comment " X.else XLIB_DEPENDS+= portaudio.2:${PORTSDIR}/audio/portaudio2 XUSE_GL= yes XPLIST_SUB+= CLIENT="" X.endif X Xpost-patch: X @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/default.bam X @${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/default.bam X @${REINPLACE_CMD} -e 's|\(s.cc.c_compiler = \).*|\1"${CC}"|; \ X s|\(s.cc.cxx_compiler = \).*|\1"${CXX}"|; \ X s|\(s.cc.flags = \).*|\1"${CFLAGS}"|; \ X s|\(s.linker.linker = \).*|\1"${CXX}"|' \ X ${WRKDIR}/bam/src/base.bam X @${FIND} ${WRKSRC}/src -name "*.c" -o -name "*.cpp" | \ X ${XARGS} ${REINPLACE_CMD} -e 's|"data/|"${DATADIR}/|g' X @${REINPLACE_CMD} -e 's|"data/|"${DATADIR}/|g' ${WRKSRC}/datasrc/* X X# build bam executable - teewars own build system Xpre-build: X cd ${WRKDIR}/bam && ${CC} ${CFLAGS} src/tools/txt2c.c -o src/tools/txt2c X cd ${WRKDIR}/bam && src/tools/txt2c < src/base.bam > src/internal_base.h X cd ${WRKDIR}/bam && ${CC} ${CFLAGS} src/lua/src/*.c src/lua/src/lib/*.c \ X src/*.c -Isrc/lua/include -o ${BAM} -lm ${PTHREAD_LIBS} X X# build teewars Xdo-build: X cd ${WRKSRC} && ${BAM} ${BAM_TARGET} X Xdo-install: X.if !defined(WITH_TEEWARS_SERVER_ONLY) X ${INSTALL_PROGRAM} ${WRKSRC}/teewars ${PREFIX}/bin X.endif X ${INSTALL_PROGRAM} ${WRKSRC}/teewars_srv ${PREFIX}/bin X ${MKDIR} ${DATADIR} X @cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${DATADIR}/ X X.include <bsd.port.post.mk> END-of-teewars/Makefile echo x - teewars/pkg-descr sed 's/^X//' >teewars/pkg-descr << 'END-of-teewars/pkg-descr' XTeewars is a freeware online multiplayer game, designed as a crossover Xbetween Quake and Worms. Set on platform-based maps, players control Xa cute little bugger with guns to take out as many opponents as Xpossible. The characters can jump but move more quickly using a Xgrappling hook, swinging through the levels. It can also be used Xto lock other players to keep them near. The available weapons Xinclude a pistol, shotgun, grenade launcher and a hammer. The Xshooting and grappling direction is shown through a cursor, controlled Xby the mouse. A special power-up temporarily provides a ninja sword, Xused to slash through enemies. Each character has an amount of Xhealth and shield. Items scattered around include additional ammo, Xand health and shield bonuses. Unlike Worms, all the action that Xhappens is fast-paced and happens in real-time. It supports CTF Xmode. X XWWW: http://www.teewars.com/ END-of-teewars/pkg-descr echo x - teewars/pkg-plist sed 's/^X//' >teewars/pkg-plist << 'END-of-teewars/pkg-plist' X%%CLIENT%%bin/teewars Xbin/teewars_srv X%%DATADIR%%/audio/foley_body_impact-01.wv X%%DATADIR%%/audio/foley_body_impact-02.wv X%%DATADIR%%/audio/foley_body_impact-03.wv X%%DATADIR%%/audio/foley_body_splat-01.wv X%%DATADIR%%/audio/foley_body_splat-02.wv X%%DATADIR%%/audio/foley_body_splat-03.wv X%%DATADIR%%/audio/foley_body_splat-04.wv X%%DATADIR%%/audio/foley_dbljump-01.wv X%%DATADIR%%/audio/foley_dbljump-02.wv X%%DATADIR%%/audio/foley_dbljump-03.wv X%%DATADIR%%/audio/foley_foot_left-01.wv X%%DATADIR%%/audio/foley_foot_left-02.wv X%%DATADIR%%/audio/foley_foot_left-03.wv X%%DATADIR%%/audio/foley_foot_left-04.wv X%%DATADIR%%/audio/foley_foot_right-01.wv X%%DATADIR%%/audio/foley_foot_right-02.wv X%%DATADIR%%/audio/foley_foot_right-03.wv X%%DATADIR%%/audio/foley_foot_right-04.wv X%%DATADIR%%/audio/foley_land-01.wv X%%DATADIR%%/audio/foley_land-02.wv X%%DATADIR%%/audio/foley_land-03.wv X%%DATADIR%%/audio/foley_land-04.wv X%%DATADIR%%/audio/hook_attach-01.wv X%%DATADIR%%/audio/hook_attach-02.wv X%%DATADIR%%/audio/hook_attach-03.wv X%%DATADIR%%/audio/hook_loop-01.wv X%%DATADIR%%/audio/hook_loop-02.wv X%%DATADIR%%/audio/sfx_ctf_cap_pl.wv X%%DATADIR%%/audio/sfx_ctf_drop.wv X%%DATADIR%%/audio/sfx_ctf_grab_en.wv X%%DATADIR%%/audio/sfx_ctf_grab_pl.wv X%%DATADIR%%/audio/sfx_ctf_rtn.wv X%%DATADIR%%/audio/sfx_hit_strong-01.wv X%%DATADIR%%/audio/sfx_hit_strong-02.wv X%%DATADIR%%/audio/sfx_hit_weak-01.wv X%%DATADIR%%/audio/sfx_hit_weak-02.wv X%%DATADIR%%/audio/sfx_hit_weak-03.wv X%%DATADIR%%/audio/sfx_msg-client.wv X%%DATADIR%%/audio/sfx_msg-server.wv X%%DATADIR%%/audio/sfx_pickup_arm-01.wv X%%DATADIR%%/audio/sfx_pickup_arm-02.wv X%%DATADIR%%/audio/sfx_pickup_arm-03.wv X%%DATADIR%%/audio/sfx_pickup_arm-04.wv X%%DATADIR%%/audio/sfx_pickup_gun.wv X%%DATADIR%%/audio/sfx_pickup_hrt-01.wv X%%DATADIR%%/audio/sfx_pickup_hrt-02.wv X%%DATADIR%%/audio/sfx_pickup_launcher.wv X%%DATADIR%%/audio/sfx_pickup_ninja.wv X%%DATADIR%%/audio/sfx_pickup_sg.wv X%%DATADIR%%/audio/sfx_spawn_wpn-01.wv X%%DATADIR%%/audio/sfx_spawn_wpn-02.wv X%%DATADIR%%/audio/sfx_spawn_wpn-03.wv X%%DATADIR%%/audio/vo_teefault_cry-01.wv X%%DATADIR%%/audio/vo_teefault_cry-02.wv X%%DATADIR%%/audio/vo_teefault_ninja-01.wv X%%DATADIR%%/audio/vo_teefault_ninja-02.wv X%%DATADIR%%/audio/vo_teefault_ninja-03.wv X%%DATADIR%%/audio/vo_teefault_ninja-04.wv X%%DATADIR%%/audio/vo_teefault_pain_long-01.wv X%%DATADIR%%/audio/vo_teefault_pain_long-02.wv X%%DATADIR%%/audio/vo_teefault_pain_short-01.wv X%%DATADIR%%/audio/vo_teefault_pain_short-02.wv X%%DATADIR%%/audio/vo_teefault_pain_short-03.wv X%%DATADIR%%/audio/vo_teefault_pain_short-04.wv X%%DATADIR%%/audio/vo_teefault_pain_short-05.wv X%%DATADIR%%/audio/vo_teefault_pain_short-06.wv X%%DATADIR%%/audio/vo_teefault_pain_short-07.wv X%%DATADIR%%/audio/vo_teefault_pain_short-08.wv X%%DATADIR%%/audio/vo_teefault_pain_short-09.wv X%%DATADIR%%/audio/vo_teefault_pain_short-10.wv X%%DATADIR%%/audio/vo_teefault_pain_short-11.wv X%%DATADIR%%/audio/vo_teefault_pain_short-12.wv X%%DATADIR%%/audio/vo_teefault_sledge-01.wv X%%DATADIR%%/audio/vo_teefault_sledge-02.wv X%%DATADIR%%/audio/vo_teefault_sledge-03.wv X%%DATADIR%%/audio/vo_teefault_spawn-01.wv X%%DATADIR%%/audio/vo_teefault_spawn-02.wv X%%DATADIR%%/audio/vo_teefault_spawn-03.wv X%%DATADIR%%/audio/vo_teefault_spawn-04.wv X%%DATADIR%%/audio/vo_teefault_spawn-05.wv X%%DATADIR%%/audio/vo_teefault_spawn-06.wv X%%DATADIR%%/audio/vo_teefault_spawn-07.wv X%%DATADIR%%/audio/wp_flump_explo-01.wv X%%DATADIR%%/audio/wp_flump_explo-02.wv X%%DATADIR%%/audio/wp_flump_explo-03.wv X%%DATADIR%%/audio/wp_flump_launch-01.wv X%%DATADIR%%/audio/wp_flump_launch-02.wv X%%DATADIR%%/audio/wp_flump_launch-03.wv X%%DATADIR%%/audio/wp_gun_fire-01.wv X%%DATADIR%%/audio/wp_gun_fire-02.wv X%%DATADIR%%/audio/wp_gun_fire-03.wv X%%DATADIR%%/audio/wp_hammer_hit-01.wv X%%DATADIR%%/audio/wp_hammer_hit-02.wv X%%DATADIR%%/audio/wp_hammer_hit-03.wv X%%DATADIR%%/audio/wp_hammer_swing-01.wv X%%DATADIR%%/audio/wp_hammer_swing-02.wv X%%DATADIR%%/audio/wp_hammer_swing-03.wv X%%DATADIR%%/audio/wp_ninja_attack-01.wv X%%DATADIR%%/audio/wp_ninja_attack-02.wv X%%DATADIR%%/audio/wp_ninja_attack-03.wv X%%DATADIR%%/audio/wp_ninja_attack-04.wv X%%DATADIR%%/audio/wp_ninja_hit-01.wv X%%DATADIR%%/audio/wp_ninja_hit-02.wv X%%DATADIR%%/audio/wp_ninja_hit-03.wv X%%DATADIR%%/audio/wp_ninja_hit-04.wv X%%DATADIR%%/audio/wp_noammo-01.wv X%%DATADIR%%/audio/wp_noammo-02.wv X%%DATADIR%%/audio/wp_noammo-03.wv X%%DATADIR%%/audio/wp_noammo-04.wv X%%DATADIR%%/audio/wp_noammo-05.wv X%%DATADIR%%/audio/wp_shotty_fire-01.wv X%%DATADIR%%/audio/wp_shotty_fire-02.wv X%%DATADIR%%/audio/wp_shotty_fire-03.wv X%%DATADIR%%/audio/wp_switch-01.wv X%%DATADIR%%/audio/wp_switch-02.wv X%%DATADIR%%/audio/wp_switch-03.wv X%%DATADIR%%/big_font.png X%%DATADIR%%/browse_icons.png X%%DATADIR%%/checker.png X%%DATADIR%%/cloudmap.png X%%DATADIR%%/debug_font.png X%%DATADIR%%/emoticons.png X%%DATADIR%%/game.png X%%DATADIR%%/gui_cursor.png X%%DATADIR%%/gui_logo.png X%%DATADIR%%/maps/ctf1.map X%%DATADIR%%/maps/ctf2.map X%%DATADIR%%/maps/dm1.map X%%DATADIR%%/maps/dm2.map X%%DATADIR%%/maps/dm6.map X%%DATADIR%%/moon.png X%%DATADIR%%/mountain_paralax.png X%%DATADIR%%/skins/bluekitty.png X%%DATADIR%%/skins/bluestripe.png X%%DATADIR%%/skins/brownbear.png X%%DATADIR%%/skins/cammo.png X%%DATADIR%%/skins/cammostripes.png X%%DATADIR%%/skins/coala.png X%%DATADIR%%/skins/default.png X%%DATADIR%%/skins/limekitty.png X%%DATADIR%%/skins/ninja.png X%%DATADIR%%/skins/pinky.png X%%DATADIR%%/skins/redbopp.png X%%DATADIR%%/skins/redstripe.png X%%DATADIR%%/skins/saddo.png X%%DATADIR%%/skins/toptri.png X%%DATADIR%%/skins/twinbop.png X%%DATADIR%%/skins/twintri.png X%%DATADIR%%/skins/warpaint.png X%%DATADIR%%/snow.png X%%DATADIR%%/stars.png X%%DATADIR%%/sun.png X@dirrm %%DATADIR%%/skins X@dirrm %%DATADIR%%/maps X@dirrm %%DATADIR%%/audio X@dirrm %%DATADIR%% END-of-teewars/pkg-plist echo x - teewars/distinfo sed 's/^X//' >teewars/distinfo << 'END-of-teewars/distinfo' XMD5 (teewars-0.3.4-src.zip) = ed56470043b0dc73caa55a741282c761 XSHA256 (teewars-0.3.4-src.zip) = 8ed3152a9fc631dce0c4da7ca991728895e2660b217bb26063c02503a36c0861 XSIZE (teewars-0.3.4-src.zip) = 4438820 XMD5 (bam.zip) = 91065fcce9296b7259d71ef6aafe347a XSHA256 (bam.zip) = 616834108060c4f573d19dd087d6c4c5d5e40b8987002c9b9df089fb194fa71c XSIZE (bam.zip) = 475348 END-of-teewars/distinfo echo c - teewars/files mkdir -p teewars/files > /dev/null 2>&1 echo x - teewars/files/patch-default.bam sed 's/^X//' >teewars/files/patch-default.bam << 'END-of-teewars/files/patch-default.bam' X--- default.bam.orig 2008-02-09 22:10:40.000000000 +0300 X+++ default.bam 2008-02-18 00:06:31.000000000 +0300 X@@ -173,19 +173,20 @@ X settings.cc.flags = "/wd4244" X else X settings.cc.flags = "-Wall" X- settings.linker.flags = "" X+ settings.linker.flags = "-L/usr/local/lib/portaudio2 -L/usr/local/lib -pthread" X+ settings.linker.libs:add("z") X end X X -- set some platform specific settings X settings.cc.includes:add("src") X- settings.cc.includes:add("src/external/zlib") X+ settings.cc.includes:add("/usr/local/include/portaudio2") X+ settings.cc.includes:add("/usr/local/include") X X if family == "unix" then X if platform == "macosx" then X glfw_platform = "macosx" X else X glfw_platform = "x11" X- settings.linker.libs:add("pthread") X end X elseif family == "windows" then X glfw_platform = "win32" X@@ -217,7 +218,6 @@ X else X engine_settings.cc.flags = "-Wall -pedantic-errors" X end X- engine_settings.linker.flags = "" X end X X -- server X@@ -237,10 +237,11 @@ X client_settings.linker.frameworks:add("AudioToolbox") X client_settings.linker.frameworks:add("AudioUnit") X else X- client_settings.linker.libs:add("asound") X client_settings.linker.libs:add("X11") X+ client_settings.linker.libs:add("Xxf86vm") X client_settings.linker.libs:add("GL") X client_settings.linker.libs:add("GLU") X+ client_settings.linker.libs:add("portaudio") X end X elseif family == "windows" then X client_settings.linker.libs:add("opengl32.lib") X@@ -249,10 +250,8 @@ X end X X external_settings = settings:copy() X- zlib = Compile(external_settings, Collect("src/engine/external/zlib/*.c")) X wavpack = Compile(external_settings, Collect("src/engine/external/wavpack/*.c")) X pnglite = Compile(external_settings, Collect("src/engine/external/pnglite/*.c")) X- portaudio = Compile(external_settings, Collect("src/engine/external/pa.c")) X X engine = Compile(engine_settings, Collect("src/engine/*.c")) X client = Compile(client_settings, Collect("src/engine/client/*.c")) X@@ -280,7 +279,7 @@ X X -- build client, server and master server X client_exe = Link(client_settings, "teewars", game_shared, game_client, X- engine, client, editor, glfw, portaudio, zlib, pnglite, wavpack, X+ engine, client, editor, glfw, pnglite, wavpack, X client_link_other) X X server_exe = Link(server_settings, "teewars_srv", engine, server, X@@ -326,7 +325,7 @@ X release_settings.config_name = "release" X release_settings.config_ext = "" X release_settings.debug = 0 X-release_settings.cc.optimize = 1 X+release_settings.cc.optimize = 0 X X DefaultTarget(build(debug_settings)) X build(release_settings) END-of-teewars/files/patch-default.bam exit --- teewars-0.3.4.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080217233058.8542317023>