pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/43530: new pkg : games/teeworlds games/teeworlds-server



>Number:         43530
>Category:       pkg
>Synopsis:       new pkg : games/teeworlds games/teeworlds-server
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 26 18:10:00 +0000 2010
>Originator:     David DEMELIER
>Release:        5.0.2
>Organization:
>Environment:
NetBSD Abricot.malikania.fr 5.0.2 NetBSD 5.0.2 (Abricot-0.1) #2: Sat Jun 26 
09:57:20 CEST 2010  
root%Abricot.malikania.fr@localhost:/usr/obj/sys/arch/i386/compile/Abricot i386

>Description:
After a lot of work, I'm annoucing the pkgsrc teeworlds pkg. I needed many 
patches and much work but it's done and fully working.

However because I only tested it on NetBSD i386 I would like you to test it on 
other architectures and other operating systems.

The patches aa and ab are made by following this changeset to fix a possible 
server segfault :

http://www.teeworlds.com/track/teeworlds/changeset/2009

I would like to add teeworlds directory in pkgsrc/ and not wip since it's not 
in active development and there is no major update often.
>How-To-Repeat:

>Fix:
--- /dev/null   2010-06-26 20:03:38.000000000 +0200
+++ games/teeworlds/patches/patch-aa    2010-06-26 19:49:49.000000000 +0200
@@ -0,0 +1,16 @@
+$NetBSD$
+--- teeworlds-0.5.2-src/src/engine/e_network.c.orig    2010-06-26 
12:19:58.000000000 +0200
++++ teeworlds-0.5.2-src/src/engine/e_network.c 2010-06-26 12:21:24.000000000 
+0200
+@@ -224,6 +224,12 @@
+ 
+       if(packet->flags&NET_PACKETFLAG_CONNLESS)
+       {
++              /* check the size of connless packet */
++              if(size < 6)
++              {
++                      dbg_msg("", "connless packet too small, %d", size);
++                      return -1;
++              }
+               packet->flags = NET_PACKETFLAG_CONNLESS;
+               packet->ack = 0;
+               packet->num_chunks = 0;
--- /dev/null   2010-06-26 20:03:38.000000000 +0200
+++ games/teeworlds/patches/patch-ab    2010-06-26 19:49:52.000000000 +0200
@@ -0,0 +1,21 @@
+$NetBSD$
+--- teeworlds-0.5.2-src/src/engine/server/es_server.c.orig     2010-06-26 
12:22:08.000000000 +0200
++++ teeworlds-0.5.2-src/src/engine/server/es_server.c  2010-06-26 
12:22:34.000000000 +0200
+@@ -303,7 +303,7 @@
+ 
+ void server_kick(int client_id, const char *reason)
+ {
+-      if(client_id < 0 || client_id > MAX_CLIENTS)
++      if(client_id < 0 || client_id >= MAX_CLIENTS)
+               return;
+               
+       if(clients[client_id].state != SRVCLIENT_STATE_EMPTY)
+@@ -1244,7 +1244,7 @@
+               NETADDR addr;
+               int cid = atoi(str);
+ 
+-              if(cid < 0 || cid > MAX_CLIENTS || clients[cid].state == 
SRVCLIENT_STATE_EMPTY)
++              if(cid < 0 || cid >= MAX_CLIENTS || clients[cid].state == 
SRVCLIENT_STATE_EMPTY)
+               {
+                       dbg_msg("server", "invalid client id");
+                       return;
--- /dev/null   2010-06-26 20:03:38.000000000 +0200
+++ games/teeworlds/patches/patch-ac    2010-06-26 19:49:54.000000000 +0200
@@ -0,0 +1,10 @@
+$NetBSD$
+--- bam-0.2.0/make_unix.sh.orig        2010-06-26 13:12:10.000000000 +0200
++++ bam-0.2.0/make_unix.sh     2010-06-26 13:12:46.000000000 +0200
+@@ -1,4 +1,4 @@
+ #!/bin/sh
+-gcc -Wall -ansi -pedantic src/tools/txt2c.c -o src/tools/txt2c
++@CC@ @CFLAGS@ -Wall -ansi -pedantic src/tools/txt2c.c -o src/tools/txt2c
+ src/tools/txt2c src/base.bam src/driver_gcc.bam src/driver_cl.bam > 
src/internal_base.h
+-gcc -Wall -ansi -pedantic src/lua/*.c src/*.c -o src/bam -I src/lua -lm 
-lpthread -O2 $*
++@CC@ @CFLAGS@ -Wall -ansi -pedantic src/lua/*.c src/*.c -o src/bam -I src/lua 
-lm -lpthread -O2 $*
--- /dev/null   2010-06-26 20:03:38.000000000 +0200
+++ games/teeworlds/patches/patch-ad    2010-06-26 19:49:56.000000000 +0200
@@ -0,0 +1,17 @@
+$NetBSD$
+--- bam-0.2.0/src/platform.h.orig      2010-06-26 13:18:39.000000000 +0200
++++ bam-0.2.0/src/platform.h   2010-06-26 13:19:07.000000000 +0200
+@@ -34,6 +34,13 @@
+       #define BAM_PLATFORM_STRING "openbsd"
+ #endif
+ 
++#if defined(__NetBSD__)
++      #define BAM_FAMILY_UNIX
++      #define BAM_FAMILY_STRING "unix"
++      #define BAM_PLATFORM_NETBSD
++      #define BAM_PLATFORM_STRING "netbsd"
++#endif
++
+ #if defined(__LINUX__) || defined(__linux__)
+       #define BAM_FAMILY_UNIX
+       #define BAM_FAMILY_STRING "unix"
--- /dev/null   2010-06-26 20:03:38.000000000 +0200
+++ games/teeworlds/patches/patch-ae    2010-06-26 19:49:58.000000000 +0200
@@ -0,0 +1,12 @@
+$NetBSD$
+--- teeworlds-0.5.2-src/src/engine/e_engine.c.orig     2010-06-26 
17:31:55.000000000 +0200
++++ teeworlds-0.5.2-src/src/engine/e_engine.c  2010-06-26 17:32:21.000000000 
+0200
+@@ -572,7 +572,7 @@
+       /* 5) check for all default locations */
+       {
+               const char *sdirs[] = {
+-                      "/usr/share/teeworlds",
++                      "@DATADIR@",
+                       "/usr/local/share/teeworlds"
+                       "/opt/teeworlds"
+               };
--- /dev/null   2010-06-26 20:03:38.000000000 +0200
+++ games/teeworlds/patches/patch-af    2010-06-26 19:50:00.000000000 +0200
@@ -0,0 +1,17 @@
+$NetBSD$
+--- teeworlds-0.5.2-src/src/base/detect.h.orig 2010-06-26 14:20:12.000000000 
+0200
++++ teeworlds-0.5.2-src/src/base/detect.h      2010-06-26 14:20:38.000000000 
+0200
+@@ -38,6 +38,13 @@
+       #define CONF_PLATFORM_STRING "openbsd"
+ #endif
+ 
++#if defined(__NetBSD__)
++      #define CONF_FAMILY_UNIX 1
++      #define CONF_FAMILY_STRING "unix"
++      #define CONF_PLATFORM_NETBSD 1
++      #define CONF_PLATFORM_STRING "netbsd"
++#endif
++
+ #if defined(__LINUX__) || defined(__linux__)
+       #define CONF_FAMILY_UNIX 1
+       #define CONF_FAMILY_STRING "unix"
--- /dev/null   2010-06-26 20:03:38.000000000 +0200
+++ games/teeworlds/patches/patch-ag    2010-06-26 19:50:02.000000000 +0200
@@ -0,0 +1,28 @@
+$NetBSD$
+--- teeworlds-0.5.2-src/default.bam.orig       2009-10-26 19:04:31.000000000 
+0100
++++ teeworlds-0.5.2-src/default.bam    2010-06-26 15:35:35.000000000 +0200
+@@ -15,7 +15,7 @@
+       if family == "windows" then
+               return str_replace(name, "/", "\\")
+       end
+-      return "python " .. name
++      return "@PYTHONBIN@ " .. name
+ end
+ 
+ function CHash(output, ...)
+@@ -110,13 +110,13 @@
+       if config.compiler.value == "cl" then
+               settings.cc.flags:Add("/wd4244")
+       else
+-              settings.cc.flags:Add("-Wall", "-fno-exceptions")
++              settings.cc.flags:Add("-Wall", "-fno-exceptions @CFLAGS@ -I 
@X11BASE@/include")
+               if platform == "macosx" then
+                       settings.cc.flags:Add("-mmacosx-version-min=10.4", 
"-isysroot /Developer/SDKs/MacOSX10.4u.sdk")
+                       settings.link.flags:Add("-mmacosx-version-min=10.4", 
"-isysroot /Developer/SDKs/MacOSX10.4u.sdk")
+               elseif config.stackprotector.value == 1 then
+                       settings.cc.flags:Add("-fstack-protector", 
"-fstack-protector-all")
+-                      settings.link.flags:Add("-fstack-protector", 
"-fstack-protector-all")
++                      settings.link.flags:Add("-fstack-protector", 
"-fstack-protector-all @CFLAGS@ -Wl,-R @X11BASE@/lib -L @X11BASE@/lib")
+               end
+       end
+ 
--- /dev/null   2010-06-26 20:03:38.000000000 +0200
+++ games/teeworlds/Makefile.common     2010-06-26 20:01:53.000000000 +0200
@@ -0,0 +1,46 @@
+# $NetBSD$
+#
+# used by games/teeworlds-server/Makefile
+
+DISTNAME=              teeworlds-${TEEWORLDS_VERSION}-src
+CATEGORIES=            games
+MASTER_SITES=          http://www.teeworlds.com/files/ \
+                       http://mirror.amdmi3.ru/distfiles/
+
+COMMENT=               Platform game featuring buggers equipped with weapons
+HOMEPAGE=              http://www.teeworlds.com/
+
+MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
+USE_LANGUAGES=         c c++
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+NO_CONFIGURE=          yes
+
+# Need python for build dependency.
+PYTHON_VERSIONS_ACCEPTED=      26 25 24
+PYTHON_FOR_BUILD_ONLY=         yes
+
+# bam is the teeworlds `make'.
+BAM_VERSION=           0.2.0
+BAM_WRKSRC=            ${WRKDIR}/bam-${BAM_VERSION}
+
+# teeworlds src directory.
+TEEWORLDS_VERSION=     0.5.2
+TEEWORLDS_WRKSRC=      ${WRKDIR}/${DISTNAME}
+
+WRKSRC=                        ${WRKDIR}
+INSTALLATION_DIRS=     bin
+
+# Need bam and teeworlds sources
+DISTFILES=     ${DISTNAME}${EXTRACT_SUFX} bam-${BAM_VERSION}${EXTRACT_SUFX}
+
+# Needed for both client/server.
+SUBST_CLASSES+=                        make-unix e_engine default-bam
+SUBST_STAGE.make-unix=         pre-build
+SUBST_MESSAGE.make-unix=       Fixing bam make_unix.sh
+SUBST_FILES.make-unix=         ${BAM_WRKSRC}/make_unix.sh
+SUBST_SED.make-unix=           -e 's,@CC@,${CC},; s,@CFLAGS@,${CFLAGS},'
+
+.include "../../lang/python/pyversion.mk"
+.include "../../lang/python/application.mk"
+.include "../../mk/bsd.prefs.mk"
--- /dev/null   2010-06-26 20:03:38.000000000 +0200
+++ games/teeworlds/Makefile    2010-06-26 19:51:46.000000000 +0200
@@ -0,0 +1,54 @@
+# $NetBSD$
+
+.include "Makefile.common"
+
+PKGNAME=       teeworlds-${TEEWORLDS_VERSION}
+
+USE_TOOLS=     pax
+
+# Only for client side.
+SUBST_STAGE.default-bam=       pre-build
+SUBST_MESSAGE.default-bam=     Fixing default bam for python and X libs
+SUBST_FILES.default-bam=       ${TEEWORLDS_WRKSRC}/default.bam
+SUBST_SED.default-bam=         -e 's,@PYTHONBIN@,${PYTHONBIN},; 
s,@CFLAGS@,${CFLAGS},; s,@X11BASE@,${X11BASE},g'
+
+SUBST_STAGE.e_engine=          pre-build
+SUBST_MESSAGE.e_engine=                Fixing teeworlds e_engine.c
+SUBST_FILES.e_engine=          ${TEEWORLDS_WRKSRC}/src/engine/e_engine.c
+SUBST_SED.e_engine=            -e 's,@DATADIR@,${DESTDIR}${DATADIR},'
+
+# Change the desktop file icon.
+SUBST_CLASSES+=                        desktop
+SUBST_STAGE.desktop=           post-install
+SUBST_MESSAGE.desktop=         Fixing the icon location in desktop entry.
+SUBST_FILES.desktop=           ${DESTDIR}${APPSDIR}/teeworlds.desktop
+SUBST_SED.desktop=             -e 's,@DATADIR@,${DESTDIR}${DATADIR},'
+
+# We want client target.
+BAM_TARGET=    client_release
+
+APPSDIR=               ${PREFIX}/share/applications
+DATADIR=               ${PREFIX}/share/teeworlds
+INSTALLATION_DIRS+=    ${DATADIR} ${APPSDIR}
+
+do-build:
+       cd ${BAM_WRKSRC} && sh make_unix.sh
+       cd ${TEEWORLDS_WRKSRC} && ${BAM_WRKSRC}/src/bam -v ${BAM_TARGET}
+
+do-install:
+       ${INSTALL_PROGRAM} ${TEEWORLDS_WRKSRC}/teeworlds ${DESTDIR}${PREFIX}/bin
+
+       cd ${TEEWORLDS_WRKSRC}/data && ${PAX} -rw . ${DESTDIR}${DATADIR}
+
+       ${INSTALL_DATA} ${TEEWORLDS_WRKSRC}/other/icons/Teeworlds.ico 
${DESTDIR}${DATADIR}
+       ${INSTALL_DATA} ${FILESDIR}/teeworlds.desktop ${DESTDIR}${APPSDIR}
+
+.include "../../graphics/glu/buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../x11/libXext/buildlink3.mk"
+.include "../../x11/xproto/buildlink3.mk"
+.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../devel/SDL/buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+
+.include "../../mk/bsd.pkg.mk"
--- /dev/null   2010-06-26 20:03:38.000000000 +0200
+++ games/teeworlds/files/teeworlds.desktop     2010-06-26 17:36:19.000000000 
+0200
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=Teeworlds
+Comment=Platform game featuring buggers equipped with weapons
+Icon=@DATADIR@/Teeworlds.ico
+Categories=Game;ActionGame;
+Type=Application
+StartupNotify=false
+Encoding=UTF-8
--- /dev/null   2010-06-26 20:03:38.000000000 +0200
+++ games/teeworlds/distinfo    2010-06-26 17:32:27.000000000 +0200
@@ -0,0 +1,15 @@
+$NetBSD$
+
+SHA1 (bam-0.2.0.tar.gz) = 99d86db750fe18ea5b25493850122929bd2c674b
+RMD160 (bam-0.2.0.tar.gz) = 00af151d532bb0452d802e782f1f799abf12c4c5
+Size (bam-0.2.0.tar.gz) = 162342 bytes
+SHA1 (teeworlds-0.5.2-src.tar.gz) = 26d8059b1ad81ca6959b96fd3ff881f9db7550ef
+RMD160 (teeworlds-0.5.2-src.tar.gz) = 12b3384b3059d5ec0ebb437686f613f8d9430e61
+Size (teeworlds-0.5.2-src.tar.gz) = 6393472 bytes
+SHA1 (patch-aa) = e77cbc713abcd7a48a2f82113338cc45b4857f33
+SHA1 (patch-ab) = 9a20bc277cfc66e857abc5a7854bf52bc0648abb
+SHA1 (patch-ac) = d0ec6a84163c275c71d52b3b7b7eb5d8c7efc2d2
+SHA1 (patch-ad) = 627d1d1569318c32a6554655c05026a5cfb9f9b0
+SHA1 (patch-ae) = e36ed5e7cd8ae5e1e9bc481da3b2badb038cf528
+SHA1 (patch-af) = 4ed0ed3178beab37c05304320ab85ffda35206ae
+SHA1 (patch-ag) = 466b318df996bdf48a77d662db7a6ae876b8a266
--- /dev/null   2010-06-26 20:03:38.000000000 +0200
+++ games/teeworlds/PLIST       2010-06-26 19:37:52.000000000 +0200
@@ -0,0 +1,237 @@
+@comment $NetBSD$
+bin/teeworlds
+share/applications/teeworlds.desktop
+share/teeworlds/Teeworlds.ico
+share/teeworlds/blob.png
+share/teeworlds/browse_icons.png
+share/teeworlds/console.png
+share/teeworlds/console_bar.png
+share/teeworlds/debug_font.png
+share/teeworlds/emoticons.png
+share/teeworlds/game.png
+share/teeworlds/gui_cursor.png
+share/teeworlds/gui_logo.png
+share/teeworlds/particles.png
+share/teeworlds/audio/foley_foot_right-02.wv
+share/teeworlds/audio/wp_flump_explo-01.wv
+share/teeworlds/audio/vo_teefault_cry-01.wv
+share/teeworlds/audio/foley_land-02.wv
+share/teeworlds/audio/wp_switch-03.wv
+share/teeworlds/audio/vo_teefault_ninja-03.wv
+share/teeworlds/audio/foley_foot_right-03.wv
+share/teeworlds/audio/vo_teefault_ninja-04.wv
+share/teeworlds/audio/vo_teefault_sledge-01.wv
+share/teeworlds/audio/wp_hammer_hit-02.wv
+share/teeworlds/audio/wp_noammo-04.wv
+share/teeworlds/audio/sfx_pickup_sg.wv
+share/teeworlds/audio/wp_noammo-01.wv
+share/teeworlds/audio/hook_noattach-01.wv
+share/teeworlds/audio/sfx_spawn_wpn-01.wv
+share/teeworlds/audio/vo_teefault_pain_long-02.wv
+share/teeworlds/audio/foley_dbljump-01.wv
+share/teeworlds/audio/wp_rifle_fire-01.wv
+share/teeworlds/audio/wp_switch-01.wv
+share/teeworlds/audio/sfx_pickup_arm-02.wv
+share/teeworlds/audio/vo_teefault_pain_short-04.wv
+share/teeworlds/audio/wp_switch-02.wv
+share/teeworlds/audio/wp_hammer_hit-01.wv
+share/teeworlds/audio/vo_teefault_pain_short-06.wv
+share/teeworlds/audio/wp_ninja_attack-02.wv
+share/teeworlds/audio/foley_foot_left-01.wv
+share/teeworlds/audio/wp_noammo-05.wv
+share/teeworlds/audio/hook_attach-02.wv
+share/teeworlds/audio/vo_teefault_spawn-01.wv
+share/teeworlds/audio/wp_ninja_attack-04.wv
+share/teeworlds/audio/wp_ninja_hit-02.wv
+share/teeworlds/audio/sfx_skid-03.wv
+share/teeworlds/audio/foley_body_impact-03.wv
+share/teeworlds/audio/sfx_ctf_grab_en.wv
+share/teeworlds/audio/sfx_spawn_wpn-02.wv
+share/teeworlds/audio/vo_teefault_pain_short-10.wv
+share/teeworlds/audio/vo_teefault_pain_short-08.wv
+share/teeworlds/audio/wp_ninja_attack-01.wv
+share/teeworlds/audio/foley_body_splat-02.wv
+share/teeworlds/audio/foley_foot_left-03.wv
+share/teeworlds/audio/wp_rifle_bnce-02.wv
+share/teeworlds/audio/sfx_hit_weak-02.wv
+share/teeworlds/audio/vo_teefault_pain_short-05.wv
+share/teeworlds/audio/sfx_hit_strong-02.wv
+share/teeworlds/audio/vo_teefault_ninja-02.wv
+share/teeworlds/audio/wp_flump_explo-03.wv
+share/teeworlds/audio/wp_ninja_hit-01.wv
+share/teeworlds/audio/foley_land-04.wv
+share/teeworlds/audio/sfx_pickup_arm-01.wv
+share/teeworlds/audio/vo_teefault_spawn-07.wv
+share/teeworlds/audio/wp_hammer_swing-02.wv
+share/teeworlds/audio/vo_teefault_spawn-06.wv
+share/teeworlds/audio/foley_body_splat-04.wv
+share/teeworlds/audio/wp_rifle_fire-03.wv
+share/teeworlds/audio/hook_noattach-03.wv
+share/teeworlds/audio/foley_foot_right-01.wv
+share/teeworlds/audio/sfx_pickup_arm-04.wv
+share/teeworlds/audio/vo_teefault_ninja-01.wv
+share/teeworlds/audio/vo_teefault_pain_long-01.wv
+share/teeworlds/audio/wp_gun_fire-02.wv
+share/teeworlds/audio/sfx_skid-04.wv
+share/teeworlds/audio/sfx_spawn_wpn-03.wv
+share/teeworlds/audio/sfx_ctf_drop.wv
+share/teeworlds/audio/wp_flump_explo-02.wv
+share/teeworlds/audio/foley_dbljump-03.wv
+share/teeworlds/audio/vo_teefault_spawn-03.wv
+share/teeworlds/audio/hook_noattach-02.wv
+share/teeworlds/audio/wp_gun_fire-01.wv
+share/teeworlds/audio/foley_land-01.wv
+share/teeworlds/audio/foley_land-03.wv
+share/teeworlds/audio/foley_dbljump-02.wv
+share/teeworlds/audio/wp_shotty_fire-01.wv
+share/teeworlds/audio/wp_flump_launch-03.wv
+share/teeworlds/audio/wp_hammer_swing-01.wv
+share/teeworlds/audio/vo_teefault_pain_short-12.wv
+share/teeworlds/audio/sfx_pickup_hrt-01.wv
+share/teeworlds/audio/hook_attach-01.wv
+share/teeworlds/audio/vo_teefault_pain_short-03.wv
+share/teeworlds/audio/wp_flump_launch-01.wv
+share/teeworlds/audio/wp_rifle_bnce-01.wv
+share/teeworlds/audio/foley_body_impact-02.wv
+share/teeworlds/audio/vo_teefault_pain_short-01.wv
+share/teeworlds/audio/wp_shotty_fire-02.wv
+share/teeworlds/audio/wp_shotty_fire-03.wv
+share/teeworlds/audio/foley_foot_right-04.wv
+share/teeworlds/audio/wp_noammo-03.wv
+share/teeworlds/audio/wp_rifle_fire-02.wv
+share/teeworlds/audio/vo_teefault_spawn-02.wv
+share/teeworlds/audio/sfx_pickup_ninja.wv
+share/teeworlds/audio/hook_loop-02.wv
+share/teeworlds/audio/vo_teefault_sledge-03.wv
+share/teeworlds/audio/foley_body_splat-03.wv
+share/teeworlds/audio/wp_ninja_hit-04.wv
+share/teeworlds/audio/sfx_ctf_rtn.wv
+share/teeworlds/audio/sfx_pickup_launcher.wv
+share/teeworlds/audio/sfx_pickup_hrt-02.wv
+share/teeworlds/audio/vo_teefault_sledge-02.wv
+share/teeworlds/audio/wp_hammer_hit-03.wv
+share/teeworlds/audio/foley_body_splat-01.wv
+share/teeworlds/audio/wp_gun_fire-03.wv
+share/teeworlds/audio/sfx_ctf_grab_pl.wv
+share/teeworlds/audio/foley_body_impact-01.wv
+share/teeworlds/audio/sfx_skid-01.wv
+share/teeworlds/audio/sfx_hit_weak-01.wv
+share/teeworlds/audio/vo_teefault_pain_short-11.wv
+share/teeworlds/audio/sfx_msg-client.wv
+share/teeworlds/audio/sfx_ctf_cap_pl.wv
+share/teeworlds/audio/hook_loop-01.wv
+share/teeworlds/audio/sfx_pickup_arm-03.wv
+share/teeworlds/audio/sfx_hit_strong-01.wv
+share/teeworlds/audio/wp_ninja_hit-03.wv
+share/teeworlds/audio/hook_attach-03.wv
+share/teeworlds/audio/wp_flump_launch-02.wv
+share/teeworlds/audio/vo_teefault_spawn-04.wv
+share/teeworlds/audio/vo_teefault_pain_short-09.wv
+share/teeworlds/audio/vo_teefault_pain_short-07.wv
+share/teeworlds/audio/wp_hammer_swing-03.wv
+share/teeworlds/audio/sfx_skid-02.wv
+share/teeworlds/audio/vo_teefault_spawn-05.wv
+share/teeworlds/audio/sfx_pickup_gun.wv
+share/teeworlds/audio/foley_foot_left-04.wv
+share/teeworlds/audio/wp_rifle_bnce-03.wv
+share/teeworlds/audio/sfx_hit_weak-03.wv
+share/teeworlds/audio/foley_foot_left-02.wv
+share/teeworlds/audio/vo_teefault_cry-02.wv
+share/teeworlds/audio/wp_ninja_attack-03.wv
+share/teeworlds/audio/wp_noammo-02.wv
+share/teeworlds/audio/vo_teefault_pain_short-02.wv
+share/teeworlds/audio/sfx_msg-server.wv
+share/teeworlds/skins/bluekitty.png
+share/teeworlds/skins/twinbop.png
+share/teeworlds/skins/redstripe.png
+share/teeworlds/skins/saddo.png
+share/teeworlds/skins/default.png
+share/teeworlds/skins/coala.png
+share/teeworlds/skins/pinky.png
+share/teeworlds/skins/redbopp.png
+share/teeworlds/skins/toptri.png
+share/teeworlds/skins/cammostripes.png
+share/teeworlds/skins/cammo.png
+share/teeworlds/skins/twintri.png
+share/teeworlds/skins/brownbear.png
+share/teeworlds/skins/bluestripe.png
+share/teeworlds/skins/x_ninja.png
+share/teeworlds/skins/limekitty.png
+share/teeworlds/skins/warpaint.png
+share/teeworlds/maps/dm7.map
+share/teeworlds/maps/dm2.map
+share/teeworlds/maps/dm9.map
+share/teeworlds/maps/ctf5.map
+share/teeworlds/maps/dm6.map
+share/teeworlds/maps/ctf3.map
+share/teeworlds/maps/ctf1.map
+share/teeworlds/maps/dm1.map
+share/teeworlds/maps/ctf2.map
+share/teeworlds/maps/ctf4.map
+share/teeworlds/maps/dm8.map
+share/teeworlds/fonts/default_font16_b.png
+share/teeworlds/fonts/default_font9_b.png
+share/teeworlds/fonts/default_font11.png
+share/teeworlds/fonts/default_font36_b.png
+share/teeworlds/fonts/default_font11_b.png
+share/teeworlds/fonts/default_font13_b.png
+share/teeworlds/fonts/default_font8_b.png
+share/teeworlds/fonts/default_font15_b.png
+share/teeworlds/fonts/default_font19.tfnt
+share/teeworlds/fonts/default_font10.tfnt
+share/teeworlds/fonts/default_font17_b.png
+share/teeworlds/fonts/default_font9.png
+share/teeworlds/fonts/default_font20_b.png
+share/teeworlds/fonts/default_font15.png
+share/teeworlds/fonts/default_font18.tfnt
+share/teeworlds/fonts/default_font19_b.png
+share/teeworlds/fonts/default_font36.png
+share/teeworlds/fonts/default_font8.tfnt
+share/teeworlds/fonts/default_font14.tfnt
+share/teeworlds/fonts/default_font16.png
+share/teeworlds/fonts/default_font9.tfnt
+share/teeworlds/fonts/default_font15.tfnt
+share/teeworlds/fonts/default_font17.tfnt
+share/teeworlds/fonts/default_font36.tfnt
+share/teeworlds/fonts/default_font18.png
+share/teeworlds/fonts/default_font8.png
+share/teeworlds/fonts/default_font12.tfnt
+share/teeworlds/fonts/default_font20.png
+share/teeworlds/fonts/default_font11.tfnt
+share/teeworlds/fonts/default_font16.tfnt
+share/teeworlds/fonts/default_font10.png
+share/teeworlds/fonts/default_font14_b.png
+share/teeworlds/fonts/default_font12.png
+share/teeworlds/fonts/default_font14.png
+share/teeworlds/fonts/default_font12_b.png
+share/teeworlds/fonts/default_font20.tfnt
+share/teeworlds/fonts/default_font13.tfnt
+share/teeworlds/fonts/default_font19.png
+share/teeworlds/fonts/default_font17.png
+share/teeworlds/fonts/default_font10_b.png
+share/teeworlds/fonts/default_font18_b.png
+share/teeworlds/fonts/default_font13.png
+share/teeworlds/editor/background.png
+share/teeworlds/editor/checker.png
+share/teeworlds/editor/cursor.png
+share/teeworlds/editor/entities.png
+share/teeworlds/mapres/generic_unhookable.png
+share/teeworlds/mapres/jungle_doodads.png
+share/teeworlds/mapres/desert_sun.png
+share/teeworlds/mapres/jungle_night2.png
+share/teeworlds/mapres/winter_main.png
+share/teeworlds/mapres/mountains.png
+share/teeworlds/mapres/desert_main.png
+share/teeworlds/mapres/sun.png
+share/teeworlds/mapres/desert_mountains.png
+share/teeworlds/mapres/grass_main.png
+share/teeworlds/mapres/bg_cloud3.png
+share/teeworlds/mapres/stars.png
+share/teeworlds/mapres/winter_doodads.png
+share/teeworlds/mapres/bg_cloud2.png
+share/teeworlds/mapres/jungle_main.png
+share/teeworlds/mapres/grass_doodads.png
+share/teeworlds/mapres/moon.png
+share/teeworlds/mapres/jungle_night.png
+share/teeworlds/mapres/bg_cloud1.png
+share/teeworlds/mapres/snow.png
--- /dev/null   2010-06-26 20:03:38.000000000 +0200
+++ games/teeworlds/DESCR       2010-06-26 16:39:58.000000000 +0200
@@ -0,0 +1,14 @@
+Teeworlds 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.
--- /dev/null   2010-06-26 20:03:38.000000000 +0200
+++ games/teeworlds-server/Makefile     2010-06-26 20:02:11.000000000 +0200
@@ -0,0 +1,28 @@
+# $NetBSD$
+
+.include "../../games/teeworlds/Makefile.common"
+
+PKGNAME=       teeworlds-server-${TEEWORLDS_VERSION}
+
+# Use the same settings.
+DISTINFO_FILE= ${.CURDIR}/../teeworlds/distinfo
+PATCHDIR=      ${.CURDIR}/../teeworlds/patches
+DESCR_SRC=     ${.CURDIR}/../teeworlds/DESCR
+
+# Remove X libs because we don't need them.
+SUBST_STAGE.default-bam=       pre-build
+SUBST_MESSAGE.default-bam=     Fixing default bam for python and X libs
+SUBST_FILES.default-bam=       ${TEEWORLDS_WRKSRC}/default.bam
+SUBST_SED.default-bam=         -e 's,@PYTHONBIN@,${PYTHONBIN},; 
s,@CFLAGS@,${CFLAGS},; s,@X11BASE@,,'
+
+# We want server target.
+BAM_TARGET=    server_release
+
+do-build:
+       cd ${BAM_WRKSRC} && sh make_unix.sh
+       cd ${TEEWORLDS_WRKSRC} && ${BAM_WRKSRC}/src/bam -v ${BAM_TARGET}
+
+do-install:
+       ${INSTALL_PROGRAM} ${TEEWORLDS_WRKSRC}/teeworlds_srv 
${DESTDIR}${PREFIX}/bin
+
+.include "../../mk/bsd.pkg.mk"
--- /dev/null   2010-06-26 20:03:38.000000000 +0200
+++ games/teeworlds-server/PLIST        2010-06-26 16:42:01.000000000 +0200
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+bin/teeworlds_srv



Home | Main Index | Thread Index | Old Index