summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/teeworlds/DESCR4
-rw-r--r--games/teeworlds/Makefile40
-rw-r--r--games/teeworlds/PLIST489
-rw-r--r--games/teeworlds/distinfo8
-rw-r--r--games/teeworlds/patches/patch-bam.lua20
-rw-r--r--games/teeworlds/patches/patch-src_base_detect.h35
-rw-r--r--games/teeworlds/patches/patch-src_engine_shared_storage.cpp27
7 files changed, 623 insertions, 0 deletions
diff --git a/games/teeworlds/DESCR b/games/teeworlds/DESCR
new file mode 100644
index 00000000000..d27bf6453cd
--- /dev/null
+++ b/games/teeworlds/DESCR
@@ -0,0 +1,4 @@
+Teeworlds is a free online multiplayer game, available for all major
+operating systems. Battle with up to 16 players in a variety of game
+modes, including Team Deathmatch and Capture The Flag. You can even
+design your own maps!
diff --git a/games/teeworlds/Makefile b/games/teeworlds/Makefile
new file mode 100644
index 00000000000..bc3b6574c33
--- /dev/null
+++ b/games/teeworlds/Makefile
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.1 2015/09/12 18:53:17 wiz Exp $
+
+DISTNAME= teeworlds-0.6.3-src
+PKGNAME= ${DISTNAME:S/-src//}
+CATEGORIES= games
+MASTER_SITES= http://downloads.teeworlds.com/
+
+MAINTAINER= fstd.lkml@gmail.com
+HOMEPAGE= http://www.teeworlds.com/
+COMMENT= Fast-paced retro multiplayer shooter
+LICENSE= zlib AND 2-clause-bsd AND modified-bsd AND cc-by-sa-v3.0
+
+USE_LANGUAGES= c c++
+
+BUILD_DEPENDS+= bam>=0.4.0:../../devel/bam
+
+AUTO_MKDIRS= yes
+
+CPIO= cpio
+
+PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # hardcoded to 2.7 in a patch
+
+do-configure:
+ set -e; cd ${WRKSRC}; bam config
+
+do-build:
+ set -e; cd ${WRKSRC}; bam server_release client_release
+
+do-install:
+ ${INSTALL_GAME} ${WRKSRC}/teeworlds ${DESTDIR}${PREFIX}/bin/teeworlds
+ ${INSTALL_GAME} ${WRKSRC}/teeworlds_srv ${DESTDIR}${PREFIX}/bin/teeworlds_srv
+ cd ${WRKSRC} && ${FIND} data | \
+ ${CPIO} -p ${DESTDIR}${PREFIX}/share/teeworlds
+ cd ${DESTDIR}${PREFIX} && \
+ ${FIND} share/teeworlds -type f -print >${WRKDIR}/PLIST
+
+.include "../../devel/SDL/buildlink3.mk"
+.include "../../lang/python/application.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/games/teeworlds/PLIST b/games/teeworlds/PLIST
new file mode 100644
index 00000000000..9bafb1e9ef5
--- /dev/null
+++ b/games/teeworlds/PLIST
@@ -0,0 +1,489 @@
+@comment $NetBSD: PLIST,v 1.1 2015/09/12 18:53:17 wiz Exp $
+bin/teeworlds
+bin/teeworlds_srv
+share/teeworlds/data/audio/foley_body_impact-01.wv
+share/teeworlds/data/audio/foley_body_impact-02.wv
+share/teeworlds/data/audio/foley_body_impact-03.wv
+share/teeworlds/data/audio/foley_body_splat-01.wv
+share/teeworlds/data/audio/foley_body_splat-02.wv
+share/teeworlds/data/audio/foley_body_splat-03.wv
+share/teeworlds/data/audio/foley_body_splat-04.wv
+share/teeworlds/data/audio/foley_dbljump-01.wv
+share/teeworlds/data/audio/foley_dbljump-02.wv
+share/teeworlds/data/audio/foley_dbljump-03.wv
+share/teeworlds/data/audio/foley_foot_left-01.wv
+share/teeworlds/data/audio/foley_foot_left-02.wv
+share/teeworlds/data/audio/foley_foot_left-03.wv
+share/teeworlds/data/audio/foley_foot_left-04.wv
+share/teeworlds/data/audio/foley_foot_right-01.wv
+share/teeworlds/data/audio/foley_foot_right-02.wv
+share/teeworlds/data/audio/foley_foot_right-03.wv
+share/teeworlds/data/audio/foley_foot_right-04.wv
+share/teeworlds/data/audio/foley_land-01.wv
+share/teeworlds/data/audio/foley_land-02.wv
+share/teeworlds/data/audio/foley_land-03.wv
+share/teeworlds/data/audio/foley_land-04.wv
+share/teeworlds/data/audio/hook_attach-01.wv
+share/teeworlds/data/audio/hook_attach-02.wv
+share/teeworlds/data/audio/hook_attach-03.wv
+share/teeworlds/data/audio/hook_loop-01.wv
+share/teeworlds/data/audio/hook_loop-02.wv
+share/teeworlds/data/audio/hook_noattach-01.wv
+share/teeworlds/data/audio/hook_noattach-02.wv
+share/teeworlds/data/audio/hook_noattach-03.wv
+share/teeworlds/data/audio/music_menu.wv
+share/teeworlds/data/audio/sfx_ctf_cap_pl.wv
+share/teeworlds/data/audio/sfx_ctf_drop.wv
+share/teeworlds/data/audio/sfx_ctf_grab_en.wv
+share/teeworlds/data/audio/sfx_ctf_grab_pl.wv
+share/teeworlds/data/audio/sfx_ctf_rtn.wv
+share/teeworlds/data/audio/sfx_hit_strong-01.wv
+share/teeworlds/data/audio/sfx_hit_strong-02.wv
+share/teeworlds/data/audio/sfx_hit_weak-01.wv
+share/teeworlds/data/audio/sfx_hit_weak-02.wv
+share/teeworlds/data/audio/sfx_hit_weak-03.wv
+share/teeworlds/data/audio/sfx_msg-client.wv
+share/teeworlds/data/audio/sfx_msg-highlight.wv
+share/teeworlds/data/audio/sfx_msg-server.wv
+share/teeworlds/data/audio/sfx_pickup_arm-01.wv
+share/teeworlds/data/audio/sfx_pickup_arm-02.wv
+share/teeworlds/data/audio/sfx_pickup_arm-03.wv
+share/teeworlds/data/audio/sfx_pickup_arm-04.wv
+share/teeworlds/data/audio/sfx_pickup_gun.wv
+share/teeworlds/data/audio/sfx_pickup_hrt-01.wv
+share/teeworlds/data/audio/sfx_pickup_hrt-02.wv
+share/teeworlds/data/audio/sfx_pickup_launcher.wv
+share/teeworlds/data/audio/sfx_pickup_ninja.wv
+share/teeworlds/data/audio/sfx_pickup_sg.wv
+share/teeworlds/data/audio/sfx_skid-01.wv
+share/teeworlds/data/audio/sfx_skid-02.wv
+share/teeworlds/data/audio/sfx_skid-03.wv
+share/teeworlds/data/audio/sfx_skid-04.wv
+share/teeworlds/data/audio/sfx_spawn_wpn-01.wv
+share/teeworlds/data/audio/sfx_spawn_wpn-02.wv
+share/teeworlds/data/audio/sfx_spawn_wpn-03.wv
+share/teeworlds/data/audio/vo_teefault_cry-01.wv
+share/teeworlds/data/audio/vo_teefault_cry-02.wv
+share/teeworlds/data/audio/vo_teefault_ninja-01.wv
+share/teeworlds/data/audio/vo_teefault_ninja-02.wv
+share/teeworlds/data/audio/vo_teefault_ninja-03.wv
+share/teeworlds/data/audio/vo_teefault_ninja-04.wv
+share/teeworlds/data/audio/vo_teefault_pain_long-01.wv
+share/teeworlds/data/audio/vo_teefault_pain_long-02.wv
+share/teeworlds/data/audio/vo_teefault_pain_short-01.wv
+share/teeworlds/data/audio/vo_teefault_pain_short-02.wv
+share/teeworlds/data/audio/vo_teefault_pain_short-03.wv
+share/teeworlds/data/audio/vo_teefault_pain_short-04.wv
+share/teeworlds/data/audio/vo_teefault_pain_short-05.wv
+share/teeworlds/data/audio/vo_teefault_pain_short-06.wv
+share/teeworlds/data/audio/vo_teefault_pain_short-07.wv
+share/teeworlds/data/audio/vo_teefault_pain_short-08.wv
+share/teeworlds/data/audio/vo_teefault_pain_short-09.wv
+share/teeworlds/data/audio/vo_teefault_pain_short-10.wv
+share/teeworlds/data/audio/vo_teefault_pain_short-11.wv
+share/teeworlds/data/audio/vo_teefault_pain_short-12.wv
+share/teeworlds/data/audio/vo_teefault_sledge-01.wv
+share/teeworlds/data/audio/vo_teefault_sledge-02.wv
+share/teeworlds/data/audio/vo_teefault_sledge-03.wv
+share/teeworlds/data/audio/vo_teefault_spawn-01.wv
+share/teeworlds/data/audio/vo_teefault_spawn-02.wv
+share/teeworlds/data/audio/vo_teefault_spawn-03.wv
+share/teeworlds/data/audio/vo_teefault_spawn-04.wv
+share/teeworlds/data/audio/vo_teefault_spawn-05.wv
+share/teeworlds/data/audio/vo_teefault_spawn-06.wv
+share/teeworlds/data/audio/vo_teefault_spawn-07.wv
+share/teeworlds/data/audio/wp_flump_explo-01.wv
+share/teeworlds/data/audio/wp_flump_explo-02.wv
+share/teeworlds/data/audio/wp_flump_explo-03.wv
+share/teeworlds/data/audio/wp_flump_launch-01.wv
+share/teeworlds/data/audio/wp_flump_launch-02.wv
+share/teeworlds/data/audio/wp_flump_launch-03.wv
+share/teeworlds/data/audio/wp_gun_fire-01.wv
+share/teeworlds/data/audio/wp_gun_fire-02.wv
+share/teeworlds/data/audio/wp_gun_fire-03.wv
+share/teeworlds/data/audio/wp_hammer_hit-01.wv
+share/teeworlds/data/audio/wp_hammer_hit-02.wv
+share/teeworlds/data/audio/wp_hammer_hit-03.wv
+share/teeworlds/data/audio/wp_hammer_swing-01.wv
+share/teeworlds/data/audio/wp_hammer_swing-02.wv
+share/teeworlds/data/audio/wp_hammer_swing-03.wv
+share/teeworlds/data/audio/wp_ninja_attack-01.wv
+share/teeworlds/data/audio/wp_ninja_attack-02.wv
+share/teeworlds/data/audio/wp_ninja_attack-03.wv
+share/teeworlds/data/audio/wp_ninja_attack-04.wv
+share/teeworlds/data/audio/wp_ninja_hit-01.wv
+share/teeworlds/data/audio/wp_ninja_hit-02.wv
+share/teeworlds/data/audio/wp_ninja_hit-03.wv
+share/teeworlds/data/audio/wp_ninja_hit-04.wv
+share/teeworlds/data/audio/wp_noammo-01.wv
+share/teeworlds/data/audio/wp_noammo-02.wv
+share/teeworlds/data/audio/wp_noammo-03.wv
+share/teeworlds/data/audio/wp_noammo-04.wv
+share/teeworlds/data/audio/wp_noammo-05.wv
+share/teeworlds/data/audio/wp_rifle_bnce-01.wv
+share/teeworlds/data/audio/wp_rifle_bnce-02.wv
+share/teeworlds/data/audio/wp_rifle_bnce-03.wv
+share/teeworlds/data/audio/wp_rifle_fire-01.wv
+share/teeworlds/data/audio/wp_rifle_fire-02.wv
+share/teeworlds/data/audio/wp_rifle_fire-03.wv
+share/teeworlds/data/audio/wp_shotty_fire-01.wv
+share/teeworlds/data/audio/wp_shotty_fire-02.wv
+share/teeworlds/data/audio/wp_shotty_fire-03.wv
+share/teeworlds/data/audio/wp_switch-01.wv
+share/teeworlds/data/audio/wp_switch-02.wv
+share/teeworlds/data/audio/wp_switch-03.wv
+share/teeworlds/data/blob.png
+share/teeworlds/data/browse_icons.png
+share/teeworlds/data/console.png
+share/teeworlds/data/console_bar.png
+share/teeworlds/data/countryflags/AD.png
+share/teeworlds/data/countryflags/AE.png
+share/teeworlds/data/countryflags/AF.png
+share/teeworlds/data/countryflags/AG.png
+share/teeworlds/data/countryflags/AI.png
+share/teeworlds/data/countryflags/AL.png
+share/teeworlds/data/countryflags/AM.png
+share/teeworlds/data/countryflags/AO.png
+share/teeworlds/data/countryflags/AR.png
+share/teeworlds/data/countryflags/AS.png
+share/teeworlds/data/countryflags/AT.png
+share/teeworlds/data/countryflags/AU.png
+share/teeworlds/data/countryflags/AW.png
+share/teeworlds/data/countryflags/AX.png
+share/teeworlds/data/countryflags/AZ.png
+share/teeworlds/data/countryflags/BA.png
+share/teeworlds/data/countryflags/BB.png
+share/teeworlds/data/countryflags/BD.png
+share/teeworlds/data/countryflags/BE.png
+share/teeworlds/data/countryflags/BF.png
+share/teeworlds/data/countryflags/BG.png
+share/teeworlds/data/countryflags/BH.png
+share/teeworlds/data/countryflags/BI.png
+share/teeworlds/data/countryflags/BJ.png
+share/teeworlds/data/countryflags/BL.png
+share/teeworlds/data/countryflags/BM.png
+share/teeworlds/data/countryflags/BN.png
+share/teeworlds/data/countryflags/BO.png
+share/teeworlds/data/countryflags/BR.png
+share/teeworlds/data/countryflags/BS.png
+share/teeworlds/data/countryflags/BT.png
+share/teeworlds/data/countryflags/BW.png
+share/teeworlds/data/countryflags/BY.png
+share/teeworlds/data/countryflags/BZ.png
+share/teeworlds/data/countryflags/CA.png
+share/teeworlds/data/countryflags/CC.png
+share/teeworlds/data/countryflags/CD.png
+share/teeworlds/data/countryflags/CF.png
+share/teeworlds/data/countryflags/CG.png
+share/teeworlds/data/countryflags/CH.png
+share/teeworlds/data/countryflags/CI.png
+share/teeworlds/data/countryflags/CK.png
+share/teeworlds/data/countryflags/CL.png
+share/teeworlds/data/countryflags/CM.png
+share/teeworlds/data/countryflags/CN.png
+share/teeworlds/data/countryflags/CO.png
+share/teeworlds/data/countryflags/CR.png
+share/teeworlds/data/countryflags/CU.png
+share/teeworlds/data/countryflags/CV.png
+share/teeworlds/data/countryflags/CW.png
+share/teeworlds/data/countryflags/CX.png
+share/teeworlds/data/countryflags/CY.png
+share/teeworlds/data/countryflags/CZ.png
+share/teeworlds/data/countryflags/DE.png
+share/teeworlds/data/countryflags/DJ.png
+share/teeworlds/data/countryflags/DK.png
+share/teeworlds/data/countryflags/DM.png
+share/teeworlds/data/countryflags/DO.png
+share/teeworlds/data/countryflags/DZ.png
+share/teeworlds/data/countryflags/EC.png
+share/teeworlds/data/countryflags/EE.png
+share/teeworlds/data/countryflags/EG.png
+share/teeworlds/data/countryflags/EH.png
+share/teeworlds/data/countryflags/ER.png
+share/teeworlds/data/countryflags/ES.png
+share/teeworlds/data/countryflags/ET.png
+share/teeworlds/data/countryflags/FI.png
+share/teeworlds/data/countryflags/FJ.png
+share/teeworlds/data/countryflags/FK.png
+share/teeworlds/data/countryflags/FM.png
+share/teeworlds/data/countryflags/FO.png
+share/teeworlds/data/countryflags/FR.png
+share/teeworlds/data/countryflags/GA.png
+share/teeworlds/data/countryflags/GB.png
+share/teeworlds/data/countryflags/GD.png
+share/teeworlds/data/countryflags/GE.png
+share/teeworlds/data/countryflags/GF.png
+share/teeworlds/data/countryflags/GG.png
+share/teeworlds/data/countryflags/GH.png
+share/teeworlds/data/countryflags/GI.png
+share/teeworlds/data/countryflags/GL.png
+share/teeworlds/data/countryflags/GM.png
+share/teeworlds/data/countryflags/GN.png
+share/teeworlds/data/countryflags/GP.png
+share/teeworlds/data/countryflags/GQ.png
+share/teeworlds/data/countryflags/GR.png
+share/teeworlds/data/countryflags/GS.png
+share/teeworlds/data/countryflags/GT.png
+share/teeworlds/data/countryflags/GU.png
+share/teeworlds/data/countryflags/GW.png
+share/teeworlds/data/countryflags/GY.png
+share/teeworlds/data/countryflags/HK.png
+share/teeworlds/data/countryflags/HN.png
+share/teeworlds/data/countryflags/HR.png
+share/teeworlds/data/countryflags/HT.png
+share/teeworlds/data/countryflags/HU.png
+share/teeworlds/data/countryflags/ID.png
+share/teeworlds/data/countryflags/IE.png
+share/teeworlds/data/countryflags/IL.png
+share/teeworlds/data/countryflags/IM.png
+share/teeworlds/data/countryflags/IN.png
+share/teeworlds/data/countryflags/IO.png
+share/teeworlds/data/countryflags/IQ.png
+share/teeworlds/data/countryflags/IR.png
+share/teeworlds/data/countryflags/IS.png
+share/teeworlds/data/countryflags/IT.png
+share/teeworlds/data/countryflags/JE.png
+share/teeworlds/data/countryflags/JM.png
+share/teeworlds/data/countryflags/JO.png
+share/teeworlds/data/countryflags/JP.png
+share/teeworlds/data/countryflags/KE.png
+share/teeworlds/data/countryflags/KG.png
+share/teeworlds/data/countryflags/KH.png
+share/teeworlds/data/countryflags/KI.png
+share/teeworlds/data/countryflags/KM.png
+share/teeworlds/data/countryflags/KN.png
+share/teeworlds/data/countryflags/KP.png
+share/teeworlds/data/countryflags/KR.png
+share/teeworlds/data/countryflags/KW.png
+share/teeworlds/data/countryflags/KY.png
+share/teeworlds/data/countryflags/KZ.png
+share/teeworlds/data/countryflags/LA.png
+share/teeworlds/data/countryflags/LB.png
+share/teeworlds/data/countryflags/LC.png
+share/teeworlds/data/countryflags/LI.png
+share/teeworlds/data/countryflags/LK.png
+share/teeworlds/data/countryflags/LR.png
+share/teeworlds/data/countryflags/LS.png
+share/teeworlds/data/countryflags/LT.png
+share/teeworlds/data/countryflags/LU.png
+share/teeworlds/data/countryflags/LV.png
+share/teeworlds/data/countryflags/LY.png
+share/teeworlds/data/countryflags/MA.png
+share/teeworlds/data/countryflags/MC.png
+share/teeworlds/data/countryflags/MD.png
+share/teeworlds/data/countryflags/ME.png
+share/teeworlds/data/countryflags/MF.png
+share/teeworlds/data/countryflags/MG.png
+share/teeworlds/data/countryflags/MH.png
+share/teeworlds/data/countryflags/MK.png
+share/teeworlds/data/countryflags/ML.png
+share/teeworlds/data/countryflags/MM.png
+share/teeworlds/data/countryflags/MN.png
+share/teeworlds/data/countryflags/MO.png
+share/teeworlds/data/countryflags/MP.png
+share/teeworlds/data/countryflags/MQ.png
+share/teeworlds/data/countryflags/MR.png
+share/teeworlds/data/countryflags/MS.png
+share/teeworlds/data/countryflags/MT.png
+share/teeworlds/data/countryflags/MU.png
+share/teeworlds/data/countryflags/MV.png
+share/teeworlds/data/countryflags/MW.png
+share/teeworlds/data/countryflags/MX.png
+share/teeworlds/data/countryflags/MY.png
+share/teeworlds/data/countryflags/MZ.png
+share/teeworlds/data/countryflags/NA.png
+share/teeworlds/data/countryflags/NC.png
+share/teeworlds/data/countryflags/NE.png
+share/teeworlds/data/countryflags/NF.png
+share/teeworlds/data/countryflags/NG.png
+share/teeworlds/data/countryflags/NI.png
+share/teeworlds/data/countryflags/NL.png
+share/teeworlds/data/countryflags/NO.png
+share/teeworlds/data/countryflags/NP.png
+share/teeworlds/data/countryflags/NR.png
+share/teeworlds/data/countryflags/NU.png
+share/teeworlds/data/countryflags/NZ.png
+share/teeworlds/data/countryflags/OM.png
+share/teeworlds/data/countryflags/PA.png
+share/teeworlds/data/countryflags/PE.png
+share/teeworlds/data/countryflags/PF.png
+share/teeworlds/data/countryflags/PG.png
+share/teeworlds/data/countryflags/PH.png
+share/teeworlds/data/countryflags/PK.png
+share/teeworlds/data/countryflags/PL.png
+share/teeworlds/data/countryflags/PM.png
+share/teeworlds/data/countryflags/PN.png
+share/teeworlds/data/countryflags/PR.png
+share/teeworlds/data/countryflags/PT.png
+share/teeworlds/data/countryflags/PW.png
+share/teeworlds/data/countryflags/PY.png
+share/teeworlds/data/countryflags/QA.png
+share/teeworlds/data/countryflags/RE.png
+share/teeworlds/data/countryflags/RO.png
+share/teeworlds/data/countryflags/RS.png
+share/teeworlds/data/countryflags/RU.png
+share/teeworlds/data/countryflags/RW.png
+share/teeworlds/data/countryflags/SA.png
+share/teeworlds/data/countryflags/SB.png
+share/teeworlds/data/countryflags/SC.png
+share/teeworlds/data/countryflags/SD.png
+share/teeworlds/data/countryflags/SE.png
+share/teeworlds/data/countryflags/SG.png
+share/teeworlds/data/countryflags/SH.png
+share/teeworlds/data/countryflags/SI.png
+share/teeworlds/data/countryflags/SK.png
+share/teeworlds/data/countryflags/SL.png
+share/teeworlds/data/countryflags/SM.png
+share/teeworlds/data/countryflags/SN.png
+share/teeworlds/data/countryflags/SO.png
+share/teeworlds/data/countryflags/SR.png
+share/teeworlds/data/countryflags/SS.png
+share/teeworlds/data/countryflags/ST.png
+share/teeworlds/data/countryflags/SV.png
+share/teeworlds/data/countryflags/SX.png
+share/teeworlds/data/countryflags/SY.png
+share/teeworlds/data/countryflags/SZ.png
+share/teeworlds/data/countryflags/TC.png
+share/teeworlds/data/countryflags/TD.png
+share/teeworlds/data/countryflags/TF.png
+share/teeworlds/data/countryflags/TG.png
+share/teeworlds/data/countryflags/TH.png
+share/teeworlds/data/countryflags/TJ.png
+share/teeworlds/data/countryflags/TK.png
+share/teeworlds/data/countryflags/TL.png
+share/teeworlds/data/countryflags/TM.png
+share/teeworlds/data/countryflags/TN.png
+share/teeworlds/data/countryflags/TO.png
+share/teeworlds/data/countryflags/TR.png
+share/teeworlds/data/countryflags/TT.png
+share/teeworlds/data/countryflags/TV.png
+share/teeworlds/data/countryflags/TW.png
+share/teeworlds/data/countryflags/TZ.png
+share/teeworlds/data/countryflags/UA.png
+share/teeworlds/data/countryflags/UG.png
+share/teeworlds/data/countryflags/US.png
+share/teeworlds/data/countryflags/UY.png
+share/teeworlds/data/countryflags/UZ.png
+share/teeworlds/data/countryflags/VA.png
+share/teeworlds/data/countryflags/VC.png
+share/teeworlds/data/countryflags/VE.png
+share/teeworlds/data/countryflags/VG.png
+share/teeworlds/data/countryflags/VI.png
+share/teeworlds/data/countryflags/VN.png
+share/teeworlds/data/countryflags/VU.png
+share/teeworlds/data/countryflags/WF.png
+share/teeworlds/data/countryflags/WS.png
+share/teeworlds/data/countryflags/XEN.png
+share/teeworlds/data/countryflags/XNI.png
+share/teeworlds/data/countryflags/XSC.png
+share/teeworlds/data/countryflags/XWA.png
+share/teeworlds/data/countryflags/YE.png
+share/teeworlds/data/countryflags/ZA.png
+share/teeworlds/data/countryflags/ZM.png
+share/teeworlds/data/countryflags/ZW.png
+share/teeworlds/data/countryflags/default.png
+share/teeworlds/data/countryflags/index.txt
+share/teeworlds/data/debug_font.png
+share/teeworlds/data/demo_buttons.png
+share/teeworlds/data/editor/background.png
+share/teeworlds/data/editor/checker.png
+share/teeworlds/data/editor/cursor.png
+share/teeworlds/data/editor/desert_main.rules
+share/teeworlds/data/editor/entities.png
+share/teeworlds/data/editor/grass_main.rules
+share/teeworlds/data/editor/jungle_main.rules
+share/teeworlds/data/editor/winter_main.rules
+share/teeworlds/data/emoticons.png
+share/teeworlds/data/file_icons.png
+share/teeworlds/data/fonts/DejaVuSans.ttf
+share/teeworlds/data/fonts/LICENSE
+share/teeworlds/data/fonts/VERSION
+share/teeworlds/data/game.png
+share/teeworlds/data/gui_buttons.png
+share/teeworlds/data/gui_cursor.png
+share/teeworlds/data/gui_icons.png
+share/teeworlds/data/gui_logo.png
+share/teeworlds/data/languages/belarusian.txt
+share/teeworlds/data/languages/bosnian.txt
+share/teeworlds/data/languages/brazilian_portuguese.txt
+share/teeworlds/data/languages/bulgarian.txt
+share/teeworlds/data/languages/czech.txt
+share/teeworlds/data/languages/danish.txt
+share/teeworlds/data/languages/dutch.txt
+share/teeworlds/data/languages/finnish.txt
+share/teeworlds/data/languages/french.txt
+share/teeworlds/data/languages/german.txt
+share/teeworlds/data/languages/hungarian.txt
+share/teeworlds/data/languages/index.txt
+share/teeworlds/data/languages/italian.txt
+share/teeworlds/data/languages/kyrgyz.txt
+share/teeworlds/data/languages/norwegian.txt
+share/teeworlds/data/languages/polish.txt
+share/teeworlds/data/languages/portuguese.txt
+share/teeworlds/data/languages/romanian.txt
+share/teeworlds/data/languages/russian.txt
+share/teeworlds/data/languages/serbian.txt
+share/teeworlds/data/languages/slovak.txt
+share/teeworlds/data/languages/spanish.txt
+share/teeworlds/data/languages/swedish.txt
+share/teeworlds/data/languages/turkish.txt
+share/teeworlds/data/languages/ukrainian.txt
+share/teeworlds/data/mapres/bg_cloud1.png
+share/teeworlds/data/mapres/bg_cloud2.png
+share/teeworlds/data/mapres/bg_cloud3.png
+share/teeworlds/data/mapres/desert_doodads.png
+share/teeworlds/data/mapres/desert_main.png
+share/teeworlds/data/mapres/desert_mountains.png
+share/teeworlds/data/mapres/desert_mountains2.png
+share/teeworlds/data/mapres/desert_sun.png
+share/teeworlds/data/mapres/generic_deathtiles.png
+share/teeworlds/data/mapres/generic_unhookable.png
+share/teeworlds/data/mapres/grass_doodads.png
+share/teeworlds/data/mapres/grass_main.png
+share/teeworlds/data/mapres/jungle_background.png
+share/teeworlds/data/mapres/jungle_deathtiles.png
+share/teeworlds/data/mapres/jungle_doodads.png
+share/teeworlds/data/mapres/jungle_main.png
+share/teeworlds/data/mapres/jungle_midground.png
+share/teeworlds/data/mapres/jungle_unhookables.png
+share/teeworlds/data/mapres/moon.png
+share/teeworlds/data/mapres/mountains.png
+share/teeworlds/data/mapres/snow.png
+share/teeworlds/data/mapres/stars.png
+share/teeworlds/data/mapres/sun.png
+share/teeworlds/data/mapres/winter_doodads.png
+share/teeworlds/data/mapres/winter_main.png
+share/teeworlds/data/mapres/winter_mountains.png
+share/teeworlds/data/mapres/winter_mountains2.png
+share/teeworlds/data/mapres/winter_mountains3.png
+share/teeworlds/data/maps/ctf1.map
+share/teeworlds/data/maps/ctf2.map
+share/teeworlds/data/maps/ctf3.map
+share/teeworlds/data/maps/ctf4.map
+share/teeworlds/data/maps/ctf5.map
+share/teeworlds/data/maps/ctf6.map
+share/teeworlds/data/maps/ctf7.map
+share/teeworlds/data/maps/dm1.map
+share/teeworlds/data/maps/dm2.map
+share/teeworlds/data/maps/dm6.map
+share/teeworlds/data/maps/dm7.map
+share/teeworlds/data/maps/dm8.map
+share/teeworlds/data/maps/dm9.map
+share/teeworlds/data/particles.png
+share/teeworlds/data/skins/bluekitty.png
+share/teeworlds/data/skins/bluestripe.png
+share/teeworlds/data/skins/brownbear.png
+share/teeworlds/data/skins/cammo.png
+share/teeworlds/data/skins/cammostripes.png
+share/teeworlds/data/skins/coala.png
+share/teeworlds/data/skins/default.png
+share/teeworlds/data/skins/limekitty.png
+share/teeworlds/data/skins/pinky.png
+share/teeworlds/data/skins/redbopp.png
+share/teeworlds/data/skins/redstripe.png
+share/teeworlds/data/skins/saddo.png
+share/teeworlds/data/skins/toptri.png
+share/teeworlds/data/skins/twinbop.png
+share/teeworlds/data/skins/twintri.png
+share/teeworlds/data/skins/warpaint.png
+share/teeworlds/data/skins/x_ninja.png
diff --git a/games/teeworlds/distinfo b/games/teeworlds/distinfo
new file mode 100644
index 00000000000..b9f61ab9981
--- /dev/null
+++ b/games/teeworlds/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2015/09/12 18:53:17 wiz Exp $
+
+SHA1 (teeworlds-0.6.3-src.tar.gz) = f2dea0d14c4a8c817c658bd75dbe175b37ed70bd
+RMD160 (teeworlds-0.6.3-src.tar.gz) = cf8c6ef7a9295cc2127b977e5f0e000d0759ec25
+Size (teeworlds-0.6.3-src.tar.gz) = 13101446 bytes
+SHA1 (patch-bam.lua) = 07a10ef28ec44c77797e983e7b59da6da3247feb
+SHA1 (patch-src_base_detect.h) = d9cc6e2ae0566b5c4f7790e3e7a0c6a4a8654516
+SHA1 (patch-src_engine_shared_storage.cpp) = f03bdf0eb8799f4cfc26036e2153358e17943bc7
diff --git a/games/teeworlds/patches/patch-bam.lua b/games/teeworlds/patches/patch-bam.lua
new file mode 100644
index 00000000000..8919564b7f3
--- /dev/null
+++ b/games/teeworlds/patches/patch-bam.lua
@@ -0,0 +1,20 @@
+$NetBSD: patch-bam.lua,v 1.1 2015/09/12 18:53:17 wiz Exp $
+
+=============================================================================
+This patch hardwires python to python2.7 (which we depend on in the Makefile)
+
+I doubt upstream would want or need it.
+=============================================================================
+
+
+--- bam.lua.orig 2015-09-12 06:04:33.000000000 +0200
++++ bam.lua 2015-09-12 06:04:26.000000000 +0200
+@@ -20,7 +20,7 @@
+ if family == "windows" then
+ return str_replace(name, "/", "\\")
+ end
+- return "python " .. name
++ return "python2.7 " .. name
+ end
+
+ function CHash(output, ...)
diff --git a/games/teeworlds/patches/patch-src_base_detect.h b/games/teeworlds/patches/patch-src_base_detect.h
new file mode 100644
index 00000000000..8719969bfba
--- /dev/null
+++ b/games/teeworlds/patches/patch-src_base_detect.h
@@ -0,0 +1,35 @@
+$NetBSD: patch-src_base_detect.h,v 1.1 2015/09/12 18:53:17 wiz Exp $
+
+====================================================================
+This patch adds NetBSD as a known platform.
+
+Upstream already applied it in their repository, so it should become
+unnecessary with later versions.
+====================================================================
+
+
+--- src/base/detect.h.orig
++++ src/base/detect.h
+@@ -32,6 +32,13 @@
+ #define CONF_PLATFORM_STRING "freebsd"
+ #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(__OpenBSD__)
+ #define CONF_FAMILY_UNIX 1
+ #define CONF_FAMILY_STRING "unix"
+@@ -78,7 +85,7 @@
+
+ /* use gcc endianness definitions when available */
+ #if defined(__GNUC__) && !defined(__APPLE__) && !defined(__MINGW32__) && !defined(__sun)
+- #if defined(__FreeBSD__) || defined(__OpenBSD__)
++ #if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
+ #include <sys/endian.h>
+ #else
+ #include <endian.h>
diff --git a/games/teeworlds/patches/patch-src_engine_shared_storage.cpp b/games/teeworlds/patches/patch-src_engine_shared_storage.cpp
new file mode 100644
index 00000000000..34ea9eeb21b
--- /dev/null
+++ b/games/teeworlds/patches/patch-src_engine_shared_storage.cpp
@@ -0,0 +1,27 @@
+$NetBSD: patch-src_engine_shared_storage.cpp,v 1.1 2015/09/12 18:53:17 wiz Exp $
+
+==========================================================
+This patch adds /usr/pkg as one of the default directories
+to search for data files in
+
+pkglint is concerned about the absolute pathnames in this patch:
+WARN: [...] Found absolute pathname: /usr/pkg/share/teeworlds/data
+WARN: [...] Found absolute pathname: /usr/pkg/share/games/teeworlds/data
+But I believe there's nothing we can do about it here.
+
+This patch has been submitted upstream.
+https://github.com/teeworlds/teeworlds/pull/1397
+==========================================================
+
+
+--- src/engine/shared/storage.cpp.orig 2015-09-12 14:30:15.000000000 +0200
++++ src/engine/shared/storage.cpp 2015-09-12 14:23:49.000000000 +0200
+@@ -211,6 +211,8 @@
+ "/usr/share/games/teeworlds/data",
+ "/usr/local/share/teeworlds/data",
+ "/usr/local/share/games/teeworlds/data",
++ "/usr/pkg/share/teeworlds/data",
++ "/usr/pkg/share/games/teeworlds/data",
+ "/opt/teeworlds/data"
+ };
+ const int DirsCount = sizeof(aDirs) / sizeof(aDirs[0]);