summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-fps/aaquake2/ChangeLog8
-rw-r--r--games-fps/aaquake2/Manifest4
-rw-r--r--games-fps/aaquake2/aaquake2-0.1.ebuild57
-rw-r--r--games-fps/aaquake2/files/0.1-gentoo.patch94
-rw-r--r--games-fps/aaquake2/files/digest-aaquake2-0.12
-rw-r--r--games-fps/aaut/ChangeLog8
-rw-r--r--games-fps/aaut/Manifest4
-rw-r--r--games-fps/aaut/aaut-1.ebuild20
-rw-r--r--games-fps/aaut/files/aaut5
-rw-r--r--games-fps/aaut/files/digest-aaut-10
-rw-r--r--games-fps/americas-army/ChangeLog39
-rw-r--r--games-fps/americas-army/Manifest7
-rw-r--r--games-fps/americas-army/americas-army-170.ebuild64
-rw-r--r--games-fps/americas-army/americas-army-190.ebuild63
-rw-r--r--games-fps/americas-army/files/armyops4
-rw-r--r--games-fps/americas-army/files/digest-americas-army-1701
-rw-r--r--games-fps/americas-army/files/digest-americas-army-1901
-rw-r--r--games-fps/americas-army/metadata.xml12
-rw-r--r--games-fps/anaglyph-stereo-quake/ChangeLog8
-rw-r--r--games-fps/anaglyph-stereo-quake/Manifest9
-rw-r--r--games-fps/anaglyph-stereo-quake/anaglyph-stereo-quake-130100.ebuild51
-rw-r--r--games-fps/anaglyph-stereo-quake/files/digest-anaglyph-stereo-quake-1301001
-rw-r--r--games-fps/anaglyph-stereo-quake/files/fix-sys_printf.patch11
-rw-r--r--games-fps/anaglyph-stereo-quake/files/makefile-gcc2-cflags.patch7
-rw-r--r--games-fps/anaglyph-stereo-quake/files/makefile-gcc3-cflags.patch7
-rw-r--r--games-fps/anaglyph-stereo-quake/files/makefile-onlyglx.patch16
-rw-r--r--games-fps/anaglyph-stereo-quake/files/makefile-path-fixes.patch22
-rw-r--r--games-fps/anaglyph-stereo-quake/files/stupid-dosformat.patch24
-rw-r--r--games-fps/avp-cvs/ChangeLog11
-rw-r--r--games-fps/avp-cvs/Manifest3
-rw-r--r--games-fps/avp-cvs/avp-cvs-20030314.ebuild42
-rw-r--r--games-fps/avp-cvs/files/digest-avp-cvs-200303140
-rw-r--r--games-fps/blackshades-cvs/ChangeLog15
-rw-r--r--games-fps/blackshades-cvs/Manifest4
-rw-r--r--games-fps/blackshades-cvs/blackshades-cvs-20030712.ebuild51
-rw-r--r--games-fps/blackshades-cvs/files/blackshades3
-rw-r--r--games-fps/blackshades-cvs/files/digest-blackshades-cvs-200307121
-rw-r--r--games-fps/cube/ChangeLog18
-rw-r--r--games-fps/cube/Manifest8
-rw-r--r--games-fps/cube/cube-20021020-r1.ebuild71
-rw-r--r--games-fps/cube/cube-20021020-r2.ebuild86
-rw-r--r--games-fps/cube/cube-20021020.ebuild67
-rw-r--r--games-fps/cube/files/cube-20021020-add-custom-paths.patch43
-rw-r--r--games-fps/cube/files/digest-cube-200210201
-rw-r--r--games-fps/cube/files/digest-cube-20021020-r12
-rw-r--r--games-fps/cube/files/digest-cube-20021020-r22
-rw-r--r--games-fps/doomlegacy/ChangeLog26
-rw-r--r--games-fps/doomlegacy/Manifest6
-rw-r--r--games-fps/doomlegacy/doomlegacy-1.40-r2.ebuild102
-rw-r--r--games-fps/doomlegacy/files/1.40-errno.patch55
-rw-r--r--games-fps/doomlegacy/files/CARD8.patch10
-rw-r--r--games-fps/doomlegacy/files/digest-doomlegacy-1.40-r23
-rw-r--r--games-fps/doomlegacy/files/makefile.patch122
-rw-r--r--games-fps/duke3d/ChangeLog15
-rw-r--r--games-fps/duke3d/Manifest6
-rw-r--r--games-fps/duke3d/duke3d-20030817.ebuild90
-rw-r--r--games-fps/duke3d/files/20030817-buildengine-makefile-cflags.patch13
-rw-r--r--games-fps/duke3d/files/20030817-duke3d-makefile-opts.patch33
-rw-r--r--games-fps/duke3d/files/digest-duke3d-200308171
-rw-r--r--games-fps/duke3d/files/duke3d3
-rw-r--r--games-fps/enemy-territory/ChangeLog23
-rw-r--r--games-fps/enemy-territory/Manifest7
-rw-r--r--games-fps/enemy-territory/enemy-territory-2.55.ebuild73
-rw-r--r--games-fps/enemy-territory/files/digest-enemy-territory-2.551
-rw-r--r--games-fps/enemy-territory/files/et3
-rw-r--r--games-fps/enemy-territory/files/et-ded3
-rw-r--r--games-fps/enemy-territory/files/et-ded.rc26
-rw-r--r--games-fps/enemy-territory/metadata.xml12
-rw-r--r--games-fps/freedoom/ChangeLog11
-rw-r--r--games-fps/freedoom/Manifest3
-rw-r--r--games-fps/freedoom/files/digest-freedoom-1.07
-rw-r--r--games-fps/freedoom/freedoom-1.0.ebuild30
-rw-r--r--games-fps/lsdldoom/ChangeLog16
-rw-r--r--games-fps/lsdldoom/Manifest4
-rw-r--r--games-fps/lsdldoom/files/digest-lsdldoom-1.4.4.42
-rw-r--r--games-fps/lsdldoom/files/lsdldoom2
-rw-r--r--games-fps/lsdldoom/lsdldoom-1.4.4.4.ebuild37
-rw-r--r--games-fps/mtavc/ChangeLog17
-rw-r--r--games-fps/mtavc/Manifest4
-rw-r--r--games-fps/mtavc/files/digest-mtavc-0.1.01
-rw-r--r--games-fps/mtavc/files/mtavc3
-rw-r--r--games-fps/mtavc/mtavc-0.1.0.ebuild42
-rw-r--r--games-fps/nprquake-sdl/ChangeLog8
-rw-r--r--games-fps/nprquake-sdl/Manifest4
-rw-r--r--games-fps/nprquake-sdl/files/1-gentoo.patch42
-rw-r--r--games-fps/nprquake-sdl/files/digest-nprquake-sdl-11
-rw-r--r--games-fps/nprquake-sdl/nprquake-sdl-1.ebuild40
-rw-r--r--games-fps/prboom/ChangeLog14
-rw-r--r--games-fps/prboom/Manifest5
-rw-r--r--games-fps/prboom/files/2.2.3-nvidia-test.c3
-rw-r--r--games-fps/prboom/files/2.2.3-nvidia.patch28
-rw-r--r--games-fps/prboom/files/digest-prboom-2.2.32
-rw-r--r--games-fps/prboom/prboom-2.2.3.ebuild48
-rw-r--r--games-fps/quake1/ChangeLog8
-rw-r--r--games-fps/quake1/Manifest8
-rw-r--r--games-fps/quake1/files/digest-quake1-2.401
-rw-r--r--games-fps/quake1/files/fix-sys_printf.patch22
-rw-r--r--games-fps/quake1/files/makefile-gcc2-cflags.patch16
-rw-r--r--games-fps/quake1/files/makefile-gcc3-cflags.patch18
-rw-r--r--games-fps/quake1/files/makefile-path-fixes.patch36
-rw-r--r--games-fps/quake1/files/makefile-sedable.patch36
-rw-r--r--games-fps/quake1/quake1-2.40.ebuild79
-rw-r--r--games-fps/quake2-data/ChangeLog11
-rw-r--r--games-fps/quake2-data/Manifest3
-rw-r--r--games-fps/quake2-data/files/digest-quake2-data-3.201
-rw-r--r--games-fps/quake2-data/quake2-data-3.20.ebuild76
-rw-r--r--games-fps/quake2-relnev/ChangeLog22
-rw-r--r--games-fps/quake2-relnev/Manifest9
-rw-r--r--games-fps/quake2-relnev/files/0.15-Makefile-gcc3.patch19
-rw-r--r--games-fps/quake2-relnev/files/0.15-Makefile-optflags.patch10
-rw-r--r--games-fps/quake2-relnev/files/README-postinstall69
-rw-r--r--games-fps/quake2-relnev/files/digest-quake2-relnev-0.152
-rw-r--r--games-fps/quake2-relnev/files/q2ded.start3
-rw-r--r--games-fps/quake2-relnev/files/quake2.start3
-rw-r--r--games-fps/quake2-relnev/files/sdlquake2.start3
-rw-r--r--games-fps/quake2-relnev/quake2-relnev-0.15.ebuild133
-rw-r--r--games-fps/quake3-alternatefire/ChangeLog11
-rw-r--r--games-fps/quake3-alternatefire/Manifest4
-rw-r--r--games-fps/quake3-alternatefire/files/digest-quake3-alternatefire-2.01
-rw-r--r--games-fps/quake3-alternatefire/files/server.cfg109
-rw-r--r--games-fps/quake3-alternatefire/quake3-alternatefire-2.0.ebuild12
-rw-r--r--games-fps/quake3-cpma/ChangeLog41
-rw-r--r--games-fps/quake3-cpma/Manifest4
-rw-r--r--games-fps/quake3-cpma/files/digest-quake3-cpma-1.11
-rw-r--r--games-fps/quake3-cpma/files/server.cfg146
-rw-r--r--games-fps/quake3-cpma/quake3-cpma-1.1.ebuild12
-rw-r--r--games-fps/quake3-demo/ChangeLog13
-rw-r--r--games-fps/quake3-demo/Manifest5
-rw-r--r--games-fps/quake3-demo/files/digest-quake3-demo-1.111
-rw-r--r--games-fps/quake3-demo/files/q3demo3
-rw-r--r--games-fps/quake3-demo/files/q3demo-ded3
-rw-r--r--games-fps/quake3-demo/quake3-demo-1.11.ebuild61
-rw-r--r--games-fps/quake3-nsco/ChangeLog11
-rw-r--r--games-fps/quake3-nsco/Manifest4
-rw-r--r--games-fps/quake3-nsco/files/digest-quake3-nsco-1.451
-rw-r--r--games-fps/quake3-nsco/files/server.cfg97
-rw-r--r--games-fps/quake3-nsco/quake3-nsco-1.45.ebuild14
-rw-r--r--games-fps/quake3-osp/ChangeLog23
-rw-r--r--games-fps/quake3-osp/Manifest4
-rw-r--r--games-fps/quake3-osp/files/digest-quake3-osp-1.03a2
-rw-r--r--games-fps/quake3-osp/files/server.cfg165
-rw-r--r--games-fps/quake3-osp/quake3-osp-1.03a.ebuild14
-rw-r--r--games-fps/quake3-ra3/ChangeLog13
-rw-r--r--games-fps/quake3-ra3/Manifest3
-rw-r--r--games-fps/quake3-ra3/files/digest-quake3-ra3-1.72
-rw-r--r--games-fps/quake3-ra3/quake3-ra3-1.7.ebuild24
-rw-r--r--games-fps/quake3-ruinhunters/ChangeLog16
-rw-r--r--games-fps/quake3-ruinhunters/Manifest3
-rw-r--r--games-fps/quake3-ruinhunters/files/digest-quake3-ruinhunters-1.0a2
-rw-r--r--games-fps/quake3-ruinhunters/quake3-ruinhunters-1.0a.ebuild13
-rw-r--r--games-fps/quake3-threewave/ChangeLog8
-rw-r--r--games-fps/quake3-threewave/Manifest3
-rw-r--r--games-fps/quake3-threewave/files/digest-quake3-threewave-1.61
-rw-r--r--games-fps/quake3-threewave/quake3-threewave-1.6.ebuild18
-rw-r--r--games-fps/quake3-truecombat/ChangeLog13
-rw-r--r--games-fps/quake3-truecombat/Manifest5
-rw-r--r--games-fps/quake3-truecombat/files/digest-quake3-truecombat-1.01
-rw-r--r--games-fps/quake3-truecombat/files/digest-quake3-truecombat-1.0a2
-rw-r--r--games-fps/quake3-truecombat/quake3-truecombat-1.0.ebuild13
-rw-r--r--games-fps/quake3-truecombat/quake3-truecombat-1.0a.ebuild14
-rw-r--r--games-fps/quake3-urbanterror/ChangeLog21
-rw-r--r--games-fps/quake3-urbanterror/Manifest5
-rw-r--r--games-fps/quake3-urbanterror/files/digest-quake3-urbanterror-2.6_beta12
-rw-r--r--games-fps/quake3-urbanterror/files/digest-quake3-urbanterror-31
-rw-r--r--games-fps/quake3-urbanterror/quake3-urbanterror-2.6_beta1.ebuild15
-rw-r--r--games-fps/quake3-urbanterror/quake3-urbanterror-3.ebuild19
-rw-r--r--games-fps/quake3/ChangeLog41
-rw-r--r--games-fps/quake3/Manifest10
-rw-r--r--games-fps/quake3/files/digest-quake3-1.311
-rw-r--r--games-fps/quake3/files/digest-quake3-1.32b1
-rw-r--r--games-fps/quake3/files/q3ded3
-rw-r--r--games-fps/quake3/files/q3ded.rc24
-rw-r--r--games-fps/quake3/files/quake33
-rw-r--r--games-fps/quake3/files/startq3ded3
-rw-r--r--games-fps/quake3/metadata.xml11
-rw-r--r--games-fps/quake3/quake3-1.31.ebuild60
-rw-r--r--games-fps/quake3/quake3-1.32b.ebuild67
-rw-r--r--games-fps/quakeforge/ChangeLog39
-rw-r--r--games-fps/quakeforge/Manifest3
-rw-r--r--games-fps/quakeforge/files/digest-quakeforge-0.5.41
-rw-r--r--games-fps/quakeforge/quakeforge-0.5.4.ebuild124
-rw-r--r--games-fps/red-blue-quake2/ChangeLog8
-rw-r--r--games-fps/red-blue-quake2/Manifest4
-rw-r--r--games-fps/red-blue-quake2/files/0.1-gentoo.patch63
-rw-r--r--games-fps/red-blue-quake2/files/digest-red-blue-quake2-0.12
-rw-r--r--games-fps/red-blue-quake2/red-blue-quake2-0.1.ebuild54
-rw-r--r--games-fps/rott/ChangeLog8
-rw-r--r--games-fps/rott/Manifest4
-rw-r--r--games-fps/rott/files/1.0-custom-datapath.patch49
-rw-r--r--games-fps/rott/files/digest-rott-1.02
-rw-r--r--games-fps/rott/rott-1.0.ebuild47
-rw-r--r--games-fps/rtcw/ChangeLog23
-rw-r--r--games-fps/rtcw/Manifest7
-rw-r--r--games-fps/rtcw/files/digest-rtcw-1.412
-rw-r--r--games-fps/rtcw/files/wolf3
-rw-r--r--games-fps/rtcw/files/wolf-ded3
-rw-r--r--games-fps/rtcw/files/wolf-ded.rc25
-rw-r--r--games-fps/rtcw/metadata.xml12
-rw-r--r--games-fps/rtcw/rtcw-1.41.ebuild77
-rw-r--r--games-fps/soldieroffortune/ChangeLog10
-rw-r--r--games-fps/soldieroffortune/Manifest5
-rw-r--r--games-fps/soldieroffortune/files/digest-soldieroffortune-1.06a1
-rw-r--r--games-fps/soldieroffortune/files/sof3
-rw-r--r--games-fps/soldieroffortune/metadata.xml12
-rw-r--r--games-fps/soldieroffortune/soldieroffortune-1.06a.ebuild76
-rw-r--r--games-fps/tenebrae/ChangeLog11
-rw-r--r--games-fps/tenebrae/Manifest4
-rw-r--r--games-fps/tenebrae/files/1.04-nvidia-opengl.patch56
-rw-r--r--games-fps/tenebrae/files/digest-tenebrae-1.042
-rw-r--r--games-fps/tenebrae/tenebrae-1.04.ebuild57
-rw-r--r--games-fps/transfusion-bin/ChangeLog10
-rw-r--r--games-fps/transfusion-bin/Manifest4
-rw-r--r--games-fps/transfusion-bin/files/digest-transfusion-bin-1.012
-rw-r--r--games-fps/transfusion-bin/files/transfusion2
-rw-r--r--games-fps/transfusion-bin/transfusion-bin-1.01.ebuild48
-rw-r--r--games-fps/ttyquake/ChangeLog8
-rw-r--r--games-fps/ttyquake/Manifest4
-rw-r--r--games-fps/ttyquake/files/digest-ttyquake-0.4.21
-rw-r--r--games-fps/ttyquake/files/ttyquake26
-rw-r--r--games-fps/ttyquake/ttyquake-0.4.2.ebuild34
-rw-r--r--games-fps/unreal-tournament-bonuspacks/ChangeLog10
-rw-r--r--games-fps/unreal-tournament-bonuspacks/Manifest3
-rw-r--r--games-fps/unreal-tournament-bonuspacks/files/digest-unreal-tournament-bonuspacks-4365
-rw-r--r--games-fps/unreal-tournament-bonuspacks/unreal-tournament-bonuspacks-436.ebuild44
-rw-r--r--games-fps/unreal-tournament-goty/ChangeLog17
-rw-r--r--games-fps/unreal-tournament-goty/Manifest5
-rw-r--r--games-fps/unreal-tournament-goty/files/digest-unreal-tournament-goty-4362
-rw-r--r--games-fps/unreal-tournament-goty/files/digest-unreal-tournament-goty-4512
-rw-r--r--games-fps/unreal-tournament-goty/unreal-tournament-goty-436.ebuild208
-rw-r--r--games-fps/unreal-tournament-goty/unreal-tournament-goty-451.ebuild218
-rw-r--r--games-fps/unreal-tournament-infiltration/ChangeLog8
-rw-r--r--games-fps/unreal-tournament-infiltration/Manifest5
-rw-r--r--games-fps/unreal-tournament-infiltration/files/Infiltration.ini1113
-rw-r--r--games-fps/unreal-tournament-infiltration/files/digest-unreal-tournament-infiltration-2862
-rw-r--r--games-fps/unreal-tournament-infiltration/files/ut-inf2
-rw-r--r--games-fps/unreal-tournament-infiltration/unreal-tournament-infiltration-286.ebuild43
-rw-r--r--games-fps/unreal-tournament-strikeforce/ChangeLog11
-rw-r--r--games-fps/unreal-tournament-strikeforce/Manifest3
-rw-r--r--games-fps/unreal-tournament-strikeforce/files/digest-unreal-tournament-strikeforce-1.753
-rw-r--r--games-fps/unreal-tournament-strikeforce/unreal-tournament-strikeforce-1.75.ebuild36
-rw-r--r--games-fps/unreal-tournament/ChangeLog28
-rw-r--r--games-fps/unreal-tournament/Manifest5
-rw-r--r--games-fps/unreal-tournament/files/digest-unreal-tournament-4362
-rw-r--r--games-fps/unreal-tournament/files/digest-unreal-tournament-4512
-rw-r--r--games-fps/unreal-tournament/unreal-tournament-436.ebuild103
-rw-r--r--games-fps/unreal-tournament/unreal-tournament-451.ebuild118
-rw-r--r--games-fps/unreal/ChangeLog10
-rw-r--r--games-fps/unreal/Manifest4
-rw-r--r--games-fps/unreal/files/digest-unreal-2261
-rw-r--r--games-fps/unreal/files/unreal3
-rw-r--r--games-fps/unreal/unreal-226.ebuild51
-rw-r--r--games-fps/ut2003-demo/ChangeLog104
-rw-r--r--games-fps/ut2003-demo/Manifest9
-rw-r--r--games-fps/ut2003-demo/files/benchmark37
-rw-r--r--games-fps/ut2003-demo/files/digest-ut2003-demo-2206-r22
-rw-r--r--games-fps/ut2003-demo/files/misc.tar.bz2bin0 -> 31851 bytes
-rw-r--r--games-fps/ut2003-demo/files/results.py61
-rw-r--r--games-fps/ut2003-demo/files/results.sh79
-rw-r--r--games-fps/ut2003-demo/files/ut2003-demo30
-rw-r--r--games-fps/ut2003-demo/files/ut2003-demo.desktop8
-rw-r--r--games-fps/ut2003-demo/ut2003-demo-2206-r2.ebuild80
-rw-r--r--games-fps/ut2003/ChangeLog32
-rw-r--r--games-fps/ut2003/Manifest6
-rw-r--r--games-fps/ut2003/files/digest-ut2003-22251
-rw-r--r--games-fps/ut2003/files/ucc4
-rw-r--r--games-fps/ut2003/files/ut20034
-rw-r--r--games-fps/ut2003/metadata.xml12
-rw-r--r--games-fps/ut2003/ut2003-2225.ebuild191
-rw-r--r--games-fps/vendetta-test/ChangeLog9
-rw-r--r--games-fps/vendetta-test/Manifest3
-rw-r--r--games-fps/vendetta-test/files/digest-vendetta-test-01
-rw-r--r--games-fps/vendetta-test/vendetta-test-0.ebuild43
-rw-r--r--games-fps/wolfgl/ChangeLog11
-rw-r--r--games-fps/wolfgl/Manifest3
-rw-r--r--games-fps/wolfgl/files/digest-wolfgl-0.933
-rw-r--r--games-fps/wolfgl/wolfgl-0.93.ebuild45
276 files changed, 7556 insertions, 0 deletions
diff --git a/games-fps/aaquake2/ChangeLog b/games-fps/aaquake2/ChangeLog
new file mode 100644
index 000000000000..749b2530f25a
--- /dev/null
+++ b/games-fps/aaquake2/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for app-games/aaquake2
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/aaquake2/ChangeLog,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+*aaquake2-0.1 (17 Jul 2003)
+
+ 17 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me.
diff --git a/games-fps/aaquake2/Manifest b/games-fps/aaquake2/Manifest
new file mode 100644
index 000000000000..671a5d3a11ac
--- /dev/null
+++ b/games-fps/aaquake2/Manifest
@@ -0,0 +1,4 @@
+MD5 3704e9e7f7fb3fe2bc76025575bfcb7b files/digest-aaquake2-0.1 135
+MD5 6b4f3f4f340a0982351384061f9ee8fa files/0.1-gentoo.patch 3309
+MD5 76d925dcbd2e782ce10b64eaa28a7fce aaquake2-0.1.ebuild 1535
+MD5 7a35ec14ffdf14c7ecf63e700a175325 ChangeLog 342
diff --git a/games-fps/aaquake2/aaquake2-0.1.ebuild b/games-fps/aaquake2/aaquake2-0.1.ebuild
new file mode 100644
index 000000000000..9e7b3edf4876
--- /dev/null
+++ b/games-fps/aaquake2/aaquake2-0.1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/aaquake2/aaquake2-0.1.ebuild,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+inherit games eutils
+
+DESCRIPTION="text mode Quake II"
+HOMEPAGE="http://www.jfedor.org/aaquake2/"
+SRC_URI="ftp://ftp.idsoftware.com/idstuff/source/q2source-3.21.zip
+ ftp://ftp.algx.net/idsoftware/source/q2source-3.21.zip
+ http://ftp.gentoo.skynet.be/pub/ftp.idsoftware.com/source/q2source-3.21.zip
+ http://www.jfedor.org/aaquake2/quake2-ref_softaa-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND="media-libs/aalib"
+
+S=${WORKDIR}/quake2-3.21/linux
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${PV}-gentoo.patch
+ cd quake2-3.21/linux
+ sed -i "s:GENTOO_DIR:${GAMES_LIBDIR}/${PN}:" sys_linux.c
+ sed -i "s:/etc/quake2.conf:${GAMES_SYSCONFDIR}/${PN}.conf:" sys_linux.c vid_so.c
+}
+
+src_compile() {
+ mkdir -p releasei386-glibc/ref_soft
+ make \
+ GENTOO_CFLAGS="${CFLAGS}" \
+ GENTOO_DATADIR=${GAMES_DATADIR}/quake2-data/baseq2/ \
+ build_release || die
+}
+
+src_install() {
+ cd release*
+
+ exeinto ${GAMES_LIBDIR}/${PN}
+ doexe gamei386.so ref_softaa.so
+ dosym ref_softaa.so ${GAMES_LIBDIR}/${PN}/ref_softx.so
+ dosym ref_softaa.so ${GAMES_LIBDIR}/${PN}/ref_soft.so
+ exeinto ${GAMES_LIBDIR}/${PN}/ctf
+ doexe ctf/gamei386.so
+
+ newgamesbin quake2 aaquake2
+
+ dodir ${GAMES_DATADIR}/quake2-data
+
+ insinto ${GAMES_SYSCONFDIR}
+ echo ${GAMES_LIBDIR}/${PN} > ${PN}.conf
+ doins ${PN}.conf
+
+ prepgamesdirs
+}
diff --git a/games-fps/aaquake2/files/0.1-gentoo.patch b/games-fps/aaquake2/files/0.1-gentoo.patch
new file mode 100644
index 000000000000..0c02710e89f6
--- /dev/null
+++ b/games-fps/aaquake2/files/0.1-gentoo.patch
@@ -0,0 +1,94 @@
+diff -ur orig/quake2-3.21/linux/Makefile work-mywork/quake2-3.21/linux/Makefile
+--- orig/quake2-3.21/linux/Makefile 2001-12-29 20:37:22.000000000 -0500
++++ work-mywork/quake2-3.21/linux/Makefile 2003-07-17 22:14:50.000000000 -0400
+@@ -54,7 +54,7 @@
+ RELEASE_CFLAGS=$(BASE_CFLAGS) -O6 -ffast-math -funroll-loops \
+ -fomit-frame-pointer -fexpensive-optimizations
+ else
+-RELEASE_CFLAGS=$(BASE_CFLAGS) -g -mpentiumpro -O6 -ffast-math -funroll-loops \
++RELEASE_CFLAGS=$(BASE_CFLAGS) -g $(GENTOO_CFLAGS) -DGENTOO_DATADIR=\\\"$(GENTOO_DATADIR)\\\" -O6 -ffast-math -funroll-loops \
+ -fomit-frame-pointer -fexpensive-optimizations
+ endif
+
+@@ -92,7 +92,7 @@
+ #############################################################################
+
+ ifeq ($(ARCH),axp)
+-TARGETS=$(BUILDDIR)/q2ded \
++TARGETS=\
+ $(BUILDDIR)/game$(ARCH).$(SHLIBEXT) \
+ $(BUILDDIR)/ctf/game$(ARCH).$(SHLIBEXT) \
+ # $(BUILDDIR)/xatrix/game$(ARCH).$(SHLIBEXT) \
+@@ -100,11 +100,7 @@
+ else
+ TARGETS=$(BUILDDIR)/quake2 \
+ $(BUILDDIR)/game$(ARCH).$(SHLIBEXT) \
+- $(BUILDDIR)/ref_soft.$(SHLIBEXT) \
+- $(BUILDDIR)/ref_softx.$(SHLIBEXT) \
+ $(BUILDDIR)/ref_softaa.$(SHLIBEXT) \
+- $(BUILDDIR)/ref_gl.$(SHLIBEXT) \
+- $(BUILDDIR)/ref_glx.$(SHLIBEXT) \
+ $(BUILDDIR)/ctf/game$(ARCH).$(SHLIBEXT) \
+ # $(BUILDDIR)/xatrix/game$(ARCH).$(SHLIBEXT) \
+ # $(BUILDDIR)/rogue/game$(ARCH).$(SHLIBEXT)
+@@ -125,9 +121,6 @@
+ build_release:
+ @-mkdir $(BUILD_RELEASE_DIR) \
+ $(BUILD_RELEASE_DIR)/client \
+- $(BUILD_RELEASE_DIR)/ded \
+- $(BUILD_RELEASE_DIR)/ref_soft \
+- $(BUILD_RELEASE_DIR)/ref_gl \
+ $(BUILD_RELEASE_DIR)/game \
+ $(BUILD_RELEASE_DIR)/ctf \
+ # $(BUILD_RELEASE_DIR)/xatrix \
+diff -ur orig/quake2-3.21/linux/sys_linux.c work-mywork/quake2-3.21/linux/sys_linux.c
+--- orig/quake2-3.21/linux/sys_linux.c 2001-12-22 18:45:58.000000000 -0500
++++ work-mywork/quake2-3.21/linux/sys_linux.c 2003-07-17 22:34:11.000000000 -0400
+@@ -220,7 +220,7 @@
+ char curpath[MAX_OSPATH];
+ char *path;
+ #ifdef __i386__
+- const char *gamename = "gamei386.so";
++ const char *gamename = "GENTOO_DIR/gamei386.so";
+ #elif defined __alpha__
+ const char *gamename = "gameaxp.so";
+ #else
+@@ -250,6 +250,14 @@
+ {
+ Com_Printf ("LoadLibrary (%s)\n",name);
+ break;
++ } else {
++ sprintf (name, "%s", gamename);
++ game_library = dlopen (name, RTLD_LAZY );
++ if (game_library)
++ {
++ Com_Printf ("LoadLibrary (%s)\n",name);
++ break;
++ }
+ }
+ }
+
+diff -ur orig/quake2-3.21/qcommon/files.c work-mywork/quake2-3.21/qcommon/files.c
+--- orig/quake2-3.21/qcommon/files.c 2001-12-22 16:32:26.000000000 -0500
++++ work-mywork/quake2-3.21/qcommon/files.c 2003-07-17 22:34:29.000000000 -0400
+@@ -865,7 +865,7 @@
+ //
+ // start up with baseq2 by default
+ //
+- FS_AddGameDirectory (va("%s/"BASEDIRNAME, fs_basedir->string) );
++ FS_AddGameDirectory (va(BASEDIRNAME) );
+
+ // any set gamedirs will be freed up to here
+ fs_base_searchpaths = fs_searchpaths;
+diff -ur orig/quake2-3.21/qcommon/qcommon.h work-mywork/quake2-3.21/qcommon/qcommon.h
+--- orig/quake2-3.21/qcommon/qcommon.h 2001-12-22 16:32:26.000000000 -0500
++++ work-mywork/quake2-3.21/qcommon/qcommon.h 2003-07-17 21:20:03.000000000 -0400
+@@ -25,7 +25,7 @@
+
+ #define VERSION 3.21
+
+-#define BASEDIRNAME "baseq2"
++#define BASEDIRNAME GENTOO_DATADIR
+
+ #ifdef WIN32
+
diff --git a/games-fps/aaquake2/files/digest-aaquake2-0.1 b/games-fps/aaquake2/files/digest-aaquake2-0.1
new file mode 100644
index 000000000000..ce25dadff841
--- /dev/null
+++ b/games-fps/aaquake2/files/digest-aaquake2-0.1
@@ -0,0 +1,2 @@
+MD5 3ac9ac6a833b9c049a9f763c3137b86f q2source-3.21.zip 1477764
+MD5 2f9df6fca3b06d380f21f644105a30e7 quake2-ref_softaa-0.1.tar.gz 12931
diff --git a/games-fps/aaut/ChangeLog b/games-fps/aaut/ChangeLog
new file mode 100644
index 000000000000..73e126888c9f
--- /dev/null
+++ b/games-fps/aaut/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for app-games/aaut
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/aaut/ChangeLog,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+*aaut-1 (03 Aug 2003)
+
+ 03 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me.
diff --git a/games-fps/aaut/Manifest b/games-fps/aaut/Manifest
new file mode 100644
index 000000000000..798e967a2d2f
--- /dev/null
+++ b/games-fps/aaut/Manifest
@@ -0,0 +1,4 @@
+MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-aaut-1 0
+MD5 8b1d62997264b21872364e5eabd476c7 files/aaut 130
+MD5 2ea1b12df5de2a03a894dfc9f1d2c643 aaut-1.ebuild 526
+MD5 06d132065149572f163ca27f1830d029 ChangeLog 328
diff --git a/games-fps/aaut/aaut-1.ebuild b/games-fps/aaut/aaut-1.ebuild
new file mode 100644
index 000000000000..6a4f206d5b3b
--- /dev/null
+++ b/games-fps/aaut/aaut-1.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/aaut/aaut-1.ebuild,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+inherit games
+
+DESCRIPTION="ascii mode unreal tournament"
+HOMEPAGE="http://icculus.org/~chunky/ut/aaut/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+
+RDEPEND="|| ( app-games/unreal-tournament app-games/unreal-tournament-goty )
+ media-libs/aalib"
+
+src_install() {
+ dogamesbin ${FILESDIR}/aaut
+ prepgamesdirs
+}
diff --git a/games-fps/aaut/files/aaut b/games-fps/aaut/files/aaut
new file mode 100644
index 000000000000..d7f9aa805abf
--- /dev/null
+++ b/games-fps/aaut/files/aaut
@@ -0,0 +1,5 @@
+#!/bin/sh
+[ -z "${AAOPTS}" ] && AAOPTS="-width 150 -height 70"
+SDL_VIDEODRIVER="aalib"
+export AAOPTS SDL_VIDEODRIVER
+exec ut "$@"
diff --git a/games-fps/aaut/files/digest-aaut-1 b/games-fps/aaut/files/digest-aaut-1
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/games-fps/aaut/files/digest-aaut-1
diff --git a/games-fps/americas-army/ChangeLog b/games-fps/americas-army/ChangeLog
new file mode 100644
index 000000000000..e0bee5bd4279
--- /dev/null
+++ b/games-fps/americas-army/ChangeLog
@@ -0,0 +1,39 @@
+# ChangeLog for app-games/americas-army
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/americas-army/ChangeLog,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+ 27 Aug 2003; Chris Gianelloni <wolf31o2@gentoo.org>
+ americas-army-170.ebuild, americas-army-190.ebuild:
+ Added esound dependency. Closes bug #27320.
+
+*americas-army-190 (25 Aug 2003)
+
+ 25 Aug 2003; Chris Gianelloni <wolf31o2@gentoo.org>
+ americas-army-190.ebuild:
+ Updated to newest version and setting it as stable. I will be removing the
+ older version in one week, since it will no longer be valid. I am also working
+ on a version of this with dedicated server support, since the dedicated server
+ is now shipped with the game.
+
+ 06 Aug 2003; Chris Gianelloni <wolf31o2@gentoo.org>
+ americas-army-170.ebuild:
+ I removed an extra line when cleaning up the ebuild which caused problems. The
+ line has been added back to the ebuild.
+
+ 05 Aug 2003; Chris Gianelloni <wolf31o2@gentoo.org>
+ americas-army-170.ebuild:
+ Fixed to use unpack_makeself
+
+ 04 Aug 2003; Chris Gianelloni <wolf31o2@gentoo.org>
+ americas-army-170.ebuild:
+ Finally added license file
+
+ 16 Jul 2003; Chris Gianelloni <wolf31o2@gentoo.org>
+ americas-army-170.ebuild:
+ Changed executable script to armyops, to match executable name. Added item to
+ create .desktop entries for Gnome/KDE.
+
+*americas-army-170 (21 Jun 2003)
+
+ 21 Jun 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by Chris Gianelloni <wolf31o2@hotmail.com> #21947.
diff --git a/games-fps/americas-army/Manifest b/games-fps/americas-army/Manifest
new file mode 100644
index 000000000000..38a095c2b5f1
--- /dev/null
+++ b/games-fps/americas-army/Manifest
@@ -0,0 +1,7 @@
+MD5 fa84e67c901447cdea30dc3caa026569 ChangeLog 1584
+MD5 1e47e90b5ced130a0e602349c6cf31c5 americas-army-170.ebuild 1671
+MD5 f1a9a44e85e58296a3710c291666ab78 metadata.xml 672
+MD5 34511cfe0dbf8a9dcd538347dd6dea4e americas-army-190.ebuild 1580
+MD5 33d496501eb5585920dd91e263e8868c files/digest-americas-army-170 70
+MD5 ecd9684b31f56c72a9554791fee4f77c files/armyops 40
+MD5 68aec154834eb5edeaf1072e78ba4e52 files/digest-americas-army-190 68
diff --git a/games-fps/americas-army/americas-army-170.ebuild b/games-fps/americas-army/americas-army-170.ebuild
new file mode 100644
index 000000000000..b006549c73bd
--- /dev/null
+++ b/games-fps/americas-army/americas-army-170.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/americas-army/americas-army-170.ebuild,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+inherit games
+
+DESCRIPTION="America's Army: Operations - military simulations by the U.S. Army to provide civilians with insights on soldiering"
+HOMEPAGE="http://www.americasarmy.com/"
+SRC_URI="ftp://ftp.stenstad.net/mirrors/icculus.org/armyops-lnx-${PV}.sh.bin
+ http://guinness.devrandom.net/%7Eprimus/armyops-lnx-${PV}.sh.bin
+ http://www.3ddownloads.com/linuxgames/americas_army/armyops-lnx-${PV}.sh.bin"
+
+LICENSE="Army-EULA"
+SLOT="0"
+KEYWORDS="x86"
+RESTRICT="nostrip"
+IUSE=""
+
+DEPEND="virtual/glibc"
+RDEPEND="media-sound/esound
+ virtual/x11
+ virtual/opengl"
+
+S=${WORKDIR}
+
+pkg_setup() {
+ ewarn "The installed game takes about 850MB of space!"
+ games_pkg_setup
+}
+
+src_unpack() {
+ unpack_makeself || die
+ tar -zxf setupstuff.tar.gz || die
+}
+
+src_install() {
+ einfo "This will take a while ... go get a pizza or something"
+
+ local dir=${GAMES_PREFIX_OPT}/${PN}
+ dodir ${dir}
+
+ tar -jxf armyops${PV}System.tar.bz2 -C ${D}/${dir}/ || die
+ tar -jxf armyops${PV}data.tar.bz2 -C ${D}/${dir}/ || die
+
+ dodoc README.linux
+ insinto ${dir} ; doins ArmyOps.xpm
+ insinto /usr/share/pixmaps ; doins ArmyOps.xpm
+ exeinto ${dir} ; doexe bin/armyops
+
+ sed -e "s:GENTOO_DIR:${dir}:" ${FILESDIR}/armyops > armyops
+ dogamesbin armyops
+ dosym ${dir}/armyops ${GAMES_BINDIR}/armyops
+
+ prepgamesdirs
+ make_desktop_entry armyops "AA: Operations" ArmyOps.xpm
+
+}
+
+pkg_postinst() {
+ einfo "To play the game run:"
+ einfo " armyops"
+
+ games_pkg_postinst
+}
diff --git a/games-fps/americas-army/americas-army-190.ebuild b/games-fps/americas-army/americas-army-190.ebuild
new file mode 100644
index 000000000000..62479f803974
--- /dev/null
+++ b/games-fps/americas-army/americas-army-190.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/americas-army/americas-army-190.ebuild,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+inherit games
+
+DESCRIPTION="America's Army: Operations - military simulations by the U.S. Army to provide civilians with insights on soldiering"
+HOMEPAGE="http://www.americasarmy.com/"
+SRC_URI="ftp://armyops:ftp@guinness.devrandom.net:7000/armyops${PV}-linux.bin
+ ftp://armyops:ftp@2dollar.unixwhore.com:69/armyops${PV}-linux.bin
+ http://www.biot.com/misc/armyops${PV}-linux.bin"
+
+LICENSE="Army-EULA"
+SLOT="0"
+KEYWORDS="x86"
+RESTRICT="nostrip"
+IUSE=""
+
+DEPEND="virtual/glibc"
+RDEPEND="media-sound/esound
+ virtual/x11
+ virtual/opengl"
+
+S=${WORKDIR}
+
+pkg_setup() {
+ ewarn "The installed game takes about 1.3GB of space!"
+ games_pkg_setup
+}
+
+src_unpack() {
+ unpack_makeself || die
+ tar -zxf setupstuff.tar.gz || die
+}
+
+src_install() {
+ einfo "This will take a while ... go get a pizza or something"
+
+ local dir=${GAMES_PREFIX_OPT}/${PN}
+ dodir ${dir}
+
+ tar -jxf armyops${PV}.tar.bz2 -C ${D}/${dir}/ || die
+
+ dodoc README.linux
+ insinto ${dir} ; doins ArmyOps.xpm
+ insinto /usr/share/pixmaps ; doins ArmyOps.xpm
+ exeinto ${dir} ; doexe bin/armyops
+
+ sed -e "s:GENTOO_DIR:${dir}:" ${FILESDIR}/armyops > armyops
+ dogamesbin armyops
+ dosym ${dir}/armyops ${GAMES_BINDIR}/armyops
+
+ prepgamesdirs
+ make_desktop_entry armyops "AA: Operations" ArmyOps.xpm
+
+}
+
+pkg_postinst() {
+ einfo "To play the game run:"
+ einfo " armyops"
+
+ games_pkg_postinst
+}
diff --git a/games-fps/americas-army/files/armyops b/games-fps/americas-army/files/armyops
new file mode 100644
index 000000000000..9dd669ff8d2c
--- /dev/null
+++ b/games-fps/americas-army/files/armyops
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+cd GENTOO_DIR
+./armyops $@
diff --git a/games-fps/americas-army/files/digest-americas-army-170 b/games-fps/americas-army/files/digest-americas-army-170
new file mode 100644
index 000000000000..86685f8e0655
--- /dev/null
+++ b/games-fps/americas-army/files/digest-americas-army-170
@@ -0,0 +1 @@
+MD5 9ddb191395c679875e6001651af715d6 armyops-lnx-170.sh.bin 331772116
diff --git a/games-fps/americas-army/files/digest-americas-army-190 b/games-fps/americas-army/files/digest-americas-army-190
new file mode 100644
index 000000000000..f0abc6c7664a
--- /dev/null
+++ b/games-fps/americas-army/files/digest-americas-army-190
@@ -0,0 +1 @@
+MD5 cda9fb6fa330e7c524732da4a304ad87 armyops190-linux.bin 528545580
diff --git a/games-fps/americas-army/metadata.xml b/games-fps/americas-army/metadata.xml
new file mode 100644
index 000000000000..8c138035c67c
--- /dev/null
+++ b/games-fps/americas-army/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+<maintainer>
+ <email>wolf31o2@gentoo.org</email>
+ <name>Chris Gianelloni</name>
+</maintainer>
+<longdescription>
+America's Army is a first-person 3-D shooter designed and coded by the US Army to provide a realistic simulation of actual combat for US Army forces. The game is designed to provide provide civilians with insights on soldiering and to raise awareness about the US Army. The game was ported to Linux by Ryan "icculus" Gordon under contract from the US Army and is free to anyone.
+</longdescription>
+</pkgmetadata>
diff --git a/games-fps/anaglyph-stereo-quake/ChangeLog b/games-fps/anaglyph-stereo-quake/ChangeLog
new file mode 100644
index 000000000000..dbb7a6db2fbb
--- /dev/null
+++ b/games-fps/anaglyph-stereo-quake/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for app-games/anaglyph-stereo-quake
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/anaglyph-stereo-quake/ChangeLog,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+*anaglyph-stereo-quake-130100 (03 Aug 2003)
+
+ 03 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me.
diff --git a/games-fps/anaglyph-stereo-quake/Manifest b/games-fps/anaglyph-stereo-quake/Manifest
new file mode 100644
index 000000000000..f62c59018a01
--- /dev/null
+++ b/games-fps/anaglyph-stereo-quake/Manifest
@@ -0,0 +1,9 @@
+MD5 0365f55856a86aed2e24e3d9413b5bab anaglyph-stereo-quake-130100.ebuild 1310
+MD5 4ae3cb08e2ab3eab15f24a971c944f50 files/digest-anaglyph-stereo-quake-130100 70
+MD5 a4c6edf40c5ddec35cc9cc9b5e408482 files/makefile-path-fixes.patch 928
+MD5 d08883d204c323fd9dab8043be9c1a1e files/makefile-gcc2-cflags.patch 380
+MD5 d08883d204c323fd9dab8043be9c1a1e files/makefile-gcc3-cflags.patch 380
+MD5 9000dc321339d8c50a21d7a4dca3e285 files/makefile-onlyglx.patch 464
+MD5 4609964e62cdec31ee47cebf59f8fde4 files/stupid-dosformat.patch 749
+MD5 2cdc759b378cdf4dea66f3d85e1e0263 files/fix-sys_printf.patch 271
+MD5 c9aee2a9c184a8fa08eb115503846192 ChangeLog 384
diff --git a/games-fps/anaglyph-stereo-quake/anaglyph-stereo-quake-130100.ebuild b/games-fps/anaglyph-stereo-quake/anaglyph-stereo-quake-130100.ebuild
new file mode 100644
index 000000000000..3580eb83759f
--- /dev/null
+++ b/games-fps/anaglyph-stereo-quake/anaglyph-stereo-quake-130100.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/anaglyph-stereo-quake/anaglyph-stereo-quake-130100.ebuild,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+inherit games gcc eutils
+
+DESCRIPTION="play Quake in 3D with red - blue glasses"
+HOMEPAGE="http://home.iprimus.com.au/crbean/"
+SRC_URI="http://home.iprimus.com.au/crbean/zip/3dGLQuake_SRC_${PV}.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND="virtual/x11
+ virtual/opengl"
+
+S=${WORKDIR}/WinQuake
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ mv GLQUAKE.H glquake.h
+ mv GL_DRAW.C gl_draw.c
+ mv GL_RMAIN.C gl_rmain.c
+ epatch ${FILESDIR}/stupid-dosformat.patch
+
+ epatch ${FILESDIR}/fix-sys_printf.patch
+
+ mv Makefile{.linuxi386,}
+ epatch ${FILESDIR}/makefile-path-fixes.patch
+
+ [ `gcc-major-version` -eq 3 ] \
+ && epatch ${FILESDIR}/makefile-gcc3-cflags.patch \
+ || epatch ${FILESDIR}/makefile-gcc2-cflags.patch
+ sed -i "s:GENTOO_CFLAGS:${CFLAGS} -DGL_EXT_SHARED=1:" Makefile
+
+ epatch ${FILESDIR}/makefile-onlyglx.patch
+}
+
+src_compile() {
+ make build_release || die "failed to build WinQuake"
+}
+
+src_install() {
+ newgamesbin release*/bin/glquake.glx anaglyph-stereo-quake
+ dodoc ${WORKDIR}/readme.id.txt
+ dohtml ${WORKDIR}/3dquake.html
+ prepgamesdirs
+}
diff --git a/games-fps/anaglyph-stereo-quake/files/digest-anaglyph-stereo-quake-130100 b/games-fps/anaglyph-stereo-quake/files/digest-anaglyph-stereo-quake-130100
new file mode 100644
index 000000000000..067c889a11de
--- /dev/null
+++ b/games-fps/anaglyph-stereo-quake/files/digest-anaglyph-stereo-quake-130100
@@ -0,0 +1 @@
+MD5 3aadfe00325fe3a3b30c5bb2a6724433 3dGLQuake_SRC_130100.zip 1828997
diff --git a/games-fps/anaglyph-stereo-quake/files/fix-sys_printf.patch b/games-fps/anaglyph-stereo-quake/files/fix-sys_printf.patch
new file mode 100644
index 000000000000..29567e010a34
--- /dev/null
+++ b/games-fps/anaglyph-stereo-quake/files/fix-sys_printf.patch
@@ -0,0 +1,11 @@
+--- sys_linux.c.orig 2003-08-03 02:48:17.018368253 -0400
++++ sys_linux.c 2003-08-03 02:48:30.852868976 -0400
+@@ -86,7 +86,7 @@
+ void Sys_Printf (char *fmt, ...)
+ {
+ va_list argptr;
+- char text[1024];
++ char text[2048];
+ unsigned char *p;
+
+ va_start (argptr,fmt);
diff --git a/games-fps/anaglyph-stereo-quake/files/makefile-gcc2-cflags.patch b/games-fps/anaglyph-stereo-quake/files/makefile-gcc2-cflags.patch
new file mode 100644
index 000000000000..76c9cbf5c876
--- /dev/null
+++ b/games-fps/anaglyph-stereo-quake/files/makefile-gcc2-cflags.patch
@@ -0,0 +1,7 @@
+--- WinQuake/Makefile.orig 2003-07-14 15:13:27.000000000 -0400
++++ WinQuake/Makefile 2003-07-14 15:17:10.000000000 -0400
+@@ -39,3 +39,3 @@
+ BASE_CFLAGS=-Dstricmp=strcasecmp
+-RELEASE_CFLAGS=$(BASE_CFLAGS) -g -mpentiumpro -O6 -ffast-math -funroll-loops \
++RELEASE_CFLAGS=$(BASE_CFLAGS) GENTOO_CFLAGS -O6 -ffast-math -funroll-loops \
+ -fomit-frame-pointer -fexpensive-optimizations
diff --git a/games-fps/anaglyph-stereo-quake/files/makefile-gcc3-cflags.patch b/games-fps/anaglyph-stereo-quake/files/makefile-gcc3-cflags.patch
new file mode 100644
index 000000000000..76c9cbf5c876
--- /dev/null
+++ b/games-fps/anaglyph-stereo-quake/files/makefile-gcc3-cflags.patch
@@ -0,0 +1,7 @@
+--- WinQuake/Makefile.orig 2003-07-14 15:13:27.000000000 -0400
++++ WinQuake/Makefile 2003-07-14 15:17:10.000000000 -0400
+@@ -39,3 +39,3 @@
+ BASE_CFLAGS=-Dstricmp=strcasecmp
+-RELEASE_CFLAGS=$(BASE_CFLAGS) -g -mpentiumpro -O6 -ffast-math -funroll-loops \
++RELEASE_CFLAGS=$(BASE_CFLAGS) GENTOO_CFLAGS -O6 -ffast-math -funroll-loops \
+ -fomit-frame-pointer -fexpensive-optimizations
diff --git a/games-fps/anaglyph-stereo-quake/files/makefile-onlyglx.patch b/games-fps/anaglyph-stereo-quake/files/makefile-onlyglx.patch
new file mode 100644
index 000000000000..06cbda385cd8
--- /dev/null
+++ b/games-fps/anaglyph-stereo-quake/files/makefile-onlyglx.patch
@@ -0,0 +1,16 @@
+--- Makefile.orig 2003-08-03 02:28:18.169946734 -0400
++++ Makefile 2003-08-03 02:28:27.530255744 -0400
+@@ -64,11 +64,8 @@
+ # SETUP AND BUILD
+ #############################################################################
+
+-TARGETS=$(BUILDDIR)/bin/squake \
+- $(BUILDDIR)/bin/glquake \
+- $(BUILDDIR)/bin/glquake.glx \
+- $(BUILDDIR)/bin/glquake.3dfxgl \
+- $(BUILDDIR)/bin/quake.x11
++TARGETS=\
++ $(BUILDDIR)/bin/glquake.glx
+ # $(BUILDDIR)/bin/unixded
+
+ build_debug:
diff --git a/games-fps/anaglyph-stereo-quake/files/makefile-path-fixes.patch b/games-fps/anaglyph-stereo-quake/files/makefile-path-fixes.patch
new file mode 100644
index 000000000000..8632b6455171
--- /dev/null
+++ b/games-fps/anaglyph-stereo-quake/files/makefile-path-fixes.patch
@@ -0,0 +1,22 @@
+--- WinQuake/Makefile.orig 2003-07-14 15:13:27.000000000 -0400
++++ WinQuake/Makefile 2003-07-14 15:17:10.000000000 -0400
+@@ -27,4 +27,4 @@
+
+-MOUNT_DIR=/grog/Projects/WinQuake
+-MASTER_DIR=/grog/Projects/QuakeMaster
++MOUNT_DIR=../WinQuake
++MASTER_DIR=../QuakeMaster
+ MESA_DIR=/usr/local/src/Mesa-2.6
+@@ -35,3 +35,3 @@
+
+-EGCS=/usr/local/egcs-1.1.2/bin/gcc
++EGCS=gcc
+ CC=$(EGCS)
+@@ -47,5 +47,5 @@
+
+-MESAGLLDFLAGS=-L/usr/X11/lib -L/usr/local/lib -L$(MESA_DIR)/lib -lMesaGL -lglide2x -lX11 -lXext -ldl
++MESAGLLDFLAGS=-L/usr/X11R6/lib -L/usr/local/lib -L$(MESA_DIR)/lib -lMesaGL -lglide2x -lX11 -lXext -ldl
+ TDFXGLLDFLAGS=-L$(TDFXGL_DIR)/release$(ARCH)$(GLIBC) -l3dfxgl -lglide2x -ldl
+-GLLDFLAGS=-L/usr/X11/lib -L/usr/local/lib -lGL -lX11 -lXext -ldl -lXxf86dga -lXxf86vm -lm
++GLLDFLAGS=-L/usr/X11R6/lib -L/usr/local/lib -lGL -lX11 -lXext -ldl -lXxf86dga -lXxf86vm -lm
+ GLCFLAGS=-DGLQUAKE -I$(MESA_DIR)/include -I/usr/include/glide
diff --git a/games-fps/anaglyph-stereo-quake/files/stupid-dosformat.patch b/games-fps/anaglyph-stereo-quake/files/stupid-dosformat.patch
new file mode 100644
index 000000000000..2c64d2d1ab88
--- /dev/null
+++ b/games-fps/anaglyph-stereo-quake/files/stupid-dosformat.patch
@@ -0,0 +1,24 @@
+--- glquake.h.orig 2003-08-03 02:34:01.725881488 -0400
++++ glquake.h 2003-08-03 02:34:18.788798979 -0400
+@@ -260,4 +260,3 @@
+
+ void GL_DisableMultitexture(void);
+ void GL_EnableMultitexture(void);
+-
+\ No newline at end of file
+--- gl_draw.c.orig 2003-08-03 02:34:06.243065434 -0400
++++ gl_draw.c 2003-08-03 02:34:20.535483431 -0400
+@@ -1302,4 +1302,3 @@
+ currenttexture = cnttextures[target-TEXTURE0_SGIS];
+ oldtarget = target;
+ }
+-
+\ No newline at end of file
+--- gl_rmain.c.orig 2003-08-03 02:34:11.115185259 -0400
++++ gl_rmain.c 2003-08-03 02:34:22.106199673 -0400
+@@ -1268,4 +1268,3 @@
+ Con_Printf ("%3i ms %4i wpoly %4i epoly\n", (int)((time2-time1)*1000), c_brush_polys, c_alias_polys);
+ }
+ }
+-
+\ No newline at end of file
diff --git a/games-fps/avp-cvs/ChangeLog b/games-fps/avp-cvs/ChangeLog
new file mode 100644
index 000000000000..0ca2811ec2f3
--- /dev/null
+++ b/games-fps/avp-cvs/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-games/avp-cvs
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/avp-cvs/ChangeLog,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+ 03 Sep 2003; Michael Sterrett <msterret@gentoo.org> avp-cvs-20030314.ebuild:
+ use sed >= 4; tidy
+
+*avp-cvs-20030314 (11 Jul 2003)
+
+ 11 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by Dirk-Jan Heijs <heijs@phys.rug.nl> #17529.
diff --git a/games-fps/avp-cvs/Manifest b/games-fps/avp-cvs/Manifest
new file mode 100644
index 000000000000..634e7e830774
--- /dev/null
+++ b/games-fps/avp-cvs/Manifest
@@ -0,0 +1,3 @@
+MD5 c7dd35cc1585753b9abb1a041f5b48bc ChangeLog 486
+MD5 49c51b6cb9ce49794b85da940d68df93 avp-cvs-20030314.ebuild 936
+MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-avp-cvs-20030314 0
diff --git a/games-fps/avp-cvs/avp-cvs-20030314.ebuild b/games-fps/avp-cvs/avp-cvs-20030314.ebuild
new file mode 100644
index 000000000000..63762e0c0bc8
--- /dev/null
+++ b/games-fps/avp-cvs/avp-cvs-20030314.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/avp-cvs/avp-cvs-20030314.ebuild,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+ECVS_PASS="anonymous"
+ECVS_SERVER="icculus.org:/cvs/cvsroot"
+ECVS_MODULE="avp"
+inherit cvs games
+
+DESCRIPTION="Linux port of Aliens vs Predator"
+HOMEPAGE="http://www.icculus.org/avp/"
+
+LICENSE="AvP"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND="x11-base/xfree
+ media-libs/openal
+ media-libs/libsdl
+ >=sys-apps/sed-4"
+
+S=${WORKDIR}/${ECVS_MODULE}
+
+src_compile() {
+ sed -i \
+ -e "/^CFLAGS =/s:=.*:=${CFLAGS}:" Makefile || \
+ die "sed Makefile failed"
+ make || die "make failed"
+}
+
+src_install() {
+ dogamesbin AvP
+ dodoc README TODO
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ einfo "please follow the instructions in"
+ einfo "/usr/share/doc/${PF}/README.gz"
+ einfo "to install the rest of the game"
+}
diff --git a/games-fps/avp-cvs/files/digest-avp-cvs-20030314 b/games-fps/avp-cvs/files/digest-avp-cvs-20030314
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/games-fps/avp-cvs/files/digest-avp-cvs-20030314
diff --git a/games-fps/blackshades-cvs/ChangeLog b/games-fps/blackshades-cvs/ChangeLog
new file mode 100644
index 000000000000..dc4c8fd008f4
--- /dev/null
+++ b/games-fps/blackshades-cvs/ChangeLog
@@ -0,0 +1,15 @@
+# ChangeLog for app-games/blackshades-cvs
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/blackshades-cvs/ChangeLog,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+*blackshades-cvs-20030712 (12 Jul 2003)
+
+ 03 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
+ Fixed SRC_URI to point to a better texture tarball ... zakk pointed out my mistake ;)
+
+ 29 Jul 2003; Michael Sterrett <msterret@gentoo.org>
+ blackshades-cvs-20030712.ebuild:
+ sed the Makefile in src_unpack instead of src_compile; depend on sed >= 4
+
+ 12 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me for #21249.
diff --git a/games-fps/blackshades-cvs/Manifest b/games-fps/blackshades-cvs/Manifest
new file mode 100644
index 000000000000..a971513b6141
--- /dev/null
+++ b/games-fps/blackshades-cvs/Manifest
@@ -0,0 +1,4 @@
+MD5 4e6f2bc85b9d4a2831f3e58435018339 files/blackshades 50
+MD5 9f6dd77b37b6d1c9e3b693c08aa77f07 files/digest-blackshades-cvs-20030712 61
+MD5 fd87c29e7d96331a17e3c83aa89ee6d2 ChangeLog 686
+MD5 d4ea3b8bb05c3991675c16ee1553a627 blackshades-cvs-20030712.ebuild 1333
diff --git a/games-fps/blackshades-cvs/blackshades-cvs-20030712.ebuild b/games-fps/blackshades-cvs/blackshades-cvs-20030712.ebuild
new file mode 100644
index 000000000000..9b3b7859b129
--- /dev/null
+++ b/games-fps/blackshades-cvs/blackshades-cvs-20030712.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/blackshades-cvs/blackshades-cvs-20030712.ebuild,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+ECVS_PASS="anonymous"
+ECVS_SERVER="icculus.org:/cvs/cvsroot"
+ECVS_MODULE="blackshades"
+inherit cvs games
+
+DESCRIPTION="you control a psychic bodyguard, and try to protect the VIP"
+HOMEPAGE="http://www.wolfire.com/blackshades.html http://www.icculus.org/blackshades/"
+SRC_URI="http://filesingularity.timedoctor.org/Textures.tar.bz2"
+
+LICENSE="blackshades"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND="virtual/x11
+ >=sys-apps/sed-4
+ media-libs/libvorbis
+ media-libs/openal
+ media-libs/libsdl
+ virtual/opengl"
+
+S=${WORKDIR}/${ECVS_MODULE}
+
+src_unpack() {
+ cvs_src_unpack
+ cd ${WORKDIR}
+ unpack ${A}
+ cd ${S}
+ sed -i "/^CFLAGS/s:$: ${CFLAGS}:" Makefile || die "sed Makefile failed"
+}
+
+src_compile() {
+ make || die
+}
+
+src_install() {
+ dogamesbin ${FILESDIR}/blackshades
+ dosed "s:GENTOO_DIR:${GAMES_DATADIR}/${PN}:" ${GAMES_BINDIR}/blackshades
+ newgamesbin objs/blackshades blackshades-bin
+
+ dodir ${GAMES_DATADIR}/${PN}
+ rm -rf Data/Textures
+ mv ${WORKDIR}/Textures Data/
+ cp -rf Data ${D}/${GAMES_DATADIR}/${PN}/
+
+ dodoc IF_THIS_IS_A_README_YOU_HAVE_WON Readme TODO uDevGame_Readme
+ prepgamesdirs
+}
diff --git a/games-fps/blackshades-cvs/files/blackshades b/games-fps/blackshades-cvs/files/blackshades
new file mode 100644
index 000000000000..dbe1b4c80148
--- /dev/null
+++ b/games-fps/blackshades-cvs/files/blackshades
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd GENTOO_DIR
+exec blackshades-bin ${@}
diff --git a/games-fps/blackshades-cvs/files/digest-blackshades-cvs-20030712 b/games-fps/blackshades-cvs/files/digest-blackshades-cvs-20030712
new file mode 100644
index 000000000000..3ffa1abe5b27
--- /dev/null
+++ b/games-fps/blackshades-cvs/files/digest-blackshades-cvs-20030712
@@ -0,0 +1 @@
+MD5 3fcee1f31c0a062ed7a0d8d6aafc1b06 Textures.tar.bz2 340110
diff --git a/games-fps/cube/ChangeLog b/games-fps/cube/ChangeLog
new file mode 100644
index 000000000000..4e68113f55ce
--- /dev/null
+++ b/games-fps/cube/ChangeLog
@@ -0,0 +1,18 @@
+# ChangeLog for app-games/cube
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/cube/ChangeLog,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+*cube-20021020-r2 (03 Mar 2003)
+
+ 03 Mar 2003; Mike Frysinger <vapier@gentoo.org> :
+ Added binaries per #12997 to fix public network playing.
+
+*cube-20021020-r1 (28 Dec 2002)
+
+ 28 Dec 2002; Mike Frysinger <vapier@gentoo.org> :
+ Added patch per #12997 to fix network hanging bug.
+
+*cube-20021020 (17 Dec 2002)
+
+ 17 Dec 2002; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me for #11975.
diff --git a/games-fps/cube/Manifest b/games-fps/cube/Manifest
new file mode 100644
index 000000000000..d51452ca4145
--- /dev/null
+++ b/games-fps/cube/Manifest
@@ -0,0 +1,8 @@
+MD5 ba53442437392745d60d1f5e331fcfcc ChangeLog 630
+MD5 38abc41b03eb0f0c22aa74fa11e5b343 cube-20021020-r1.ebuild 1584
+MD5 7a7c076bbe3db6c3a1bedb30555fa8e4 cube-20021020-r2.ebuild 2451
+MD5 bd75d826f3064b82b9e537d15566adff cube-20021020.ebuild 1489
+MD5 f57600187e8eaa8d782ffd82c4aca198 files/cube-20021020-add-custom-paths.patch 1423
+MD5 191852b587a809d38195d7173e786a84 files/digest-cube-20021020 65
+MD5 c82b120eb1a0db91fd7c53f9c8cc6b77 files/digest-cube-20021020-r1 131
+MD5 c82b120eb1a0db91fd7c53f9c8cc6b77 files/digest-cube-20021020-r2 131
diff --git a/games-fps/cube/cube-20021020-r1.ebuild b/games-fps/cube/cube-20021020-r1.ebuild
new file mode 100644
index 000000000000..a54a4a328060
--- /dev/null
+++ b/games-fps/cube/cube-20021020-r1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/cube/cube-20021020-r1.ebuild,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+inherit games
+
+MY_P="cube_2002_10_20"
+DESCRIPTION="Landscape-style engine that pretends to be an indoor first person shooter engine"
+HOMEPAGE="http://wouter.fov120.com/cube/"
+SRC_URI="http://ludo.uib.no/cube/${MY_P}.zip
+ http://www.idi.ntnu.no/~jonasf/cube/${MY_P}.zip
+ http://tunes.org/~eihrul/${MY_P}.zip
+ http://tunes.org/~eihrul/enet_2002_10_28.tar.gz"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="x86 ppc"
+
+DEPEND="virtual/opengl
+ media-libs/libsdl
+ media-libs/sdl-mixer
+ media-libs/sdl-image
+ sys-libs/zlib
+ media-libs/libpng"
+
+S=${WORKDIR}
+CUBE_DATADIR=${GAMES_DATADIR}/${PN}/
+
+src_unpack() {
+ unpack ${A}
+
+ cd source
+ unzip -qn ${MY_P}_src.zip
+
+ # enet_2002_10_28.tar.gz patch
+ rm -rf enet
+ mv ../enet .
+
+ cd src
+ patch -p0 < ${FILESDIR}/${P}-add-custom-paths.patch || die
+ echo "#define GAMES_DATADIR \"${CUBE_DATADIR}\"" >> tools.h
+ echo "#define GAMES_DATADIR_LEN ${#CUBE_DATADIR}" >> tools.h
+ for f in sound worldio ; do
+ f="${f}.cpp"
+ cp ${f} ${f}.old
+ sed -e "s:packages/:${CUBE_DATADIR}packages/:" ${f}.old > ${f}
+ done
+
+ for f in *.cpp ; do
+ cp ${f}{,.old}
+ sed -e 's/
+$//' ${f}.old > ${f}
+ done
+}
+
+src_compile() {
+ cd source/src
+ make || die
+}
+
+src_install() {
+ dogamesbin source/src/cube_{client,server}
+
+ dodir ${CUBE_DATADIR}
+ mv *.cfg data packages ${D}/${CUBE_DATADIR}
+
+ dodoc source/src/CUBE_TODO.txt
+ dohtml -r docs/
+
+ prepgamesdirs
+}
diff --git a/games-fps/cube/cube-20021020-r2.ebuild b/games-fps/cube/cube-20021020-r2.ebuild
new file mode 100644
index 000000000000..909fcf4644a6
--- /dev/null
+++ b/games-fps/cube/cube-20021020-r2.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/cube/cube-20021020-r2.ebuild,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+inherit eutils games
+
+MY_P="cube_2002_10_20"
+DESCRIPTION="Landscape-style engine that pretends to be an indoor first person shooter engine"
+HOMEPAGE="http://wouter.fov120.com/cube/"
+SRC_URI="http://ludo.uib.no/cube/${MY_P}.zip
+ http://www.idi.ntnu.no/~jonasf/cube/${MY_P}.zip
+ http://tunes.org/~eihrul/${MY_P}.zip
+ http://tunes.org/~eihrul/enet_2002_10_28.tar.gz"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="x86 ppc"
+
+DEPEND="virtual/opengl
+ media-libs/libsdl
+ media-libs/sdl-mixer
+ media-libs/sdl-image
+ sys-libs/zlib
+ media-libs/libpng"
+
+S=${WORKDIR}
+CUBE_DATADIR=${GAMES_DATADIR}/${PN}/
+
+src_unpack() {
+ unpack ${A}
+
+ cd source
+ unzip -qn ${MY_P}_src.zip || die
+
+ # enet_2002_10_28.tar.gz patch
+ rm -rf enet
+ mv ../enet .
+
+ cd src
+ epatch ${FILESDIR}/${P}-add-custom-paths.patch || die
+ echo "#define GAMES_DATADIR \"${CUBE_DATADIR}\"" >> tools.h
+ echo "#define GAMES_DATADIR_LEN ${#CUBE_DATADIR}" >> tools.h
+ for f in sound worldio ; do
+ f="${f}.cpp"
+ cp ${f} ${f}.old
+ sed -e "s:packages/:${CUBE_DATADIR}packages/:" ${f}.old > ${f}
+ done
+ edos2unix *.cpp
+}
+
+src_compile() {
+ cd source/src
+ make || die
+}
+
+src_install() {
+ dogamesbin source/src/cube_{client,server}
+ if [ "${ARCH}" == "x86" ] ; then
+ newgamesbin bin_unix/linux_client cube_client-bin
+ newgamesbin bin_unix/linux_server cube_server-bin
+ elif [ "${ARCH}" == "ppc" ] ; then
+ newgamesbin bin_unix/ppc_linux_client cube_client-bin
+ newgamesbin bin_unix/ppc_linux_server cube_server-bin
+ fi
+ echo "#!/bin/bash"$'\n'"cd ${CUBE_DATADIR}"$'\n'"cube_client-bin $@" > ${T}/client
+ echo "#!/bin/bash"$'\n'"cd ${CUBE_DATADIR}"$'\n'"cube_server-bin $@" > ${T}/server
+ newgamesbin ${T}/client playcubeclient
+ newgamesbin ${T}/server playcubeserver
+
+ dodir ${CUBE_DATADIR}
+ mv *.cfg data packages ${D}/${CUBE_DATADIR}
+
+ dodoc source/src/CUBE_TODO.txt
+ dohtml -r docs/
+
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ einfo "You now have 3 clients and 3 servers:"
+ einfo "cube_client-bin prebuilt version (needed to play on public multiplayer servers)"
+ einfo "playcubeclient wrapper to setup path's for the prebuilt binary"
+ einfo "cube_client custom client built from source"
+ einfo "Parallel versions of the server have been installed"
+ games_pkg_postinst
+}
diff --git a/games-fps/cube/cube-20021020.ebuild b/games-fps/cube/cube-20021020.ebuild
new file mode 100644
index 000000000000..33bd228198da
--- /dev/null
+++ b/games-fps/cube/cube-20021020.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/cube/cube-20021020.ebuild,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+inherit games
+
+MY_P="cube_2002_10_20"
+DESCRIPTION="Landscape-style engine that pretends to be an indoor first person shooter engine"
+HOMEPAGE="http://wouter.fov120.com/cube/"
+SRC_URI="http://ludo.uib.no/cube/${MY_P}.zip
+ http://www.idi.ntnu.no/~jonasf/cube/${MY_P}.zip
+ http://tunes.org/~eihrul/${MY_P}.zip"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="x86"
+IUSE=""
+
+DEPEND="virtual/opengl
+ media-libs/libsdl
+ media-libs/sdl-mixer
+ media-libs/sdl-image
+ sys-libs/zlib
+ media-libs/libpng"
+#RDEPEND=""
+
+S=${WORKDIR}
+CUBE_DATADIR=${GAMES_DATADIR}/${PN}/
+
+src_unpack() {
+ unpack ${A}
+
+ cd source
+ unzip -qn ${MY_P}_src.zip
+
+ cd src
+ patch -p0 < ${FILESDIR}/${P}-add-custom-paths.patch || die
+ echo "#define GAMES_DATADIR \"${CUBE_DATADIR}\"" >> tools.h
+ echo "#define GAMES_DATADIR_LEN ${#CUBE_DATADIR}" >> tools.h
+ for f in sound worldio ; do
+ f="${f}.cpp"
+ cp ${f} ${f}.old
+ sed -e "s:packages/:${CUBE_DATADIR}packages/:" ${f}.old > ${f}
+ done
+
+ for f in *.cpp ; do
+ cp ${f}{,.old}
+ sed -e 's/ $//' ${f}.old > ${f}
+ done
+}
+
+src_compile() {
+ cd source/src
+ make || die
+}
+
+src_install() {
+ dogamesbin source/src/cube_{client,server}
+
+ dodir ${CUBE_DATADIR}
+ mv *.cfg data packages ${D}/${CUBE_DATADIR}
+
+ dodoc source/src/CUBE_TODO.txt
+ dohtml -r docs/
+
+ prepgamesdirs
+}
diff --git a/games-fps/cube/files/cube-20021020-add-custom-paths.patch b/games-fps/cube/files/cube-20021020-add-custom-paths.patch
new file mode 100644
index 000000000000..594a0714e5fb
--- /dev/null
+++ b/games-fps/cube/files/cube-20021020-add-custom-paths.patch
@@ -0,0 +1,43 @@
+--- tools.cpp.orig 2002-12-17 09:35:55.000000000 -0500
++++ tools.cpp 2002-12-17 09:39:28.000000000 -0500
+@@ -100,8 +100,19 @@
+
+ ///////////////////////// misc tools ///////////////////////
+
++char *addfullpath(char *s) {
++ static char ret[256]; // choose a reasonable max buffer size
++ if (s[0] == '/') { return s; }
++ int slen = strlen(s);
++ memset(ret, 0x00, 256);
++ memcpy(ret, GAMES_DATADIR, GAMES_DATADIR_LEN);
++ memcpy(ret+GAMES_DATADIR_LEN, s, slen);
++ return ret;
++}
++
+ char *path(char *s)
+ {
++ s = addfullpath(s);
+ for(char *t = s; t = strpbrk(t, "/\\"); *t++ = PATHDIV);
+ return s;
+ };
+--- rendergl.cpp.orig 2002-12-17 09:48:00.000000000 -0500
++++ rendergl.cpp 2002-12-17 09:50:19.000000000 -0500
+@@ -59,6 +59,7 @@
+
+ bool installtex(int tnum, char *texname, int &xs, int &ys, bool clamp)
+ {
++ texname = addfullpath(texname);
+ SDL_Surface *s = IMG_Load(texname);
+ if(!s) { conoutf("couldn't load texture %s", (int)texname); return false; };
+ if(s->format->BitsPerPixel!=24) { conoutf("texture must be 24bpp: %s", (int)texname); return false; };
+--- tools.h.orig 2002-12-17 09:51:06.000000000 -0500
++++ tools.h 2002-12-17 09:50:59.000000000 -0500
+@@ -96,7 +96,7 @@
+ #endif
+
+
+-
++extern char *addfullpath(char *s);
+ extern char *path(char *s);
+ extern char *loadfile(char *fn, int *size);
+ extern void endianswap(void *, int, int);
diff --git a/games-fps/cube/files/digest-cube-20021020 b/games-fps/cube/files/digest-cube-20021020
new file mode 100644
index 000000000000..a6f7c23f4db0
--- /dev/null
+++ b/games-fps/cube/files/digest-cube-20021020
@@ -0,0 +1 @@
+MD5 4b08234b81d7bf55e7d289df97c7c949 cube_2002_10_20.zip 9059119
diff --git a/games-fps/cube/files/digest-cube-20021020-r1 b/games-fps/cube/files/digest-cube-20021020-r1
new file mode 100644
index 000000000000..0149ba680ade
--- /dev/null
+++ b/games-fps/cube/files/digest-cube-20021020-r1
@@ -0,0 +1,2 @@
+MD5 4b08234b81d7bf55e7d289df97c7c949 cube_2002_10_20.zip 9059119
+MD5 a2afc8eca949b84efc1d991be9a89777 enet_2002_10_28.tar.gz 22797
diff --git a/games-fps/cube/files/digest-cube-20021020-r2 b/games-fps/cube/files/digest-cube-20021020-r2
new file mode 100644
index 000000000000..0149ba680ade
--- /dev/null
+++ b/games-fps/cube/files/digest-cube-20021020-r2
@@ -0,0 +1,2 @@
+MD5 4b08234b81d7bf55e7d289df97c7c949 cube_2002_10_20.zip 9059119
+MD5 a2afc8eca949b84efc1d991be9a89777 enet_2002_10_28.tar.gz 22797
diff --git a/games-fps/doomlegacy/ChangeLog b/games-fps/doomlegacy/ChangeLog
new file mode 100644
index 000000000000..6c028ed211a9
--- /dev/null
+++ b/games-fps/doomlegacy/ChangeLog
@@ -0,0 +1,26 @@
+# ChangeLog for app-games/doomlegacy
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/doomlegacy/ChangeLog,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+*doomlegacy-1.40-r2 (13 Aug 2003)
+
+ 13 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
+ Remove x86 specific code (#26201). Add games.eclass support.
+
+*doomlegacy-1.40-r1 (06 Mar 2003)
+
+ 29 Jul 2003; Michael Sterrett <msterret@gentoo.org>
+ doomlegacy-1.40-r1.ebuild:
+ use sed -i
+
+ 06 Mar 2003; Mike Frysinger <vapier@gentoo.org> :
+ Added a patch to fix glibc errno (#16267) #16715.
+ Also tweaked makefile patch to allow custom CFLAGS.
+
+*doomlegacy-1.40 (28 Oct 2002)
+
+ 30 Oct 2002; Mike Frysinger <vapier@gentoo.org> :
+ Added a small patch for people who arent running with `opengl-update xfree`
+
+ 28 Oct 2002; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by Dries Harnie <Bulletz_1900@hotmail.com>.
diff --git a/games-fps/doomlegacy/Manifest b/games-fps/doomlegacy/Manifest
new file mode 100644
index 000000000000..256f4e6afb77
--- /dev/null
+++ b/games-fps/doomlegacy/Manifest
@@ -0,0 +1,6 @@
+MD5 3281a103dc695a80a8c228705d9cd423 ChangeLog 960
+MD5 c491b0d2493438aaebdbd7b2fe5539c0 doomlegacy-1.40-r2.ebuild 2645
+MD5 f745c34c32cb4f83e2ae7365d8453d69 files/1.40-errno.patch 1519
+MD5 478b45b54a9f909153c81f7785dde8cc files/CARD8.patch 246
+MD5 5c83faa6ece3a499e511e5438f38cf72 files/makefile.patch 4523
+MD5 cf078f54816f54fe5eccd2914132e177 files/digest-doomlegacy-1.40-r2 183
diff --git a/games-fps/doomlegacy/doomlegacy-1.40-r2.ebuild b/games-fps/doomlegacy/doomlegacy-1.40-r2.ebuild
new file mode 100644
index 000000000000..5d60626022d8
--- /dev/null
+++ b/games-fps/doomlegacy/doomlegacy-1.40-r2.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/doomlegacy/doomlegacy-1.40-r2.ebuild,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+inherit games eutils
+
+DESCRIPTION="Doom legacy, THE doom port"
+HOMEPAGE="http://legacy.newdoom.com/"
+SRC_URI="mirror://sourceforge/doomlegacy/legacy_${PV/./}_src.tar.gz
+ mirror://sourceforge/doomlegacy/legacy.dat.gz
+ http://www.lbjhs.net/~jessh/lsdldoom/doom1.wad.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 ppc"
+
+DEPEND="x86? ( >=dev-lang/nasm-0.98 )
+ >=sys-apps/sed-4
+ virtual/opengl
+ virtual/x11"
+
+S="${WORKDIR}/${PN}_src/"
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${PV}-errno.patch
+
+ # fix locations where objects/binaries get installed
+ mkdir {.,${S}}/{bin,objs}
+ cd ${S}
+ epatch ${FILESDIR}/makefile.patch
+
+ # if using the non-xfree version of GL header files, we need to patch ...
+ [ -z "`grep XFree86 /usr/X11R6/include/GL/glx.h`" ] && \
+ epatch ${FILESDIR}/CARD8.patch
+
+ # disable logfile writing
+ sed -i \
+ -e 's:#define LOGMESSAGES::' doomdef.h || \
+ die 'sed doomdef.h failed'
+
+ # make sure the games can find the wads/data files
+ sed -i \
+ -e "s:#define DEFAULTWADLOCATION1:#define DEFAULTWADLOCATION1 \"${GAMES_DATADIR}/${PN}\" //:" \
+ linux_x/i_system.c || \
+ die 'sed linux_x/i_system.c failed'
+
+ # move opengl lib file because it's not useful to anyone else
+ sed -i \
+ -e "s:\"r_opengl:\"${GAMES_LIBDIR}/${PN}/r_opengl:" \
+ linux_x/i_video_xshm.c
+
+ cd linux_x/musserv
+ make -f Makefile.linux clean
+}
+
+src_compile() {
+ # this is ugly but it's late (here) and it works
+ local useasm=
+ [ `use x86` ] && useasm="USEASM=1"
+ local redosnd=0
+ make \
+ EXTRAOPTS="${CFLAGS}" \
+ LINUX=1 \
+ X=1 \
+ ${useasm} \
+ || redosnd=1
+ if [ ${redosnd} -eq 1 ] ; then
+ cd linux_x/sndserv
+ make clean || die "clean snd srv failed"
+ make EXTRAOPTS="${CFLAGS}" || die "snd serv failed"
+ fi
+ cd ${S}
+ make \
+ EXTRAOPTS="${CFLAGS}" \
+ LINUX=1 \
+ X=1 \
+ ${useasm} \
+ || die "build failed"
+}
+
+src_install() {
+ dogamesbin linux_x/musserv/linux/musserver linux_x/sndserv/linux/llsndserv bin/llxdoom
+ exeinto ${GAMES_LIBDIR}/${PN}
+ doexe bin/r_opengl.so
+
+ insinto ${GAMES_DATADIR}/${PN}
+ doins ${WORKDIR}/{legacy.dat,doom1.wad}
+
+ dohtml _doc/*.html
+ rm _doc/*.html
+ dodoc _doc/*
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ ewarn "Software support is broken with latest XFree versions."
+ ewarn "If doomlegacy crashes with 'BadColor (invalid Colormap parameter)',"
+ ewarn "then please start the game with the '-opengl' parameter."
+ ewarn "See bug #19290 for more information."
+}
diff --git a/games-fps/doomlegacy/files/1.40-errno.patch b/games-fps/doomlegacy/files/1.40-errno.patch
new file mode 100644
index 000000000000..f784c7ebb5fd
--- /dev/null
+++ b/games-fps/doomlegacy/files/1.40-errno.patch
@@ -0,0 +1,55 @@
+--- ./doomlegacy_src/linux_x/sndserv/linux.c.orig 2003-03-06 08:03:22.000000000 -0500
++++ ./doomlegacy_src/linux_x/sndserv/linux.c 2003-03-06 08:04:09.000000000 -0500
+@@ -36,7 +36,7 @@
+ //
+ //-----------------------------------------------------------------------------
+
+-
++#include <errno.h>
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <fcntl.h>
+@@ -67,7 +67,6 @@
+ int* arg )
+ {
+ int rc;
+- extern int errno;
+
+ rc = ioctl(fd, command, arg);
+ if (rc < 0)
+--- ./doomlegacy_src/linux_x/i_sound.c.orig 2003-03-06 08:03:07.000000000 -0500
++++ ./doomlegacy_src/linux_x/i_sound.c 2003-03-06 08:03:49.000000000 -0500
+@@ -78,6 +78,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <stdarg.h>
++#include <errno.h>
+
+ #include <math.h>
+
+@@ -261,7 +262,6 @@
+ int* arg )
+ {
+ int rc;
+- extern int errno;
+
+ rc = ioctl(fd, command, arg);
+ if (rc < 0)
+--- ./doomlegacy_src/linux_x/i_video_xshm.c.orig 2003-03-06 08:03:12.000000000 -0500
++++ ./doomlegacy_src/linux_x/i_video_xshm.c 2003-03-06 08:04:01.000000000 -0500
+@@ -114,6 +114,7 @@
+ //
+ //-----------------------------------------------------------------------------
+
++#include <errno.h>
+ #include <stdlib.h>
+ #include <unistd.h>
+ #include <sys/ipc.h>
+@@ -1401,7 +1402,6 @@
+ id = shmget((key_t)key, size, IPC_CREAT|0777);
+ if (id==-1)
+ {
+- extern int errno;
+ fprintf(stderr, "errno=%d\n", errno);
+ I_Error("Could not get any shared memory");
+ }
diff --git a/games-fps/doomlegacy/files/CARD8.patch b/games-fps/doomlegacy/files/CARD8.patch
new file mode 100644
index 000000000000..990f20b4e362
--- /dev/null
+++ b/games-fps/doomlegacy/files/CARD8.patch
@@ -0,0 +1,10 @@
+--- hardware/hw_data.h.orig 2002-10-18 18:16:30.000000000 +0200
++++ hardware/hw_data.h 2002-10-18 18:20:52.000000000 +0200
+@@ -57,7 +57,6 @@
+
+ #ifndef __WIN32__
+ #ifndef DONTDEFINEBOOL
+-typedef int BOOL;
+ #define TRUE 1
+ #define FALSE 0
+ #endif
diff --git a/games-fps/doomlegacy/files/digest-doomlegacy-1.40-r2 b/games-fps/doomlegacy/files/digest-doomlegacy-1.40-r2
new file mode 100644
index 000000000000..13248252b265
--- /dev/null
+++ b/games-fps/doomlegacy/files/digest-doomlegacy-1.40-r2
@@ -0,0 +1,3 @@
+MD5 caad0e3ee637a00520b641c9953f079e legacy_140_src.tar.gz 1654331
+MD5 4a3e88115c20f42d18e88f5666f8d4d6 legacy.dat.gz 334964
+MD5 66851d7cecbc7845d612e7073c1355ad doom1.wad.gz 1765820
diff --git a/games-fps/doomlegacy/files/makefile.patch b/games-fps/doomlegacy/files/makefile.patch
new file mode 100644
index 000000000000..571c9fc5e58b
--- /dev/null
+++ b/games-fps/doomlegacy/files/makefile.patch
@@ -0,0 +1,122 @@
+--- makefile.orig 2003-08-12 23:21:29.000000000 -0400
++++ makefile 2003-08-12 23:22:30.000000000 -0400
+@@ -310,13 +310,13 @@
+ ifdef LINUX
+
+ # subdirectory for objects
+- O=../objs
+- BIN=../bin
++ O=objs
++ BIN=bin
+ MUSSERV=linux_x/musserv
+ SNDSERV=linux_x/sndserv
+
+ #use the x86 asm code
+- USEASM=1
++ #USEASM=1
+
+ OPTS=-DLINUX -DOLD_SOUND_DRIVER -DMUSSERV -DSNDSERV -DHWRENDER -DDIRECTFULLSCREEN
+ X=1
+@@ -360,7 +360,7 @@
+ SNDSERV=linux_x/sndserv
+
+ #use the x86 asm code
+- USEASM=1
++ #USEASM=1
+ ifndef FBSD_SDL
+ OPTS=-DLINUX -DFREEBSD -DOLD_SOUND_DRIVER -DSNDSERV -DHWRENDER -DDIRECTFULLSCREEN
+ ifndef FBSD_GGI
+@@ -444,7 +444,7 @@
+
+ #use the x86 asm code
+ NASM=nasm
+- USEASM=1
++ #USEASM=1
+ PROFILEMODE=1
+ # options
+ OPTS=-Zmt -D__OS2__ -I.. -I. -Ios2
+@@ -473,7 +473,7 @@
+ ifdef PGCC
+ CFLAGS = -g -pg -DPARANOIA -fwritable-strings $(OPTS)
+ else
+- CFLAGS = -g -pg -m486 -O3 -ffast-math -fwritable-strings $(OPTS)
++ CFLAGS = -g -pg $(EXTRAOPTS) $(OPTS)
+ endif
+ LDFLAGS = -g -pg -L/usr/X11R6/lib
+ else
+@@ -481,13 +481,13 @@
+
+ # build a normal optimised version
+ ifdef PGCC
+- CFLAGS = $(OPTS) -mpentium -O6 -ffast-math -fomit-frame-pointer -fwritable-strings
++ CFLAGS = $(OPTS) $(EXTRAOPTS)
+ # -fgcse -fcse-follow-jumps -fcse-skip-blocks -frerun-cse-after-loop -ffunction-cse \
+ # -fexpensive-optimizations -fforce-mem -fstrength-reduce -fthread-jumps \
+ # -fregmove -fschedule-insns -fschedule-insns2 -fmove-all-movables \
+ # -fcaller-saves -finline-functions -mieee-fp -mfp-ret-in-387 -m80387 -mhard-float -finline
+ else
+- CFLAGS = -m486 -O3 -ffast-math -fomit-frame-pointer -fwritable-strings $(OPTS)
++ CFLAGS = $(EXTRAOPTS) $(OPTS)
+ endif
+ endif
+
+@@ -644,7 +644,7 @@
+
+ #dll
+ dll : $(O)/r_opengl.o $(O)/ogl_x11.o
+- $(CC) -mpentium -O6 -o $(BIN)/r_opengl.so -shared -nostartfiles $(O)/r_opengl.o $(O)/ogl_x11.o -L/usr/X11R6/lib -L/usr/local/lib -lX11 -lXext -lGL -lGLU -lm
++ $(CC) $(CFLAGS) -o $(BIN)/r_opengl.so -shared -nostartfiles $(O)/r_opengl.o $(O)/ogl_x11.o -L/usr/X11R6/lib -L/usr/local/lib -lX11 -lXext -lGL -lGLU -lm
+
+ musserv:
+ @mkdir -p $(MUSSERV)/linux
+@@ -658,7 +658,7 @@
+
+ ifdef LINUX
+ $(O)/r_opengl.o: hardware/r_opengl/r_opengl.c hardware/r_opengl/r_opengl.h
+- $(CC) -mpentium -O6 -o $(O)/r_opengl.o -DHWRENDER -DVID_X11 -DLINUX $(POLL_POINTER) -shared -nostartfiles -I/usr/X11R6/include -c hardware/r_opengl/r_opengl.c
++ $(CC) $(CFLAGS) -o $(O)/r_opengl.o -DHWRENDER -DVID_X11 -DLINUX $(POLL_POINTER) -shared -nostartfiles -I/usr/X11R6/include -c hardware/r_opengl/r_opengl.c
+ endif
+
+ ifdef SDL
+@@ -672,16 +672,16 @@
+ $(CC) $(CFLAGS) $(LDFLAGS) $(WFLAGS) -I/usr/X11R6/include -c $< -o $@
+ else #FBSD_SDL
+ $(O)/r_opengl.o: hardware/r_opengl/r_opengl.c hardware/r_opengl/r_opengl.h
+- $(CC) -mpentium -O6 -o $(O)/r_opengl.o -DHWRENDER -DVID_X11 -DLINUX -DFREEBSD $(POLL_POINTER) -shared -nostartfiles -I/usr/X11R6/include -c hardware/r_opengl/r_opengl.c
++ $(CC) $(CFLAGS) -o $(O)/r_opengl.o -DHWRENDER -DVID_X11 -DLINUX -DFREEBSD $(POLL_POINTER) -shared -nostartfiles -I/usr/X11R6/include -c hardware/r_opengl/r_opengl.c
+ endif #FBSD_SDL
+ endif #FREEBSD
+
+ ifndef FREEBSD
+ $(O)/ogl_x11.o: hardware/r_opengl/ogl_x11.c hardware/r_opengl/r_opengl.h
+- $(CC) -mpentium -O6 -o $(O)/ogl_x11.o -DHWRENDER -DVID_X11 -DLINUX $(POLL_POINTER) -shared -nostartfiles -I/usr/X11R6/include -c hardware/r_opengl/ogl_x11.c
++ $(CC) $(CFLAGS) -o $(O)/ogl_x11.o -DHWRENDER -DVID_X11 -DLINUX $(POLL_POINTER) -shared -nostartfiles -I/usr/X11R6/include -c hardware/r_opengl/ogl_x11.c
+ else
+ $(O)/ogl_x11.o: hardware/r_opengl/ogl_x11.c hardware/r_opengl/r_opengl.h
+- $(CC) -mpentium -O6 -o $(O)/ogl_x11.o -DHWRENDER -DVID_X11 -DLINUX -DFREEBSD $(POLL_POINTER) -shared -nostartfiles -I/usr/X11R6/include -c hardware/r_opengl/ogl_x11.c
++ $(CC) $(CFLAGS) -o $(O)/ogl_x11.o -DHWRENDER -DVID_X11 -DLINUX -DFREEBSD $(POLL_POINTER) -shared -nostartfiles -I/usr/X11R6/include -c hardware/r_opengl/ogl_x11.c
+ endif
+
+
+--- linux_x/musserv/Makefile.linux.orig 2003-08-12 23:23:27.000000000 -0400
++++ linux_x/musserv/Makefile.linux 2003-08-12 23:23:43.000000000 -0400
+@@ -3,7 +3,7 @@
+ #
+
+ CC = gcc
+-CFLAGS = -I. -Wall -O2 -m486
++CFLAGS = -I. -Wall $(EXTRAOPTS)
+ LDFLAGS =
+ #LDFLAGS = -static
+
+--- linux_x/sndserv/Makefile.orig 2003-08-12 23:23:52.000000000 -0400
++++ linux_x/sndserv/Makefile 2003-08-12 23:24:05.000000000 -0400
+@@ -22,7 +22,7 @@
+ #
+
+ CC=gcc
+-CFLAGS=-O2 -m486 -Wall -DNORMALUNIX -DLINUX
++CFLAGS=-O2 -Wall -DNORMALUNIX -DLINUX
+ ifdef FREEBSD
+ CFLAGS:=${CFLAGS} -DFREEBSD
+ endif
diff --git a/games-fps/duke3d/ChangeLog b/games-fps/duke3d/ChangeLog
new file mode 100644
index 000000000000..5fa2074d65fb
--- /dev/null
+++ b/games-fps/duke3d/ChangeLog
@@ -0,0 +1,15 @@
+# ChangeLog for app-games/duke3d
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/duke3d/ChangeLog,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+ 25 Aug 2003; Michael Sterrett <msterret@gentoo.org> duke3d-20030817.ebuild:
+ added flag-o-matic; DEPEND on sed >= 4; filter -O3 down to -O2 for bug 26968;
+ add a couple of error messages
+
+ 18 Aug 2003; Chris Gianelloni <wolf31o2@gentoo.org> duke3d-20030817.ebuild:
+ Fixing dependency. Closing bug #26855
+
+*duke3d-20030817 (17 Aug 2003)
+
+ 17 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me.
diff --git a/games-fps/duke3d/Manifest b/games-fps/duke3d/Manifest
new file mode 100644
index 000000000000..944697e20e28
--- /dev/null
+++ b/games-fps/duke3d/Manifest
@@ -0,0 +1,6 @@
+MD5 7bdfff683ff08ba26a77a76a4e9b0751 ChangeLog 655
+MD5 1a647681a0e06c3fbd2c65a2d6f70d3a duke3d-20030817.ebuild 2346
+MD5 398b83b9fe28ae263170cb42bb2fff11 files/20030817-buildengine-makefile-cflags.patch 507
+MD5 7c4ac6336d128a410fc4fb603ad8b8c7 files/20030817-duke3d-makefile-opts.patch 864
+MD5 73621a8c90765f4722208283a01319f7 files/digest-duke3d-20030817 66
+MD5 b31ef5149ad5b5e9f0ea1d64d6cf47fb files/duke3d 45
diff --git a/games-fps/duke3d/duke3d-20030817.ebuild b/games-fps/duke3d/duke3d-20030817.ebuild
new file mode 100644
index 000000000000..f6c60558254f
--- /dev/null
+++ b/games-fps/duke3d/duke3d-20030817.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/duke3d/duke3d-20030817.ebuild,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+ECVS_PASS="anonymous"
+ECVS_SERVER="icculus.org:/cvs/cvsroot"
+ECVS_MODULE="duke3d"
+inherit flag-o-matic cvs games
+
+DESCRIPTION="port of the original DukeNukem 3D"
+HOMEPAGE="http://icculus.org/projects/duke3d/"
+SRC_URI="mirror://gentoo/${P}.tbz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="perl opengl nophysfs"
+
+DEPEND="virtual/x11
+ >=sys-apps/sed-4
+ media-libs/libsdl
+ media-libs/sdl-mixer
+ opengl? ( virtual/opengl )
+ !nophysfs? ( dev-games/physfs )"
+
+S=${WORKDIR}/${ECVS_MODULE}
+
+use_tf() { [ `use ${1}` ] && echo true || echo false; }
+use_ft() { [ `use ${1}` ] && echo false || echo true; }
+
+src_unpack() {
+ local fromcvs=0
+ if [ ${fromcvs} -eq 1 ] ; then
+ cvs_src_unpack
+ cd duke3d/source
+ ECVS_MODULE="buildengine"
+ cvs_src_unpack
+ else
+ unpack ${A}
+ fi
+
+ # configure buildengine
+ cd ${S}/source/buildengine
+ sed -i \
+ -e "/^useperl := /s:=.*:= `use_tf perl`:" \
+ -e "/^useopengl := /s:=.*:= `use_tf opengl`:" \
+ -e "/^usephysfs := /s:=.*:= `use_ft nophysfs`:" \
+ Makefile
+ [ `use x86` ] && sed -i 's:^#USE_ASM:USE_ASM:' Makefile
+ epatch ${FILESDIR}/${PV}-buildengine-makefile-cflags.patch
+ sed -i 's:/usr/lib/perl5/i386-linux/CORE/libperl.a:-lperl:' Makefile
+
+ # configure duke3d
+ cd ${S}/source
+ epatch ${FILESDIR}/${PV}-duke3d-makefile-opts.patch
+ [ `use x86` ] && sed -i '/^#use_asm/s:#::' Makefile
+ [ `use opengl` ] && sed -i '/^#use_opengl/s:#::' Makefile
+ [ `use nophysfs` ] || sed -i '/^#use_physfs/s:#::' Makefile
+}
+
+src_compile() {
+ # -O3 fails on athlon with gcc 3.2.3, maybe others.
+ replace-flags "-O3" "-O2"
+ cd source/buildengine
+ emake OPTFLAGS="${CFLAGS}" || die "emake failed"
+ cd ..
+ emake OPTIMIZE="${CFLAGS}" || die "emake failed"
+}
+
+src_install() {
+ dogamesbin ${FILESDIR}/duke3d
+ dosed "s:GENTOO_DIR:${GAMES_DATADIR}/${PN}:" ${GAMES_BINDIR}/duke3d
+ newgamesbin source/duke3d duke3d.bin
+
+ dodoc readme.txt
+
+ cd testdata
+ insinto ${GAMES_DATADIR}/${PN}
+ newins defs.con DEFS.CON
+ newins game.con GAME.CON
+ newins user.con USER.CON
+
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ einfo "Just put the data files in ${GAMES_DATADIR}/${PN}"
+ einfo "before playing !"
+}
diff --git a/games-fps/duke3d/files/20030817-buildengine-makefile-cflags.patch b/games-fps/duke3d/files/20030817-buildengine-makefile-cflags.patch
new file mode 100644
index 000000000000..b8a8434bf1a6
--- /dev/null
+++ b/games-fps/duke3d/files/20030817-buildengine-makefile-cflags.patch
@@ -0,0 +1,13 @@
+--- Makefile.orig 2003-08-17 17:03:30.643555488 -0400
++++ Makefile 2003-08-17 17:03:50.415549688 -0400
+@@ -195,8 +195,8 @@
+ ENGINEDIR = .
+ ASMFLAGS = -f $(ASMOBJFMT) $(ASMDEFS)
+ LINKER = gcc
+-CFLAGS += $(USE_ASM) -funsigned-char -O2 -DPLATFORM_UNIX -g -Wall $(SDL_CFLAGS) -fno-omit-frame-pointer
+-LDFLAGS += -g $(SDL_LDFLAGS)
++CFLAGS += $(USE_ASM) $(OPTFLAGS) -funsigned-char -DPLATFORM_UNIX -Wall $(SDL_CFLAGS) -fno-omit-frame-pointer
++LDFLAGS += $(SDL_LDFLAGS)
+
+ # Rules for turning source files into .o files
+ %.o: %.c
diff --git a/games-fps/duke3d/files/20030817-duke3d-makefile-opts.patch b/games-fps/duke3d/files/20030817-duke3d-makefile-opts.patch
new file mode 100644
index 000000000000..6f961a11eb27
--- /dev/null
+++ b/games-fps/duke3d/files/20030817-duke3d-makefile-opts.patch
@@ -0,0 +1,33 @@
+--- Makefile.orig 2003-08-17 17:45:35.948650760 -0400
++++ Makefile 2003-08-17 17:46:36.894385600 -0400
+@@ -4,6 +4,8 @@
+ beos := false
+ macosx := false
+ #use_asm := true
++#use_opengl := true
++#use_physfs := true
+
+ #-----------------------------------------------------------------------------#
+ # If this makefile fails to detect Cygwin correctly, or you want to force
+@@ -80,6 +81,10 @@
+ buildengine/pragmas.o \
+ buildengine/unix_compat.o
+
++ifeq ($(strip $(use_opengl)),true)
++ BUILDOBJS += buildengine/buildgl.o
++endif
++
+ ifeq ($(strip $(use_asm)),true)
+ BUILDOBJS += buildengine/a_gnu.o buildengine/a_nasm.o
+ else
+@@ -106,6 +106,10 @@
+
+ LDLIBS = $(SDL_LDFLAGS) -lSDL -lSDL_mixer $(EXTRALDFLAGS)
+
++ifeq ($(strip $(use_physfs)),true)
++ LDLIBS += -lphysfs
++endif
++
+ # !!! FIXME: Do we even need this? It doesn't fly on MacOS X. --ryan.
+ #LDLIBS += -Wl,-E
+
diff --git a/games-fps/duke3d/files/digest-duke3d-20030817 b/games-fps/duke3d/files/digest-duke3d-20030817
new file mode 100644
index 000000000000..a590488d5228
--- /dev/null
+++ b/games-fps/duke3d/files/digest-duke3d-20030817
@@ -0,0 +1 @@
+MD5 d59aad294927793c6937315844d276e7 duke3d-20030817.tbz2 1497380
diff --git a/games-fps/duke3d/files/duke3d b/games-fps/duke3d/files/duke3d
new file mode 100644
index 000000000000..6845e3e01216
--- /dev/null
+++ b/games-fps/duke3d/files/duke3d
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd GENTOO_DIR
+exec duke3d.bin "$@"
diff --git a/games-fps/enemy-territory/ChangeLog b/games-fps/enemy-territory/ChangeLog
new file mode 100644
index 000000000000..e3a6f3729638
--- /dev/null
+++ b/games-fps/enemy-territory/ChangeLog
@@ -0,0 +1,23 @@
+# ChangeLog for app-games/enemy-territory
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/enemy-territory/ChangeLog,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+ 05 Aug 2003; Chris Gianelloni <wolf31o2@gentoo.org>
+ enemy-territory-2.55.ebuild:
+ Updated description
+
+ 16 Jul 2003; Chris Gianelloni <wolf31o2@gentoo.org>
+ enemy-territory-2.55.ebuild, files/et-ded, files/et-ded.rc, files/etded,
+ files/etded.rc, files/startetded:
+ Add support for unpack_makeself, KDE/Gnome .desktop entries, and USE=dedicated.
+
+ 27 Jun 2003; <msterret@gentoo.org> enemy-territory-2.55.ebuild:
+ spell "Wolfenstein" correctly
+ use correct license
+
+*enemy-territory-2.55 (21 Jun 2003)
+
+ 21 Jun 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuilds submitted by:
+ Chris Gianelloni <wolf31o2@hotmail.com> #21902
+ Frederic Mangeant <frederic.mangeant@free.fr> #22152
diff --git a/games-fps/enemy-territory/Manifest b/games-fps/enemy-territory/Manifest
new file mode 100644
index 000000000000..512d9c0fe12f
--- /dev/null
+++ b/games-fps/enemy-territory/Manifest
@@ -0,0 +1,7 @@
+MD5 41bf96944ab2eb0cdefc1ebac15871cc ChangeLog 945
+MD5 f414f5eb26874bc33efe3ac1f0beab5d metadata.xml 1049
+MD5 11799f598d95c7ef0487ec15256fc2bb enemy-territory-2.55.ebuild 1864
+MD5 5f3586b482e10ee426bcaa398abc0920 files/et 36
+MD5 40dd956b40e4c3547e66819eaac04bd1 files/et-ded 197
+MD5 069a856385baa8afb3ddc48088c8fa25 files/digest-enemy-territory-2.55 69
+MD5 a0c03cf9bc23625e0d8888c6e69ced46 files/et-ded.rc 654
diff --git a/games-fps/enemy-territory/enemy-territory-2.55.ebuild b/games-fps/enemy-territory/enemy-territory-2.55.ebuild
new file mode 100644
index 000000000000..29516e770cd8
--- /dev/null
+++ b/games-fps/enemy-territory/enemy-territory-2.55.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+
+inherit games eutils
+
+DESCRIPTION="Return to Castle Wolfenstein: Enemy Territory - standalone multi-player game based on Return to Castle Wolfenstein"
+HOMEPAGE="http://www.idsoftware.com/"
+SRC_URI="ftp://ftp.gameaholic.com/pub/demos/et-linux-${PV}.x86.run
+ ftp://ftp.gigabell.net/pub/games/gameaholic/demos/et-linux-${PV}.x86.run
+ ftp://ftp.planetmirror.com/pub/gameaholic/demos/et-linux-${PV}.x86.run"
+
+LICENSE="RTCW-ETEULA"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="dedicated opengl"
+RESTRICT="nostrip"
+
+DEPEND="virtual/glibc"
+RDEPEND="dedicated? ( app-misc/screen )
+ !dedicated? ( virtual/opengl )
+ opengl? ( virtual/opengl )"
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack_makeself
+}
+
+src_install() {
+ local dir=${GAMES_PREFIX_OPT}/${PN}
+ dodir ${dir}
+
+ cp -r Docs pb etmain ${D}/${dir}/
+
+ exeinto ${dir} ; doexe bin/Linux/x86/* openurl.sh
+ insinto ${dir} ; doins CHANGES
+ insinto /usr/share/pixmaps ; doins ET.xpm
+
+ dogamesbin ${FILESDIR}/et
+ dosed "s:GENTOO_DIR:${dir}:" ${GAMES_BINDIR}/et
+ if [ "`use dedicated`" ];
+ then
+ dogamesbin ${FILESDIR}/et-ded
+ dosed "s:GENTOO_DIR:${dir}:" ${GAMES_BINDIR}/et-ded
+ dosed "s:GAMES_USER_DED:${GAMES_USER_DED}:" ${GAMES_BINDIR}/et-ded
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/et-ded.rc et-ded
+ dosed "s:GENTOO_DIR:${dir}:" /etc/init.d/et-ded
+ fi
+
+ prepgamesdirs
+ make_desktop_entry et "Enemy Territory" ET.xpm
+}
+
+pkg_postinst() {
+ echo
+ einfo "To play the game run:"
+ einfo " et"
+
+ if [ "`use dedicated`" ];
+ then
+ echo
+ einfo "To start a dedicated server run:"
+ einfo " /etc/init.d/et-ded start"
+ echo
+ einfo "To run the dedicated server at boot, type:"
+ einfo " rc-update add et-ded default"
+ echo
+ einfo "The dedicated server is started under the ${GAMES_USER_DED} user account"
+ fi
+
+ games_pkg_postinst
+}
diff --git a/games-fps/enemy-territory/files/digest-enemy-territory-2.55 b/games-fps/enemy-territory/files/digest-enemy-territory-2.55
new file mode 100644
index 000000000000..99d005eb21b2
--- /dev/null
+++ b/games-fps/enemy-territory/files/digest-enemy-territory-2.55
@@ -0,0 +1 @@
+MD5 71d938bbc6afddbfab73390333964e9d et-linux-2.55.x86.run 270588258
diff --git a/games-fps/enemy-territory/files/et b/games-fps/enemy-territory/files/et
new file mode 100644
index 000000000000..1bcc18de19b2
--- /dev/null
+++ b/games-fps/enemy-territory/files/et
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd GENTOO_DIR
+./et.x86 $*
diff --git a/games-fps/enemy-territory/files/et-ded b/games-fps/enemy-territory/files/et-ded
new file mode 100644
index 000000000000..b562c6ccf35b
--- /dev/null
+++ b/games-fps/enemy-territory/files/et-ded
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd GENTOO_DIR
+./etded.x86 +set com_hunkmegs 64 +set sv_maxrate 9000 +set com_zonemegs 32 +set dedicated 2 +set sv_hostname "my server" +set g_motd "my motd" +map mp_village +set ttycon 0
diff --git a/games-fps/enemy-territory/files/et-ded.rc b/games-fps/enemy-territory/files/et-ded.rc
new file mode 100644
index 000000000000..e75f21635c48
--- /dev/null
+++ b/games-fps/enemy-territory/files/et-ded.rc
@@ -0,0 +1,26 @@
+#!/sbin/runscript
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/enemy-territory/files/et-ded.rc,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting Enemy Territory dedicated server..."
+ export HOME=/opt/enemy-territory
+ screen -A -m -d -S et-ded su - GAMES_USER_DED -c GENTOO_DIR/etded
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping Enemy Territory dedicated server..."
+ pid=`screen -list | grep etded | awk -F . '{print $1}' | sed -e s/.//`
+ kill $pid
+ eend $?
+}
+
+status() {
+ screen -list | grep etded
+}
diff --git a/games-fps/enemy-territory/metadata.xml b/games-fps/enemy-territory/metadata.xml
new file mode 100644
index 000000000000..3034313ec605
--- /dev/null
+++ b/games-fps/enemy-territory/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+<maintainer>
+ <email>wolf31o2@gentoo.org</email>
+ <name>Chris Gianelloni</name>
+</maintainer>
+<longdescription>
+Enemy Territory is a first-person 3-D shooter based loosely on the original Wolfenstein series by id software. The game takes place in North Africa and Europe during World War II and allows you to play as either the Axis or the Allies. There are several classes of characters you can play, each with their own special abilities and weapon choices. You can also gain proficiency in your specialties and increase your abilities by performing your class's specialized duties, which helps promote teamwork. Enemy Territory was originally to be a single and milti-player add-on for Return to Castle Wofenstein, but John Carmack and company were not happy with the progress they had made on it, so instead, they released it as a multi-player stand-alone game.
+</longdescription>
+</pkgmetadata>
diff --git a/games-fps/freedoom/ChangeLog b/games-fps/freedoom/ChangeLog
new file mode 100644
index 000000000000..f0019842d6b8
--- /dev/null
+++ b/games-fps/freedoom/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-games/freedoom
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/freedoom/ChangeLog,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+ 12 Jul 2003; Michael Sterrett <msterret@gentoo.org> freedoom-1.0.ebuild:
+ fix DESCRIPTION
+
+*freedoom-1.0 (02 Jul 2003)
+
+ 02 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by Dave Leatherdale <dave@leatherdale.net> #19730.
diff --git a/games-fps/freedoom/Manifest b/games-fps/freedoom/Manifest
new file mode 100644
index 000000000000..c78d6f6c46f0
--- /dev/null
+++ b/games-fps/freedoom/Manifest
@@ -0,0 +1,3 @@
+MD5 6c1c86dd2a690dcd43193b834fcac755 ChangeLog 482
+MD5 6affd0c12fd907ab29c0ce0faeebe9c8 freedoom-1.0.ebuild 908
+MD5 b180fd5dbdcacebeb2562c42d6973fbe files/digest-freedoom-1.0 462
diff --git a/games-fps/freedoom/files/digest-freedoom-1.0 b/games-fps/freedoom/files/digest-freedoom-1.0
new file mode 100644
index 000000000000..cb24ddfde0c5
--- /dev/null
+++ b/games-fps/freedoom/files/digest-freedoom-1.0
@@ -0,0 +1,7 @@
+MD5 78a80326f636847cba08ecb1f93c3b85 doom2.wad.gz 6189479
+MD5 f7f92905f9cd066d17d473425c5f9465 freedoom.wad.gz 3982651
+MD5 192ff9658f6afce504c7950d9de75856 freedoom_graphics.wad.gz 161383
+MD5 6cc171db9fbcd66e34d98c84f8e2511b freedoom_levels.wad.gz 2158674
+MD5 c5b4834d9c03c369d39a27c8a55c2836 freedoom_sounds.wad.gz 1083927
+MD5 4d4836eb6505e2709ab62ef9ec3820ab freedoom_sprites.wad.gz 733891
+MD5 04ec5e72cd3eada971bad19b74885d1b freedoom_textures.wad.gz 1972661
diff --git a/games-fps/freedoom/freedoom-1.0.ebuild b/games-fps/freedoom/freedoom-1.0.ebuild
new file mode 100644
index 000000000000..4d2669df8ec9
--- /dev/null
+++ b/games-fps/freedoom/freedoom-1.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/freedoom/freedoom-1.0.ebuild,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+inherit games
+
+DESCRIPTION="Freedoom - Open Source Doom resources"
+HOMEPAGE="http://freedoom.sourceforge.net/"
+SRC_URI="mirror://sourceforge/freedoom/doom1.wad.gz
+ mirror://sourceforge/freedoom/doom2.wad.gz
+ mirror://sourceforge/freedoom/freedoom.wad.gz
+ mirror://sourceforge/freedoom/freedoom_graphics.wad.gz
+ mirror://sourceforge/freedoom/freedoom_levels.wad.gz
+ mirror://sourceforge/freedoom/freedoom_sounds.wad.gz
+ mirror://sourceforge/freedoom/freedoom_sprites.wad.gz
+ mirror://sourceforge/freedoom/freedoom_textures.wad.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND=""
+
+S=${WORKDIR}
+
+src_install() {
+ insinto ${GAMES_DATADIR}/freedoom
+ doins *.wad
+ prepgamesdirs
+}
diff --git a/games-fps/lsdldoom/ChangeLog b/games-fps/lsdldoom/ChangeLog
new file mode 100644
index 000000000000..0023e51b6a53
--- /dev/null
+++ b/games-fps/lsdldoom/ChangeLog
@@ -0,0 +1,16 @@
+# ChangeLog for app-games/lsdldoom
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/lsdldoom/ChangeLog,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+*lsdldoom-1.4.4.4 (1 Feb 2002)
+
+ 17 jul 2002; Jose Alberto Suárez López <bass@gentoo.org> lsdldoom-1.4.4.4.ebuild :
+ Added LICENSE, KEYWORDS.
+
+ 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
+
+ Added initial ChangeLog which should be updated whenever the package is
+ updated in any way. This changelog is targetted to users. This means that the
+ comments should well explained and written in clean English. The details about
+ writing correct changelogs are explained in the skel.ChangeLog file which you
+ can find in the root directory of the portage repository.
diff --git a/games-fps/lsdldoom/Manifest b/games-fps/lsdldoom/Manifest
new file mode 100644
index 000000000000..b08b158665a6
--- /dev/null
+++ b/games-fps/lsdldoom/Manifest
@@ -0,0 +1,4 @@
+MD5 9773b312625264308d33b986bdcb587d ChangeLog 795
+MD5 757256240b3e45ad26fa6ecf48a97a6f lsdldoom-1.4.4.4.ebuild 1065
+MD5 3606ef13ad3d476834157da0331179ed files/digest-lsdldoom-1.4.4.4 126
+MD5 fb08ae3fadc9c3e448e37db45ab3125c files/lsdldoom 79
diff --git a/games-fps/lsdldoom/files/digest-lsdldoom-1.4.4.4 b/games-fps/lsdldoom/files/digest-lsdldoom-1.4.4.4
new file mode 100644
index 000000000000..57872bca3dfa
--- /dev/null
+++ b/games-fps/lsdldoom/files/digest-lsdldoom-1.4.4.4
@@ -0,0 +1,2 @@
+MD5 e1ecfd5a0bd640be48cfd83b28bb1443 lsdldoom-1.4.4.4.tar.gz 916884
+MD5 66851d7cecbc7845d612e7073c1355ad doom1.wad.gz 1765820
diff --git a/games-fps/lsdldoom/files/lsdldoom b/games-fps/lsdldoom/files/lsdldoom
new file mode 100644
index 000000000000..49849d6dedc7
--- /dev/null
+++ b/games-fps/lsdldoom/files/lsdldoom
@@ -0,0 +1,2 @@
+#!/bin/bash
+cd /usr/share/doom ; ./lsdldoom -width 800 -height 600 -grabmouse
diff --git a/games-fps/lsdldoom/lsdldoom-1.4.4.4.ebuild b/games-fps/lsdldoom/lsdldoom-1.4.4.4.ebuild
new file mode 100644
index 000000000000..bb9f73974374
--- /dev/null
+++ b/games-fps/lsdldoom/lsdldoom-1.4.4.4.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/lsdldoom/lsdldoom-1.4.4.4.ebuild,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+DESCRIPTION="Port of ID's doom to SDL"
+SRC_URI="http://www.lbjhs.net/~jessh/lsdldoom/src/${P}.tar.gz
+ http://www.lbjhs.net/~jessh/lsdldoom/doom1.wad.gz"
+HOMEPAGE="http://firehead.org/~jessh/lsdldoom/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 ppc"
+
+DEPEND=">=media-libs/sdl-mixer-1.2.0"
+
+src_unpack() {
+ unpack ${P}.tar.gz
+ cp ${DISTDIR}/doom1.wad.gz ${S}
+ chmod 0644 ${S}/doom1.wad.gz
+ gzip -d ${S}/*.gz
+}
+
+src_compile() {
+ ./configure --prefix=/usr --datadir=/usr/share/doom \
+ --bindir=/usr/bin --host=${CHOST} || die
+ make || die
+}
+
+src_install() {
+ dobin ${FILESDIR}/lsdldoom
+ exeinto /usr/share/doom
+ doexe src/lsdldoom src/lxdoom-game-server
+ insinto /usr/share/doom/
+ doins doom1.wad data/*.wad
+ doman doc/boom.cfg.5 doc/lsdldoom.6 doc/lxdoom-game-server.6
+ dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README doc/*.txt
+}
diff --git a/games-fps/mtavc/ChangeLog b/games-fps/mtavc/ChangeLog
new file mode 100644
index 000000000000..228d97bb928a
--- /dev/null
+++ b/games-fps/mtavc/ChangeLog
@@ -0,0 +1,17 @@
+# ChangeLog for app-games/mtavc
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/mtavc/ChangeLog,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+ 03 Sep 2003; Michael Sterrett <msterret@gentoo.org> mtavc-0.1.0.ebuild:
+ DEPEND on sys-libs/lib-compat
+
+ 02 Sep 2003; Michael Sterrett <msterret@gentoo.org> mtavc-0.1.0.ebuild:
+ Is linked against glibc-2.2. I feel so sorry for people who only distribute
+ binaries.
+
+*mtavc-0.1.0 (02 Sep 2003)
+
+ 02 Sep 2003; Michael Sterrett <msterret@gentoo.org> mtavc-0.1.0.ebuild,
+ files/mtavc:
+ initial commit (bug 25872)
+
diff --git a/games-fps/mtavc/Manifest b/games-fps/mtavc/Manifest
new file mode 100644
index 000000000000..62b0337c0e95
--- /dev/null
+++ b/games-fps/mtavc/Manifest
@@ -0,0 +1,4 @@
+MD5 a24f49750bcfa61a291eaa15d25b43ae mtavc-0.1.0.ebuild 845
+MD5 ca8d7b694442aabf7ffc623fca1840c1 ChangeLog 633
+MD5 33d624d0f55b53758710d4be7501ded7 files/digest-mtavc-0.1.0 66
+MD5 5ca2d00ab437a86bbc53b829fccd760f files/mtavc 46
diff --git a/games-fps/mtavc/files/digest-mtavc-0.1.0 b/games-fps/mtavc/files/digest-mtavc-0.1.0
new file mode 100644
index 000000000000..c5ea08ce5eea
--- /dev/null
+++ b/games-fps/mtavc/files/digest-mtavc-0.1.0
@@ -0,0 +1 @@
+MD5 28fc0ae361eb7908af01e0de0c79f033 MTAServer-0.1.0-tar.gz 57597
diff --git a/games-fps/mtavc/files/mtavc b/games-fps/mtavc/files/mtavc
new file mode 100644
index 000000000000..6ba3fc80b89c
--- /dev/null
+++ b/games-fps/mtavc/files/mtavc
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd "/opt/mtavc"
+exec ./MTAServer $*
diff --git a/games-fps/mtavc/mtavc-0.1.0.ebuild b/games-fps/mtavc/mtavc-0.1.0.ebuild
new file mode 100644
index 000000000000..5e80a10f87cc
--- /dev/null
+++ b/games-fps/mtavc/mtavc-0.1.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/mtavc/mtavc-0.1.0.ebuild,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+inherit games
+
+S=${WORKDIR}
+DESCRIPTION="A server for a multi-player mod for GTA3"
+HOMEPAGE="http://www.multitheftauto.com/"
+SRC_URI="MTAServer-${PV}-tar.gz"
+
+RESTRICT="fetch"
+LICENSE="as-is"
+KEYWORDS="-* x86"
+IUSE=""
+SLOT="0"
+
+DEPEND="virtual/glibc
+ sys-libs/lib-compat"
+
+pkg_nofetch() {
+ einfo
+ einfo
+ einfo "Please download ${A} from "
+ einfo "${HOMEPAGE} and put it in ${DISTDIR}"
+ einfo
+ einfo
+}
+
+src_unpack() {
+ tar -zxf ${DISTDIR}/${A}
+}
+
+src_install() {
+ dogamesbin ${FILESDIR}/mtavc
+ exeinto /opt/mtavc
+ doexe MTAServer
+ insinto /opt/mtavc
+ doins banned.lst mtaserver.conf
+ dodoc readme.txt
+ prepgamesdirs
+}
diff --git a/games-fps/nprquake-sdl/ChangeLog b/games-fps/nprquake-sdl/ChangeLog
new file mode 100644
index 000000000000..364f3d46e956
--- /dev/null
+++ b/games-fps/nprquake-sdl/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for app-games/nprquake-sdl
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/nprquake-sdl/ChangeLog,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+*nprquake-sdl-1 (17 Jul 2003)
+
+ 17 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me.
diff --git a/games-fps/nprquake-sdl/Manifest b/games-fps/nprquake-sdl/Manifest
new file mode 100644
index 000000000000..3551e96e5a2d
--- /dev/null
+++ b/games-fps/nprquake-sdl/Manifest
@@ -0,0 +1,4 @@
+MD5 2425d4475c7622cccf1be1576e8e43a7 files/1-gentoo.patch 1847
+MD5 5288c4fce9f6009f1859550578c8728d files/digest-nprquake-sdl-1 65
+MD5 2f7ef2b33f579d4c858417fb45ac69cb ChangeLog 352
+MD5 f0bf8d46681126da7b1a0439edda7214 nprquake-sdl-1.ebuild 1110
diff --git a/games-fps/nprquake-sdl/files/1-gentoo.patch b/games-fps/nprquake-sdl/files/1-gentoo.patch
new file mode 100644
index 000000000000..6cf215f946f5
--- /dev/null
+++ b/games-fps/nprquake-sdl/files/1-gentoo.patch
@@ -0,0 +1,42 @@
+diff -ur NPRQuake-SDL-orig/Makefile NPRQuake-SDL/Makefile
+--- NPRQuake-SDL-orig/Makefile 2003-07-16 23:58:48.000000000 -0400
++++ NPRQuake-SDL/Makefile 2003-07-16 23:58:59.000000000 -0400
+@@ -1,4 +1,4 @@
+-RELEASE_CFLAGS=-Dstricmp=strcasecmp -mcpu=i586 -march=i586 -O6 -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations
++RELEASE_CFLAGS=-Dstricmp=strcasecmp GENTOO_CFLAGS -O6 -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations
+
+ DEBUG_CFLAGS=-Dstricmp=strcasecmp -g
+
+diff -ur NPRQuake-SDL-orig/NPRQuakeSrc/Makefile NPRQuake-SDL/NPRQuakeSrc/Makefile
+--- NPRQuake-SDL-orig/NPRQuakeSrc/Makefile 2003-07-16 23:58:48.000000000 -0400
++++ NPRQuake-SDL/NPRQuakeSrc/Makefile 2003-07-16 23:59:38.000000000 -0400
+@@ -29,7 +29,7 @@
+
+ CC=gcc
+
+-RELEASE_CFLAGS=$(BASE_CFLAGS) -mcpu=i586 -march=i586 -O6 -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations
++RELEASE_CFLAGS=$(BASE_CFLAGS) GENTOO_CFLAGS -O6 -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations
+ DEBUG_CFLAGS=$(BASE_CFLAGS) -g
+ LDFLAGS=-lm
+ CFLAGS=$(RELEASE_CFLAGS)
+diff -ur NPRQuake-SDL-orig/NPRQuakeSrc/gl_rmisc.c NPRQuake-SDL/NPRQuakeSrc/gl_rmisc.c
+--- NPRQuake-SDL-orig/NPRQuakeSrc/gl_rmisc.c 2003-07-16 23:58:49.000000000 -0400
++++ NPRQuake-SDL/NPRQuakeSrc/gl_rmisc.c 2003-07-17 00:00:39.000000000 -0400
+@@ -563,13 +563,15 @@
+
+ // this should be as big as the number of functions we pull out.
+ void * tf[25];
++ char * libz0r[1024];
+
+ memset( tf, 0, sizeof( void * ) * 25 );
+
+ #ifdef _WIN32 //JG
+ hnewlib = LoadLibrary( lib );
+ #else
+- hnewlib = dlopen( lib, RTLD_LAZY | RTLD_GLOBAL );
++ sprintf(libz0r, GENTOO_LIBDIR "/%s", lib);
++ hnewlib = dlopen( libz0r, RTLD_LAZY | RTLD_GLOBAL );
+ #endif
+
+ if( hnewlib == NULL ) {
+Only in NPRQuake-SDL/NPRQuakeSrc: gl_rmisc.c.orig
diff --git a/games-fps/nprquake-sdl/files/digest-nprquake-sdl-1 b/games-fps/nprquake-sdl/files/digest-nprquake-sdl-1
new file mode 100644
index 000000000000..92143820f8c2
--- /dev/null
+++ b/games-fps/nprquake-sdl/files/digest-nprquake-sdl-1
@@ -0,0 +1 @@
+MD5 bd2a2b390d8f3ca40a104f4cf2e4b2ec NPRQuake-SDL.tar.gz 3393497
diff --git a/games-fps/nprquake-sdl/nprquake-sdl-1.ebuild b/games-fps/nprquake-sdl/nprquake-sdl-1.ebuild
new file mode 100644
index 000000000000..d5bf7f6c39ac
--- /dev/null
+++ b/games-fps/nprquake-sdl/nprquake-sdl-1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/nprquake-sdl/nprquake-sdl-1.ebuild,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+inherit games eutils
+
+DESCRIPTION="quake1 utilizing a hand drawn engine"
+HOMEPAGE="http://www.cs.wisc.edu/graphics/Gallery/NPRQuake/ http://www.tempestgames.com/ryan/"
+SRC_URI="http://www.tempestgames.com/ryan/downloads/NPRQuake-SDL.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND="media-libs/libsdl"
+
+S=${WORKDIR}/NPRQuake-SDL
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${PV}-gentoo.patch
+ sed -i "s:GENTOO_CFLAGS:${CFLAGS}:" Makefile NPRQuakeSrc/Makefile
+ echo "#define GENTOO_LIBDIR \"${GAMES_LIBDIR}/${PN}\"" >> NPRQuakeSrc/quakedef.h
+}
+
+src_compile() {
+ make release || die
+}
+
+src_install() {
+ newgamesbin NPRQuakeSrc/release*/bin/* nprquake-sdl
+ dodir ${GAMES_LIBDIR}/${PN}
+ cp -r build/* ${D}/${GAMES_LIBDIR}/${PN}/
+ cd ${GAMES_LIBDIR}/${PN}
+ mv dr_default.so default.so
+ ln -s sketch.so dr_default.so
+ dodoc README CHANGELOG
+ prepgamesdirs
+}
diff --git a/games-fps/prboom/ChangeLog b/games-fps/prboom/ChangeLog
new file mode 100644
index 000000000000..845c32b99954
--- /dev/null
+++ b/games-fps/prboom/ChangeLog
@@ -0,0 +1,14 @@
+# ChangeLog for app-games/prboom
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/prboom/ChangeLog,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+ 08 Sep 2003; Michael Sterrett <msterret@gentoo.org> prboom-2.2.3.ebuild:
+ massage the DEPEND lines around; add media-libs/smpeg which config checks for.
+
+*prboom-2.2.3 (24 Oct 2002)
+
+ 27 Jun 2003; Mike Frysinger <vapier@gentoo.org> :
+ Added an nvidia test/patch so that it'll work on NVidia GL #19025.
+
+ 24 Oct 2002; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by Dirk-Jan Heijs <heijs@phys.rug.nl>.
diff --git a/games-fps/prboom/Manifest b/games-fps/prboom/Manifest
new file mode 100644
index 000000000000..e7862862a877
--- /dev/null
+++ b/games-fps/prboom/Manifest
@@ -0,0 +1,5 @@
+MD5 c043e11c6f548be9de5791b9f2624657 ChangeLog 651
+MD5 c5d085638eba69a9751971c727dbd787 prboom-2.2.3.ebuild 1145
+MD5 c5d65c7c0192bf7be43c89cbe080a626 files/digest-prboom-2.2.3 122
+MD5 6baf3ffdd34dfe4b85618dd603616a80 files/2.2.3-nvidia-test.c 90
+MD5 26c3203b01da274d7823401db192c07c files/2.2.3-nvidia.patch 944
diff --git a/games-fps/prboom/files/2.2.3-nvidia-test.c b/games-fps/prboom/files/2.2.3-nvidia-test.c
new file mode 100644
index 000000000000..f9e4bd700f8a
--- /dev/null
+++ b/games-fps/prboom/files/2.2.3-nvidia-test.c
@@ -0,0 +1,3 @@
+#include <SDL/SDL_opengl.h>
+PFNGLCOLORTABLEEXTPROC glColorTableEXT;
+int main(){return 0;}
diff --git a/games-fps/prboom/files/2.2.3-nvidia.patch b/games-fps/prboom/files/2.2.3-nvidia.patch
new file mode 100644
index 000000000000..1fe78112b26a
--- /dev/null
+++ b/games-fps/prboom/files/2.2.3-nvidia.patch
@@ -0,0 +1,28 @@
+--- src/gl_main.c.orig 2002-07-27 12:34:42.000000000 -0400
++++ src/gl_main.c 2003-06-28 01:10:25.000000000 -0400
+@@ -273,6 +273,7 @@
+
+ if (strcasecmp(extension, "GL_EXT_texture_filter_anisotropic") == 0)
+ gl_texture_filter_anisotropic = true;
++/*
+ else if (strcasecmp(extension, "GL_EXT_paletted_texture") == 0) {
+ if (gl_use_paletted_texture) {
+ gl_paletted_texture = true;
+@@ -286,7 +287,7 @@
+ glColorTableEXT = SDL_GL_GetProcAddress("glColorTableEXT");
+ lprintf(LO_INFO,"using GL_EXT_shared_texture_palette\n",glGetString(GL_VENDOR));
+ }
+-
++*/
+ extension = p;
+ } while (*extension != '\0');
+
+--- src/gl_intern.h.orig 2003-06-28 01:13:38.000000000 -0400
++++ src/gl_intern.h 2003-06-28 01:13:43.000000000 -0400
+@@ -114,5 +114,5 @@
+ #define min(a,b) ((a)<(b)?(a):(b))
+ #endif
+
+-PFNGLCOLORTABLEEXTPROC glColorTableEXT;
++//PFNGLCOLORTABLEEXTPROC glColorTableEXT;
+ #endif // _GL_INTERN_H
diff --git a/games-fps/prboom/files/digest-prboom-2.2.3 b/games-fps/prboom/files/digest-prboom-2.2.3
new file mode 100644
index 000000000000..52a418cfb43a
--- /dev/null
+++ b/games-fps/prboom/files/digest-prboom-2.2.3
@@ -0,0 +1,2 @@
+MD5 91873942bbb7f0ee476b27b6baa62159 prboom-2.2.3.tar.gz 994824
+MD5 66851d7cecbc7845d612e7073c1355ad doom1.wad.gz 1765820
diff --git a/games-fps/prboom/prboom-2.2.3.ebuild b/games-fps/prboom/prboom-2.2.3.ebuild
new file mode 100644
index 000000000000..9bfb98615ac9
--- /dev/null
+++ b/games-fps/prboom/prboom-2.2.3.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/prboom/prboom-2.2.3.ebuild,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+inherit games eutils
+
+DESCRIPTION="Port of ID's doom to SDL and OpenGL"
+HOMEPAGE="http://prboom.sourceforge.net/"
+SRC_URI="mirror://sourceforge/prboom/${P}.tar.gz
+ http://www.lbjhs.net/~jessh/lsdldoom/doom1.wad.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="opengl"
+
+DEPEND="virtual/x11
+ >=media-libs/libsdl-1.1.3
+ media-libs/sdl-mixer
+ media-libs/sdl-net
+ media-libs/smpeg
+ opengl? ( virtual/opengl )"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ ebegin "Detecting NVidia GL/prboom bug"
+ gcc ${FILESDIR}/${PV}-nvidia-test.c 2> /dev/null
+ eend $? "NVidia GL/prboom bug found ;("
+ epatch ${FILESDIR}/${PV}-nvidia.patch
+}
+
+src_compile() {
+ egamesconf `use_enable opengl gl` || die
+ emake || die
+}
+
+src_install() {
+ dogamesbin src/prboom{,-game-server}
+
+ insinto ${GAMES_DATADIR}/doom/
+ doins ../doom1.wad data/*.wad
+
+ doman doc/*.{5,6}
+ dodoc AUTHORS ChangeLog NEWS README TODO doc/README.* doc/*.txt
+
+ prepgamesdirs
+}
diff --git a/games-fps/quake1/ChangeLog b/games-fps/quake1/ChangeLog
new file mode 100644
index 000000000000..181be509f409
--- /dev/null
+++ b/games-fps/quake1/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for app-games/quake1
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake1/ChangeLog,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+*quake1-2.40 (14 Jul 2003)
+
+ 14 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me.
diff --git a/games-fps/quake1/Manifest b/games-fps/quake1/Manifest
new file mode 100644
index 000000000000..883da77417af
--- /dev/null
+++ b/games-fps/quake1/Manifest
@@ -0,0 +1,8 @@
+MD5 fb9744193f1a0381afefbd8b5870890e ChangeLog 337
+MD5 53205ef49048876c04d1407a09d4b83e quake1-2.40.ebuild 2265
+MD5 1234946f709d4f661a2030a3b01fab6b files/digest-quake1-2.40 58
+MD5 08770c3708ba8384c402179f0c247ded files/makefile-gcc2-cflags.patch 815
+MD5 b47df8c86116df21eb3c75ff8d8142e6 files/makefile-gcc3-cflags.patch 878
+MD5 6a5b3a494d26b4f1b8d1063f9a0aa6e4 files/makefile-path-fixes.patch 1539
+MD5 6f4c55f7cf280c7c87e1e5a20934b813 files/makefile-sedable.patch 1064
+MD5 b9e1b8831a33b812643b9d5f3cab8cf2 files/fix-sys_printf.patch 666
diff --git a/games-fps/quake1/files/digest-quake1-2.40 b/games-fps/quake1/files/digest-quake1-2.40
new file mode 100644
index 000000000000..7f6e600a9e1d
--- /dev/null
+++ b/games-fps/quake1/files/digest-quake1-2.40
@@ -0,0 +1 @@
+MD5 70a802bd815a61a99e6c1c9a4eaeb0f2 q1source.zip 3211531
diff --git a/games-fps/quake1/files/fix-sys_printf.patch b/games-fps/quake1/files/fix-sys_printf.patch
new file mode 100644
index 000000000000..5b8e468ed521
--- /dev/null
+++ b/games-fps/quake1/files/fix-sys_printf.patch
@@ -0,0 +1,22 @@
+--- WinQuake/sys_linux.c.orig 2003-08-03 02:54:02.900882698 -0400
++++ WinQuake/sys_linux.c 2003-08-03 02:54:24.568968240 -0400
+@@ -86,7 +86,7 @@
+ void Sys_Printf (char *fmt, ...)
+ {
+ va_list argptr;
+- char text[1024];
++ char text[2048];
+ unsigned char *p;
+
+ va_start (argptr,fmt);
+--- QW/client/sys_linux.c.orig 2003-08-03 02:53:55.186276383 -0400
++++ QW/client/sys_linux.c 2003-08-03 02:54:18.706027413 -0400
+@@ -141,7 +141,7 @@
+ void Sys_Error (char *error, ...)
+ {
+ va_list argptr;
+- char string[1024];
++ char string[2048];
+
+ // change stdin to non blocking
+ fcntl (0, F_SETFL, fcntl (0, F_GETFL, 0) & ~FNDELAY);
diff --git a/games-fps/quake1/files/makefile-gcc2-cflags.patch b/games-fps/quake1/files/makefile-gcc2-cflags.patch
new file mode 100644
index 000000000000..3b2f87df4080
--- /dev/null
+++ b/games-fps/quake1/files/makefile-gcc2-cflags.patch
@@ -0,0 +1,16 @@
+--- WinQuake/Makefile.orig 2003-07-14 15:13:27.000000000 -0400
++++ WinQuake/Makefile 2003-07-14 15:17:10.000000000 -0400
+@@ -39,3 +39,3 @@
+ BASE_CFLAGS=-Dstricmp=strcasecmp
+-RELEASE_CFLAGS=$(BASE_CFLAGS) -g -mpentiumpro -O6 -ffast-math -funroll-loops \
++RELEASE_CFLAGS=$(BASE_CFLAGS) GENTOO_CFLAGS -O6 -ffast-math -funroll-loops \
+ -fomit-frame-pointer -fexpensive-optimizations
+--- QW/Makefile.orig 2003-07-14 15:13:12.000000000 -0400
++++ QW/Makefile 2003-07-14 15:15:41.000000000 -0400
+@@ -44,5 +44,5 @@
+ -fomit-frame-pointer -fexpensive-optimizations
+ else
+-RELEASE_CFLAGS=$(BASE_CFLAGS) -m486 -O6 -ffast-math -funroll-loops \
++RELEASE_CFLAGS=$(BASE_CFLAGS) GENTOO_CFLAGS -O6 -ffast-math -funroll-loops \
+ -fomit-frame-pointer -fexpensive-optimizations -malign-loops=2 \
+ -malign-jumps=2 -malign-functions=2
diff --git a/games-fps/quake1/files/makefile-gcc3-cflags.patch b/games-fps/quake1/files/makefile-gcc3-cflags.patch
new file mode 100644
index 000000000000..136c7a937fb6
--- /dev/null
+++ b/games-fps/quake1/files/makefile-gcc3-cflags.patch
@@ -0,0 +1,18 @@
+--- WinQuake/Makefile.orig 2003-07-14 15:13:27.000000000 -0400
++++ WinQuake/Makefile 2003-07-14 15:17:10.000000000 -0400
+@@ -39,3 +39,3 @@
+ BASE_CFLAGS=-Dstricmp=strcasecmp
+-RELEASE_CFLAGS=$(BASE_CFLAGS) -g -mpentiumpro -O6 -ffast-math -funroll-loops \
++RELEASE_CFLAGS=$(BASE_CFLAGS) GENTOO_CFLAGS -O6 -ffast-math -funroll-loops \
+ -fomit-frame-pointer -fexpensive-optimizations
+--- QW/Makefile.orig 2003-07-14 15:13:12.000000000 -0400
++++ QW/Makefile 2003-07-14 15:15:41.000000000 -0400
+@@ -45,5 +45,5 @@
+ else
+-RELEASE_CFLAGS=$(BASE_CFLAGS) -m486 -O6 -ffast-math -funroll-loops \
+- -fomit-frame-pointer -fexpensive-optimizations -malign-loops=2 \
+- -malign-jumps=2 -malign-functions=2
++RELEASE_CFLAGS=$(BASE_CFLAGS) GENTOO_CFLAGS -O6 -ffast-math -funroll-loops \
++ -fomit-frame-pointer -fexpensive-optimizations -falign-loops=2 \
++ -falign-jumps=2 -falign-functions=2
+ endif
diff --git a/games-fps/quake1/files/makefile-path-fixes.patch b/games-fps/quake1/files/makefile-path-fixes.patch
new file mode 100644
index 000000000000..862234e55f86
--- /dev/null
+++ b/games-fps/quake1/files/makefile-path-fixes.patch
@@ -0,0 +1,36 @@
+--- WinQuake/Makefile.orig 2003-07-14 15:13:27.000000000 -0400
++++ WinQuake/Makefile 2003-07-14 15:17:10.000000000 -0400
+@@ -27,4 +27,4 @@
+
+-MOUNT_DIR=/grog/Projects/WinQuake
+-MASTER_DIR=/grog/Projects/QuakeMaster
++MOUNT_DIR=../WinQuake
++MASTER_DIR=../QuakeMaster
+ MESA_DIR=/usr/local/src/Mesa-2.6
+@@ -35,3 +35,3 @@
+
+-EGCS=/usr/local/egcs-1.1.2/bin/gcc
++EGCS=gcc
+ CC=$(EGCS)
+@@ -47,5 +47,5 @@
+
+-MESAGLLDFLAGS=-L/usr/X11/lib -L/usr/local/lib -L$(MESA_DIR)/lib -lMesaGL -lglide2x -lX11 -lXext -ldl
++MESAGLLDFLAGS=-L/usr/X11R6/lib -L/usr/local/lib -L$(MESA_DIR)/lib -lMesaGL -lglide2x -lX11 -lXext -ldl
+ TDFXGLLDFLAGS=-L$(TDFXGL_DIR)/release$(ARCH)$(GLIBC) -l3dfxgl -lglide2x -ldl
+-GLLDFLAGS=-L/usr/X11/lib -L/usr/local/lib -lGL -lX11 -lXext -ldl -lXxf86dga -lXxf86vm -lm
++GLLDFLAGS=-L/usr/X11R6/lib -L/usr/local/lib -lGL -lX11 -lXext -ldl -lXxf86dga -lXxf86vm -lm
+ GLCFLAGS=-DGLQUAKE -I$(MESA_DIR)/include -I/usr/include/glide
+--- QW/Makefile.orig 2003-07-14 15:13:12.000000000 -0400
++++ QW/Makefile 2003-07-14 15:15:41.000000000 -0400
+@@ -29,3 +29,3 @@
+
+-MAINDIR=/grog/Projects/QW
++MAINDIR=../QW
+
+@@ -54,4 +54,4 @@
+ XLDFLAGS=-L/usr/X11R6/lib -lX11 -lXext
+-GL_SVGA_LDFLAGS=-L/usr/X11/lib -L/usr/local/src/Mesa-3.0/lib -lm -lMesaGL -lglide2x -lX11 -lXext -lvga
+-GL_X11_LDFLAGS=-L/usr/X11/lib -L/usr/local/src/Mesa-3.0/lib -lm -lGL -lX11 -lXext
++GL_SVGA_LDFLAGS=-L/usr/X11R6/lib -L/usr/local/src/Mesa-3.0/lib -lm -lMesaGL -lglide2x -lX11 -lXext -lvga
++GL_X11_LDFLAGS=-L/usr/X11R6/lib -L/usr/local/src/Mesa-3.0/lib -lm -lGL -lX11 -lXext
+
diff --git a/games-fps/quake1/files/makefile-sedable.patch b/games-fps/quake1/files/makefile-sedable.patch
new file mode 100644
index 000000000000..ab7533d96e62
--- /dev/null
+++ b/games-fps/quake1/files/makefile-sedable.patch
@@ -0,0 +1,36 @@
+--- WinQuake/Makefile.orig 2003-07-14 15:13:27.000000000 -0400
++++ WinQuake/Makefile 2003-07-14 15:43:31.000000000 -0400
+@@ -64,11 +64,12 @@
+ # SETUP AND BUILD
+ #############################################################################
+
+-TARGETS=$(BUILDDIR)/bin/squake \
+- $(BUILDDIR)/bin/glquake \
+- $(BUILDDIR)/bin/glquake.glx \
+- $(BUILDDIR)/bin/glquake.3dfxgl \
+- $(BUILDDIR)/bin/quake.x11
++TARGETS=\
++ $(BUILDDIR)/bin/squake \
++ $(BUILDDIR)/bin/glquake \
++ $(BUILDDIR)/bin/glquake.glx \
++ $(BUILDDIR)/bin/glquake.3dfxgl \
++ $(BUILDDIR)/bin/quake.x11
+ # $(BUILDDIR)/bin/unixded
+
+ build_debug:
+--- QW/Makefile.orig 2003-07-14 15:13:12.000000000 -0400
++++ QW/Makefile 2003-07-14 15:44:00.000000000 -0400
+@@ -71,7 +71,12 @@
+ TARGETS=$(BUILDDIR)/qwsv
+ #$(BUILDDIR)/qwcl.x11
+ else
+-TARGETS=$(BUILDDIR)/qwsv $(BUILDDIR)/qwcl $(BUILDDIR)/qwcl.x11 $(BUILDDIR)/glqwcl $(BUILDDIR)/glqwcl.glx
++TARGETS=\
++ $(BUILDDIR)/qwsv \
++ $(BUILDDIR)/qwcl \
++ $(BUILDDIR)/qwcl.x11 \
++ $(BUILDDIR)/glqwcl \
++ $(BUILDDIR)/glqwcl.glx
+ endif
+
+ build_debug:
diff --git a/games-fps/quake1/quake1-2.40.ebuild b/games-fps/quake1/quake1-2.40.ebuild
new file mode 100644
index 000000000000..9fd6790773c5
--- /dev/null
+++ b/games-fps/quake1/quake1-2.40.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake1/quake1-2.40.ebuild,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+inherit games eutils gcc
+
+DESCRIPTION="The original Quake engine straight from id !"
+HOMEPAGE="http://www.idsoftware.com/games/quake/quake/"
+SRC_URI="ftp://ftp.idsoftware.com/idstuff/source/q1source.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="X opengl svga 3dfx"
+
+DEPEND="X? ( virtual/x11 )
+ opengl? ( virtual/opengl )
+ svga? ( media-libs/svgalib )
+ 3dfx? ( media-libs/glide-v3 )"
+
+S=${WORKDIR}
+
+pkg_setup() {
+ games_pkg_setup
+ echo
+ ewarn "You probably want app-games/quakeforge if you're"
+ ewarn "looking for a quake1 client ..."
+}
+
+src_unpack() {
+ unpack ${A}
+
+ epatch ${FILESDIR}/fix-sys_printf.patch
+
+ mv WinQuake/Makefile{.linuxi386,}
+ mv QW/Makefile{.Linux,}
+
+ epatch ${FILESDIR}/makefile-path-fixes.patch
+
+ [ `gcc-major-version` -eq 3 ] \
+ && epatch ${FILESDIR}/makefile-gcc3-cflags.patch \
+ || epatch ${FILESDIR}/makefile-gcc2-cflags.patch
+ sed -i "s:GENTOO_CFLAGS:${CFLAGS} -DGL_EXT_SHARED=1:" {WinQuake,QW}/Makefile
+ cp QW/client/glquake.h{,.orig}
+ (echo "#define APIENTRY";cat QW/client/glquake.h.orig) > QW/client/glquake.h
+
+ epatch ${FILESDIR}/makefile-sedable.patch
+ if [ ! `use 3dfx` ] ; then
+ sed -i 's:^ $(BUILDDIR)/bin/glquake ::' WinQuake/Makefile
+ sed -i 's:^ $(BUILDDIR)/bin/glquake.3dfxgl ::' WinQuake/Makefile
+ sed -i 's:^ $(BUILDDIR)/glqwcl ::' QW/Makefile
+ fi
+ if [ ! `use X` ] ; then
+ sed -i 's:^ $(BUILDDIR)/bin/quake.x11 ::' WinQuake/Makefile
+ sed -i 's:^ $(BUILDDIR)/qwcl.x11 ::' QW/Makefile
+ fi
+ if [ ! `use opengl` ] ; then
+ sed -i 's:^ $(BUILDDIR)/bin/quake.glx ::' WinQuake/Makefile
+ sed -i 's:^ $(BUILDDIR)/glqwcl.glx ::' QW/Makefile
+ fi
+ if [ ! `use svga` ] ; then
+ sed -i 's:^ $(BUILDDIR)/bin/squake ::' WinQuake/Makefile
+ sed -i 's:^ $(BUILDDIR)/qwcl ::' QW/Makefile
+ fi
+}
+
+src_compile() {
+ cd ${S}/WinQuake
+ make build_release || die "failed to build WinQuake"
+ cd ${S}/QW
+ make build_release || die "failed to build QW"
+}
+
+src_install() {
+ dogamesbin WinQuake/release*/bin/*
+ dogamesbin QW/release*/*qw*
+ dodoc readme.txt {WinQuake,QW}/*.txt
+ prepgamesdirs
+}
diff --git a/games-fps/quake2-data/ChangeLog b/games-fps/quake2-data/ChangeLog
new file mode 100644
index 000000000000..993dd2644546
--- /dev/null
+++ b/games-fps/quake2-data/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-games/quake2-data
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake2-data/ChangeLog,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+*quake2-data-3.20 (29 Jun 2003)
+
+ 30 Jun 2003; Mike Frysinger <vapier@gentoo.org> :
+ Updated for the quake2 rename.
+
+ 29 Jun 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by Daniel Mannarino <thesnark@operamail.com> #11506.
diff --git a/games-fps/quake2-data/Manifest b/games-fps/quake2-data/Manifest
new file mode 100644
index 000000000000..88c970cfe7c4
--- /dev/null
+++ b/games-fps/quake2-data/Manifest
@@ -0,0 +1,3 @@
+MD5 fa664478fddb8c7aa9f30aff3e180d41 ChangeLog 484
+MD5 d0b5231783cf0549a387d676ce236d66 quake2-data-3.20.ebuild 2211
+MD5 ac38ac21c5b1dd48241c3d7da6065bd7 files/digest-quake2-data-3.20 71
diff --git a/games-fps/quake2-data/files/digest-quake2-data-3.20 b/games-fps/quake2-data/files/digest-quake2-data-3.20
new file mode 100644
index 000000000000..4ec0d014ee5e
--- /dev/null
+++ b/games-fps/quake2-data/files/digest-quake2-data-3.20
@@ -0,0 +1 @@
+MD5 490557d4a90ff346a175d865a2bade87 q2-3.20-x86-full-ctf.exe 19267584
diff --git a/games-fps/quake2-data/quake2-data-3.20.ebuild b/games-fps/quake2-data/quake2-data-3.20.ebuild
new file mode 100644
index 000000000000..cb7e95d07ef9
--- /dev/null
+++ b/games-fps/quake2-data/quake2-data-3.20.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake2-data/quake2-data-3.20.ebuild,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+inherit games
+
+DESCRIPTION="iD Software's Quake 2 ... the data files"
+HOMEPAGE="http://www.idsoftware.com/"
+SRC_URI="ftp://ftp.idsoftware.com/idstuff/quake2/q2-${PV}-x86-full-ctf.exe"
+
+LICENSE="Q2EULA"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="videos"
+
+DEPEND="app-arch/unzip
+ virtual/x11"
+
+S=${WORKDIR}
+
+src_unpack() {
+ unzip -L -q ${DISTDIR}/q2-${PV}-x86-full-ctf.exe
+}
+
+src_install() {
+ games_get_cd Install
+ games_verify_cd Quake 2
+ if [ -e ${GAMES_CD}/Install/Data ] ; then
+ GAMES_CD=${GAMES_CD}/Install/Data
+ einfo "Source is the CD"
+ elif [ -e ${GAMES_CD}/baseq2 ] ; then
+ GAMES_CD=${GAMES_CD}
+ einfo "Source is an installed copy"
+ else
+ die "Could not determine what ${GAMES_CD} points at"
+ fi
+
+ dodoc DOCS/* 3.20_Changes.txt
+ newdoc ctf/readme.txt ctf-readme.txt
+ dohtml -r ${GAMES_CD}/DOCS/quake2_manual/*
+
+ dodir ${GAMES_DATADIR}/${PN}/baseq2
+
+ if [ `use videos` ] ; then
+ insinto ${GAMES_DATADIR}/${PN}/baseq2/video
+ doins ${GAMES_CD}/baseq2/video/*
+ fi
+
+ insinto ${GAMES_DATADIR}/${PN}/baseq2
+ doins ${GAMES_CD}/baseq2/pak0.pak || die "couldnt grab pak0.pak"
+ doins baseq2/*.pak || die "couldnt grab release paks"
+ doins baseq2/maps.lst || die "couldnt grab maps.lst"
+ cp -R baseq2/players ${D}/${GAMES_DATADIR}/${PN}/baseq2/ || die "couldnt grab player models"
+
+ insinto ${GAMES_DATADIR}/${PN}/ctf
+ doins ctf/*.{cfg,ico,pak} || die "couldnt grab ctf"
+
+ # install symlinks for all the packages that may utilize this ebuild
+ if has_version app-games/quake2-relnev ; then
+ einfo "Creating symlinks for quake2-relnev"
+ for qdir in "" -qmax ; do
+ basedir=${GAMES_LIBDIR}/quake2-relnev${qdir}/baseq2
+ ctfdir=${GAMES_LIBDIR}/quake2-relnev${qdir}/ctf
+ dodir ${basedir}
+ for f in pak{0,1,2}.pak players ; do
+ [ -e ${basedir}/${f} ] && continue
+ dosym ${GAMES_DATADIR}/${PN}/baseq2/${f} ${basedir}/${f}
+ done
+ dodir ${ctfdir}
+ [ -e ${ctfdir}/pak0.pak ] || \
+ dosym ${GAMES_DATADIR}/${PN}/ctf/pak0.pak ${ctfdir}/pak0.pak
+ done
+ fi
+
+ prepgamesdirs
+}
diff --git a/games-fps/quake2-relnev/ChangeLog b/games-fps/quake2-relnev/ChangeLog
new file mode 100644
index 000000000000..0fbb108ae8bf
--- /dev/null
+++ b/games-fps/quake2-relnev/ChangeLog
@@ -0,0 +1,22 @@
+# ChangeLog for app-games/quake2-relnev
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake2-relnev/ChangeLog,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+*quake2-relnev-0.15 (29 Jun 2003)
+
+ 30 Jun 2003; Mike Frysinger <vapier@gentoo.org> :
+ renamed (whoops) and added support to build qmax & normal binary.
+
+ 29 Jun 2003; Mike Frysinger <vapier@gentoo.org> :
+ Reworked and cleaned up to close #8222.
+ All optional features are supported and qmax has been added.
+
+*quake2-0.15.1 (18 Nov 2002)
+
+ 18 Nov 2002; Mike Frysinger <vapier@gentoo.org> :
+ Version bump from lundy.
+
+*quake2-0.14.1 (06 Nov 2002)
+
+ 06 Nov 2002; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by Mike Lundy <novas007@gmx.net>.
diff --git a/games-fps/quake2-relnev/Manifest b/games-fps/quake2-relnev/Manifest
new file mode 100644
index 000000000000..7ec4e3c88e71
--- /dev/null
+++ b/games-fps/quake2-relnev/Manifest
@@ -0,0 +1,9 @@
+MD5 c4c9ad87c21b6305be5a78f9e61d6b06 ChangeLog 797
+MD5 24e3ee9fcc2a675ce15de736691e0faa quake2-relnev-0.15.ebuild 3689
+MD5 2219e82edb75f4e2a9fa232afc365c5d files/0.15-Makefile-gcc3.patch 787
+MD5 ad5de2e8c5c06b69b3b5a2dd926a758f files/0.15-Makefile-optflags.patch 260
+MD5 705532a27c8fcec984b7f5273c726901 files/README-postinstall 2661
+MD5 d1eaa9430228f2926baf4d828fb48ba8 files/digest-quake2-relnev-0.15 121
+MD5 4dd05d1d316bcec9dc6a85dc3fe505c7 files/q2ded.start 40
+MD5 afd9fdae73f39df2f9d4acde3c136cf2 files/quake2.start 41
+MD5 aee1139d4eea3eca8321e7cac8d2a3c4 files/sdlquake2.start 44
diff --git a/games-fps/quake2-relnev/files/0.15-Makefile-gcc3.patch b/games-fps/quake2-relnev/files/0.15-Makefile-gcc3.patch
new file mode 100644
index 000000000000..938baba52061
--- /dev/null
+++ b/games-fps/quake2-relnev/files/0.15-Makefile-gcc3.patch
@@ -0,0 +1,19 @@
+--- Makefile.orig 2003-01-23 17:26:45.000000000 -0500
++++ Makefile 2003-01-23 17:26:54.000000000 -0500
+@@ -82,12 +82,12 @@
+ endif
+
+ ifeq ($(ARCH),i386)
+-RELEASE_CFLAGS=$(BASE_CFLAGS) -O2 -ffast-math -funroll-loops -malign-loops=2 \
+- -malign-jumps=2 -malign-functions=2 -g
++RELEASE_CFLAGS=$(BASE_CFLAGS) -O2 -ffast-math -funroll-loops -falign-loops=2 \
++ -falign-jumps=2 -falign-functions=2 -g
+ # compiler bugs with gcc 2.96 and 3.0.1 can cause bad builds with heavy opts.
+ #RELEASE_CFLAGS=$(BASE_CFLAGS) -O6 -m486 -ffast-math -funroll-loops \
+-# -fomit-frame-pointer -fexpensive-optimizations -malign-loops=2 \
+-# -malign-jumps=2 -malign-functions=2
++# -fomit-frame-pointer -fexpensive-optimizations -falign-loops=2 \
++# -falign-jumps=2 -falign-functions=2
+ endif
+
+ VERSION=3.21+rCVS
diff --git a/games-fps/quake2-relnev/files/0.15-Makefile-optflags.patch b/games-fps/quake2-relnev/files/0.15-Makefile-optflags.patch
new file mode 100644
index 000000000000..71a674a2e63f
--- /dev/null
+++ b/games-fps/quake2-relnev/files/0.15-Makefile-optflags.patch
@@ -0,0 +1,10 @@
+--- Makefile.orig 2003-06-28 22:04:22.000000000 -0400
++++ Makefile 2003-06-28 22:04:54.000000000 -0400
+@@ -342,6 +342,7 @@
+ TARGETS += $(BUILDDIR)/ref_softaa.$(SHLIBEXT)
+ endif
+
++RELEASE_CFLAGS += $(OPTCFLAGS)
+ all: build_debug build_release
+
+ build_debug:
diff --git a/games-fps/quake2-relnev/files/README-postinstall b/games-fps/quake2-relnev/files/README-postinstall
new file mode 100644
index 000000000000..20bae30ad469
--- /dev/null
+++ b/games-fps/quake2-relnev/files/README-postinstall
@@ -0,0 +1,69 @@
+This was taken from the README file in the source distribution
+and cleaned up a bit. Read all of this, or at least skim it. Please?
+
+Note:
+1. If you install a new compile of quake2, you'll lose your savegames. I'm
+sorry. Don't upgrade in the middle of a single-player game.
+
+To install the Quake2 demo data:
+--------------------------------
+1. download ftp://ftp.idsoftware.com/idstuff/quake2/q2-314-demo-x86.exe
+2. unzip -L q2-314-demo-x86.exe into a temp directory
+3. cp baseq2/pak0.pak to /usr/share/games/quake2/baseq2/pak0.pak
+
+===============================================================================
+
+To install the Quake2 gamedata from game CD:
+-------------------------------
+(assuming the cdrom is mounted at /cdrom)
+
+1. cp /cdrom/Install/Data/baseq2/pak0.pak /usr/share/games/quake2/baseq2/
+
+2. cp /cdrom/Install/Data/baseq2/video/ /usr/share/games/quake2/baseq2/
+ (optional)
+
+3. Download ftp://ftp.idsoftware.com/idstuff/quake2/q2-3.20-x86-full.exe
+ and extract the contents to a temporary directory (use unzip -L, as this
+ is a standard zip file).
+
+4. cp <temp directory>/baseq2/pak1.pak /usr/share/games/quake2/baseq2/
+5. cp <temp directory>/baseq2/pak2.pak /usr/share/games/quake2/baseq2/
+6. cp <temp directory>/baseq2/players/ /usr/share/games/quake2/baseq2/
+
+7. if you really want to use the crakhor model, you can find the
+ skins/sounds on websites like http://www.mike-d.com/games/modskins.html
+ (optional)
+
+===============================================================================
+
+Capture The Flag:
+-----------
+To run Capture The Flag, you need to do the following:
+
+1. Download ftp://ftp.idsoftware.com/idstuff/quake2/q2-3.20-x86-full-ctf.exe
+2. unzip that file (using unzip -L) into a temp directory
+3. cp <temp directory>/ctf /usr/share/games/quake2/
+
+Execute quake2 with:
+
+quake2 +set game ctf +set dedicated 1
+ -- or --
+q2ded +set game ctf
+===============================================================================
+
+Joystick Support:
+-----------------
+Joystick should function on all compatible SDL platforms using the sdlquake2
+binary as well as on linux using the linux kernel joystick API.
+
+Joystick obeys the same free-look/strafe rules as mouse. You can set these in
+the options menu.
+
+There are four command line settings for joystick:
+1. j_invert_y [1],0 if set to zero pulling back on the joystick points down
+2. j_lr_axis [0] set the axis which controls left right movement
+3. j_ud_axis [1] set the axis which controls up down (in free-look) or
+ forward back (freelock off)
+4. j_throttle [3] set the axis which controls the players forward backward
+ throttle (if free-look is true)
+
diff --git a/games-fps/quake2-relnev/files/digest-quake2-relnev-0.15 b/games-fps/quake2-relnev/files/digest-quake2-relnev-0.15
new file mode 100644
index 000000000000..82a726e09d3b
--- /dev/null
+++ b/games-fps/quake2-relnev/files/digest-quake2-relnev-0.15
@@ -0,0 +1,2 @@
+MD5 9e16f29db33715f2f9420b5bb31e6263 quake2-r0.15.tar.gz 2660511
+MD5 04d3f1fb7fb4dada7175a41f4595c7eb maxpak.pak 3282742
diff --git a/games-fps/quake2-relnev/files/q2ded.start b/games-fps/quake2-relnev/files/q2ded.start
new file mode 100644
index 000000000000..680d599a3982
--- /dev/null
+++ b/games-fps/quake2-relnev/files/q2ded.start
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd GENTOO_LIBDIR
+./q2ded ${@}
diff --git a/games-fps/quake2-relnev/files/quake2.start b/games-fps/quake2-relnev/files/quake2.start
new file mode 100644
index 000000000000..210c4b8cce2f
--- /dev/null
+++ b/games-fps/quake2-relnev/files/quake2.start
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd GENTOO_LIBDIR
+./quake2 ${@}
diff --git a/games-fps/quake2-relnev/files/sdlquake2.start b/games-fps/quake2-relnev/files/sdlquake2.start
new file mode 100644
index 000000000000..5cae6d72b83f
--- /dev/null
+++ b/games-fps/quake2-relnev/files/sdlquake2.start
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd GENTOO_LIBDIR
+./sdlquake2 ${@}
diff --git a/games-fps/quake2-relnev/quake2-relnev-0.15.ebuild b/games-fps/quake2-relnev/quake2-relnev-0.15.ebuild
new file mode 100644
index 000000000000..e4ff332678e1
--- /dev/null
+++ b/games-fps/quake2-relnev/quake2-relnev-0.15.ebuild
@@ -0,0 +1,133 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake2-relnev/quake2-relnev-0.15.ebuild,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+inherit games eutils gcc
+
+MY_P=quake2-r${PV}
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="The Icculus linux port of ID's quake2 engine"
+SRC_URI="http://icculus.org/quake2/files/${MY_P}.tar.gz
+ !noqmax? ( http://icculus.org/quake2/files/maxpak.pak )"
+HOMEPAGE="http://icculus.org/quake2/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 ppc sparc"
+IUSE="svga X sdl aalib opengl noqmax"
+
+# default to X11 if svga/X/sdl/aalib are not in USE
+DEPEND="svga? ( media-libs/svgalib )
+ arts? ( kde-base/arts )
+ X? ( virtual/x11 )
+ sdl? ( media-libs/libsdl )
+ aalib? ( media-libs/aalib )
+ opengl? ( virtual/opengl )
+ || ( svga? ( "" ) X? ( "" ) sdl? ( "" ) aalib? ( "" ) virtual/x11 )"
+PDEPEND="app-games/quake2-data"
+
+src_unpack() {
+ unpack ${MY_P}.tar.gz
+ cd ${S}
+ [ `gcc-major-version` == 3 ] && epatch ${FILESDIR}/${PV}-Makefile-gcc3.patch
+ epatch ${FILESDIR}/${PV}-Makefile-optflags.patch
+}
+
+yesno() {
+ for f in $@ ; do
+ [ `use $f` ] || { echo NO ; return 1 ; }
+ done
+ echo YES
+ return 0
+}
+
+src_compile() {
+ BUILD_X11=`yesno X`
+ use sdl || use X || use svga || use aalib || BUILD_X11=YES
+
+ # xatrix fails to build
+ # rogue fails to build
+ for BUILD_QMAX in YES NO ; do
+ [ `use noqmax` ] && [ "${BUILD_QMAX}" == "YES" ] && continue
+ make clean || die "cleaning failed"
+ make build_release \
+ BUILD_SDLQUAKE2=`yesno sdl` \
+ BUILD_SVGA=`yesno svga` \
+ BUILD_X11=${BUILD_X11} \
+ BUILD_GLX=`yesno opengl X` \
+ BUILD_SDL=`yesno sdl` \
+ BUILD_SDLGL=`yesno sdl opengl` \
+ BUILD_CTFDLL=YES \
+ BUILD_XATRIX=NO \
+ BUILD_ROGUE=NO \
+ BUILD_JOYSTICK=`yesno joystick` \
+ BUILD_DEDICATED=YES \
+ BUILD_AA=`yesno aalib` \
+ BUILD_QMAX=${BUILD_QMAX} \
+ HAVE_IPV6=NO \
+ BUILD_ARTS=NO \
+ SDLDIR=/usr/lib \
+ BUILD_ARTS=`yesno arts` \
+ OPTCFLAGS="${CFLAGS}" \
+ || die "make failed"
+ #HAVE_IPV6=`yesno ipv6` \
+ # now we save the build dir ... except for the object files ...
+ mv release* my-rel-${BUILD_QMAX}
+ cd my-rel-${BUILD_QMAX}
+ rm -rf ref_{gl,soft} ded game client ctf/*.o
+ mkdir baseq2
+ mv game*.so baseq2/
+ cd ..
+ done
+}
+
+src_install() {
+ local q2dir=${GAMES_LIBDIR}/${PN}
+ local q2maxdir=${GAMES_LIBDIR}/${PN}-qmax
+
+ dodoc readme.txt README TODO ${FILESDIR}/README-postinstall
+
+ # regular q2 files
+ dodir ${q2dir}
+ cp -rf my-rel-NO/* ${D}/${q2dir}
+ strip my-rel-NO/{*,*/*}
+
+ into ${GAMES_PREFIX}
+ newbin ${FILESDIR}/quake2.start quake2
+ newbin ${FILESDIR}/q2ded.start q2ded
+ if [ `use sdl` ] ; then
+ newbin ${FILESDIR}/sdlquake2.start sdlquake2
+ dosed "s:GENTOO_LIBDIR:${q2dir}:" ${GAMES_BINDIR}/sdlquake2
+ fi
+ dosed "s:GENTOO_LIBDIR:${q2dir}:" ${GAMES_BINDIR}/quake2
+ dosed "s:GENTOO_LIBDIR:${q2dir}:" ${GAMES_BINDIR}/q2ded
+
+ # q2max files
+ if [ ! `use noqmax` ] ; then
+ dodir ${q2maxdir}
+ cp -rf my-rel-YES/* ${D}/${q2maxdir}/
+
+ into ${GAMES_PREFIX}
+ newbin ${FILESDIR}/quake2.start quake2-qmax
+ newbin ${FILESDIR}/q2ded.start q2ded-qmax
+ if [ `use sdl` ] ; then
+ newbin ${FILESDIR}/sdlquake2.start sdlquake2-qmax
+ dosed "s:GENTOO_LIBDIR:${q2maxdir}:" ${GAMES_BINDIR}/sdlquake2-qmax
+ fi
+ dosed "s:GENTOO_LIBDIR:${q2maxdir}:" ${GAMES_BINDIR}/quake2-qmax
+ dosed "s:GENTOO_LIBDIR:${q2maxdir}:" ${GAMES_BINDIR}/q2ded-qmax
+
+ insinto ${q2maxdir}/baseq2
+ doins ${DISTDIR}/maxpak.pak
+ fi
+
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ einfo "Go read /usr/share/doc/${PF}/README-postinstall.gz right now!"
+ einfo "It's important- This install is just the engine, you still need"
+ einfo "the data paks. Go read."
+ games_pkg_postinst
+}
diff --git a/games-fps/quake3-alternatefire/ChangeLog b/games-fps/quake3-alternatefire/ChangeLog
new file mode 100644
index 000000000000..481e08cc3e26
--- /dev/null
+++ b/games-fps/quake3-alternatefire/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-games/quake3-alternatefire
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-alternatefire/ChangeLog,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+*quake3-alternatefire-2.0 (29 Nov 2002)
+
+ 15 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Updated to use games-q3mod.eclass #23871.
+
+ 29 Nov 2002; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by CJ Kucera <pez@apocalyptech.com>.
diff --git a/games-fps/quake3-alternatefire/Manifest b/games-fps/quake3-alternatefire/Manifest
new file mode 100644
index 000000000000..1756833dab18
--- /dev/null
+++ b/games-fps/quake3-alternatefire/Manifest
@@ -0,0 +1,4 @@
+MD5 f67ccc41ebbe19157830bc66a1663111 files/digest-quake3-alternatefire-2.0 67
+MD5 87a816d75194c4ba4504efa98f9b6a2b files/server.cfg 3645
+MD5 0264757d2368483ce3c477fba285ef40 quake3-alternatefire-2.0.ebuild 480
+MD5 657e0a38c4f7fed10b49f19c7035c2de ChangeLog 505
diff --git a/games-fps/quake3-alternatefire/files/digest-quake3-alternatefire-2.0 b/games-fps/quake3-alternatefire/files/digest-quake3-alternatefire-2.0
new file mode 100644
index 000000000000..6f1eeb73b39c
--- /dev/null
+++ b/games-fps/quake3-alternatefire/files/digest-quake3-alternatefire-2.0
@@ -0,0 +1 @@
+MD5 31aa389d47b4eb6f34c6869a978e409e alternatefire-2.0.zip 2015159
diff --git a/games-fps/quake3-alternatefire/files/server.cfg b/games-fps/quake3-alternatefire/files/server.cfg
new file mode 100644
index 000000000000..0ee5c8a202e3
--- /dev/null
+++ b/games-fps/quake3-alternatefire/files/server.cfg
@@ -0,0 +1,109 @@
+// Sample .cfg file for the Alternate Fire mod
+// ==================================================================
+
+// It's set up for CTF, since that's my favorite game type :)
+// (besides, the lightning web is just awesome in CTF).
+
+// ---- General setup ----
+
+seta sv_pure 1
+seta sv_hostname "Gentoo - Alternate Fire"
+seta sv_maxclients 10
+seta sv_floodprotect 0
+seta g_motd "Welcome to AlternateFire"
+seta g_allowVote 1
+
+// Kick 'em after 3 minutes if they go inactive
+seta g_inactivity 180
+
+// Yes, they do need the z-alternatefire-0xx.pk3
+// Make sure it's in the right place ("alternatefire", not "baseq3")
+// (If you're running this on Linux, put it in ~/.q3a/alternatefire
+// or it won't upload)
+seta sv_allowDownload 1
+// Also, make sure you remove the old .pk3 when you upgrade!
+
+// ---- Bots ----
+
+seta bot_enable 1
+// This is per-team in team games
+seta bot_minplayers 4
+
+// ---- Game parameters ----
+
+// 0 - Free For All, 1 - Tournament,
+// 3 - Team Deathmatch, 4 - Capture the Flag
+seta g_gametype 4
+seta capturelimit 8
+seta timelimit 20
+seta g_friendlyFire 0
+
+// ---- Extra-special new stuff ----
+
+// Uncomment this if you want no falling damage
+//g_fallingDamage 0
+
+// Uncomment this if you want self damage to only damage armor
+// Set it to 0 to disable self damage altogether (default: 2)
+//g_selfDamage 1
+
+// Uncomment this if you like to play CTF the "old" way
+// (the player only has to touch his flag to return it)
+//g_returnFlag 0
+
+// Uncomment this if you want a mad, mad, mad game of
+// multi-flag CTF (everyone can have their own flag!)
+//g_multiFlag 1
+
+// Uncomment this if you want an offhand grapple
+// Your players will need to bind +button6 to something,
+// or set up their grapples in SETUP->CONTROLS->SHOOT
+// WARNING: The grappling hook IS NOT client-side predicted,
+// which means it's awful for anybody with a ping over 100
+//g_offhandGrapple 1
+
+// ---- Chat/Name Filter ----
+
+// ** PLEASE READ THE README BEFORE ENABLING THESE OPTIONS **
+
+// Uncomment this to force every client's chat filter on
+// They can override this in the GAME OPTIONS menu - which
+// means that setting this really just makes the chat filter
+// opt-out
+//g_forceChatFilter 1
+
+// Uncomment this to force every client's name filter and
+// kick players with dirty names
+//g_forceNameFilter 1
+
+// ** Be careful with the next two - the chat filter may
+// act differently than you think. Read the README. **
+
+// Use this to add words for chat filtering (separate words
+// with spaces, use an underscore ("_") in place of a space
+// if you need to filter phrases)
+//g_filteredWords
+
+// Use this to filter additional names - same format as above
+//g_filteredNames "bin_laden terrorist"
+
+// ---- Map rotation ----
+
+// An id/threewave CTF map rotation
+// Even if you don't use this rotation, I suggest using "d1"
+// as the command for the first map, since players can vote
+// to reset the map rotation. That action will set nextmap
+// to "vstr d1".
+set d1 "map q3ctf1; set nextmap vstr d2"
+set d2 "map q3wctf2; set nextmap vstr d3"
+set d3 "map q3ctf4; set nextmap vstr d4"
+set d4 "map q3wctf1; set nextmap vstr d5"
+set d5 "map q3ctf2; set nextmap vstr d6"
+set d6 "map q3wctf3; set nextmap vstr d7"
+set d7 "map q3ctf3; set nextmap vstr d1"
+vstr d1
+
+// If you want to change the game type (and other things) per map, do stuff like this:
+//set d1 "set g_gametype 0; set fraglimit 20; map q3dm17; set nextmap vstr d2"
+//set d2 "set g_gametype 1; set fraglimit 15; set timelimit 10; map q3tourney3; set nextmap vstr d1"
+//vstr d1
diff --git a/games-fps/quake3-alternatefire/quake3-alternatefire-2.0.ebuild b/games-fps/quake3-alternatefire/quake3-alternatefire-2.0.ebuild
new file mode 100644
index 000000000000..665ced0c1ecc
--- /dev/null
+++ b/games-fps/quake3-alternatefire/quake3-alternatefire-2.0.ebuild
@@ -0,0 +1,12 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-alternatefire/quake3-alternatefire-2.0.ebuild,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+MOD_DESC="Alternate Fire"
+MOD_NAME=alternatefire
+inherit games games-q3mod
+
+SRC_URI="http://network3.filefront.com/planetquake3/alternatefire-${PV}.zip"
+HOMEPAGE="http://www.planetquake.com/alternatefire/"
+
+LICENSE="freedist"
diff --git a/games-fps/quake3-cpma/ChangeLog b/games-fps/quake3-cpma/ChangeLog
new file mode 100644
index 000000000000..7371b9c012ec
--- /dev/null
+++ b/games-fps/quake3-cpma/ChangeLog
@@ -0,0 +1,41 @@
+# ChangeLog for app-games/quake3-cpma
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# Author: Alexander Gretencord <arutha@gmx.de>
+
+*quake3-cpma-1.1 (16 Jul 2003)
+
+ 16 Jul 2003; Mike Frysinger <vapier@gentoo.org>:
+ Version bump + games-q3mod.eclass support #23871.
+
+*quake3-cpma-0.99_rc8.ebuild (23 Oct 2002)
+
+ 23 Oct 2002; Mike Frysinger <vapier@gentoo.org> quake3-cpma-0.99_rc8.ebuild
+ quake3-cpma.env.d :
+ Version bumpbed and added an env.d file to protect the server.cfg file
+
+*quake3-cpma-0.99_rc7.ebuild (15 Oct 2002)
+
+ 15 Oct 2002; Mike Frysinger <vapier@gentoo.org> quake3-cpma-0.99x-r2.ebuild
+ quake3-cpma-0.99x.ebuild quake3-cpma-0.99_rc7.ebuild :
+ Removed old files and added a new one for package naming/upgrade ... stupid x ;)
+
+*quake3-cpma-0.99x-r2.ebuild (17 julio 2002)
+
+ 06 Aug 2002; Mark Guertin <gerk@gentoo.org> :
+ Added -ppc to keywords
+
+ 20 Jul 2002: Jose Alberto Suárez López <bass@gentoo.org> quake3-cpma-0.99x-r2.ebuild:
+ Really fixed perms.
+
+ 17 jul 2002; Jose Alberto Suárez López <bass@gentoo.org> quake3-cpma-0.99x-r2.ebuild :
+ Added KEYWORDS.
+# Maintaniner: José Alberto Suárez López <bass@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-cpma/ChangeLog,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+*quake3-cpma (25 Jun 2002)
+
+ 17 jul 2002; Jose Alberto Suárez López <bass@gentoo.org> quake3-cpma-0.99x.ebuild :
+ Added LICENSE, KEYWORDS, SLOT.
+
+ 25 Jun 2002; J.Alberto S.L. <bass@gentoo.org> quake3-cpma-0.99x.ebuild:
+ First relase.
diff --git a/games-fps/quake3-cpma/Manifest b/games-fps/quake3-cpma/Manifest
new file mode 100644
index 000000000000..fe3854a2df56
--- /dev/null
+++ b/games-fps/quake3-cpma/Manifest
@@ -0,0 +1,4 @@
+MD5 7cbe6e9c20551b1f07c8b6de5b102200 files/server.cfg 2977
+MD5 b998fca9e20a6ad1d8fe576fdd787e5b files/digest-quake3-cpma-1.1 62
+MD5 5cc47631f4c57f18237c2afc50b5ba99 ChangeLog 1527
+MD5 ee5ca6b953423d4efe17f2347017378a quake3-cpma-1.1.ebuild 421
diff --git a/games-fps/quake3-cpma/files/digest-quake3-cpma-1.1 b/games-fps/quake3-cpma/files/digest-quake3-cpma-1.1
new file mode 100644
index 000000000000..09c64bdaecbe
--- /dev/null
+++ b/games-fps/quake3-cpma/files/digest-quake3-cpma-1.1
@@ -0,0 +1 @@
+MD5 aea6f473261a96c13dd5080681a645a0 cpma110maps.zip 65862990
diff --git a/games-fps/quake3-cpma/files/server.cfg b/games-fps/quake3-cpma/files/server.cfg
new file mode 100644
index 000000000000..352d1e8e69fd
--- /dev/null
+++ b/games-fps/quake3-cpma/files/server.cfg
@@ -0,0 +1,146 @@
+// Server Information
+//=========================
+sets ".admin" ""
+sets ".email" ""
+sets ".www" ""
+sets ".location" ""
+sets ".irc" ""
+
+
+seta sv_pure 1
+seta server_ospauth 1
+seta sv_hostname "CPMA"
+seta sv_maxclients 13
+seta sv_privateclients 1
+seta admin_log "adm.log"
+seta logfile 3
+seta g_log "games.log"
+seta filter_file ""
+seta log_default 0
+seta log_stat 0
+seta viewcam_directory ""
+
+
+seta sv_maxping 0
+seta sv_minping 0
+seta server_maxrate 25000
+seta sv_minrate 0
+seta server_maxpacketsmax 100
+seta server_minpacketsmax 30
+seta server_timenudgemax 100
+seta server_timenudgemin -25
+seta sv_allowdownload 1
+seta sv_floodprotect 0
+seta server_customclient 15
+seta server_pure 1
+seta server_promode 0
+seta server_realping 1
+seta server_thrufloors 1
+seta pmove_fixed 1
+seta pmove_msec 8
+seta g_inactivity 600
+seta bot_enable 0
+
+
+// MOTD Text
+//=========================
+seta server_motd1 "This server is powered by Gentoo Linux"
+seta server_motd2 ""
+seta server_motd3 ""
+seta server_motd4 ""
+
+
+// Password Settings
+//=========================
+set g_password ""
+seta ref_password "none"
+seta rconpassword ""
+seta sv_privatePassword ""
+
+
+// Set GameType Clan Arena
+//=========================
+seta g_gametype 5
+seta scorelimit 5
+
+
+// Match Settings
+//=========================
+seta g_doWarmup 0
+seta g_warmup 5
+seta match_mutespecs 0
+seta match_roundtimer 5
+seta match_timeoutcount 0
+seta match_timeoutlength 60
+seta match_hurtself 0
+seta match_startrespawn 0
+seta server_fallingdamage 0
+seta server_healthdamageself 0
+seta server_healthdamageteam 0
+seta server_armordamageself 0
+seta server_armordamageteam 0
+seta server_startrespawn 0
+
+
+// Vote/Callvote Settings
+//=========================
+seta g_allowVote 1
+seta vote_limit 10
+seta vote_percent 80
+
+
+seta vote_allow_armordamage 0
+seta vote_allow_fallingdamage 0
+seta vote_allow_flood 0
+seta vote_allow_map 1
+seta vote_allow_kick 1
+seta vote_allow_mutespecs 1
+seta vote_allow_referee 1
+seta vote_allow_limit 1
+seta vote_allow_bfg 0
+seta vote_allow_pure 0
+seta vote_allow_promode 0
+seta vote_allow_maxpackets 0
+seta vote_allow_timenudge 0
+seta vote_allow_startrespawn 0
+seta vote_allow_arenatype 0
+seta vote_allow_items 0
+seta vote_allow_altgraphics 0
+seta vote_allow_exec 0
+seta vote_allow_fastrail 0
+seta vote_allow_hook 0
+seta vote_allow_instagib 1
+seta vote_allow_lgcooldown 0
+seta vote_allow_allcaptain 0
+seta vote_allow_armor 1
+seta vote_allow_armorsystem 0
+seta vote_allow_overtime 0
+seta vote_allow_pmove 0
+seta vote_allow_poweruprespawn 0
+seta vote_allow_scorelimit 1
+seta vote_allow_teamdamage 0
+seta vote_allow_timelimit 0
+seta vote_allow_vstr 1
+seta vote_allow_weaponrespawn 0
+
+
+// Map Settings
+//=========================
+seta map_queue 1
+seta map_rotate 0
+seta map_once 1
+seta map_random 1
+seta map_nocount 0
+seta map_halt 0
+
+
+seta item_disable 1023
+seta powerup_disable 255
+seta weapon_deaddrop 0
+seta weapon_have 127
+seta weapon_start 8
+
+
+// Load This Map by Default
+//=========================
+map q3tourney5
diff --git a/games-fps/quake3-cpma/quake3-cpma-1.1.ebuild b/games-fps/quake3-cpma/quake3-cpma-1.1.ebuild
new file mode 100644
index 000000000000..092064b9d194
--- /dev/null
+++ b/games-fps/quake3-cpma/quake3-cpma-1.1.ebuild
@@ -0,0 +1,12 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-cpma/quake3-cpma-1.1.ebuild,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+MOD_DESC="CPMA"
+MOD_NAME=cpma
+inherit games games-q3mod
+
+SRC_URI="http://www.challenge-tv.com/demostorage/files/cpm/cpma110maps.zip"
+HOMEPAGE="http://www.promode.org/"
+
+LICENSE="as-is"
diff --git a/games-fps/quake3-demo/ChangeLog b/games-fps/quake3-demo/ChangeLog
new file mode 100644
index 000000000000..7a57348b6d61
--- /dev/null
+++ b/games-fps/quake3-demo/ChangeLog
@@ -0,0 +1,13 @@
+# ChangeLog for app-games/quake3-demo
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-demo/ChangeLog,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+ 18 Jul 2003; Chris Gianelloni <wolf31o2@gentoo.org> quake3-demo-1.11.ebuild,
+ files/q3ded-demo, files/q3demo-ded:
+ Fixed LICENSE, changed dedicated server script to better match the rest of the
+ app-games ebuilds, and removed X USE variable, due to it being redundant.
+
+*quake3-demo-1.11 (07 Jul 2003)
+
+ 07 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me.
diff --git a/games-fps/quake3-demo/Manifest b/games-fps/quake3-demo/Manifest
new file mode 100644
index 000000000000..3ad51be52f48
--- /dev/null
+++ b/games-fps/quake3-demo/Manifest
@@ -0,0 +1,5 @@
+MD5 7574d5a1c3a61c0fe24c3d32c322dc72 ChangeLog 629
+MD5 4bcce7b6911a1034ad0ee02f09a68afe quake3-demo-1.11.ebuild 1639
+MD5 a196153129cbcfabf053af509f903ec5 files/q3demo-ded 46
+MD5 dd74518cee4bbd913299bd765334f870 files/digest-quake3-demo-1.11 76
+MD5 b156aeec9b813121da7af4de972ee404 files/q3demo 47
diff --git a/games-fps/quake3-demo/files/digest-quake3-demo-1.11 b/games-fps/quake3-demo/files/digest-quake3-demo-1.11
new file mode 100644
index 000000000000..28d94005c5c7
--- /dev/null
+++ b/games-fps/quake3-demo/files/digest-quake3-demo-1.11
@@ -0,0 +1 @@
+MD5 484610c1ce34272223a52ec331c99d5d linuxq3ademo-1.11-6.x86.gz.sh 49289300
diff --git a/games-fps/quake3-demo/files/q3demo b/games-fps/quake3-demo/files/q3demo
new file mode 100644
index 000000000000..048500121770
--- /dev/null
+++ b/games-fps/quake3-demo/files/q3demo
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd GENTOO_DIR
+exec ./q3demo.x86 ${@}
diff --git a/games-fps/quake3-demo/files/q3demo-ded b/games-fps/quake3-demo/files/q3demo-ded
new file mode 100644
index 000000000000..2b97e4ee2d48
--- /dev/null
+++ b/games-fps/quake3-demo/files/q3demo-ded
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd GENTOO_DIR
+exec ./q3ded.x86 ${@}
diff --git a/games-fps/quake3-demo/quake3-demo-1.11.ebuild b/games-fps/quake3-demo/quake3-demo-1.11.ebuild
new file mode 100644
index 000000000000..dbde11f5d48d
--- /dev/null
+++ b/games-fps/quake3-demo/quake3-demo-1.11.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-demo/quake3-demo-1.11.ebuild,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+inherit games eutils
+
+DESCRIPTION="Quake III Arena - Demo version"
+HOMEPAGE="http://www.idsoftware.com/games/quake/quake3-arena/"
+SRC_URI="ftp://ftp.idsoftware.com/idstuff/quake3/linux/linuxq3ademo-${PV}-6.x86.gz.sh
+ ftp://3dgamers.in-span.net/pub/3dgamers3/games/quake3arena/linuxq3ademo-${PV}-6.x86.gz.sh
+ ftp://ftp.bluesnews.com/idstuff/quake3/linux/linuxq3ademo-${PV}-6.x86.gz.sh"
+
+LICENSE="Q3AEULA"
+SLOT="0"
+KEYWORDS="-* x86"
+IUSE="opengl dedicated 3dfx"
+
+DEPEND=""
+RDEPEND="dedicated? ( app-misc/screen )
+ !dedicated? ( virtual/opengl )
+ opengl? ( virtual/opengl )"
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack_makeself
+}
+
+src_install() {
+ local dir=${GAMES_PREFIX_OPT}/${PN}
+ dodir ${dir}
+
+ cp -rf Help ${D}/${dir}/
+ cp -rf demoq3 ${D}/${dir}/
+
+ exeinto ${dir}
+ newexe bin/x86/glibc-2.0/q3ded q3ded.x86
+ newexe bin/x86/glibc-2.0/q3demo q3demo.x86
+ use 3dfx && doexe bin/x86/glibc-2.0/libMesaVoodooGL.so*
+ #use opengl && dosym /usr/lib/libGL.so ${dir}/libGL.so
+
+ doexe ${FILESDIR}/{q3demo,q3demo-ded}
+ dodir ${GAMES_BINDIR}
+ dosym ${dir}/q3demo ${GAMES_BINDIR}/q3demo
+ dosym ${dir}/q3ded-demo ${GAMES_BINDIR}/q3demo-ded
+ dosed "s:GENTOO_DIR:${dir}:" ${dir}/q3demo
+ dosed "s:GENTOO_DIR:${dir}:" ${dir}/q3demo-ded
+
+ insinto ${dir}
+ doins README icon.*
+
+ prepgamesdirs
+ make_desktop_entry q3demo "Quake III Demo"
+}
+
+pkg_postinst() {
+ einfo "To play the game run:"
+ einfo " q3demo"
+
+ games_pkg_postinst
+}
diff --git a/games-fps/quake3-nsco/ChangeLog b/games-fps/quake3-nsco/ChangeLog
new file mode 100644
index 000000000000..2a9c76de6804
--- /dev/null
+++ b/games-fps/quake3-nsco/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-games/quake3-nsco
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-nsco/ChangeLog,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+*quake3-nsco-1.45 (29 Nov 2002)
+
+ 02 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Tweaks/fixes for #20384 and games-q3mod.eclass support.
+
+ 29 Nov 2002; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by Alexander Gretencord <arutha@gmx.de>.
diff --git a/games-fps/quake3-nsco/Manifest b/games-fps/quake3-nsco/Manifest
new file mode 100644
index 000000000000..826ccdff5b67
--- /dev/null
+++ b/games-fps/quake3-nsco/Manifest
@@ -0,0 +1,4 @@
+MD5 dbd2c723d721007601bca3fa2284e3a4 files/digest-quake3-nsco-1.45 65
+MD5 3e59065ae6d2029609206ae8c19aadd8 files/server.cfg 3518
+MD5 e50d573fb68592138c2f630a77fbf85d quake3-nsco-1.45.ebuild 510
+MD5 35cd6d2092edbc872563e5221e8852aa ChangeLog 497
diff --git a/games-fps/quake3-nsco/files/digest-quake3-nsco-1.45 b/games-fps/quake3-nsco/files/digest-quake3-nsco-1.45
new file mode 100644
index 000000000000..85a9983a826c
--- /dev/null
+++ b/games-fps/quake3-nsco/files/digest-quake3-nsco-1.45
@@ -0,0 +1 @@
+MD5 8408c33fc6278d2c687fc0e0e5d27670 nsco_b145full.zip 322314447
diff --git a/games-fps/quake3-nsco/files/server.cfg b/games-fps/quake3-nsco/files/server.cfg
new file mode 100644
index 000000000000..2a0eba41e0f6
--- /dev/null
+++ b/games-fps/quake3-nsco/files/server.cfg
@@ -0,0 +1,97 @@
+// *NOTE* any line that starts with "//" is ignored by quake.
+// changed:
+// 10.03.02 by defcon-x/defcon-x@ns-co.net
+// 11.03.02 by defcon-x/defcon-x@ns-co.net - setted sv_floodprotect 0 as default value.
+// 08.05.02 by defcon-x/defcon-x@ns-co.net - added new beta 1.1 cvars
+// 19.05.02 by defcon-x/defcon-x@ns-co.net - added new beta 1.1 cvars
+// 29.06.02 by defcon-x/defcon-x@ns-co.net - added new beta 1.2 cvars
+// removed cvar mapcycle
+// added new ns-co master server
+// 29.07.02 by defcon-x/defcon-x@ns-co.net - updated server.cfg for b1.3
+// 29.08.02 by defcon-x/defcon-x@ns-co.net - updated server.cfg for b1.45
+
+//
+// please see the cvars.txt
+//
+
+//*** Administrator Info ***
+sets Admin "Gentoo Admin"
+sets Email "UnnamedAdmin@NoEmail"
+
+//*** Server Name and Daily Message ***
+set sv_hostname "Navy Seals : Covert Operations [BETA 1.45] powered by Gentoo Linux"
+set g_motd "www.ns-co.net, www.gentoo.org"
+
+//*** Game Settings ***
+set sv_maxclients "18"
+// set g_maxGameClients ""
+set sv_privateClients "0"
+set g_gametype "3"
+set roundtime "4"
+set teampointlimit "15"
+
+// do not remove the following line, or set the cvar to 1
+set sv_floodprotect "0" // this should be set to "0" by default.
+// it's important for a proper XP usage
+
+set g_noPrimary "0" // prevent the usage of primarys
+set g_noSecondary "0" // * secondarys
+set g_noGrenades "0" // and grenades
+set g_allowMapVote "1" // allow the voting of maps
+set g_allowKickVote "1" // allow the kick voting of players
+
+// 1 enables friendly fire
+set g_friendlyFire "1"
+
+// memory management
+// only use these settings if you want the best memory usage
+// on dedicated servers.
+seta com_soundMegs "0"
+seta com_zoneMegs "8"
+seta com_hunkMegs "38"
+
+set g_basexp "15"
+set g_inventoryupdatetime "5"
+set g_maxteamkill "3" // 3 teamkills until a player gets kicked for TK
+set g_TeamKillRemoveTime "300" // remove one teamkill after not killing for 5 minutes
+set g_overridegoals "0"
+//*** Less Packets ***
+// set g_silentbullets "1" // bullets are not SENT to the clients
+// set g_reallead "1" // real bullets instead of instat-hit ray-test weapons
+set g_teamlockcamera "0" // lock chasecamera so players can only spectate their teammates - for clangames very useful
+set g_minplayers "1" // starts the round as soon as X players are in each team - for clangames very useful
+
+//*** Passwords ***
+// set rconpassword "-----"
+// set sv_privatePassword "-----"
+// set g_password "-----"
+
+//*** Bot Setup ***
+set bot_enable "0"
+set bot_minplayers "0"
+set bot_maxplayers "0"
+
+//*** Server Settings ***
+set sv_pure "1"
+set g_allowvote "1"
+set sv_allowdownload "0"
+set gamename "seals"
+set sv_maxRate "15000"
+set g_log "seals.log"
+
+set g_inactivity "90" // kick after 90 seconds of inactivity on server
+set g_firstcountdown "30" // the first round has a countdown of 30 seconds
+
+//*** Master Servers ***
+set sv_master1 "ns-co.org" // primary ns-co master
+set sv_master2 "master1.idsoftware.com"
+set sv_master3 "master2.idsoftware.com"
+set sv_master4 "master3.idsoftware.com"
+set sv_master5 "master4.idsoftware.com"
+
+
+//*** Mapcycle ***
+set g_mapcycle "configs/mapcycle.cfg" // leave this as default
+
+//execute a map in the cycle
+map ns_ghetto
diff --git a/games-fps/quake3-nsco/quake3-nsco-1.45.ebuild b/games-fps/quake3-nsco/quake3-nsco-1.45.ebuild
new file mode 100644
index 000000000000..dea2d9a22428
--- /dev/null
+++ b/games-fps/quake3-nsco/quake3-nsco-1.45.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-nsco/quake3-nsco-1.45.ebuild,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+MOD_DESC="Navy Seals : Covert Operations"
+MOD_NAME=seals
+MOD_BINS=nsco
+inherit games games-q3mod
+
+SRC_URI="ftp://ftp.stenstad.net/mirrors/ns-co/nsco_b145full.zip
+ ftp://ftp.mportal.hu/realmods/q3/navyseals/nsco_b145full.zip"
+HOMEPAGE="http://ns-co.net/"
+
+LICENSE="Q3AEULA"
diff --git a/games-fps/quake3-osp/ChangeLog b/games-fps/quake3-osp/ChangeLog
new file mode 100644
index 000000000000..158b39879502
--- /dev/null
+++ b/games-fps/quake3-osp/ChangeLog
@@ -0,0 +1,23 @@
+# ChangeLog for app-games/quake3-osp
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-osp/ChangeLog,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+*quake3-osp-1.03a (02 Jun 2003)
+
+ 02 Jun 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump (#16103) and added games-q3mod.eclass support.
+
+*quake3-osp-1.01-r1 (25 Jun 2002)
+
+ 06 Aug 2002; Mark Guertin <gerk@gentoo.org> :
+ Added -ppc to keywords
+
+ 20 Jul 2002; J.Alberto S.L. <bass@gentoo.org> quake3-osp-1.01.ebuild-r1:
+ fixed perms.
+
+*quake3-osp-1.01 (13 Feb 2003)
+
+ 17 jul 2002; Jose Alberto Suárez López <bass@gentoo.org> quake3-osp-1.01.ebuild :
+ Added KEYWORDS.
+ 25 Jun 2002; J.Alberto S.L. <bass@gentoo.org> quake3-osp-1.01.ebuild:
+ First relase.
diff --git a/games-fps/quake3-osp/Manifest b/games-fps/quake3-osp/Manifest
new file mode 100644
index 000000000000..5d691c5cfb55
--- /dev/null
+++ b/games-fps/quake3-osp/Manifest
@@ -0,0 +1,4 @@
+MD5 8538d9d2ab3b59f118391612b747fc4f files/digest-quake3-osp-1.03a 139
+MD5 c859159694234f112333bba4680a7e6b files/server.cfg 5532
+MD5 99945aa54b25a1f0538e999f55834895 quake3-osp-1.03a.ebuild 563
+MD5 514d1d636391bc0a6c74d8f18115bbf4 ChangeLog 792
diff --git a/games-fps/quake3-osp/files/digest-quake3-osp-1.03a b/games-fps/quake3-osp/files/digest-quake3-osp-1.03a
new file mode 100644
index 000000000000..9999c22ef67b
--- /dev/null
+++ b/games-fps/quake3-osp/files/digest-quake3-osp-1.03a
@@ -0,0 +1,2 @@
+MD5 8b2b4925cce1895067bc617b86c62ea5 osp-Quake3-1.03a_full.zip 55882759
+MD5 144e9ec7fcc010d2b1cd3d731bd27a5c osp_Quake3_maps0.zip 35919939
diff --git a/games-fps/quake3-osp/files/server.cfg b/games-fps/quake3-osp/files/server.cfg
new file mode 100644
index 000000000000..887ff1e2784e
--- /dev/null
+++ b/games-fps/quake3-osp/files/server.cfg
@@ -0,0 +1,165 @@
+/////////////////////////////////////////////
+// OSP Server Configuration File //
+/////////////////////////////////////////////
+
+
+//////////////////////
+// Gameplay Options //
+//////////////////////
+set capturelimit "8"
+set dmflags "0"
+set fraglimit "0"
+set g_dowarmup "1"
+set g_forceRespawn "10"
+set g_gametype "1"
+set g_teamautojoin "0"
+set g_teamforcebalance "0"
+set g_warmup "0"
+set match_carespawn "0"
+set match_instagib "0"
+set match_latejoin "0"
+set match_minplayers "2"
+set match_overtime "0"
+set match_overtimecount "0"
+set match_overtimelength "5"
+set match_readypercent "100"
+set match_roundtimer "10"
+set match_timeoutcount "3"
+set match_timeoutlength "60"
+set match_winbyscore "0"
+set roundlimit "5"
+set server_promode "0"
+set team_allcaptain "1"
+set team_maxplayers "0"
+set team_nocontrols "0"
+set team_noteamready "0"
+set timelimit "10"
+
+//////////////////////
+// Server Options //
+//////////////////////
+set g_gravity "800"
+set g_inactivity "0"
+set g_knockback "1000"
+set g_maxGameClients "0"
+set g_motd ""
+set g_needpass "0"
+set g_privatePassword ""
+set g_smoothclients "0"
+set g_speed "320"
+set match_maxsuicides "0"
+set osp_gamename "0"
+set player_always ""
+set rconPassword ""
+set ref_password "none"
+set server_customclient "15"
+set server_ospauth "1"
+set server_record "0"
+set server_motd1 "This server is Gentoo Linux powered"
+set server_motd2 ""
+set server_motd3 ""
+set server_motd4 ""
+set server_motd5 ""
+set server_motd6 ""
+set server_motd7 ""
+set server_motd8 ""
+set sv_allowDownload "1"
+set sv_cheats "0"
+set sv_floodprotect "0"
+set sv_hostname "OSP 1v1"
+set sv_maxclients "7"
+set sv_privateClients "1"
+set sv_pure "1"
+
+//////////////////////
+// File Options //
+//////////////////////
+set g_log "games.log"
+set g_logSync "0"
+set admin_log "adm.log"
+set log_default "0"
+set log_stat "0"
+set filter_file "filters.txt"
+set map_file "cfg-maps\1v1maps.txt"
+set server_gfxspecific "none"
+set player_file "none"
+set server_motdfile "none"
+set mode_customfilename "none"
+set decal_directory "decals"
+set viewcam_directory "cfg-viewcam"
+
+//////////////////////
+// Weapon Options //
+//////////////////////
+set armor_q2style "0"
+set gauntlet_damage "50"
+set gauntlet_disable "0"
+set g_friendlyFire "1"
+set g_weaponrespawn "5"
+set g_weaponteamrespawn "30"
+set instagib_reload "1500"
+set item_disable "4"
+set match_cawarmupfire "1"
+set match_dropitems "0"
+set match_hurtself "1"
+set mg_damage "7"
+set mg_damageTeamplay "5"
+set railgun_damage "100"
+set server_fastrail "0"
+set server_lgcooldown "0"
+set server_thrufloors "0"
+set start_armor "0"
+set start_bfg "0"
+set start_bullets "100"
+set start_cells "0"
+set start_grenades "0"
+set start_health "125"
+set start_lightning "0"
+set start_rockets "0"
+set start_shells "0"
+set start_slugs "0"
+set team_armordamage "0"
+set warmup_armor "100"
+set weapon_deaddrop "1"
+set weapon_have "1"
+set weapon_start "257"
+
+//////////////////////
+// Item Options //
+//////////////////////
+set g_quadfactor "0"
+set match_poweruprespawn "60"
+set powerup_disable "255"
+
+//////////////////////
+// Voting Options //
+//////////////////////
+set g_allowvote "0"
+set mode_start "-1"
+set server_availmodes "2"
+
+//////////////////////
+// Other Options //
+//////////////////////
+set bot_enable "0"
+set g_spectatorInactivity "0"
+set map_autoload "1"
+set map_queue "1"
+set map_halt "0"
+set map_nocount "0"
+set map_once "1"
+set map_random "0"
+set map_rotate "0"
+set match_mutespecs "1"
+set pmove_fixed "0"
+set pmove_msec "8"
+set server_maxpacketsmax "0"
+set server_maxpacketsmin "0"
+set server_realping "0"
+set server_timenudgemax "0"
+set server_timenudgemin "0"
+set sv_maxRate "0"
+set sv_maxPing "0"
+set sv_minPing "0"
+
+map "q3tourney4"
diff --git a/games-fps/quake3-osp/quake3-osp-1.03a.ebuild b/games-fps/quake3-osp/quake3-osp-1.03a.ebuild
new file mode 100644
index 000000000000..716cbe6cdf75
--- /dev/null
+++ b/games-fps/quake3-osp/quake3-osp-1.03a.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-osp/quake3-osp-1.03a.ebuild,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+MOD_DESC="OSP"
+MOD_NAME=osp
+inherit games games-q3mod
+
+SRC_URI="http://files.l33tgames.com/files/q3/mods/osp/osp-Quake3-${PV}_full.zip
+ http://www.flatlands.ch/filebase/mods/left/osp-Quake3-${PV}_full.zip
+ http://www.orangesmoothie.org/downloads/osp_Quake3_maps0.zip"
+HOMEPAGE="http://www.orangesmoothie.org/"
+
+LICENSE="GPL-2"
diff --git a/games-fps/quake3-ra3/ChangeLog b/games-fps/quake3-ra3/ChangeLog
new file mode 100644
index 000000000000..79fa41ca8180
--- /dev/null
+++ b/games-fps/quake3-ra3/ChangeLog
@@ -0,0 +1,13 @@
+# ChangeLog for app-games/quake3-ra3
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-ra3/ChangeLog,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+*quake3-ra3-1.7 (02 Sep 2003)
+
+ 02 Sep 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump #27572.
+
+*quake3-ra3-1.65 (02 Jul 2003)
+
+ 02 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by Erik Swanson <gentoo-bugzilla@erik.swanson.name> #20306.
diff --git a/games-fps/quake3-ra3/Manifest b/games-fps/quake3-ra3/Manifest
new file mode 100644
index 000000000000..a34cddac2921
--- /dev/null
+++ b/games-fps/quake3-ra3/Manifest
@@ -0,0 +1,3 @@
+MD5 421cd5663a2722573d7da6c9f446596d files/digest-quake3-ra3-1.7 115
+MD5 1cab2ff2b404da031a069d850d746ad4 ChangeLog 509
+MD5 b08897c63de93e74729c3e51fdd73be1 quake3-ra3-1.7.ebuild 644
diff --git a/games-fps/quake3-ra3/files/digest-quake3-ra3-1.7 b/games-fps/quake3-ra3/files/digest-quake3-ra3-1.7
new file mode 100644
index 000000000000..c8a563bbcd7a
--- /dev/null
+++ b/games-fps/quake3-ra3/files/digest-quake3-ra3-1.7
@@ -0,0 +1,2 @@
+MD5 0e724810f8907c35a0d27a03160f4175 ra317cl.zip 125281679
+MD5 7386053b4ebbebb9e4590a254a0ad84e ra317sv.zip 687234
diff --git a/games-fps/quake3-ra3/quake3-ra3-1.7.ebuild b/games-fps/quake3-ra3/quake3-ra3-1.7.ebuild
new file mode 100644
index 000000000000..4f1167a19eb7
--- /dev/null
+++ b/games-fps/quake3-ra3/quake3-ra3-1.7.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-ra3/quake3-ra3-1.7.ebuild,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+MOD_DESC="Rocket Arena 3"
+MOD_NAME=arena
+MOD_BINS=ra3
+inherit games games-q3mod
+
+SRC_URI="ra317cl.zip
+ ra317sv.zip"
+HOMEPAGE="http://www.planetquake.com/servers/arena/"
+
+LICENSE="Q3AEULA"
+RESTRICT="fetch"
+
+pkg_nofetch() {
+ einfo "Download the following files from FilePlanet and put them in"
+ einfo "${DISTDIR}"
+ einfo
+ for f in ${A} ; do
+ einfo "http://www.fileplanet.com/dl.aspx?servers/arena/${f}"
+ done
+}
diff --git a/games-fps/quake3-ruinhunters/ChangeLog b/games-fps/quake3-ruinhunters/ChangeLog
new file mode 100644
index 000000000000..6f07fc83959e
--- /dev/null
+++ b/games-fps/quake3-ruinhunters/ChangeLog
@@ -0,0 +1,16 @@
+# ChangeLog for app-games/quake3-ruinhunters
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-ruinhunters/ChangeLog,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+*quake3-ruinhunters-1.0a (20 Mar 2003)
+
+ 16 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Added games-q3mod.eclass support #23871.
+
+ 04 Apr 2003; Philip Walls <malverian@gentoo.org>
+ quake3-ruinhunters-1.0a.ebuild :
+ Make sure it unpacks the full package and patch in the correct order
+
+ 20 Mar 2003; Philip Walls <malverian@gentoo.org>
+ quake3-ruinhunters-1.0a.ebuild files/digest-quake3-ruinhunters-1.0a :
+ Initial import.
diff --git a/games-fps/quake3-ruinhunters/Manifest b/games-fps/quake3-ruinhunters/Manifest
new file mode 100644
index 000000000000..5a712445f632
--- /dev/null
+++ b/games-fps/quake3-ruinhunters/Manifest
@@ -0,0 +1,3 @@
+MD5 e176bde49bc1dc71dd009c979b9aab6b files/digest-quake3-ruinhunters-1.0a 140
+MD5 a71e75ec04f88a62da5aa6e78185a29e ChangeLog 675
+MD5 10fa8f4060a2420ada047b1bb7056757 quake3-ruinhunters-1.0a.ebuild 602
diff --git a/games-fps/quake3-ruinhunters/files/digest-quake3-ruinhunters-1.0a b/games-fps/quake3-ruinhunters/files/digest-quake3-ruinhunters-1.0a
new file mode 100644
index 000000000000..aeefda27f7e8
--- /dev/null
+++ b/games-fps/quake3-ruinhunters/files/digest-quake3-ruinhunters-1.0a
@@ -0,0 +1,2 @@
+MD5 3f56cd8110d1f9c76f6f41e78ac7b4cf ruin_hunters_v10.zip 67679542
+MD5 9fa821f0bed7ab167e08ba65ace6647e ruin_hunters_v10a_patch.zip 7186582
diff --git a/games-fps/quake3-ruinhunters/quake3-ruinhunters-1.0a.ebuild b/games-fps/quake3-ruinhunters/quake3-ruinhunters-1.0a.ebuild
new file mode 100644
index 000000000000..ad6fa0d55d1c
--- /dev/null
+++ b/games-fps/quake3-ruinhunters/quake3-ruinhunters-1.0a.ebuild
@@ -0,0 +1,13 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-ruinhunters/quake3-ruinhunters-1.0a.ebuild,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+MOD_DESC="Ruin Hunters"
+MOD_NAME=ruin
+inherit games games-q3mod
+
+SRC_URI="http://www.jetstreamgames.co.nz/files/pub/planetquake3/modifications/ruinhunters/ruin_hunters_v10.zip
+ http://www.jetstreamgames.co.nz/files/pub/planetquake3/modifications/ruinhunters/ruin_hunters_v10a_patch.zip"
+HOMEPAGE="http://dynamic.gamespy.com/~mbs/"
+
+LICENSE="freedist"
diff --git a/games-fps/quake3-threewave/ChangeLog b/games-fps/quake3-threewave/ChangeLog
new file mode 100644
index 000000000000..91c0539a0d7e
--- /dev/null
+++ b/games-fps/quake3-threewave/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for app-games/quake3-threewave
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-threewave/ChangeLog,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+*quake3-threewave-1.6 (12 Aug 2003)
+
+ 12 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by simon hasite <zyklon@gmx.net> #26445.
diff --git a/games-fps/quake3-threewave/Manifest b/games-fps/quake3-threewave/Manifest
new file mode 100644
index 000000000000..17686fa0ef5d
--- /dev/null
+++ b/games-fps/quake3-threewave/Manifest
@@ -0,0 +1,3 @@
+MD5 5dc413d0da6723475a074c6d5b36e065 files/digest-quake3-threewave-1.6 69
+MD5 407b569cda3efca846cf26ce154c2147 ChangeLog 400
+MD5 d37c041b540ab249b7fbbf7958e603bf quake3-threewave-1.6.ebuild 584
diff --git a/games-fps/quake3-threewave/files/digest-quake3-threewave-1.6 b/games-fps/quake3-threewave/files/digest-quake3-threewave-1.6
new file mode 100644
index 000000000000..4ed1f8271f49
--- /dev/null
+++ b/games-fps/quake3-threewave/files/digest-quake3-threewave-1.6
@@ -0,0 +1 @@
+MD5 9a5751ab2901e65d95b8134fc78c9bab threewave_16_full.zip 187896825
diff --git a/games-fps/quake3-threewave/quake3-threewave-1.6.ebuild b/games-fps/quake3-threewave/quake3-threewave-1.6.ebuild
new file mode 100644
index 000000000000..d1fbed80956d
--- /dev/null
+++ b/games-fps/quake3-threewave/quake3-threewave-1.6.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-threewave/quake3-threewave-1.6.ebuild,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+MOD_DESC="Threewave CTF"
+MOD_NAME=threewave
+inherit games games-q3mod
+
+HOMEPAGE="http://www.threewave.com/"
+SRC_URI="threewave_${PV//.}_full.zip"
+
+LICENSE="as-is"
+RESTRICT="fetch"
+
+pkg_nofetch() {
+ einfo "Please download ${A} and put it into ${DISTDIR}"
+ einfo "http://www.planetquake3.net/download.php?op=viewdownloaddetails&lid=1137"
+}
diff --git a/games-fps/quake3-truecombat/ChangeLog b/games-fps/quake3-truecombat/ChangeLog
new file mode 100644
index 000000000000..2f546e111b28
--- /dev/null
+++ b/games-fps/quake3-truecombat/ChangeLog
@@ -0,0 +1,13 @@
+# ChangeLog for app-games/quake3-truecombat
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-truecombat/ChangeLog,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+*quake3-truecombat-1.0a (15 Jul 2003)
+
+ 15 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump #22892.
+
+*quake3-truecombat-1.0 (02 Jul 2003)
+
+ 02 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by Radek Podgorny <radek@podgorny.cz> #22892.
diff --git a/games-fps/quake3-truecombat/Manifest b/games-fps/quake3-truecombat/Manifest
new file mode 100644
index 000000000000..89a5e38d2c57
--- /dev/null
+++ b/games-fps/quake3-truecombat/Manifest
@@ -0,0 +1,5 @@
+MD5 9a2f580ae2685143088d1c31eed11ef7 files/digest-quake3-truecombat-1.0 64
+MD5 3bab3c958c654c8b8074544c7003dfff files/digest-quake3-truecombat-1.0a 134
+MD5 59322ca09b14ff26dd14e6ce0ec3f551 quake3-truecombat-1.0.ebuild 486
+MD5 662807e4eced1aac109599c77f8caff0 ChangeLog 523
+MD5 71301c91ba4a80b72c0e168e223f964d quake3-truecombat-1.0a.ebuild 544
diff --git a/games-fps/quake3-truecombat/files/digest-quake3-truecombat-1.0 b/games-fps/quake3-truecombat/files/digest-quake3-truecombat-1.0
new file mode 100644
index 000000000000..8441c5436aa8
--- /dev/null
+++ b/games-fps/quake3-truecombat/files/digest-quake3-truecombat-1.0
@@ -0,0 +1 @@
+MD5 485885d4335782f68e1aec2eadf64687 TrueCombat1.0.zip 81174814
diff --git a/games-fps/quake3-truecombat/files/digest-quake3-truecombat-1.0a b/games-fps/quake3-truecombat/files/digest-quake3-truecombat-1.0a
new file mode 100644
index 000000000000..52427df48197
--- /dev/null
+++ b/games-fps/quake3-truecombat/files/digest-quake3-truecombat-1.0a
@@ -0,0 +1,2 @@
+MD5 485885d4335782f68e1aec2eadf64687 TrueCombat1.0.zip 81174814
+MD5 2d4d4de378476c570910affb221fe0a0 truecombat-1.0to1.0a.zip 2783003
diff --git a/games-fps/quake3-truecombat/quake3-truecombat-1.0.ebuild b/games-fps/quake3-truecombat/quake3-truecombat-1.0.ebuild
new file mode 100644
index 000000000000..c07052bfbb37
--- /dev/null
+++ b/games-fps/quake3-truecombat/quake3-truecombat-1.0.ebuild
@@ -0,0 +1,13 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-truecombat/quake3-truecombat-1.0.ebuild,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+MOD_DESC="total transformation realism based MOD"
+MOD_NAME=truecombat
+MOD_BINS=q3tc
+inherit games games-q3mod
+
+HOMEPAGE="http://www.truecombat.com/"
+SRC_URI="http://mirror.inode.at/data/truecombat/TrueCombat${PV}.zip"
+
+LICENSE="freedist"
diff --git a/games-fps/quake3-truecombat/quake3-truecombat-1.0a.ebuild b/games-fps/quake3-truecombat/quake3-truecombat-1.0a.ebuild
new file mode 100644
index 000000000000..6b7450afa1e4
--- /dev/null
+++ b/games-fps/quake3-truecombat/quake3-truecombat-1.0a.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-truecombat/quake3-truecombat-1.0a.ebuild,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+MOD_DESC="total transformation realism based MOD"
+MOD_NAME=truecombat
+MOD_BINS=q3tc
+inherit games games-q3mod
+
+HOMEPAGE="http://www.truecombat.com/"
+SRC_URI="http://mirror.inode.at/data/truecombat/TrueCombat1.0.zip
+ http://www.diablo666.de/gamedome/truecombat-1.0to1.0a.zip"
+
+LICENSE="freedist"
diff --git a/games-fps/quake3-urbanterror/ChangeLog b/games-fps/quake3-urbanterror/ChangeLog
new file mode 100644
index 000000000000..c2e45f49c264
--- /dev/null
+++ b/games-fps/quake3-urbanterror/ChangeLog
@@ -0,0 +1,21 @@
+# ChangeLog for app-games/quake3-urbanterror
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-urbanterror/ChangeLog,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+*quake3-urbanterror-3 (17 Aug 2003)
+
+ 17 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump #26577. Also SLOT=3 since 3 can work with 2.
+
+*quake3-urbanterror-2.6_beta1 (02 Jul 2003)
+
+ 17 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
+ Add SLOT=2
+
+ 02 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump + games-q3mod.eclass support.
+
+*quake3-urbanterror-2.6_beta (29 Nov 2002)
+
+ 29 Nov 2002; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuilds submitted by moonlite@linux.nu and tuxisuau@7a69ezine.org.
diff --git a/games-fps/quake3-urbanterror/Manifest b/games-fps/quake3-urbanterror/Manifest
new file mode 100644
index 000000000000..3d177eda0e1c
--- /dev/null
+++ b/games-fps/quake3-urbanterror/Manifest
@@ -0,0 +1,5 @@
+MD5 fd7b7ceba5d8931a5097dcf423b70486 files/digest-quake3-urbanterror-2.6_beta1 129
+MD5 35490f04c917f353e8505d82ad37f2c1 files/digest-quake3-urbanterror-3 64
+MD5 b5049a4a15c7ad322238b83bca643268 quake3-urbanterror-2.6_beta1.ebuild 581
+MD5 ce99684a0689fbe8303a04857544ad62 ChangeLog 780
+MD5 9404c53b8956ebbd8c7362a3cbe3d5d5 quake3-urbanterror-3.ebuild 547
diff --git a/games-fps/quake3-urbanterror/files/digest-quake3-urbanterror-2.6_beta1 b/games-fps/quake3-urbanterror/files/digest-quake3-urbanterror-2.6_beta1
new file mode 100644
index 000000000000..75b91ff4e09a
--- /dev/null
+++ b/games-fps/quake3-urbanterror/files/digest-quake3-urbanterror-2.6_beta1
@@ -0,0 +1,2 @@
+MD5 1aa71427eefac48dc9e2f2e289bb706d beta26_full.zip 250942395
+MD5 a72fa8ef510c97794fc98d0f14be458c beta26a_upgrade.zip 12063434
diff --git a/games-fps/quake3-urbanterror/files/digest-quake3-urbanterror-3 b/games-fps/quake3-urbanterror/files/digest-quake3-urbanterror-3
new file mode 100644
index 000000000000..7f3b807c836e
--- /dev/null
+++ b/games-fps/quake3-urbanterror/files/digest-quake3-urbanterror-3
@@ -0,0 +1 @@
+MD5 bd403035f5319bc641fb9e48af1869b3 urbanterror3.zip 337778076
diff --git a/games-fps/quake3-urbanterror/quake3-urbanterror-2.6_beta1.ebuild b/games-fps/quake3-urbanterror/quake3-urbanterror-2.6_beta1.ebuild
new file mode 100644
index 000000000000..f22cc9a98a99
--- /dev/null
+++ b/games-fps/quake3-urbanterror/quake3-urbanterror-2.6_beta1.ebuild
@@ -0,0 +1,15 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-urbanterror/quake3-urbanterror-2.6_beta1.ebuild,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+MOD_DESC="total transformation realism based MOD"
+MOD_NAME=q3ut2
+inherit games games-q3mod
+
+SRC_URI="http://network3.filefront.com/planetquake3/beta26_full.zip
+ ftp://ftp.edome.net/online/clientit/beta26_full.zip
+ http://www.fsk405.org/beta26a_upgrade.zip"
+HOMEPAGE="http://www.urbanterror.net/"
+
+SLOT="2"
+LICENSE="freedist"
diff --git a/games-fps/quake3-urbanterror/quake3-urbanterror-3.ebuild b/games-fps/quake3-urbanterror/quake3-urbanterror-3.ebuild
new file mode 100644
index 000000000000..479b188121b7
--- /dev/null
+++ b/games-fps/quake3-urbanterror/quake3-urbanterror-3.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-urbanterror/quake3-urbanterror-3.ebuild,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+MOD_DESC="total transformation realism based MOD"
+MOD_NAME=q3ut3
+inherit games games-q3mod
+
+SRC_URI="urbanterror3.zip"
+HOMEPAGE="http://www.urbanterror.net/"
+
+SLOT="3"
+LICENSE="freedist"
+RESTRICT="fetch"
+
+pkg_nofetch() {
+ einfo "Please goto ${HOMEPAGE}"
+ einfo "and download ${A} into ${DISTDIR}"
+}
diff --git a/games-fps/quake3/ChangeLog b/games-fps/quake3/ChangeLog
new file mode 100644
index 000000000000..c255206b4f66
--- /dev/null
+++ b/games-fps/quake3/ChangeLog
@@ -0,0 +1,41 @@
+# ChangeLog for app-games/quake3
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3/ChangeLog,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+ 05 Aug 2003; Chris Gianelloni <wolf31o2@gentoo.org> quake3-1.32b.ebuild:
+ Updated to use games user, make a desktop entry, and added to description
+
+*quake3-1.32b (31 Dec 2002)
+
+ 31 Dec 2002; Mike Frysinger <vapier@gentoo.org> :
+ Version bump #12847.
+
+*quake3-1.32 (29 Nov 2002)
+
+ 29 Nov 2002; Mike Frysinger <vapier@gentoo.org> :
+ Added games.eclass support
+
+*quake3-1.31-r1 (15 Jul 2002)
+
+ 29 Nov 2002; Mike Frysinger <vapier@gentoo.org> :
+ Added games.eclass support
+
+ 07 Sep 2002; J.Alberto S.L. <bass@gentoo.org> quake3-1.31-r1.ebuild:
+ LICENSE changed to Q3AEULA.
+
+ 06 Aug 2002; Mark Guertin <gerk@gentoo.org> :
+ Added -ppc -sparc -sparc64 to keywords
+
+ 15 Jul 2002; J.Alberto S.L. <bass@gentoo.org> quake3-1.31-r1.ebuild
+ Really fixed perms.
+
+ 15 Jul 2002; Brandon Low <lostlogic@gentoo.org> quake3-1.31-r1.ebuild:
+ Fix a few other dumbnesses in the ebuild. Nothing terribly important.
+
+*quake3-1.31 (25 Jun 2002)
+
+ 25 Jun 2002; J.Alberto S.L. <bass@gentoo.org> quake3-1.31.ebuild:
+ Fixed a problem with perms on bin files.
+
+ 25 Jun 2002; J.Alberto S.L. <bass@gentoo.org> quake3-1.31.ebuild:
+ First relase by Alexander Gretencord <arutha@gmx.de>.
diff --git a/games-fps/quake3/Manifest b/games-fps/quake3/Manifest
new file mode 100644
index 000000000000..1c44d381ce71
--- /dev/null
+++ b/games-fps/quake3/Manifest
@@ -0,0 +1,10 @@
+MD5 ef5ec507a89c0f99b2a2364cc381b513 ChangeLog 1393
+MD5 9b9e1815b71ec30fc205c83c96c40259 quake3-1.31.ebuild 1469
+MD5 80f09c8a40eef2fdc790e1b01d4ab633 quake3-1.32b.ebuild 1745
+MD5 7a7f02df761b544f6301991232bdc597 metadata.xml 1005
+MD5 aa25102bc1d29a9d3cef6ccb88b87833 files/digest-quake3-1.31 73
+MD5 f1b89420359c6f42cb147eb992e4f3b8 files/digest-quake3-1.32b 74
+MD5 3406e5aa779153f1890c48a2adfe13ce files/q3ded.rc 448
+MD5 475fce0ee1ec29b56007e7a11574f04b files/quake3 48
+MD5 8d401b812094aeefea2245d94166e28a files/startq3ded 112
+MD5 57ccc7870fa6d51064b3fdbdab470726 files/q3ded 43
diff --git a/games-fps/quake3/files/digest-quake3-1.31 b/games-fps/quake3/files/digest-quake3-1.31
new file mode 100644
index 000000000000..29ea96f1e338
--- /dev/null
+++ b/games-fps/quake3/files/digest-quake3-1.31
@@ -0,0 +1 @@
+MD5 2620b9eefb6d0775f766b6570870157a linuxq3apoint-1.31.x86.run 28415127
diff --git a/games-fps/quake3/files/digest-quake3-1.32b b/games-fps/quake3/files/digest-quake3-1.32b
new file mode 100644
index 000000000000..485ec6077960
--- /dev/null
+++ b/games-fps/quake3/files/digest-quake3-1.32b
@@ -0,0 +1 @@
+MD5 c6afb977ca0357de39db6871c8a3cd37 linuxq3apoint-1.32b.x86.run 31478345
diff --git a/games-fps/quake3/files/q3ded b/games-fps/quake3/files/q3ded
new file mode 100644
index 000000000000..07c8bdacc6cc
--- /dev/null
+++ b/games-fps/quake3/files/q3ded
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd /opt/quake3
+exec ./q3ded ${@}
diff --git a/games-fps/quake3/files/q3ded.rc b/games-fps/quake3/files/q3ded.rc
new file mode 100644
index 000000000000..9134a48ca8fe
--- /dev/null
+++ b/games-fps/quake3/files/q3ded.rc
@@ -0,0 +1,24 @@
+#!/sbin/runscript
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting baseq3 dedicated..."
+ export HOME=/root
+ screen -A -m -d -S q3ded su - q3 -c /opt/quake3/startq3ded
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping baseq3 dedicated..."
+ pid=`screen -list | grep q3ded | awk -F . '{ print $1 }' | sed -e s/.//`
+ kill $pid
+ eend $?
+
+}
+
+status() {
+ screen -list | grep q3ded
+}
diff --git a/games-fps/quake3/files/quake3 b/games-fps/quake3/files/quake3
new file mode 100644
index 000000000000..4473c59e7112
--- /dev/null
+++ b/games-fps/quake3/files/quake3
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd "/opt/quake3"
+exec ./quake3.x86 $*
diff --git a/games-fps/quake3/files/startq3ded b/games-fps/quake3/files/startq3ded
new file mode 100644
index 000000000000..126a633a13f3
--- /dev/null
+++ b/games-fps/quake3/files/startq3ded
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd /opt/quake3
+exec ./q3ded +set com_hunkmegs 24 +set dedicated 1 +set net_port 27960 +map q3tourney2
diff --git a/games-fps/quake3/metadata.xml b/games-fps/quake3/metadata.xml
new file mode 100644
index 000000000000..a57611cea67b
--- /dev/null
+++ b/games-fps/quake3/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+<maintainer>
+ <email>games@gentoo.org</email>
+</maintainer>
+<longdescription>
+Quake III Arena is the third installment of the extremely popular and successful Quake series by id software. The game was released by id software for both Windows and Linux. The Linux version of the game was maintained and sold by the now defunct Loki Entertainment. The powerful Quake III engine is the basis for many other commercial games, as id's major source of revenue is licensing their game engines. The engine allows for user-contributed modifications to be made, allowing the game to be extensible and expandable. This game is commercial software, and requires the data from a retail copy of the game to play. If you're interested in checking out the technology behind Quake III, then "emerge quake3-demo" to get the playable demo.
+</longdescription>
+</pkgmetadata>
diff --git a/games-fps/quake3/quake3-1.31.ebuild b/games-fps/quake3/quake3-1.31.ebuild
new file mode 100644
index 000000000000..912077e4bfbd
--- /dev/null
+++ b/games-fps/quake3/quake3-1.31.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3/quake3-1.31.ebuild,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+inherit eutils games
+
+DESCRIPTION="Quake III"
+SRC_URI="ftp://ftp.idsoftware.com/idstuff/quake3/linux/linuxq3apoint-${PV}.x86.run"
+HOMEPAGE="http://www.idsoftware.com/"
+
+LICENSE="Q3AEULA"
+SLOT="0"
+KEYWORDS="-* x86"
+IUSE="${IUSE} X opengl"
+RESTRICT="nostrip"
+
+RDEPEND="virtual/glibc
+ opengl? ( virtual/opengl )
+ X? ( x11-base/xfree )
+ dedicated? ( app-misc/screen )"
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack_makeself
+}
+
+src_install() {
+ dodir /opt/quake3/
+
+ insinto /opt/quake3/baseq3
+ doins baseq3/*.pk3
+ insinto /opt/quake3/missionpack
+ doins missionpack/*.pk3
+
+ exeinto /opt/quake3/
+ insinto /opt/quake3/
+ doexe bin/x86/{quake3.x86,q3ded} ${FILESDIR}/startq3ded
+ doins quake3.xpm README* Q3A_EULA.txt Help/*
+ dogamesbin ${FILESDIR}/quake3
+
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/q3ded.rc q3ded
+
+ prepgamesdirs /opt/quake3
+}
+
+pkg_postinst() {
+ enewuser q3 -1 /bin/bash /opt/quake3 ${GAMES_GROUP}
+
+ einfo "You need to copy pak0.pk3 from your Quake3 CD into /opt/quake3/baseq3."
+ einfo "Or if you have got a Window installation of Q3 make a symlink to save space."
+ echo
+ einfo "To start a dedicated server, run"
+ einfo "\t/etc/init.d/q3ded start"
+ echo
+ einfo "The dedicated server is started under the q3 user account."
+
+ games_pkg_postinst
+}
diff --git a/games-fps/quake3/quake3-1.32b.ebuild b/games-fps/quake3/quake3-1.32b.ebuild
new file mode 100644
index 000000000000..81b882320f70
--- /dev/null
+++ b/games-fps/quake3/quake3-1.32b.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3/quake3-1.32b.ebuild,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+inherit games
+
+DESCRIPTION="Quake III Arena - 3rd installment of the classic id 3D first-person shooter"
+SRC_URI="ftp://ftp.idsoftware.com/idstuff/quake3/linux/linuxq3apoint-${PV}.x86.run"
+HOMEPAGE="http://www.idsoftware.com/"
+
+LICENSE="Q3AEULA"
+SLOT="0"
+KEYWORDS="-* x86"
+IUSE="${IUSE} opengl"
+RESTRICT="nostrip"
+
+RDEPEND="virtual/glibc
+ opengl? ( virtual/opengl )
+ dedicated? ( app-misc/screen )
+ !dedicated? ( virtual/opengl )"
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack_makeself
+}
+
+src_install() {
+ local dir=${GAMES_PREFIX_OPT}/${PN}
+ dodir ${dir}
+
+ insinto ${dir}/baseq3
+ doins baseq3/*.pk3
+ mv Docs ${D}/${dir}/
+ insinto ${dir}/missionpack
+ doins missionpack/*.pk3
+ mv pb ${D}/${dir}/
+
+ exeinto ${dir}
+ insinto ${dir}
+ doexe bin/x86/{quake3.x86,q3ded} ${FILESDIR}/startq3ded
+ doins quake3.xpm README* Q3A_EULA.txt
+ dogamesbin ${FILESDIR}/quake3 ${FILESDIR}/q3ded
+
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/q3ded.rc q3ded
+ insinto /usr/share/pixmaps
+ doins quake3.xpm
+
+ prepgamesdirs
+ make_desktop_entry quake3 "Quake III Arena" quake3.xpm
+}
+
+pkg_postinst() {
+ # Shouldn't this be using the games user?
+ # enewuser q3 -1 /bin/bash /opt/quake3 ${GAMES_GROUP}
+
+ einfo "You need to copy pak0.pk3 from your Quake3 CD into ${dir}/baseq3."
+ einfo "Or if you have got a Window installation of Q3 make a symlink to save space."
+ echo
+ einfo "To start a dedicated server, run"
+ einfo "\t/etc/init.d/q3ded start"
+ echo
+ einfo "The dedicated server is started under the ${GAMES_USER_DED} user account."
+
+ games_pkg_postinst
+}
diff --git a/games-fps/quakeforge/ChangeLog b/games-fps/quakeforge/ChangeLog
new file mode 100644
index 000000000000..9a9e1f063bc1
--- /dev/null
+++ b/games-fps/quakeforge/ChangeLog
@@ -0,0 +1,39 @@
+# ChangeLog for app-games/quakeforge
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quakeforge/ChangeLog,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+*quakeforge-0.5.4 (18 Jul 2003)
+
+ 18 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump + clean up all use option selections + add more optional support + games.eclass.
+
+*quakeforge-0.5.2-r1 (20 Mar 2003)
+
+ 20 Mar 2003; Graham Forest <vladimir@gentoo.org> quakeforge-0.5.2-r1.ebuild:
+ Removed usage of pic USE flag
+
+*quakeforge-0.5.2 (03 Oct 2002)
+
+ 03 Oct 2002; Mike Frysinger <vapier@gentoo.org> quakeforge-0.5.2.ebuild :
+ Finally updated quakeforge :) #8647 ... added to the install process (docs)
+ Updated SRC_URI to point to sourceforge now since its a *real* release
+
+*quakeforge-0.5.0_pre20020906 (9 Sep 2002)
+
+ 09 Sep 2002; Seemant Kulleen <seemant@gentoo.org>
+ quakeforge-0.5.0_pre20020906.ebuild
+ files/digest-quakeforge-0.5.0_pre20020906 :
+
+ compile bug with gcc-3.2 and ipv6 solved. Ebuild submitted by: SpanKY
+ (vapier@netzero.com) in bug #5596 reported by onilinken@hotmail.com (Linken)
+
+*quakeforge-0.5.0 (21 julio 2002)
+
+ 22 Aug 2002; J. Alberto Suárez López <bass@gentoo.org> quakeforge-0.5.0.ebuild :
+ Now SRC_URI i direct to the tarball of quakeforge in Gentoo mirrors,
+ and not to the hourly created in the official homepage.
+ Aclaration: before the tarball used was the _same_ of now.
+
+ 21 Jul 2002; Jose Alberto Suárez López <bass@gentoo.org> quakeforge-0.5.0.ebuild :
+ First Relase.
+
diff --git a/games-fps/quakeforge/Manifest b/games-fps/quakeforge/Manifest
new file mode 100644
index 000000000000..c37506bf2b97
--- /dev/null
+++ b/games-fps/quakeforge/Manifest
@@ -0,0 +1,3 @@
+MD5 9c030982a53a047a1c9283072893e947 files/digest-quakeforge-0.5.4 70
+MD5 81e7c3f97fc6ee826a651233d95aceff ChangeLog 1560
+MD5 7380bc07561208539e3449bafd6d29fb quakeforge-0.5.4.ebuild 3769
diff --git a/games-fps/quakeforge/files/digest-quakeforge-0.5.4 b/games-fps/quakeforge/files/digest-quakeforge-0.5.4
new file mode 100644
index 000000000000..8490bfc27e77
--- /dev/null
+++ b/games-fps/quakeforge/files/digest-quakeforge-0.5.4
@@ -0,0 +1 @@
+MD5 63d56b50fddfe81c877e67981d4c013f quakeforge-0.5.4.tar.bz2 1769864
diff --git a/games-fps/quakeforge/quakeforge-0.5.4.ebuild b/games-fps/quakeforge/quakeforge-0.5.4.ebuild
new file mode 100644
index 000000000000..9f6a37d3fdaa
--- /dev/null
+++ b/games-fps/quakeforge/quakeforge-0.5.4.ebuild
@@ -0,0 +1,124 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quakeforge/quakeforge-0.5.4.ebuild,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+inherit games
+
+DESCRIPTION="A new 3d engine based off of id Softwares's legendary Quake and QuakeWorld game engine"
+HOMEPAGE="http://www.quakeforge.org/"
+SRC_URI="mirror://sourceforge/quake/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="debug 3dfx fbcon opengl sdl svga X ncurses oggvorbis zlib ipv6 xv dga xmms alsa oss"
+
+RDEPEND="3dfx? ( media-libs/glide-v3 )
+ opengl? ( virtual/opengl )
+ sdl? ( media-libs/libsdl )
+ svga? ( media-libs/svgalib )
+ X? ( virtual/x11 )
+ ncurses? ( sys-libs/ncurses )
+ oggvorbis? ( media-libs/libogg media-libs/libvorbis )
+ zlib? ( sys-libs/zlib )
+ xv? ( virtual/x11 )
+ dga? ( virtual/x11 )
+ xmms? ( media-sound/xmms )
+ alsa? ( media-libs/alsa-lib )"
+DEPEND="${RDEPEND}
+ sys-devel/bison
+ sys-devel/flex"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i \
+ -e 's:heavy=.*:heavy=:' \
+ -e 's:light=.*:light=:' \
+ -e 's:MORE_CFLAGS=".*":MORE_CFLAGS="":' \
+ configure || die "removing static cflags from configure"
+}
+
+src_compile() {
+ #i should do this at some point :x ... i guess if you disable all shared stuff
+ #and enable all the static options explicitly, static works ... (or so ive been told)
+ #if [ -z "`use static`" ] ; then
+ # myconf="${myconf} --enable-shared=yes --enable-static=no"
+ #else
+ # myconf="${myconf} --enable-shared=no --enable-static=yes"
+ #fi
+
+ local debugopts
+ [ `use debug` ] \
+ && debugopts="--enable-debug --disable-optimize --enable-profile" \
+ || debugopts="--disable-debug --enable-optimize --disable-profile"
+
+ local clients=${QF_CLIENTS}
+ [ `use 3dfx` ] && clients="${clients},3dfx"
+ [ `use fbcon` ] && clients="${clients},fbdev"
+ [ `use opengl` ] && clients="${clients},glx"
+ [ `use sdl` ] && clients="${clients},sdl,sdl32"
+ [ `use svga` ] && clients="${clients},svga"
+ [ `use X` ] && clients="${clients},x11"
+ [ `use X` ] && [ `use opengl` ] && clients="${clients},wgl"
+ [ "${clients:0:1}" == "," ] && clients=${clients:1}
+
+ local servers=${QF_SERVERS:-master,nq,qw}
+
+ local tools=${QF_TOOLS:-all}
+
+ local svgaconf # use old school way for broken conf opts
+ [ `use svga` ] \
+ && svgaconf="--with-svga=/usr" \
+ || svgaconf="--without-svga"
+
+ addpredict ${GAMES_LIBDIR}
+ egamesconf \
+ `use_enable ncurses curses` \
+ `use_enable oggvorbis vorbis` \
+ `use_enable zlib` \
+ `use_with ipv6` \
+ `use_with fbcon fbdev` \
+ ${svgaconf} \
+ `use_with X x` \
+ `use_enable xv vidmode` \
+ `use_enable dga` \
+ `use_enable sdl` \
+ `use_enable xmms` \
+ `use_enable alsa` \
+ `use_enable oss` \
+ --enable-sound \
+ ${debugopts} \
+ --with-user-cfg=${GAMES_SYSCONFDIR}/quakeforge.conf \
+ --with-sharepath=${GAMES_DATADIR}/quake-data \
+ --with-clients=${clients} \
+ --with-servers=${servers} \
+ --with-tools=${tools} \
+ || die
+ make || die "make failed"
+}
+
+src_install() {
+ make DESTDIR=${D} install || die "install failed"
+ mv ${D}/${GAMES_PREFIX}/include ${D}/usr/
+ dodoc ChangeLog INSTALL NEWS TODO doc/*
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ echo
+ einfo "Before you can play, you must make sure"
+ einfo "QuakeForge can find your Quake .pak files"
+ echo
+ einfo "You have 2 choices to do this"
+ einfo "1 Copy pak*.pak files to ${GAMES_DATADIR}/quake-data/id1"
+ einfo "2 Symlink pak*.pak files in ${GAMES_DATADIR}/quake-data/id1"
+ echo
+ einfo "Example:"
+ einfo "my pak*.pak files are in /mnt/secondary/Games/Quake/Id1/"
+ einfo "ln -s /mnt/secondary/Games/Quake/Id1/pak0.pak ${GAMES_DATADIR}/quake-data/id1/pak0.pak"
+ echo
+ einfo "You only need pak0.pak to play the demo version,"
+ einfo "the others are needed for registered version"
+}
diff --git a/games-fps/red-blue-quake2/ChangeLog b/games-fps/red-blue-quake2/ChangeLog
new file mode 100644
index 000000000000..1f23c66085ec
--- /dev/null
+++ b/games-fps/red-blue-quake2/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for app-games/red-blue-quake2
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/red-blue-quake2/ChangeLog,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+*red-blue-quake2-0.1 (26 Jul 2003)
+
+ 26 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me.
diff --git a/games-fps/red-blue-quake2/Manifest b/games-fps/red-blue-quake2/Manifest
new file mode 100644
index 000000000000..986e1a719509
--- /dev/null
+++ b/games-fps/red-blue-quake2/Manifest
@@ -0,0 +1,4 @@
+MD5 86c6814acf8cf8b24f67557e5f96fb1e files/0.1-gentoo.patch 2304
+MD5 ac16b4e5cb958cca657192c316e60ec5 files/digest-red-blue-quake2-0.1 133
+MD5 a2f27f34d7dd4c3f0a6295ba3943e1fb ChangeLog 363
+MD5 a4b2459caf256d86560423f9a1bd4d67 red-blue-quake2-0.1.ebuild 1462
diff --git a/games-fps/red-blue-quake2/files/0.1-gentoo.patch b/games-fps/red-blue-quake2/files/0.1-gentoo.patch
new file mode 100644
index 000000000000..e43013a1a8b2
--- /dev/null
+++ b/games-fps/red-blue-quake2/files/0.1-gentoo.patch
@@ -0,0 +1,63 @@
+diff -ur orig/quake2-3.21/linux/Makefile work-mywork/quake2-3.21/linux/Makefile
+--- orig/quake2-3.21/linux/Makefile 2001-12-29 20:37:22.000000000 -0500
++++ work-mywork/quake2-3.21/linux/Makefile 2003-07-17 22:14:50.000000000 -0400
+@@ -54,7 +54,7 @@
+ RELEASE_CFLAGS=$(BASE_CFLAGS) -O6 -ffast-math -funroll-loops \
+ -fomit-frame-pointer -fexpensive-optimizations
+ else
+-RELEASE_CFLAGS=$(BASE_CFLAGS) -g -mpentiumpro -O6 -ffast-math -funroll-loops \
++RELEASE_CFLAGS=$(BASE_CFLAGS) -g $(GENTOO_CFLAGS) -DGENTOO_DATADIR=\\\"$(GENTOO_DATADIR)\\\" -O6 -ffast-math -funroll-loops \
+ -fomit-frame-pointer -fexpensive-optimizations
+ endif
+
+diff -ur orig/quake2-3.21/linux/sys_linux.c work-mywork/quake2-3.21/linux/sys_linux.c
+--- orig/quake2-3.21/linux/sys_linux.c 2001-12-22 18:45:58.000000000 -0500
++++ work-mywork/quake2-3.21/linux/sys_linux.c 2003-07-17 22:34:11.000000000 -0400
+@@ -220,7 +220,7 @@
+ char curpath[MAX_OSPATH];
+ char *path;
+ #ifdef __i386__
+- const char *gamename = "gamei386.so";
++ const char *gamename = "GENTOO_DIR/gamei386.so";
+ #elif defined __alpha__
+ const char *gamename = "gameaxp.so";
+ #else
+@@ -250,6 +250,14 @@
+ {
+ Com_Printf ("LoadLibrary (%s)\n",name);
+ break;
++ } else {
++ sprintf (name, "%s", gamename);
++ game_library = dlopen (name, RTLD_LAZY );
++ if (game_library)
++ {
++ Com_Printf ("LoadLibrary (%s)\n",name);
++ break;
++ }
+ }
+ }
+
+diff -ur orig/quake2-3.21/qcommon/files.c work-mywork/quake2-3.21/qcommon/files.c
+--- orig/quake2-3.21/qcommon/files.c 2001-12-22 16:32:26.000000000 -0500
++++ work-mywork/quake2-3.21/qcommon/files.c 2003-07-17 22:34:29.000000000 -0400
+@@ -865,7 +865,7 @@
+ //
+ // start up with baseq2 by default
+ //
+- FS_AddGameDirectory (va("%s/"BASEDIRNAME, fs_basedir->string) );
++ FS_AddGameDirectory (va(BASEDIRNAME) );
+
+ // any set gamedirs will be freed up to here
+ fs_base_searchpaths = fs_searchpaths;
+diff -ur orig/quake2-3.21/qcommon/qcommon.h work-mywork/quake2-3.21/qcommon/qcommon.h
+--- orig/quake2-3.21/qcommon/qcommon.h 2001-12-22 16:32:26.000000000 -0500
++++ work-mywork/quake2-3.21/qcommon/qcommon.h 2003-07-17 21:20:03.000000000 -0400
+@@ -25,7 +25,7 @@
+
+ #define VERSION 3.21
+
+-#define BASEDIRNAME "baseq2"
++#define BASEDIRNAME GENTOO_DATADIR
+
+ #ifdef WIN32
+
diff --git a/games-fps/red-blue-quake2/files/digest-red-blue-quake2-0.1 b/games-fps/red-blue-quake2/files/digest-red-blue-quake2-0.1
new file mode 100644
index 000000000000..7dd7369aada1
--- /dev/null
+++ b/games-fps/red-blue-quake2/files/digest-red-blue-quake2-0.1
@@ -0,0 +1,2 @@
+MD5 3ac9ac6a833b9c049a9f763c3137b86f q2source-3.21.zip 1477764
+MD5 b80542d7977ecaa36799c479a6557069 red-blue-quake2-0.1.tar.gz 34874
diff --git a/games-fps/red-blue-quake2/red-blue-quake2-0.1.ebuild b/games-fps/red-blue-quake2/red-blue-quake2-0.1.ebuild
new file mode 100644
index 000000000000..788bea5a7533
--- /dev/null
+++ b/games-fps/red-blue-quake2/red-blue-quake2-0.1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/red-blue-quake2/red-blue-quake2-0.1.ebuild,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+inherit games eutils
+
+DESCRIPTION="red-blue Quake II ! play quake2 w/3d glasses !"
+HOMEPAGE="http://www.jfedor.org/red-blue-quake2/"
+SRC_URI="ftp://ftp.idsoftware.com/idstuff/source/q2source-3.21.zip
+ ftp://ftp.algx.net/idsoftware/source/q2source-3.21.zip
+ http://ftp.gentoo.skynet.be/pub/ftp.idsoftware.com/source/q2source-3.21.zip
+ http://www.jfedor.org/red-blue-quake2/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND="virtual/x11"
+
+S=${WORKDIR}/quake2-3.21/linux
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${PV}-gentoo.patch
+ cd quake2-3.21/linux
+ sed -i "s:GENTOO_DIR:${GAMES_LIBDIR}/${PN}:" sys_linux.c
+ sed -i "s:/etc/quake2.conf:${GAMES_SYSCONFDIR}/${PN}.conf:" sys_linux.c vid_so.c
+}
+
+src_compile() {
+ mkdir -p releasei386-glibc/ref_soft
+ make \
+ GENTOO_CFLAGS="${CFLAGS}" \
+ GENTOO_DATADIR=${GAMES_DATADIR}/quake2-data/baseq2/ \
+ build_release || die
+}
+
+src_install() {
+ cd release*
+
+ exeinto ${GAMES_LIBDIR}/${PN}
+ doexe gamei386.so ref_softx.so
+ exeinto ${GAMES_LIBDIR}/${PN}/ctf
+ doexe ctf/gamei386.so
+ newgamesbin quake2 red-blue-quake2
+
+ dodir ${GAMES_DATADIR}/quake2-data
+
+ insinto ${GAMES_SYSCONFDIR}
+ echo ${GAMES_LIBDIR}/${PN} > ${PN}.conf
+ doins ${PN}.conf
+
+ prepgamesdirs
+}
diff --git a/games-fps/rott/ChangeLog b/games-fps/rott/ChangeLog
new file mode 100644
index 000000000000..3d2dab67ba1e
--- /dev/null
+++ b/games-fps/rott/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for app-games/rott
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/rott/ChangeLog,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+*rott-1.0 (19 Jun 2003)
+
+ 19 Jun 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me.
diff --git a/games-fps/rott/Manifest b/games-fps/rott/Manifest
new file mode 100644
index 000000000000..bfb660632494
--- /dev/null
+++ b/games-fps/rott/Manifest
@@ -0,0 +1,4 @@
+MD5 0bf19fb6df4863df701e4a1027749beb rott-1.0.ebuild 1106
+MD5 b9d4e3897be46c3c6ab65ecfdf56a616 files/digest-rott-1.0 116
+MD5 725483f80f01ab46de33d31967e3ab72 files/1.0-custom-datapath.patch 1586
+MD5 af822c2f52bec96c922990f45e4ccc9a ChangeLog 330
diff --git a/games-fps/rott/files/1.0-custom-datapath.patch b/games-fps/rott/files/1.0-custom-datapath.patch
new file mode 100644
index 000000000000..90c533113b1f
--- /dev/null
+++ b/games-fps/rott/files/1.0-custom-datapath.patch
@@ -0,0 +1,49 @@
+--- rott-1.0/rott/rt_main.c.orig 2003-06-19 23:03:34.000000000 -0400
++++ rott-1.0/rott/rt_main.c 2003-06-19 23:04:49.000000000 -0400
+@@ -763,9 +763,9 @@
+ // Normal ROTT wads
+
+ #if (SHAREWARE)
+- newargs [argnum++] = "huntbgin.wad";
++ newargs [argnum++] = DATADIR "huntbgin.wad";
+ #else
+- newargs [argnum++] = "darkwar.wad";
++ newargs [argnum++] = DATADIR "darkwar.wad";
+ #endif
+
+ // newargs [argnum++] = "credits.wad";
+@@ -785,7 +785,7 @@
+ }
+ else
+ {
+- newargs [argnum++] = "remote1.rts";
++ newargs [argnum++] = DATADIR "remote1.rts";
+ }
+
+ newargs [argnum++] = NULL;
+--- rott-1.0/rott/_rt_ted.h.orig 2003-06-19 23:15:26.000000000 -0400
++++ rott-1.0/rott/_rt_ted.h 2003-06-19 23:15:54.000000000 -0400
+@@ -84,17 +84,17 @@
+ #define MAXSILLYSTRINGS 32
+
+ #if (SHAREWARE==0)
+- #define STANDARDGAMELEVELS ("DARKWAR.RTL")
++ #define STANDARDGAMELEVELS (DATADIR "DARKWAR.RTL")
+ #if (SUPERROTT==1)
+- #define STANDARDBATTLELEVELS ("ROTTCD.RTC")
++ #define STANDARDBATTLELEVELS (DATADIR "ROTTCD.RTC")
+ #elif (SITELICENSE==1)
+- #define STANDARDBATTLELEVELS ("ROTTSITE.RTC")
++ #define STANDARDBATTLELEVELS (DATADIR "ROTTSITE.RTC")
+ #else
+- #define STANDARDBATTLELEVELS ("DARKWAR.RTC")
++ #define STANDARDBATTLELEVELS (DATADIR "DARKWAR.RTC")
+ #endif
+ #else
+- #define STANDARDGAMELEVELS ("HUNTBGIN.RTL")
+- #define STANDARDBATTLELEVELS ("HUNTBGIN.RTC")
++ #define STANDARDGAMELEVELS (DATADIR "HUNTBGIN.RTL")
++ #define STANDARDBATTLELEVELS (DATADIR "HUNTBGIN.RTC")
+ #endif
+
+
diff --git a/games-fps/rott/files/digest-rott-1.0 b/games-fps/rott/files/digest-rott-1.0
new file mode 100644
index 000000000000..0465c1828282
--- /dev/null
+++ b/games-fps/rott/files/digest-rott-1.0
@@ -0,0 +1,2 @@
+MD5 c1c6cbecf00f2229cf2e0053334dcfc1 rott-1.0.tar.gz 777281
+MD5 0150bf731e703cc91b8c5e21cb9402f3 swdata.zip 2889672
diff --git a/games-fps/rott/rott-1.0.ebuild b/games-fps/rott/rott-1.0.ebuild
new file mode 100644
index 000000000000..4bf1c8d8f108
--- /dev/null
+++ b/games-fps/rott/rott-1.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/rott/rott-1.0.ebuild,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+inherit games eutils
+
+DESCRIPTION="Rise of the Triad for Linux!"
+HOMEPAGE="http://www.icculus.org/rott/"
+SRC_URI="http://www.icculus.org/rott/releases/${P}.tar.gz
+ http://filesingularity.timedoctor.org/swdata.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND="media-libs/libsdl
+ media-libs/sdl-mixer"
+
+S=${WORKDIR}/${P}/rott
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${PV}-custom-datapath.patch
+}
+
+src_compile() {
+ make clean || die
+ make EXTRACFLAGS="${CFLAGS} -DDATADIR=\\\"${GAMES_DATADIR}/${PN}/\\\"" || die
+}
+
+src_install() {
+ dogamesbin rott
+ dodoc *.txt ../{README,readme.txt}
+
+ cd ${WORKDIR}
+ insinto ${GAMES_DATADIR}/${PN}
+ doins *.dmo huntbgin.* remote1.rts
+
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ einfo "The shareware version has been installed."
+ einfo "To play the full version, just copy the"
+ einfo "data files to ${GAMES_DATADIR}/${PN}/"
+ games_pkg_postinst
+}
diff --git a/games-fps/rtcw/ChangeLog b/games-fps/rtcw/ChangeLog
new file mode 100644
index 000000000000..ba9045203a8b
--- /dev/null
+++ b/games-fps/rtcw/ChangeLog
@@ -0,0 +1,23 @@
+# ChangeLog for app-games/rtcw
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/rtcw/ChangeLog,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+ 06 Aug 2003; Chris Gianelloni <wolf31o2@gentoo.org> rtcw-1.41.ebuild:
+ Making sure icon pixmap is put in /usr/share/pixmaps for the .desktop entry
+
+ 05 Aug 2003; Chris Gianelloni <wolf31o2@gentoo.org> rtcw-1.41.ebuild:
+ Fixed my bad spelling
+
+ 16 Jul 2003; Chris Gianelloni <wolf31o2@gentoo.org> rtcw-1.41.ebuild,
+ files/wolf-ded, files/wolf-ded.rc, files/wolfded, files/wolfded.rc,
+ files/wolfmp, files/wolfsp:
+ Add support for unpack_makeself, USE=dedicated, Gnome/KDE .desktop entries,
+ and rename dedicated files to match dedicated scheme
+
+*rtcw-1.41 (07 Jul 2003)
+
+ 07 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by
+ Chris Gianelloni <wolf31o2@hotmail.com>
+ Frederic Mangeant <frederic.mangeant@free.fr>
+ #22151 #22626.
diff --git a/games-fps/rtcw/Manifest b/games-fps/rtcw/Manifest
new file mode 100644
index 000000000000..dab06a6c7042
--- /dev/null
+++ b/games-fps/rtcw/Manifest
@@ -0,0 +1,7 @@
+MD5 ca2393719b8688e04899382660b61aa5 rtcw-1.41.ebuild 2299
+MD5 1dd73682e5f57e52fdb60c26854ba13e files/digest-rtcw-1.41 150
+MD5 3d58eca1ff127b6845b7aa8c1ec0f0bc files/wolf 43
+MD5 4a1d56772b4785b78b72797a2aa67167 files/wolf-ded 46
+MD5 21c77872e8e5895ab6dd6894f5489420 files/wolf-ded.rc 583
+MD5 bb5dd39c730fad5632b5d2067f442387 ChangeLog 990
+MD5 1a77de647b19faf58f4561b4b22e675d metadata.xml 1053
diff --git a/games-fps/rtcw/files/digest-rtcw-1.41 b/games-fps/rtcw/files/digest-rtcw-1.41
new file mode 100644
index 000000000000..c47e06895b3e
--- /dev/null
+++ b/games-fps/rtcw/files/digest-rtcw-1.41
@@ -0,0 +1,2 @@
+MD5 87c3ebf106b107b60b472863aeec20c4 wolf-linux-1.4-full.x86.run 73536309
+MD5 df2997a5bbf66ee5a6c552f9624f6770 wolf-linux-update-1.41.x86.run 5015509
diff --git a/games-fps/rtcw/files/wolf b/games-fps/rtcw/files/wolf
new file mode 100644
index 000000000000..4022f75261f4
--- /dev/null
+++ b/games-fps/rtcw/files/wolf
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd GENTOO_DIR
+exec ./wolf.x86 $*
diff --git a/games-fps/rtcw/files/wolf-ded b/games-fps/rtcw/files/wolf-ded
new file mode 100644
index 000000000000..fafa1c464703
--- /dev/null
+++ b/games-fps/rtcw/files/wolf-ded
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd GENTOO_DIR
+exec ./wolfded.x86 $*
diff --git a/games-fps/rtcw/files/wolf-ded.rc b/games-fps/rtcw/files/wolf-ded.rc
new file mode 100644
index 000000000000..fec963422e76
--- /dev/null
+++ b/games-fps/rtcw/files/wolf-ded.rc
@@ -0,0 +1,25 @@
+#!/sbin/runscript
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/rtcw/files/wolf-ded.rc,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting RTCW dedicated server..."
+ screen -A -m -d -S rtcw su - dedicated -c GENTOO_DIR/startwolfded
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping RTCW dedicated server..."
+ kill `screen -list | grep rtcw | awk -F . '{ print $1 }' | sed -e s/.//`
+ eend $?
+
+}
+
+status() {
+ screen -list | grep rtcwded
+}
diff --git a/games-fps/rtcw/metadata.xml b/games-fps/rtcw/metadata.xml
new file mode 100644
index 000000000000..40060ace7726
--- /dev/null
+++ b/games-fps/rtcw/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+<maintainer>
+ <email>wolf31o2@gentoo.org</email>
+ <name>Chris Gianelloni</name>
+</maintainer>
+<longdescription>
+Return to Castle Wolfenstein is a first-person 3-D shooter based loosely on the original Wolfenstein series by id software. The game takes place in Europe during World War II. In the single player game, you play as a US military special operative sent behind enemy lines to stop the Nazi studies into the supernatural and the occult. The multi-player game is a team-based, goal-oriented series of missions and allows you to play as either the Axis or the Allies. There are several classes of characters you can play, each with their own special abilities and weapon choices. The port to Linux was done by TTimo of id software and is an unsupported binary release. This game is commercial software and requires data from the retail Windows version to play.
+</longdescription>
+</pkgmetadata>
diff --git a/games-fps/rtcw/rtcw-1.41.ebuild b/games-fps/rtcw/rtcw-1.41.ebuild
new file mode 100644
index 000000000000..9d2791579315
--- /dev/null
+++ b/games-fps/rtcw/rtcw-1.41.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+
+inherit games
+
+DESCRIPTION="Return to Castle Wolfenstein - Long awaited sequel to Wolfenstein 3D"
+SRC_URI="ftp://ftp.idsoftware.com/idstuff/wolf/linux/wolf-linux-1.4-full.x86.run
+ ftp://3dgamers.in-span.net/pub/3dgamers3/games/returnwolfenstein/wolf-linux-1.4-full.x86.run
+ ftp://ftp.idsoftware.com/idstuff/wolf/linux/wolf-linux-update-${PV}.x86.run
+ ftp://3dgamers.in-span.net/pub/3dgamers3/games/returnwolfenstein/wolf-linux-update-${PV}.x86.run"
+
+HOMEPAGE="http://games.activision.com/games/wolfenstein/"
+
+LICENSE="RTCW"
+SLOT="0"
+KEYWORDS="x86"
+RESTRICT="nostrip"
+IUSE="opengl dedicated"
+
+DEPEND="virtual/glibc"
+RDEPEND="dedicated? ( app-misc/screen )
+ !dedicated? ( virtual/opengl )
+ opengl? ( virtual/opengl )"
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack_makeself wolf-linux-1.4-full.x86.run
+ unpack_makeself wolf-linux-update-${PV}.x86.run
+# tail +179 ${DISTDIR}/wolf-linux-1.4-full.x86.run | gzip -cd | tar xf - || die "full"
+}
+
+src_install() {
+ local dir=${GAMES_PREFIX_OPT}/${PN}
+ dodir ${dir}
+
+ cp -r main Docs pb ${D}/${dir}/
+
+ exeinto ${dir}
+ doexe bin/x86/*.x86 ${FILESDIR}/wolf-ded openurl.sh
+ dosed "s:GENTOO_DIR:${dir}:" ${dir}/wolf-ded
+ dogamesbin ${FILESDIR}/wolf ${FILESDIR}/wolf-ded
+ dosed "s:GENTOO_DIR:${dir}:" ${GAMES_BINDIR}/wolf
+ dosed "s:GENTOO_DIR:${dir}:" ${GAMES_BINDIR}/wolf-ded
+
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/wolf-ded.rc wolf-ded
+ dosed "s:GENTOO_DIR:${dir}:" /etc/init.d/wolf-ded
+
+ insinto ${dir}
+ doins WolfMP.xpm WolfSP.xpm INSTALL QUICKSTART CHANGES RTCW-README-1.4.txt
+ insinto /usr/share/pixmaps
+ doins WolfMP.xpm
+
+ prepgamesdirs
+ make_desktop_entry wolf "RtCW" WolfMP.xpm
+}
+
+pkg_postinst() {
+ einfo "You need to copy pak0.pk3, mp_pak0.pk3, mp_pak1.pk3, mp_pak2.pk3,"
+ einfo "sp_pak1.pk3 and sp_pak2.pk3 from a Window installation into ${dir}/main/"
+ echo
+ einfo "To play the game run:"
+ einfo " wolf"
+ if [ "`use dedicated`" ];
+ then
+ echo
+ einfo "To start a dedicated server run:"
+ einfo " /etc/init.d/wolf-ded start"
+ echo
+ einfo "To run the dedicated server at boot, type:"
+ einfo " rc-update add wolf-ded default"
+ echo
+ einfo "The dedicated server is started under the ${GAMES_USER_DED} user account"
+ fi
+ games_pkg_postinst
+}
diff --git a/games-fps/soldieroffortune/ChangeLog b/games-fps/soldieroffortune/ChangeLog
new file mode 100644
index 000000000000..e1c7cb225d1c
--- /dev/null
+++ b/games-fps/soldieroffortune/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-games/soldieroffortune
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/soldieroffortune/ChangeLog,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+*soldieroffortune-1.06a (27 Jul 2003)
+
+ 27 Jul 2003; Chris Gianelloni <wolf31o2@gentoo.org>
+ soldieroffortune-1.06a.ebuild, files/sof:
+ Initial import. Ebuild by me.
+
diff --git a/games-fps/soldieroffortune/Manifest b/games-fps/soldieroffortune/Manifest
new file mode 100644
index 000000000000..45452aa0d4cb
--- /dev/null
+++ b/games-fps/soldieroffortune/Manifest
@@ -0,0 +1,5 @@
+MD5 f1735c1d8914bf2795d7a08c1053de98 ChangeLog 407
+MD5 d08766eb65c8f0b343e4a2b6ed2a9918 soldieroffortune-1.06a.ebuild 2032
+MD5 e055f0cedd35a8ca9240ec727e52acf2 metadata.xml 968
+MD5 428261b94ec1355a846a1797056c894c files/digest-soldieroffortune-1.06a 70
+MD5 58f9b2124d72bc96aa6f6867cf4e9e61 files/sof 38
diff --git a/games-fps/soldieroffortune/files/digest-soldieroffortune-1.06a b/games-fps/soldieroffortune/files/digest-soldieroffortune-1.06a
new file mode 100644
index 000000000000..9db8d5c0598f
--- /dev/null
+++ b/games-fps/soldieroffortune/files/digest-soldieroffortune-1.06a
@@ -0,0 +1 @@
+MD5 ab5aa49149bc9aa645029557fcb7f40d sof-1.06a-cdrom-x86.run 22928437
diff --git a/games-fps/soldieroffortune/files/sof b/games-fps/soldieroffortune/files/sof
new file mode 100644
index 000000000000..7f83b44bbdc4
--- /dev/null
+++ b/games-fps/soldieroffortune/files/sof
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd GENTOO_DIR
+exec ./sof $*
diff --git a/games-fps/soldieroffortune/metadata.xml b/games-fps/soldieroffortune/metadata.xml
new file mode 100644
index 000000000000..ef406ccc8e2d
--- /dev/null
+++ b/games-fps/soldieroffortune/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+<maintainer>
+ <email>wolf31o2@gentoo.org</email>
+ <name>Chris Gianelloni</name>
+</maintainer>
+<longdescription>
+Soldier of Fortune is a first-person 3-D shooter based on the mercenary trade. You play as John, an ex-military mercinary who still has plenty of good friends on the inside. For a wad of bucks, you'll do the job -- no cares, no worries. Just get the gun, play for keeps, get paid, on to the next one -- that's your life. That's what you do. And you're good at it, one of the best even. But now is the time for your biggest challenge ever. The game was ported to Linux by the now defunct Loki Entertainment and is commercial software. You can still pick up a copy from Tuxgames (http://www.tuxgames.com), but supplies are limited, as the publisher is no longer in business.
+</longdescription>
+</pkgmetadata>
diff --git a/games-fps/soldieroffortune/soldieroffortune-1.06a.ebuild b/games-fps/soldieroffortune/soldieroffortune-1.06a.ebuild
new file mode 100644
index 000000000000..4acb73c2fe36
--- /dev/null
+++ b/games-fps/soldieroffortune/soldieroffortune-1.06a.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/soldieroffortune/soldieroffortune-1.06a.ebuild,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+inherit games
+
+IUSE=""
+DESCRIPTION="Soldier of Fortune - First-person shooter based on the mercinary trade"
+HOMEPAGE="http://www.lokigames.com/products/sof/"
+SRC_URI="ftp://ftp.planetmirror.com/pub/lokigames/updates/sof/sof-${PV}-cdrom-x86.run
+ ftp://snuffleupagus.animearchive.org/loki/updates/sof/sof-${PV}-cdrom-x86.run"
+
+LICENSE="LOKI-EULA"
+SLOT="0"
+KEYWORDS="x86"
+RESTRICT="nostrip"
+
+DEPEND="virtual/glibc"
+RDEPEND="${DEPEND}
+ virtual/opengl"
+
+S=${WORKDIR}
+
+dir=${GAMES_PREFIX_OPT}/${PN}
+Ddir=${D}/${dir}
+
+pkg_setup() {
+ ewarn "The installed game takes about 725MB of space!"
+ games_pkg_setup
+}
+
+src_unpack() {
+ unpack_makeself
+}
+
+src_install() {
+ dodir ${dir}
+ games_get_cd sof.xpm
+ games_verify_cd "Soldier of Fortune"
+ einfo "Copying files... this may take a while..."
+ exeinto /opt/soldieroffortune
+ doexe ${GAMES_CD}/bin/x86/glibc-2.1/sof
+ insinto /opt/soldieroffortune
+
+ cp ${GAMES_CD}/{README,kver.pub,sof.xpm} ${Ddir}
+
+ cd ${Ddir}
+
+ tar xzf ${GAMES_CD}/paks.tar.gz || die "uncompressing data"
+ tar xzf ${GAMES_CD}/binaries.tar.gz || die "uncompressing binaries"
+
+ cd ${S}
+ bin/Linux/x86/loki_patch --verify patch.dat
+ bin/Linux/x86/loki_patch patch.dat ${Ddir} >& /dev/null || die "patching"
+
+ # now, since these files are coming off a cd, the times/sizes/md5sums wont
+ # be different ... that means portage will try to unmerge some files (!)
+ # we run touch on ${D} so as to make sure portage doesnt do any such thing
+ find ${Ddir} -exec touch '{}' \;
+
+ dodir ${GAMES_BINDIR}
+ dogamesbin ${FILESDIR}/sof
+ dosed "s:GENTOO_DIR:${dir}:" ${GAMES_BINDIR}/sof
+ insinto /usr/share/pixmaps
+ doins ${GAMES_CD}/sof.xpm
+
+ prepgamesdirs
+ make_desktop_entry sof "Soldier of Fortune" "sof.xpm"
+}
+
+pkg_postinst() {
+ einfo "To play the game run:"
+ einfo " sof"
+
+ games_pkg_postinst
+}
diff --git a/games-fps/tenebrae/ChangeLog b/games-fps/tenebrae/ChangeLog
new file mode 100644
index 000000000000..a9a9d6c43288
--- /dev/null
+++ b/games-fps/tenebrae/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-games/tenebrae
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/tenebrae/ChangeLog,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+ 02 Aug 2003; Chris Gianelloni <wolf31o2@gentoo.org> tenebrae-1.04.ebuild:
+ Fixed to use mirror://sourceforge
+
+*tenebrae-1.04 (15 Jul 2003)
+
+ 15 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me.
diff --git a/games-fps/tenebrae/Manifest b/games-fps/tenebrae/Manifest
new file mode 100644
index 000000000000..dc7cb84fe0da
--- /dev/null
+++ b/games-fps/tenebrae/Manifest
@@ -0,0 +1,4 @@
+MD5 101db2b4d5a51dc6f63c6c5433dee3c0 files/digest-tenebrae-1.04 125
+MD5 af27eea7293c16e6182d5d0099bf0ba6 files/1.04-nvidia-opengl.patch 2587
+MD5 8d6f64264885521c9a649f85936a6fbb tenebrae-1.04.ebuild 1490
+MD5 6de1d0b6cd04ead84834920192b7a0f9 ChangeLog 458
diff --git a/games-fps/tenebrae/files/1.04-nvidia-opengl.patch b/games-fps/tenebrae/files/1.04-nvidia-opengl.patch
new file mode 100644
index 000000000000..7f1ec7f722c6
--- /dev/null
+++ b/games-fps/tenebrae/files/1.04-nvidia-opengl.patch
@@ -0,0 +1,56 @@
+--- glquake.h 2003-07-14 17:06:01.000000000 -0400
++++ ../../glquake.h 2003-07-15 02:24:09.000000000 -0400
+@@ -483,7 +483,7 @@
+
+ #endif /* !__APPLE__ && !MACOSX */
+
+-#ifndef GL_VERSION_1_3
++//#ifndef GL_VERSION_1_3
+ typedef void (APIENTRY * PFNGLACTIVETEXTUREARBPROC) (GLenum texture);
+ typedef void (APIENTRY * PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture);
+ typedef void (APIENTRY * PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s);
+@@ -518,7 +518,7 @@
+ typedef void (APIENTRY * PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v);
+ typedef void (APIENTRY * PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
+ typedef void (APIENTRY * PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v);
+-#endif
++//#endif
+
+ extern PFNGLACTIVETEXTUREARBPROC qglActiveTextureARB;
+ extern PFNGLCLIENTACTIVETEXTUREARBPROC qglClientActiveTextureARB;
+@@ -657,7 +657,7 @@
+ #endif /* !__APPLE__ && !MACOSX */
+
+ // - DC -
+-#if !defined(SDL) && !defined (__glx__)
++//#if !defined(SDL) && !defined (__glx__)
+ typedef void (APIENTRY * PFNGLCOMBINERPARAMETERFVNVPROC) (GLenum pname, const GLfloat *params);
+ typedef void (APIENTRY * PFNGLCOMBINERPARAMETERFNVPROC) (GLenum pname, GLfloat param);
+ typedef void (APIENTRY * PFNGLCOMBINERPARAMETERIVNVPROC) (GLenum pname, const GLint *params);
+@@ -671,7 +671,7 @@
+ typedef void (APIENTRY * PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLint *params);
+ typedef void (APIENTRY * PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC) (GLenum variable, GLenum pname, GLfloat *params);
+ typedef void (APIENTRY * PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC) (GLenum variable, GLenum pname, GLint *params);
+-#endif
++//#endif
+
+ extern PFNGLCOMBINERPARAMETERFVNVPROC qglCombinerParameterfvNV;
+ extern PFNGLCOMBINERPARAMETERIVNVPROC qglCombinerParameterivNV;
+@@ -892,7 +892,7 @@
+
+ //PENTA: VERTEX_PROGRAM
+
+-#ifndef GL_NV_vertex_program
++//#ifndef GL_NV_vertex_program
+ /* NV_vertex_program */
+ #define GL_VERTEX_PROGRAM_NV 0x8620
+ #define GL_VERTEX_STATE_PROGRAM_NV 0x8621
+@@ -1042,7 +1042,7 @@
+ typedef void (APIENTRY * PFNGLVERTEXATTRIBS4FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
+ typedef void (APIENTRY * PFNGLVERTEXATTRIBS4SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
+ typedef void (APIENTRY * PFNGLVERTEXATTRIBS4UBVNVPROC) (GLuint index, GLsizei count, const GLubyte *v);
+-#endif
++//#endif
+
+ extern PFNGLAREPROGRAMSRESIDENTNVPROC qglAreProgramsResidentNV ;
+ extern PFNGLBINDPROGRAMNVPROC qglBindProgramNV ;
diff --git a/games-fps/tenebrae/files/digest-tenebrae-1.04 b/games-fps/tenebrae/files/digest-tenebrae-1.04
new file mode 100644
index 000000000000..45ea21bb6d94
--- /dev/null
+++ b/games-fps/tenebrae/files/digest-tenebrae-1.04
@@ -0,0 +1,2 @@
+MD5 b0769654088b4b9f46e69503ff453ec2 tenebraedata.zip 3989498
+MD5 7ca8eadff6ff7d70de0e275ce93f9cd7 tenebrae-1.04.tbz2 625988
diff --git a/games-fps/tenebrae/tenebrae-1.04.ebuild b/games-fps/tenebrae/tenebrae-1.04.ebuild
new file mode 100644
index 000000000000..3b1351f22ddf
--- /dev/null
+++ b/games-fps/tenebrae/tenebrae-1.04.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/tenebrae/tenebrae-1.04.ebuild,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+#ECVS_SERVER="cvs.tenebrae.sourceforge.net:/cvsroot/tenebrae"
+#ECVS_MODULE="tenebrae_0"
+#inherit cvs
+inherit games eutils
+
+DESCRIPTION="adds stencil shadows and per pixel lights to quake"
+HOMEPAGE="http://tenebrae.sourceforge.net/"
+SRC_URI="mirror://sourceforge/tenebrae/tenebraedata.zip
+ mirror://gentoo/${P}.tbz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND="virtual/opengl
+ virtual/x11
+ media-libs/libpng
+ sys-libs/zlib"
+# sdl? ( media-libs/libsdl )"
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack ${A}
+ #cvs_src_unpack
+ cd tenebrae_0
+ local gl="`ls -al /usr/include/GL/gl.h | awk '{print $NF}' | cut -d/ -f5`"
+ [ "${gl}" == "nvidia" ] && epatch ${FILESDIR}/${PV}-nvidia-opengl.patch
+ cd linux
+ sed "s:-mpentiumpro:${CFLAGS}:" Makefile.i386linux > Makefile
+ #if [ `use sdl` ] ; then
+ # cd ../sdl
+ # ./autogen.sh
+ #fi
+}
+
+src_compile() {
+ cd ${S}/tenebrae_0/linux
+ make MASTER_DIR=${GAMES_DATADIR}/quake-data build_release || die
+ #if [ `use sdl` ] ; then
+ # cd ${S}/tenebrae_0/sdl
+ # egamesconf || die
+ # make || die
+ #fi
+}
+
+src_install() {
+ newgamesbin tenebrae_0/linux/release*/bin/tenebrae.run tenebrae
+ insinto ${GAMES_DATADIR}/quake-data/tenebrae
+ doins ${WORKDIR}/tenebrae/*
+ dodoc tenebrae_0/linux/README ${WORKDIR}/Tenebrae_Readme.txt
+ prepgamesdirs
+}
diff --git a/games-fps/transfusion-bin/ChangeLog b/games-fps/transfusion-bin/ChangeLog
new file mode 100644
index 000000000000..8a9514b7f31d
--- /dev/null
+++ b/games-fps/transfusion-bin/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-games/transfusion-bin
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/transfusion-bin/ChangeLog,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+*transfusion-bin-1.01 (13 Aug 2003)
+
+ 13 Aug 2003; Michael Sterrett <msterret@gentoo.org>
+ transfusion-bin-1.01.ebuild, files/transfusion:
+ initial commit. (bug 26228)
+
diff --git a/games-fps/transfusion-bin/Manifest b/games-fps/transfusion-bin/Manifest
new file mode 100644
index 000000000000..6bf9a0a6fa9b
--- /dev/null
+++ b/games-fps/transfusion-bin/Manifest
@@ -0,0 +1,4 @@
+MD5 98fbb443fc3dc6128e495977c02a5d99 transfusion-bin-1.01.ebuild 1138
+MD5 964b6a3b08b385384eec2999e4feac92 ChangeLog 406
+MD5 29086edf8b4ad73829f8b3c59088042b files/transfusion 65
+MD5 bb61fedc5e54bc874cbb937a0696103e files/digest-transfusion-bin-1.01 160
diff --git a/games-fps/transfusion-bin/files/digest-transfusion-bin-1.01 b/games-fps/transfusion-bin/files/digest-transfusion-bin-1.01
new file mode 100644
index 000000000000..8b782d949222
--- /dev/null
+++ b/games-fps/transfusion-bin/files/digest-transfusion-bin-1.01
@@ -0,0 +1,2 @@
+MD5 58e8655f1a512b2c21096f54aeede38d transfusion-1.0-linux.i386.zip 40532193
+MD5 158ac79783e73217cea157b023c93b9d transfusion-patch-1.01-linux.i386.zip 8790776
diff --git a/games-fps/transfusion-bin/files/transfusion b/games-fps/transfusion-bin/files/transfusion
new file mode 100644
index 000000000000..316b16625997
--- /dev/null
+++ b/games-fps/transfusion-bin/files/transfusion
@@ -0,0 +1,2 @@
+#!/bin/sh
+cd GENTOO_DIR && exec ./transfusion-glx ${@} || exit 1
diff --git a/games-fps/transfusion-bin/transfusion-bin-1.01.ebuild b/games-fps/transfusion-bin/transfusion-bin-1.01.ebuild
new file mode 100644
index 000000000000..cea92bd38d72
--- /dev/null
+++ b/games-fps/transfusion-bin/transfusion-bin-1.01.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+#
+
+inherit games
+
+MY_PN=${PN/-bin/}
+DESCRIPTION="Blood remake"
+HOMEPAGE="http://www.planetblood.com/qblood/"
+SRC_URI="mirror://sourceforge/blood/${MY_PN}-1.0-linux.i386.zip
+ mirror://sourceforge/blood/${MY_PN}-patch-${PV}-linux.i386.zip"
+
+RESTRICT="nostrip"
+KEYWORDS="-* x86"
+LICENSE="GPL-2"
+SLOT="0"
+
+DEPEND=">=sys-apps/sed-4"
+
+S="${WORKDIR}/${MY_PN}"
+
+src_install() {
+ local dir=${GAMES_PREFIX_OPT}/${MY_PN}
+
+ dodir ${dir}
+
+ # install everything that looks anything like docs...
+ dodoc ${MY_PN}/doc/*.txt ${MY_PN}/*txt qw/*txt
+ dohtml ${MY_PN}/doc/*.html
+
+ #...then mass copy everything to the install dir...
+ cp -R * ${D}/${dir}/
+
+ # ...and remove the docs since we don't need them installed twice.
+ rm -rf \
+ ${D}/${dir}/${MY_PN}/doc \
+ ${D}/${dir}/qw/*txt \
+ ${D}/${dir}/${MY_PN}/*txt
+
+ # install the wrapper...
+ dogamesbin ${FILESDIR}/transfusion
+ # ...and make it cd to the right place.
+ sed -i \
+ -e "s:GENTOO_DIR:${dir}:" ${D}/${GAMES_BINDIR}/transfusion || \
+ die "sed transfusion failed"
+
+ prepgamesdirs
+}
diff --git a/games-fps/ttyquake/ChangeLog b/games-fps/ttyquake/ChangeLog
new file mode 100644
index 000000000000..6638368b72d8
--- /dev/null
+++ b/games-fps/ttyquake/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for app-games/ttyquake
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/ttyquake/ChangeLog,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+*ttyquake-0.4.2 (14 Jul 2003)
+
+ 14 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me.
diff --git a/games-fps/ttyquake/Manifest b/games-fps/ttyquake/Manifest
new file mode 100644
index 000000000000..7387c5ab71dc
--- /dev/null
+++ b/games-fps/ttyquake/Manifest
@@ -0,0 +1,4 @@
+MD5 7fec40d6ba955e1887992f85543d2b5e ChangeLog 344
+MD5 21acf48f9c126e5a41e39c4f0195399f ttyquake-0.4.2.ebuild 983
+MD5 840f23fc62d1eeee5fb8b1972afa769e files/digest-ttyquake-0.4.2 66
+MD5 eb38e9aaa3e52235ac67bfd13a8e9ca3 files/ttyquake 780
diff --git a/games-fps/ttyquake/files/digest-ttyquake-0.4.2 b/games-fps/ttyquake/files/digest-ttyquake-0.4.2
new file mode 100644
index 000000000000..877215aeea7d
--- /dev/null
+++ b/games-fps/ttyquake/files/digest-ttyquake-0.4.2
@@ -0,0 +1 @@
+MD5 bad02748bf8a07640792cb052db04eef ttyquake-0.4.2.tar.gz 269119
diff --git a/games-fps/ttyquake/files/ttyquake b/games-fps/ttyquake/files/ttyquake
new file mode 100644
index 000000000000..e43cf8eb43c0
--- /dev/null
+++ b/games-fps/ttyquake/files/ttyquake
@@ -0,0 +1,26 @@
+#!/bin/sh
+DISPLAY=
+export LD_LIBRARY_PATH=GENTOO_LIBDIR:${LD_LIBRARY_PATH}
+
+if [ `whoami` = "root" ];then
+ echo "***********************************"
+ echo "* You can't run ttyquake as root. *"
+ echo "* Didn't you read the damn README *"
+ echo "* file? *"
+ echo "***********************************"
+ exit
+fi
+
+if [ -u GAMES_BINDIR/squake ];then
+ echo "**********************************"
+ echo "* /squake is setuid. ttyquake *"
+ echo "* won't work unless you turn off *"
+ echo "* the setuid bit. As root, *"
+ echo "* please do: *"
+ echo "* chmod -s squake *"
+ echo "* and then run ttyquake again. *"
+ echo "**********************************"
+ exit
+fi
+
+exec squake -nostdout $*
diff --git a/games-fps/ttyquake/ttyquake-0.4.2.ebuild b/games-fps/ttyquake/ttyquake-0.4.2.ebuild
new file mode 100644
index 000000000000..474e93c9376d
--- /dev/null
+++ b/games-fps/ttyquake/ttyquake-0.4.2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/ttyquake/ttyquake-0.4.2.ebuild,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+inherit games eutils gcc
+
+DESCRIPTION="Play Quake at a text terminal, in an xterm, or over a telnet session"
+HOMEPAGE="http://webpages.mr.net/bobz/ttyquake/"
+SRC_URI="ftp://ftp.skypoint.com/pub/members/b/bobz/${P}.tar.gz
+ http://webpages.mr.net/bobz/ttyquake/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+
+RDEPEND="app-games/quake1"
+
+S=${WORKDIR}
+
+pkg_setup() {
+ [ -x ${GAMES_BINDIR}/squake ] || die "You must emerge quake1 with svga in your USE"
+ games_pkg_setup
+}
+
+src_install() {
+ exeinto ${GAMES_LIBDIR}/${PN}
+ doexe tty/*
+ dogamesbin ${FILESDIR}/ttyquake
+ dosed "s:GENTOO_LIBDIR:${GAMES_LIBDIR}/${PN}:" ${GAMES_BINDIR}/ttyquake
+ dosed "s:GENTOO_BINDIR:${GAMES_BINDIR}:" ${GAMES_BINDIR}/ttyquake
+
+ dodoc README.ttyquake
+ prepgamesdirs
+}
diff --git a/games-fps/unreal-tournament-bonuspacks/ChangeLog b/games-fps/unreal-tournament-bonuspacks/ChangeLog
new file mode 100644
index 000000000000..e3711fc44fae
--- /dev/null
+++ b/games-fps/unreal-tournament-bonuspacks/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-games/unreal-tournament-bonuspacks
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/unreal-tournament-bonuspacks/ChangeLog,v 1.1 2003/09/09 18:10:15 vapier Exp $
+
+ 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
+
+*unreal-tournament-bonuspacks-436 (23 Oct 2002)
+
+ 23 Oct 2002; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me.
diff --git a/games-fps/unreal-tournament-bonuspacks/Manifest b/games-fps/unreal-tournament-bonuspacks/Manifest
new file mode 100644
index 000000000000..c5b128cdc0c9
--- /dev/null
+++ b/games-fps/unreal-tournament-bonuspacks/Manifest
@@ -0,0 +1,3 @@
+MD5 c453276b776dbe01e68995c13509674d files/digest-unreal-tournament-bonuspacks-436 321
+MD5 237a8afc852dcfa1decf2998375b14b4 unreal-tournament-bonuspacks-436.ebuild 1345
+MD5 7cc5420bfd359387c5b8cf4b19cc4200 ChangeLog 482
diff --git a/games-fps/unreal-tournament-bonuspacks/files/digest-unreal-tournament-bonuspacks-436 b/games-fps/unreal-tournament-bonuspacks/files/digest-unreal-tournament-bonuspacks-436
new file mode 100644
index 000000000000..0c2bd155a4de
--- /dev/null
+++ b/games-fps/unreal-tournament-bonuspacks/files/digest-unreal-tournament-bonuspacks-436
@@ -0,0 +1,5 @@
+MD5 3b13b271208fe72022e265960cda66ad umodpack-0.5b16-nogui.tar.gz 115424
+MD5 e79b05b8a302593b53721e2a4295c6c0 UTBonusPack.zip 14487626
+MD5 5cf174dab9f91827da9935231c8d1ea6 utbonuspack2.zip 1594927
+MD5 a6623e58a505e26001de46085a98c10f utinoxxpack.zip 5071105
+MD5 c9e7373ee15472ec53e62a7199f33966 UTBonusPack4.zip 14916708
diff --git a/games-fps/unreal-tournament-bonuspacks/unreal-tournament-bonuspacks-436.ebuild b/games-fps/unreal-tournament-bonuspacks/unreal-tournament-bonuspacks-436.ebuild
new file mode 100644
index 000000000000..a30ec798ff13
--- /dev/null
+++ b/games-fps/unreal-tournament-bonuspacks/unreal-tournament-bonuspacks-436.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/unreal-tournament-bonuspacks/unreal-tournament-bonuspacks-436.ebuild,v 1.1 2003/09/09 18:10:15 vapier Exp $
+
+inherit games
+
+DESCRIPTION="Futuristic FPS (bonus packs)"
+HOMEPAGE="http://www.unrealtournament.com/"
+# UT has 4 official bonus packs ...
+# [UTBonusPack] -> loki put into app-games/unreal-tournament
+# [UTBonusPack2] -> loki put into app-games/unreal-tournament
+# [UTiNoxxPack] -> loki put into app-games/unreal-tournament
+# [UTBonusPack4] -> none of this is in app-games/unreal-tournament
+SRC_URI="http://fileserver.talkware.net/ut/bonuspacks/UTBonusPack4.zip
+ http://www.dices.de/dices/files/UTBonusPack4.zip"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="x86 -ppc -sparc -alpha"
+IUSE="X"
+
+DEPEND="app-arch/unzip
+ || ( app-games/unreal-tournament app-games/unreal-tournament-goty )
+ app-games/umodpack"
+RDEPEND="X? ( virtual/x11 )"
+
+S=${WORKDIR}
+
+src_install() {
+ # unpack the UTBonusPack4 umod
+ umod -v -b `pwd` -x UTBonusPack4.umod || die "could not unpack UTBonusPack4.umod"
+
+ # move stuff around
+ rm UTBonusPack4.umod
+ mv system System
+ mv textures Textures
+
+ # install it all
+ local dir=${GAMES_PREFIX_OPT}/unreal-tournament
+ dodir ${dir}
+ mv * ${D}/${dir}/
+
+ prepgamesdirs
+}
diff --git a/games-fps/unreal-tournament-goty/ChangeLog b/games-fps/unreal-tournament-goty/ChangeLog
new file mode 100644
index 000000000000..93420f5b83d6
--- /dev/null
+++ b/games-fps/unreal-tournament-goty/ChangeLog
@@ -0,0 +1,17 @@
+# ChangeLog for app-games/unreal-tournament-goty
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/unreal-tournament-goty/ChangeLog,v 1.1 2003/09/09 18:10:15 vapier Exp $
+
+*unreal-tournament-goty-451 (11 Jul 2003)
+
+ 11 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump to UTPG patches and fix for #24067.
+
+*unreal-tournament-goty-436 (25 Jun 2003)
+
+ 27 Jun 2003; Mike Frysinger <vapier@gentoo.org> :
+ Fix texture install (only 4 minor textures) and add nls support.
+ If we dont want nls, we dont want french/spanish/italian support ;)
+
+ 25 Jun 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me !
diff --git a/games-fps/unreal-tournament-goty/Manifest b/games-fps/unreal-tournament-goty/Manifest
new file mode 100644
index 000000000000..5ea83aaeaeed
--- /dev/null
+++ b/games-fps/unreal-tournament-goty/Manifest
@@ -0,0 +1,5 @@
+MD5 abe1848a16c4dd0dd10fcdfce23eb0fa ChangeLog 723
+MD5 542a2514bd81c2ddc8ab9dbdfad57bc4 unreal-tournament-goty-436.ebuild 6021
+MD5 506a31850d10c1225029e513b36fa628 unreal-tournament-goty-451.ebuild 6357
+MD5 9410f0d78776e5b045bf0f47226a7cd7 files/digest-unreal-tournament-goty-436 142
+MD5 1cbaec035f9fd4841f609ff9edbe9959 files/digest-unreal-tournament-goty-451 135
diff --git a/games-fps/unreal-tournament-goty/files/digest-unreal-tournament-goty-436 b/games-fps/unreal-tournament-goty/files/digest-unreal-tournament-goty-436
new file mode 100644
index 000000000000..9bc0374f7275
--- /dev/null
+++ b/games-fps/unreal-tournament-goty/files/digest-unreal-tournament-goty-436
@@ -0,0 +1,2 @@
+MD5 8ebab3fdcd6ac92605cdec5f82693ec6 ut-install-436-GOTY.run 6340417
+MD5 4728a81018f57b16b604b806432a6fa3 IpDrv-436-Linux-08-20-02.zip 105435
diff --git a/games-fps/unreal-tournament-goty/files/digest-unreal-tournament-goty-451 b/games-fps/unreal-tournament-goty/files/digest-unreal-tournament-goty-451
new file mode 100644
index 000000000000..c70ebb745cdb
--- /dev/null
+++ b/games-fps/unreal-tournament-goty/files/digest-unreal-tournament-goty-451
@@ -0,0 +1,2 @@
+MD5 8ebab3fdcd6ac92605cdec5f82693ec6 ut-install-436-GOTY.run 6340417
+MD5 77a735a78b1eb819042338859900b83b UTPGPatch451.tar.bz2 3064473
diff --git a/games-fps/unreal-tournament-goty/unreal-tournament-goty-436.ebuild b/games-fps/unreal-tournament-goty/unreal-tournament-goty-436.ebuild
new file mode 100644
index 000000000000..19801933325c
--- /dev/null
+++ b/games-fps/unreal-tournament-goty/unreal-tournament-goty-436.ebuild
@@ -0,0 +1,208 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/unreal-tournament-goty/unreal-tournament-goty-436.ebuild,v 1.1 2003/09/09 18:10:15 vapier Exp $
+
+inherit games eutils
+
+DESCRIPTION="Futuristic FPS (Game Of The Year edition)"
+HOMEPAGE="http://www.unrealtournament.com/"
+SRC_URI="ftp://ftp.lokigames.com/pub/beta/ut/ut-install-${PV}-GOTY.run
+ ftp://ftp.lokigames.com/pub/patches/ut/IpDrv-${PV}-Linux-08-20-02.zip"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="X 3dfx S3TC nls"
+
+DEPEND="!app-games/unreal-tournament"
+RDEPEND="X? ( virtual/x11 )"
+
+S=${WORKDIR}
+
+export UT_CD1=${UT_SETUP_CDROM1}
+export UT_CD2=${UT_SETUP_CDROM2}
+if [ -z "${UT_CD1}" ] ; then
+ for mline in `mount | egrep -e '(iso|cdrom)' | awk '{print $3}'` ; do
+ [ ! -d ${mline}/System ] && continue
+ [ -d ${mline}/Help/chaosut ] \
+ && UT_CD2=${mline} \
+ || UT_CD1=${mline}
+ done
+fi
+[ -z "${UT_CD2}" ] && UT_CD2=${UT_CD1}
+
+pkg_setup() {
+ if [ -z "${UT_CD1}" ] || [ -z "${UT_CD2}" ] ; then
+ echo
+ eerror "You must mount the first UT CD first !"
+ echo
+ ewarn "If you do not have the CDs, but have the data files"
+ ewarn "mounted somewhere on your filesystem, just export"
+ ewarn "the variable UT_SETUP_CDROM1 so that it points to the"
+ ewarn "base of the Unreal Tournament GOTY data."
+ echo
+ einfo "If you have 2 CDROM drives you can also export the"
+ einfo "variable UT_SETUP_CDROM2 to specify the 2nd cdrom."
+ einfo "Otherwise you will be prompted to switch CDs in the"
+ einfo "middle of the emerge."
+ echo
+ einfo "Also note that if you want to *just* install the game"
+ einfo "and *not* install the extra GOTY stuff (Chaos mod/different"
+ einfo "languages/S3TC textures) then you can use the regular"
+ einfo "unreal-tournament ebuild instead."
+ echo
+ die "You must provide the Unreal Tournament data before running the install"
+ fi
+ games_pkg_setup
+}
+
+src_unpack() {
+ unpack_makeself ut-install-${PV}-GOTY.run
+ unpack IpDrv-${PV}-Linux-08-20-02.zip
+}
+
+src_install() {
+ local dir=${GAMES_PREFIX_OPT}/${PN/-goty/}
+ dodir ${dir}
+
+ ###########
+ ### PRE ###
+ # System
+ if [ `use 3dfx` ] ; then
+ tar -zxf Glide.ini.tar.gz -C ${D}/${dir} || die "install Glide ini"
+ else
+ tar -zxf OpenGL.ini.tar.gz -C ${D}/${dir} || die "install OpenGL ini"
+ fi
+ tar -zxf data.tar.gz -C ${D}/${dir} || die "extract System data"
+
+ # the most important things, ucc & ut :)
+ exeinto ${dir}
+ doexe bin/x86/{ucc,ut} || die "install ucc/ut"
+ dosed "s:\`FindPath \$0\`:${dir}:" ${dir}/ucc
+
+ # export some symlinks so ppl can run
+ dodir ${GAMES_BINDIR}
+ dosym ${dir}/ucc ${GAMES_BINDIR}/ucc
+ dosym ${dir}/ut ${GAMES_BINDIR}/ut
+ ### PRE ###
+ ###########
+
+
+ ###########
+ ### CD1 ###
+ export UT_CD=${UT_CD1}
+
+ # Help, Logs, Music, Sounds, Textures, Web
+ cp -rf ${UT_CD}/{Help,Logs,Music,Textures,Web} ${D}/${dir}/ || die "copy Help, Logs, Music, Textures, Web CD1"
+ dodir ${dir}/Sounds
+ if [ `use nls` ] ; then
+ cp -rf ${UT_CD}/Sounds/* ${D}/${dir}/Sounds/ || die "copy Sounds CD1"
+ else
+ cp -rf ${UT_CD}/Sounds/*.uax ${D}/${dir}/Sounds/ || die "copy Sounds CD1"
+ fi
+
+ # System
+ dodir ${dir}/System
+ if [ `use nls` ] ; then
+ cp ${UT_CD}/System/*.{est,frt,itt,int,u} ${D}/${dir}/System/ || die "copy System data CD1"
+ else
+ cp ${UT_CD}/System/*.{int,u} ${D}/${dir}/System/ || die "copy System data CD1"
+ fi
+
+ # now we uncompress the maps
+ einfo "Uncompressing CD1 Maps ... this may take some time"
+ dodir ${dir}/Maps
+ cd ${D}/${dir}
+ export HOME=${T}
+ export UT_DATA_PATH=${D}/${dir}/System
+ for f in `find ${UT_CD}/Maps/ -name '*.uz' -printf '%f '` ; do
+ ./ucc decompress ${UT_CD}/Maps/${f} -nohomedir || die "uncompressing map CD1 ${f}"
+ mv System/${f:0:${#f}-3} Maps/ || die "copy map CD1 ${f}"
+ done
+ ### CD1 ###
+ ###########
+
+
+ ### Have user switch cds if need be ###
+ if [ "${UT_CD1}" == "${UT_CD2}" ] ; then
+ while :; do
+ einfo "Please mount the 2nd cd at ${UT_CD2} and press return when ready (or CTRL+C to abort)"
+ read
+ [ -d ${UT_CD2}/System ] && break
+ [ -d ${UT_CD2}/Help/chaosut ] && break
+ eerror "Could not verify that ${UT_CD2} really contains the 2nd CD"
+ done
+ fi
+
+
+ ###########
+ ### CD2 ###
+ export UT_CD=${UT_CD2}
+
+ # Help, Sounds
+ cp -rf ${UT_CD}/{Help,Sounds} ${D}/${dir}/ || die "copy Help, Sounds CD2"
+
+ # S3TC Textures
+ if [ `use S3TC` ] ; then
+ cp -rf ${UT_CD}/Textures ${D}/${dir}/ || die "copy S3TC Textures CD2"
+ else
+ cp -rf ${UT_CD}/Textures/{JezzTex,Jezztex2,SnowDog,chaostex{,2}}.utx ${D}/${dir}/Textures/ || die "copy Textures CD2"
+ fi
+
+ # System
+ cp -rf ${UT_CD}/System/*.{u,int} ${D}/${dir}/System/ || die "copy System CD2"
+
+ # now we uncompress the maps
+ einfo "Uncompressing CD2 Maps ... this may take some time"
+ dodir ${dir}/Maps
+ cd ${D}/${dir}
+ export HOME=${T}
+ export UT_DATA_PATH=${D}/${dir}/System
+ for f in `find ${UT_CD}/maps/ -name '*.uz' -printf '%f '` ; do
+ ./ucc decompress ${UT_CD}/maps/${f} -nohomedir || die "uncompressing map CD2 ${f}"
+ mv System/${f:0:${#f}-3} Maps/ || die "copy map CD2 ${f}"
+ done
+ ### CD2 ###
+ ###########
+
+
+ ###########
+ ### END ###
+ cd ${S}
+
+ # Textures
+ tar -zxf Credits.tar.gz -C ${D}/${dir} || die "extract credits texture"
+ # NetGamesUSA.com
+ tar -zxf NetGamesUSA.com.tar.gz -C ${D}/${dir}/ || die "extract NetGamesUSA.com"
+
+ # Patch UT-GOTY
+ cd setup.data
+ cp patch.dat{,.orig}
+ sed -e 's:sh uz-maps.sh:echo:' patch.dat.orig > patch.dat
+ ./bin/Linux/x86/loki_patch patch.dat ${D}/${dir} || die "failed to patch"
+ cd ${S}
+
+ # now we install the IpDrv.so patch
+ insinto ${dir}/System
+ doins IpDrv.so || die "install IpDrv.so patch"
+
+ # install a few random files
+ insinto ${dir}
+ doins README icon.{bmp,xpm} || die "installing random files"
+ ### END ###
+ ###########
+
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ echo
+ einfo "You might want to install the bonus packs too."
+ einfo "Many servers on the internet use them, and the"
+ einfo "majority of players do too."
+ echo
+ einfo "Just run: emerge unreal-tournament-bonuspacks"
+ echo
+
+ games_pkg_postinst
+}
diff --git a/games-fps/unreal-tournament-goty/unreal-tournament-goty-451.ebuild b/games-fps/unreal-tournament-goty/unreal-tournament-goty-451.ebuild
new file mode 100644
index 000000000000..b19e820bb24d
--- /dev/null
+++ b/games-fps/unreal-tournament-goty/unreal-tournament-goty-451.ebuild
@@ -0,0 +1,218 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/unreal-tournament-goty/unreal-tournament-goty-451.ebuild,v 1.1 2003/09/09 18:10:15 vapier Exp $
+
+inherit games
+
+DESCRIPTION="Futuristic FPS (Game Of The Year edition)"
+HOMEPAGE="http://www.unrealtournament.com/"
+SRC_URI="ftp://ftp.lokigames.com/pub/beta/ut/ut-install-436-GOTY.run
+ http://utpg.org/patches/UTPGPatch${PV}.tar.bz2"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="X 3dfx S3TC nls opengl"
+
+DEPEND="!app-games/unreal-tournament"
+RDEPEND="X? ( virtual/x11 )
+ opengl? ( virtual/opengl )"
+
+S=${WORKDIR}
+
+export UT_CD1=${UT_SETUP_CDROM1}
+export UT_CD2=${UT_SETUP_CDROM2}
+if [ -z "${UT_CD1}" ] ; then
+ for mline in `mount | egrep -e '(iso|cdrom)' | awk '{print $3}'` ; do
+ [ ! -d ${mline}/System ] && continue
+ [ -d ${mline}/Help/chaosut ] \
+ && UT_CD2=${mline} \
+ || UT_CD1=${mline}
+ done
+fi
+[ -z "${UT_CD2}" ] && UT_CD2=${UT_CD1}
+
+pkg_setup() {
+ if [ -z "${UT_CD1}" ] || [ -z "${UT_CD2}" ] ; then
+ echo
+ eerror "You must mount the first UT CD first !"
+ echo
+ ewarn "If you do not have the CDs, but have the data files"
+ ewarn "mounted somewhere on your filesystem, just export"
+ ewarn "the variable UT_SETUP_CDROM1 so that it points to the"
+ ewarn "base of the Unreal Tournament GOTY data."
+ echo
+ einfo "If you have 2 CDROM drives you can also export the"
+ einfo "variable UT_SETUP_CDROM2 to specify the 2nd cdrom."
+ einfo "Otherwise you will be prompted to switch CDs in the"
+ einfo "middle of the emerge."
+ echo
+ einfo "Also note that if you want to *just* install the game"
+ einfo "and *not* install the extra GOTY stuff (Chaos mod/different"
+ einfo "languages/S3TC textures) then you can use the regular"
+ einfo "unreal-tournament ebuild instead."
+ echo
+ die "You must provide the Unreal Tournament data before running the install"
+ fi
+ games_pkg_setup
+}
+
+src_unpack() {
+ unpack_makeself ut-install-436-GOTY.run
+ mkdir UTPG && cd UTPG
+ unpack UTPGPatch${PV}.tar.bz2
+ rm checkfiles.sh patch.md5
+}
+
+src_install() {
+ local dir=${GAMES_PREFIX_OPT}/${PN/-goty/}
+ local Ddir=${D}/${dir}
+ dodir ${dir}
+
+ ###########
+ ### PRE ###
+ # System
+ if [ `use 3dfx` ] ; then
+ tar -zxf Glide.ini.tar.gz -C ${Ddir} || die "install Glide ini"
+ else
+ tar -zxf OpenGL.ini.tar.gz -C ${Ddir} || die "install OpenGL ini"
+ fi
+ tar -zxf data.tar.gz -C ${Ddir} || die "extract System data"
+
+ # the most important things, ucc & ut :)
+ exeinto ${dir}
+ doexe bin/x86/{ucc,ut} || die "install ucc/ut"
+ dosed "s:\`FindPath \$0\`:${dir}:" ${dir}/ucc
+
+ # export some symlinks so ppl can run
+ dodir ${GAMES_BINDIR}
+ dosym ${dir}/ucc ${GAMES_BINDIR}/ucc
+ dosym ${dir}/ut ${GAMES_BINDIR}/ut
+ ### PRE ###
+ ###########
+
+
+ ###########
+ ### CD1 ###
+ export UT_CD=${UT_CD1}
+
+ # Help, Logs, Music, Sounds, Textures, Web
+ cp -rf ${UT_CD}/{Help,Logs,Music,Textures,Web} ${Ddir}/ || die "copy Help, Logs, Music, Textures, Web CD1"
+ dodir ${dir}/Sounds
+ if [ `use nls` ] ; then
+ cp -rf ${UT_CD}/Sounds/* ${Ddir}/Sounds/ || die "copy Sounds CD1"
+ else
+ cp -rf ${UT_CD}/Sounds/*.uax ${Ddir}/Sounds/ || die "copy Sounds CD1"
+ fi
+
+ # System
+ dodir ${dir}/System
+ if [ `use nls` ] ; then
+ cp ${UT_CD}/System/*.{est,frt,itt,int,u} ${Ddir}/System/ || die "copy System data CD1"
+ else
+ cp ${UT_CD}/System/*.{int,u} ${Ddir}/System/ || die "copy System data CD1"
+ fi
+
+ # now we uncompress the maps
+ einfo "Uncompressing CD1 Maps ... this may take some time"
+ dodir ${dir}/Maps
+ cd ${Ddir}
+ export HOME=${T}
+ export UT_DATA_PATH=${Ddir}/System
+ for f in `find ${UT_CD}/Maps/ -name '*.uz' -printf '%f '` ; do
+ ./ucc decompress ${UT_CD}/Maps/${f} -nohomedir || die "uncompressing map CD1 ${f}"
+ mv System/${f:0:${#f}-3} Maps/ || die "copy map CD1 ${f}"
+ done
+ ### CD1 ###
+ ###########
+
+
+ ### Have user switch cds if need be ###
+ if [ "${UT_CD1}" == "${UT_CD2}" ] ; then
+ while :; do
+ einfo "Please mount the 2nd cd at ${UT_CD2} and press return when ready (or CTRL+C to abort)"
+ read
+ [ -d ${UT_CD2}/System ] && break
+ [ -d ${UT_CD2}/Help/chaosut ] && break
+ eerror "Could not verify that ${UT_CD2} really contains the 2nd CD"
+ done
+ fi
+
+
+ ###########
+ ### CD2 ###
+ export UT_CD=${UT_CD2}
+
+ # Help, Sounds
+ cp -rf ${UT_CD}/{Help,Sounds} ${Ddir}/ || die "copy Help, Sounds CD2"
+
+ # S3TC Textures
+ if [ `use S3TC` ] ; then
+ cp -rf ${UT_CD}/Textures ${Ddir}/ || die "copy S3TC Textures CD2"
+ else
+ cp -rf ${UT_CD}/Textures/{JezzTex,Jezztex2,SnowDog,chaostex{,2}}.utx ${Ddir}/Textures/ || die "copy Textures CD2"
+ fi
+
+ # System
+ cp -rf ${UT_CD}/System/*.{u,int} ${Ddir}/System/ || die "copy System CD2"
+
+ # now we uncompress the maps
+ einfo "Uncompressing CD2 Maps ... this may take some time"
+ dodir ${dir}/Maps
+ cd ${Ddir}
+ export HOME=${T}
+ export UT_DATA_PATH=${Ddir}/System
+ for f in `find ${UT_CD}/maps/ -name '*.uz' -printf '%f '` ; do
+ ./ucc decompress ${UT_CD}/maps/${f} -nohomedir || die "uncompressing map CD2 ${f}"
+ mv System/${f:0:${#f}-3} Maps/ || die "copy map CD2 ${f}"
+ done
+ ### CD2 ###
+ ###########
+
+
+ ###########
+ ### END ###
+ cd ${S}
+
+ # Textures
+ tar -zxf Credits.tar.gz -C ${Ddir} || die "extract credits texture"
+ # NetGamesUSA.com
+ tar -zxf NetGamesUSA.com.tar.gz -C ${Ddir}/ || die "extract NetGamesUSA.com"
+
+ # first apply any patch remaints loki has for us
+ cd setup.data
+ cp patch.dat{,.orig}
+ sed -e 's:sh uz-maps.sh:echo:' patch.dat.orig > patch.dat
+ ./bin/Linux/x86/loki_patch patch.dat ${Ddir} >& /dev/null
+ cd ${S}
+
+ # finally, unleash the UTPG patch
+ cp -rf UTPG/* ${Ddir}/
+ # fix a small bug until next official release
+ dosed "/^LoadClassMismatch/s:%s.%s:%s:" ${dir}/System/Core.int
+
+ # install a few random files
+ insinto ${dir}
+ doins README icon.{bmp,xpm} || die "installing random files"
+
+ # now, since these files are coming off a cd, the times/sizes/md5sums wont
+ # be different ... that means portage will try to unmerge some files (!)
+ # we run touch on ${D} so as to make sure portage doesnt do any such thing
+ find ${Ddir} -exec touch '{}' \;
+ ### END ###
+ ###########
+
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ echo
+ einfo "You might want to install the bonus packs too."
+ einfo "Many servers on the internet use them, and the"
+ einfo "majority of players do too."
+ echo
+ einfo "Just run: emerge unreal-tournament-bonuspacks"
+ echo
+
+ games_pkg_postinst
+}
diff --git a/games-fps/unreal-tournament-infiltration/ChangeLog b/games-fps/unreal-tournament-infiltration/ChangeLog
new file mode 100644
index 000000000000..eeec8985d5f1
--- /dev/null
+++ b/games-fps/unreal-tournament-infiltration/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for app-games/unreal-tournament-infiltration
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/unreal-tournament-infiltration/ChangeLog,v 1.1 2003/09/09 18:10:15 vapier Exp $
+
+*unreal-tournament-infiltration-286 (11 Jul 2003)
+
+ 11 Jul 2003; Dave Henry <davehenry@optushome.com.au> :
+ Initial release. Posted to bugs.gentoo.org
diff --git a/games-fps/unreal-tournament-infiltration/Manifest b/games-fps/unreal-tournament-infiltration/Manifest
new file mode 100644
index 000000000000..c9fc9a6570b9
--- /dev/null
+++ b/games-fps/unreal-tournament-infiltration/Manifest
@@ -0,0 +1,5 @@
+MD5 ddc78fe2e3616fcac02443497ff49799 ChangeLog 410
+MD5 99660cc54f5be9cb84d931c879a0b7d8 unreal-tournament-infiltration-286.ebuild 1218
+MD5 eb941e487df393ba9855f444f73d1b6d files/Infiltration.ini 30958
+MD5 589c68bc2ca0b07ce89eb73c09831649 files/ut-inf 97
+MD5 3bcf7566da56f2ce764ad08f7256ff04 files/digest-unreal-tournament-infiltration-286 144
diff --git a/games-fps/unreal-tournament-infiltration/files/Infiltration.ini b/games-fps/unreal-tournament-infiltration/files/Infiltration.ini
new file mode 100644
index 000000000000..91053279d4c8
--- /dev/null
+++ b/games-fps/unreal-tournament-infiltration/files/Infiltration.ini
@@ -0,0 +1,1113 @@
+[URL]
+Protocol=unreal
+ProtocolDescription=Unreal Protocol
+Name=Player
+Map=entry.unr
+LocalMap=entry.unr
+Host=
+Portal=
+MapExt=unr
+SaveExt=usa
+Port=7777
+Class=INF_Core.INFc_CHHelmet
+
+[FirstRun]
+FirstRun=436
+
+[PackageRemap]
+UnrealShare=UnrealI
+
+[Engine.Engine]
+GameRenderDevice=OpenGLDrv.OpenGLRenderDevice
+WindowedRenderDevice=OpenGLDrv.OpenGLRenderDevice
+RenderDevice=OpenGLDrv.OpenGLRenderDevice
+AudioDevice=ALAudio.ALAudioSubsystem
+NetworkDevice=IpDrv.TcpNetDriver
+DemoRecordingDevice=Engine.DemoRecDriver
+Console=INF_Console.INFc_Console
+Language=int
+GameEngine=Engine.GameEngine
+EditorEngine=Editor.EditorEngine
+DefaultGame=InfiltrationUT.InfilTeamGamePlus
+DefaultServerGame=InfiltrationUT.InfilTeamGamePlus
+ViewportManager=SDLDrv.SDLClient
+Render=Render.Render
+Input=Engine.Input
+Canvas=Engine.Canvas
+
+[Core.System]
+Paths=../Infiltration/System/*.u
+Paths=../Infiltration/Maps/*.u
+Paths=../Infiltration/Maps/*.unr
+Paths=../Infiltration/Textures/*.utx
+Paths=../Infiltration/Textures/Camos/*.utx
+Paths=../Infiltration/Sounds/*.uax
+Paths=../Infiltration/Music/*.umx
+Paths=../System/*.u
+Paths=../Textures/*.utx
+Paths=../Sounds/*.uax
+Paths=../Music/*.umx
+PurgeCacheDays=30
+SavePath=../Save
+CachePath=../Cache
+CacheExt=.uxx
+Suppress=DevLoad
+Suppress=DevSave
+Suppress=DevNetTraffic
+Suppress=DevGarbage
+Suppress=DevKill
+Suppress=DevReplace
+Suppress=DevSound
+Suppress=DevCompile
+Suppress=DevBind
+Suppress=DevBsp
+Paths=../INF_Maps/*.unr
+Paths=../INF_Maps/*.u
+Paths=../INF_Textures/*.utx
+Paths=../INF_Sounds/*.uax
+Paths=../Maps/*.unr
+
+[Engine.GameEngine]
+CacheSizeMegs=4
+UseSound=True
+ServerActors=IpDrv.UdpBeacon
+ServerActors=IpServer.UdpServerQuery
+ServerActors=IpServer.UdpServerUplink MasterServerAddress=unreal.epicgames.com MasterServerPort=27900
+ServerActors=IpServer.UdpServerUplink MasterServerAddress=master0.gamespy.com MasterServerPort=27900
+ServerActors=IpServer.UdpServerUplink MasterServerAddress=master.mplayer.com MasterServerPort=27900
+ServerActors=IpServer.UdpServerUplink MasterServerAddress=infmaster.sobservers.com MasterServerPort=27900
+ServerPackages=Botpack
+ServerPackages=INF_Assets
+ServerPackages=INF_Assets2
+ServerPackages=INF_Base
+ServerPackages=INF_Console
+ServerPackages=INF_Core
+ServerPackages=INF_Decorations
+ServerPackages=INF_Fonts
+ServerPackages=INF_GameTypes
+ServerPackages=INF_Lite
+ServerPackages=INF_Mapping
+ServerPackages=INF_Menu
+ServerPackages=INF_Pawns
+ServerPackages=INF_Vehicle
+ServerPackages=INF_Voices
+ServerPackages=InfAdds
+ServerPackages=InfiltrationUT
+ServerPackages=UMenu
+ServerPackages=UWindow
+ServerPackages=UTMenu
+ServerPackages=UBrowser
+ServerPackages=INF_cCamosArctic
+ServerPackages=INF_cCamosBlack
+ServerPackages=INF_cCamosBlue
+ServerPackages=INF_cCamosDesert
+ServerPackages=INF_cCamosGermanF
+ServerPackages=INF_cCamosGreen
+ServerPackages=INF_cCamosGray
+ServerPackages=INF_cCamosGrey
+ServerPackages=INF_cCamosRussianG
+ServerPackages=INF_cCamosRussianT
+ServerPackages=INF_cCamosUrban
+ServerPackages=INF_cCamosWoodland
+ServerPackages=INF_cFacesINF
+ServerPackages=INF_cGear
+ServerActors=UWeb.WebServer
+
+[SDLDrv.SDLClient]
+WindowedViewportX=800
+WindowedViewportY=600
+WindowedColorBits=16
+FullscreenViewportX=800
+FullscreenViewportY=600
+FullscreenColorBits=16
+Brightness=0.800000
+MipFactor=1.000000
+SlowVideoBuffering=False
+StartupFullscreen=True
+CurvedSurfaces=False
+CaptureMouse=True
+LowDetailTextures=False
+ScreenFlashes=True
+NoLighting=False
+DeadZoneX=True
+DeadZoneY=True
+DeadZoneZ=False
+DeadZoneR=False
+DeadZoneU=False
+DeadZoneV=False
+InvertVertical=False
+ScaleX=1000.000000
+ScaleY=1000.000000
+ScaleZ=1000.000000
+ScaleR=300.000000
+ScaleU=1000.000000
+ScaleV=1000.000000
+ScaleJBX=0.025000
+ScaleJBY=0.025000
+MinDesiredFrameRate=0.000000
+NoDynamicLights=False
+Decals=True
+NoFractalAnim=False
+SkinDetail=Medium
+TextureDetail=Low
+ParticleDensity=0
+UseJoystick=False
+JoystickNumber=0
+
+[SDLGLDrv.SDLGLRenderDevice]
+UseTNT=0
+UseGammaExtension=1
+UseModulatedGamma=0
+UseS3TC=0
+OpenGLLibName=libGL.so.1
+MinDepthBits=16
+MaxLogUOverV=8
+MaxLogVOverU=8
+UseMultiTexture=1
+UsePalette=1
+UseAlphaPalette=0
+ShareLists=0
+AlwaysMipmap=0
+DoPrecache=0
+Translucency=True
+VolumetricLighting=True
+ShinySurfaces=True
+Coronas=True
+HighDetailActors=True
+DetailTextures=True
+UseTrilinear=False
+
+[OpenGLDrv.OpenGLRenderDevice]
+UseTNT=0
+UseGammaExtension=1
+UseModulatedGamma=0
+UseS3TC=0
+OpenGLLibName=libGL.so.1
+MinDepthBits=16
+MaxLogUOverV=8
+MaxLogVOverU=8
+UseMultiTexture=1
+UsePalette=1
+UseAlphaPalette=0
+ShareLists=0
+AlwaysMipmap=0
+DoPrecache=0
+Translucency=True
+VolumetricLighting=True
+ShinySurfaces=True
+Coronas=True
+HighDetailActors=True
+DetailTextures=True
+UseTrilinear=False
+
+[SDLSoftDrv.SDLSoftwareRenderDevice]
+Translucency=True
+VolumetricLighting=True
+ShinySurfaces=False
+Coronas=False
+HighDetailActors=False
+HighResTextureSmooth=True
+LowResTextureSmooth=False
+FastTranslucency=True
+
+[GlideDrv.GlideRenderDevice]
+Translucency=True
+VolumetricLighting=True
+ShinySurfaces=True
+Coronas=True
+HighDetailActors=True
+DetailBias=-1.500000
+RefreshRate=60Hz
+DetailTextures=True
+FastUglyRefresh=False
+ScreenSmoothing=True
+Resolution=Default
+
+[Audio.GenericAudioSubsystem]
+UseFilter=True
+UseSurround=False
+UseStereo=True
+UseCDMusic=False
+UseDigitalMusic=False
+UseSpatial=False
+UseReverb=False
+Use3dHardware=False
+LowSoundQuality=False
+ReverseStereo=False
+Latency=40
+OutputRate=22050Hz
+Channels=16
+MusicVolume=192
+SoundVolume=192
+AmbientFactor=0.700000
+DopplerSpeed=0.000000
+
+[ALAudio.ALAudioSubsystem]
+UseFilter=True
+UseSurround=False
+UseStereo=True
+UseCDMusic=False
+UseDigitalMusic=True
+UseSpatial=True
+UseReverb=True
+Use3dHardware=False
+LowSoundQuality=False
+ReverseStereo=False
+Latency=40
+OutputRate=22050Hz
+Channels=16
+MusicVolume=0
+SoundVolume=128
+AmbientFactor=0.700000
+DopplerSpeed=0.000000
+MusicBufferSize=16384
+
+[Engine.Player]
+ConfiguredInternetSpeed=2600
+ConfiguredLanSpeed=20000
+
+[IpDrv.TcpNetDriver]
+AllowDownloads=True
+ConnectionTimeout=15.0
+InitialConnectTimeout=500.0
+AckTimeout=1.0
+KeepAliveTime=0.2
+MaxClientRate=20000
+SimLatency=0
+RelevantTimeout=5.0
+SpawnPrioritySeconds=1.0
+ServerTravelPause=4.0
+NetServerMaxTickRate=20
+LanServerMaxTickRate=35
+
+[Engine.DemoRecDriver]
+DemoSpectatorClass=INF_Core.INFc_sSpectator
+MaxClientRate=25000
+ConnectionTimeout=15.0
+InitialConnectTimeout=500.0
+AckTimeout=1.0
+KeepAliveTime=1.0
+SimLatency=0
+RelevantTimeout=5.0
+SpawnPrioritySeconds=1.0
+ServerTravelPause=4.0
+NetServerMaxTickRate=60
+LanServerMaxTickRate=60
+
+[Engine.GameReplicationInfo]
+ServerName=Another INF Server
+ShortName=INF Server
+AdminName=
+AdminEmail=
+Region=0
+MOTDLine1=
+MOTDLine2=
+MOTDLine3=
+MOTDLine4=
+
+[IpDrv.TcpipConnection]
+SimPacketLoss=0
+SimLatency=0
+
+[IpServer.UdpServerQuery]
+GameName=ut
+
+[IpDrv.UdpBeacon]
+DoBeacon=True
+BeaconTime=0.50
+BeaconTimeout=5.0
+BeaconProduct=ut
+
+[Editor.EditorEngine]
+UseSound=True
+CacheSizeMegs=6
+GridEnabled=True
+SnapVertices=True
+SnapDistance=10.000000
+GridSize=(X=16.000000,Y=16.000000,Z=16.000000)
+RotGridEnabled=True
+RotGridSize=(Pitch=1024,Yaw=1024,Roll=1024)
+GameCommandLine=-log
+FovAngleDegrees=90.000000
+GodMode=True
+AutoSave=False
+AutoSaveTimeMinutes=5
+AutoSaveIndex=6
+C_WorldBox=(R=0,G=0,B=107,A=0)
+C_GroundPlane=(R=0,G=0,B=63,A=0)
+C_GroundHighlight=(R=0,G=0,B=127,A=0)
+C_BrushWire=(R=255,G=63,B=63,A=0)
+C_Pivot=(R=0,G=255,B=0,A=0)
+C_Select=(R=0,G=0,B=127,A=0)
+C_AddWire=(R=127,G=127,B=255,A=0)
+C_SubtractWire=(R=255,G=192,B=63,A=0)
+C_GreyWire=(R=163,G=163,B=163,A=0)
+C_Invalid=(R=163,G=163,B=163,A=0)
+C_ActorWire=(R=127,G=63,B=0,A=0)
+C_ActorHiWire=(R=255,G=127,B=0,A=0)
+C_White=(R=255,G=255,B=255,A=0)
+C_SemiSolidWire=(R=127,G=255,B=0,A=0)
+C_NonSolidWire=(R=63,G=192,B=32,A=0)
+C_WireGridAxis=(R=119,G=119,B=119,A=0)
+C_ActorArrow=(R=163,G=0,B=0,A=0)
+C_ScaleBox=(R=151,G=67,B=11,A=0)
+C_ScaleBoxHi=(R=223,G=149,B=157,A=0)
+C_Mover=(R=255,G=0,B=255,A=0)
+C_OrthoBackground=(R=163,G=163,B=163,A=0)
+C_Current=(R=0,G=0,B=0,A=0)
+C_BrushVertex=(R=0,G=0,B=0,A=0)
+C_BrushSnap=(R=0,G=0,B=0,A=0)
+C_Black=(R=0,G=0,B=0,A=0)
+C_Mask=(R=0,G=0,B=0,A=0)
+C_WireBackground=(R=0,G=0,B=0,A=0)
+C_ZoneWire=(R=0,G=0,B=0,A=0)
+EditPackages=Core
+EditPackages=Engine
+EditPackages=Editor
+EditPackages=UWindow
+EditPackages=Fire
+EditPackages=IpDrv
+EditPackages=UWeb
+EditPackages=UBrowser
+EditPackages=UnrealShare
+EditPackages=UnrealI
+EditPackages=UMenu
+EditPackages=IpServer
+EditPackages=Botpack
+EditPackages=UTServerAdmin
+EditPackages=UTMenu
+EditPackages=UTBrowser
+EditPackages=INF_Assets
+EditPackages=INF_Assets2
+EditPackages=INF_Base
+EditPackages=INF_Console
+EditPackages=INF_Core
+EditPackages=INF_Decorations
+EditPackages=INF_Fonts
+EditPackages=INF_GameTypes
+EditPackages=INF_Lite
+EditPackages=INF_Mapping
+EditPackages=INF_Menu
+EditPackages=INF_Pawns
+EditPackages=INF_Vehicle
+EditPackages=INF_Voices
+EditPackages=InfAdds
+EditPackages=InfiltrationUT
+EditPackages=INF_cCamosArctic
+EditPackages=INF_cCamosBlack
+EditPackages=INF_cCamosBlue
+EditPackages=INF_cCamosDesert
+EditPackages=INF_cCamosGermanF
+EditPackages=INF_cCamosGreen
+EditPackages=INF_cCamosGray
+EditPackages=INF_cCamosGrey
+EditPackages=INF_cCamosRussianG
+EditPackages=INF_cCamosRussianT
+EditPackages=INF_cCamosUrban
+EditPackages=INF_cCamosWoodland
+EditPackages=INF_cFacesINF
+EditPackages=INF_cGear
+
+[UMenu.UnrealConsole]
+RootWindow=UMenu.UMenuRootWindow
+UWindowKey=IK_Esc
+ShowDesktop=True
+
+[UMenu.UMenuMenuBar]
+ShowHelp=True
+GameUMenuDefault=UTMenu.UTGameMenu
+MultiplayerUMenuDefault=UTMenu.UTMultiplayerMenu
+OptionsUMenuDefault=UTMenu.UTOptionsMenu
+
+[Botpack.ChallengeBotInfo]
+Difficulty=1
+
+[Botpack.DeathMatchPlus]
+bNoviceMode=True
+bHardCoreMode=True
+bUseTranslocator=False
+bCoopWeaponMode=False
+MinPlayers=0
+AirControl=0.350000
+bChangeLevels=True
+bMegaSpeed=False
+bAltScoring=False
+bTournament=False
+NetWait=17
+RestartWait=15
+InitialBots=4
+
+[Botpack.CTFGame]
+bUseTranslocator=True
+bCoopWeaponMode=True
+GoalTeamScore=3
+
+[Botpack.Domination]
+bDumbDown=True
+bUseTranslocator=True
+bCoopWeaponMode=True
+GoalTeamScore=100
+
+[Botpack.Assault]
+bUseTranslocator=False
+bCoopWeaponMode=True
+
+[Botpack.TeamGamePlus]
+bBalanceTeams=True
+GoalTeamScore=30
+bPlayersBalanceTeams=False
+
+[Engine.GameInfo]
+bLowGore=False
+bVeryLowGore=False
+ServerLogName=INFserver.log
+bMuteSpectators=False
+bNoCheating=True
+bAllowFOV=False
+bExternalBatcher=False
+AutoAim=0.930000
+GameSpeed=1.000000
+MaxSpectators=2
+AdminPassword=
+GamePassword=
+MaxPlayers=16
+IPPolicies[0]=ACCEPT,*
+IPPolicies[1]=
+IPPolicies[2]=
+IPPolicies[3]=
+IPPolicies[4]=
+IPPolicies[5]=
+IPPolicies[6]=
+IPPolicies[7]=
+IPPolicies[8]=
+IPPolicies[9]=
+IPPolicies[10]=
+IPPolicies[11]=
+IPPolicies[12]=
+IPPolicies[13]=
+IPPolicies[14]=
+IPPolicies[15]=
+IPPolicies[16]=
+IPPolicies[17]=
+IPPolicies[18]=
+IPPolicies[19]=
+IPPolicies[20]=
+IPPolicies[21]=
+IPPolicies[22]=
+IPPolicies[23]=
+IPPolicies[24]=
+IPPolicies[25]=
+IPPolicies[26]=
+IPPolicies[27]=
+IPPolicies[28]=
+IPPolicies[29]=
+IPPolicies[30]=
+IPPolicies[31]=
+IPPolicies[32]=
+IPPolicies[33]=
+IPPolicies[34]=
+IPPolicies[35]=
+IPPolicies[36]=
+IPPolicies[37]=
+IPPolicies[38]=
+IPPolicies[39]=
+IPPolicies[40]=
+IPPolicies[41]=
+IPPolicies[42]=
+IPPolicies[43]=
+IPPolicies[44]=
+IPPolicies[45]=
+IPPolicies[46]=
+IPPolicies[47]=
+IPPolicies[48]=
+IPPolicies[49]=
+bLocalLog=True
+bWorldLog=True
+bBatchLocal=False
+DemoBuild=0
+DemoHasTuts=0
+
+[UnrealShare.UnrealGameOptionsMenu]
+bCanModifyGore=True
+
+[UBrowser.UBrowserMainClientWindow]
+LANTabName=UBrowserLAN
+ServerListNames[0]=UBrowserINF
+ServerListNames[1]=UBrowserLAN
+ServerListNames[2]=UBrowserPopulated
+ServerListNames[3]=UBrowserDeathmatch
+ServerListNames[4]=UBrowserTeamGames
+ServerListNames[5]=UBrowserCTF
+ServerListNames[6]=UBrowserDOM
+ServerListNames[7]=UBrowserAS
+ServerListNames[8]=UBrowserLMS
+ServerListNames[9]=UBrowserAll
+ServerListNames[10]=None
+ServerListNames[11]=None
+ServerListNames[12]=None
+ServerListNames[13]=None
+ServerListNames[14]=None
+ServerListNames[15]=None
+ServerListNames[16]=None
+ServerListNames[17]=None
+ServerListNames[18]=None
+ServerListNames[19]=None
+ServerListNames[20]=None
+ServerListNames[21]=None
+ServerListNames[22]=None
+ServerListNames[23]=None
+ServerListNames[24]=None
+ServerListNames[25]=None
+ServerListNames[26]=None
+ServerListNames[27]=None
+ServerListNames[28]=None
+ServerListNames[29]=None
+ServerListNames[30]=None
+ServerListNames[31]=None
+ServerListNames[32]=None
+ServerListNames[33]=None
+ServerListNames[34]=None
+ServerListNames[35]=None
+ServerListNames[36]=None
+ServerListNames[37]=None
+ServerListNames[38]=None
+ServerListNames[39]=None
+ServerListNames[40]=None
+ServerListNames[41]=None
+ServerListNames[42]=None
+ServerListNames[43]=None
+ServerListNames[44]=None
+ServerListNames[45]=None
+ServerListNames[46]=None
+ServerListNames[47]=None
+ServerListNames[48]=None
+ServerListNames[49]=None
+bKeepMasterServer=False
+
+[UBrowserUT]
+ListFactories[0]=UBrowser.UBrowserSubsetFact,SupersetTag=UBrowserAll,bCompatibleServersOnly=True
+
+[UBrowserLAN]
+ListFactories[0]=UBrowser.UBrowserLocalFact,BeaconProduct=ut
+URLAppend=?LAN
+AutoRefreshTime=10
+bNoAutoSort=True
+
+[UBrowserPopulated]
+ListFactories[0]=UBrowser.UBrowserSubsetFact,SupersetTag=UBrowserAll,MinPlayers=1,bCompatibleServersOnly=True
+
+[UBrowserDeathmatch]
+ListFactories[0]=UBrowser.UBrowserSubsetFact,SupersetTag=UBrowserAll,GameType=InfilDeathMatchPlus,bCompatibleServersOnly=True
+
+[UBrowserTeamGames]
+ListFactories[0]=UBrowser.UBrowserSubsetFact,SupersetTag=UBrowserAll,GameType=InfilTeamGamePlus,bCompatibleServersOnly=True
+
+[UBrowserCTF]
+ListFactories[0]=UBrowser.UBrowserSubsetFact,SupersetTag=UBrowserAll,GameType=InfilCTFGame,bCompatibleServersOnly=True
+
+[UBrowserDOM]
+ListFactories[0]=UBrowser.UBrowserSubsetFact,SupersetTag=UBrowserAll,GameType=InfilDomination,bCompatibleServersOnly=True
+
+[UBrowserAS]
+ListFactories[0]=UBrowser.UBrowserSubsetFact,SupersetTag=UBrowserAll,GameType=InfilAssault,bCompatibleServersOnly=True
+
+[UBrowserLMS]
+ListFactories[0]=UBrowser.UBrowserSubsetFact,SupersetTag=UBrowserAll,GameType=InfilLastManStanding,bCompatibleServersOnly=True
+
+[UBrowserAll]
+ListFactories[0]=UBrowser.UBrowserGSpyFact,MasterServerAddress=infmaster.sobservers.com,MasterServerTCPPort=28900,Region=0,GameName=ut
+ListFactories[1]=UBrowser.UBrowserGSpyFact,MasterServerAddress=unreal.epicgames.com,MasterServerTCPPort=28900,Region=0,GameName=ut
+bHidden=True
+bFallbackFactories=True
+ListFactories[2]=UBrowser.UBrowserGSpyFact,MasterServerAddress=master0.gamespy.com,MasterServerTCPPort=28900,Region=0,GameName=ut
+ServerListTitle=
+ListFactories[3]=UBrowser.UBrowserGSpyFact,MasterServerAddress=master.mplayer.com,MasterServerTCPPort=28900,Region=0,GameName=ut
+ListFactories[4]=
+ListFactories[5]=
+ListFactories[6]=
+ListFactories[7]=
+ListFactories[8]=
+ListFactories[9]=
+URLAppend=
+AutoRefreshTime=0
+bNoAutoSort=False
+
+[UTMenu.UTMultiplayerMenu]
+OnlineServices[0]=LOCALIZE,MPlayer
+OnlineServices[1]=LOCALIZE,Heat
+OnlineServices[2]=LOCALIZE,WON
+
+[UBrowser.UBrowserHTTPClient]
+ProxyServerAddress=
+ProxyServerPort=
+
+[UTServerAdmin.UTServerAdmin]
+AdminUsername=admin
+AdminPassword=admin
+
+[UWeb.WebServer]
+Applications[0]=INF_Admin.INFServerAdmin
+ApplicationPaths[0]=/ServerAdmin
+Applications[1]=INF_Admin.INFImageServer
+ApplicationPaths[1]=/Images
+DefaultApplication=0
+bEnabled=False
+ListenPort=80
+MaxConnections=30
+ServerName=
+
+[UWeb.WebResponse]
+IncludePath=../Infiltration/Web
+
+[INF_Admin.INFServerAdmin]
+AdminUsername=admin
+AdminPassword=admin
+InfoRefreshTime=30
+AppTitre=Infiltration Remote Server Administration
+GameConfigData[0]=Class'INF_Admin.INFGameData0'
+GameConfigData[1]=None
+GameConfigData[2]=None
+GameConfigData[3]=None
+GameConfigData[4]=None
+GameConfigData[5]=None
+GameConfigData[6]=None
+GameConfigData[7]=None
+GameConfigData[8]=None
+GameConfigData[9]=None
+GameConfigData[10]=None
+GameConfigData[11]=None
+GameConfigData[12]=None
+GameConfigData[13]=None
+GameConfigData[14]=None
+GameConfigData[15]=None
+GameConfigData[16]=None
+GameConfigData[17]=None
+GameConfigData[18]=None
+GameConfigData[19]=None
+GameConfigData[20]=None
+GameConfigData[21]=None
+GameConfigData[22]=None
+GameConfigData[23]=None
+GameConfigData[24]=None
+GameConfigData[25]=None
+GameConfigData[26]=None
+GameConfigData[27]=None
+GameConfigData[28]=None
+GameConfigData[29]=None
+GameConfigData[30]=None
+GameConfigData[31]=None
+LastActiveSetting=0
+AdminRealm=Infiltration Remote Administration Server
+ConsolRefreshTime=30
+LastActiveMap=DM-INF-Atoll.unr
+SPlayerLstTextClass=
+SPlayerLstTitleClass=
+Skills[0]=Trainee
+Skills[1]=Private
+Skills[2]=Corporal
+Skills[3]=Sergeant
+Skills[4]=Lieutenant
+Skills[5]=Major
+Skills[6]=Colonel
+Skills[7]=General
+
+[INF_Admin.INFGameData0]
+GameType=InfiltrationUT.InfilTeamGamePlus
+GameTypeName=INF Standoff Template
+GameRound=9
+RoundDuration=0
+ReinforcedTeam=0
+BalanceTeam=False
+TeamACamo=INF_cCamos.GEN_BL_Arctic
+TeamBCamo=INF_cCamos.GEN_BL_Black
+NumberOfBots=4
+NumberOfPlayers=10
+NumberOfSpectators=2
+BotSkill=4
+RandomOrder=True
+AutoAdjustSkill=False
+DropWeapons=True
+DropAmmo=False
+DropItems=False
+DetAmmo=False
+DetAmmoRandomness=85
+DetAmmoDamage=10
+DetAmmoRadius=80
+DecoEnabled=False
+DecoRespawnTime=15
+Maps[0]=DM-INF-DocksideMillEd.unr
+Maps[1]=DM-INF-Bullecourt.unr
+Maps[2]=DM-INF-ResearchSite.unr
+Maps[3]=DM-INF-KosovoNight.unr
+Maps[4]=DM-INF-KosovoDay.unr
+Maps[5]=DM-INF-Atoll.unr
+Maps[6]=
+Maps[7]=
+Maps[8]=
+Maps[9]=
+Maps[10]=
+Maps[11]=
+Maps[12]=
+Maps[13]=
+Maps[14]=
+Maps[15]=
+Maps[16]=
+Maps[17]=
+Maps[18]=
+Maps[19]=
+Maps[20]=
+Maps[21]=
+Maps[22]=
+Maps[23]=
+Maps[24]=
+Maps[25]=
+Maps[26]=
+Maps[27]=
+Maps[28]=
+Maps[29]=
+Maps[30]=
+Maps[31]=
+MinimumOfPlayers=4
+SpectatorsFreeGosting=False
+SpectatorsCanTeamTalk=False
+CarcassLifespan=60
+DeadFreeGhosting=True
+DeadCanTeamTalk=True
+KilledGetMessage=True
+LastSecs=90
+RoundMode=1
+
+[IpServer.UdpServerUplink]
+DoUplink=False
+UpdateMinutes=1
+MasterServerAddress=
+MasterServerPort=27900
+Region=0
+
+[IpDrv.HTTPDownLoad]
+RedirectToURL=
+ProxyServerHost=
+ProxyServerPort=3128
+UseCompression=True
+
+[UBrowserINF]
+ListFactories[0]=UBrowser.UBrowserSubsetFact,SupersetTag=UBrowserAll,GameType=InfilTeamGamePlus,bCompatibleServersOnly=True
+ListFactories[1]=UBrowser.UBrowserSubsetFact,SupersetTag=UBrowserAll,GameType=InfilDeathMatchPlus,bCompatibleServersOnly=True
+ListFactories[2]=UBrowser.UBrowserSubsetFact,SupersetTag=UBrowserAll,GameType=InfilAssault,bCompatibleServersOnly=True
+ListFactories[3]=UBrowser.UBrowserSubsetFact,SupersetTag=UBrowserAll,GameType=InfilCTFGame,bCompatibleServersOnly=True
+ListFactories[4]=UBrowser.UBrowserSubsetFact,SupersetTag=UBrowserAll,GameType=InfilDomination,bCompatibleServersOnly=True
+ListFactories[5]=UBrowser.UBrowserSubsetFact,SupersetTag=UBrowserAll,GameType=InfilLastManStanding,bCompatibleServersOnly=True
+
+[UBrowser.UBrowserIRCSetupClient]
+IRCServerHistory[0]=irc.utgames.com
+IRCServerHistory[1]=
+IRCServerHistory[2]=
+IRCChannelHistory[0]=#infiltration
+IRCChannelHistory[1]=#infradio
+IRCChannelHistory[2]=#inf_servers
+IRCChannelHistory[3]=
+IRCChannelHistory[4]=
+IRCChannelHistory[5]=
+IRCChannelHistory[6]=
+IRCChannelHistory[7]=
+IRCChannelHistory[8]=
+IRCChannelHistory[9]=
+
+[INF_Console.INFc_Console]
+RootWindow=INF_Menu.INFm_RootWindow
+SavedPasswords[0]=
+SavedPasswords[1]=
+SavedPasswords[2]=
+SavedPasswords[3]=
+SavedPasswords[4]=
+SavedPasswords[5]=
+SavedPasswords[6]=
+SavedPasswords[7]=
+SavedPasswords[8]=
+SavedPasswords[9]=
+MouseScale=0.600000
+ShowDesktop=True
+bShowConsole=False
+UWindowKey=IK_None
+
+[UTMenu.UTMenuStartMatchCW]
+LastCategory=Infiltration
+
+[UTMenu.UTMenuBotmatchCW]
+Map=DM-INF-Kazakhstan.unr
+GameType=InfiltrationUT.InfilTeamGamePlus
+MutatorList=
+bKeepMutators=True
+
+[INF_Menu.INFm_RootWindow]
+GUIScale=1.000000
+LookAndFeelClass=INF_Menu.INFm_INFLookAndFeel
+
+[INF_Menu.INFm_UMenuVideoClientWindow]
+RelaunchINI=USERINI=InfiltrationUser.ini INI=Infiltration.ini
+RelaunchLOG=LOG=Infiltration.log
+
+[UBrowser.UBrowserUpdateServerLink]
+UpdateServerAddress=www.sentrystudios.com
+
+[INF_Core.INFc_SkinInfo]
+MapCamos[0]=(MapName="DM-INF-Installation.unr",CamoA="INF_cCamos.GEN_GR_Desert",CamoB="INF_cCamos.GEN_GR_Green")
+MapCamos[1]=(MapName="DM-INF-CubanDawn.unr",CamoA="INF_cCamos.GEN_GR_RussianG",CamoB="INF_cCamos.GEN_GR_Woodland")
+MapCamos[2]=(MapName="DM-INF-ExtremePrejudice.unr",CamoA="INF_cCamos.GEN_BL_Black",CamoB="INF_cCamos.GEN_GR_Desert")
+MapCamos[3]=(MapName="DM-INF-Siberia.unr",CamoA="INF_cCamos.GEN_GR_RussianT",CamoB="INF_cCamos.GEN_BL_Black")
+MapCamos[4]=(MapName="DM-INF-Sicily.unr",CamoA="INF_cCamos.GEN_GR_GermanF",CamoB="INF_cCamos.GEN_BL_Black")
+MapCamos[5]=(MapName="DM-INF-SicilyNight.unr",CamoA="INF_cCamos.GEN_GR_GermanF",CamoB="INF_cCamos.GEN_BL_Black")
+MapCamos[6]=(MapName="DM-INF-Kazakhstan.unr",CamoA="INF_cCamos.GEN_BL_Arctic",CamoB="INF_cCamos.GEN_BL_Urban")
+MapCamos[7]=(MapName="DM-INF-DocksideMillEd.unr",CamoA="INF_cCamos.GEN_BL_Urban",CamoB="INF_cCamos.GEN_BL_Black")
+MapCamos[8]=(MapName="DM-INF-Kosovo.unr",CamoA="INF_cCamos.GEN_GR_Woodland",CamoB="INF_cCamos.GEN_BL_Black")
+MapCamos[9]=(MapName="DM-INF-KosovoDay.unr",CamoA="INF_cCamos.GEN_GR_Woodland",CamoB="INF_cCamos.GEN_BL_Black")
+MapCamos[10]=(MapName="DM-INF-KosovoNight.unr",CamoA="INF_cCamos.GEN_GR_Woodland",CamoB="INF_cCamos.GEN_BL_Black")
+MapCamos[11]=(MapName="DM-INF-Chasm.unr",CamoA="INF_cCamos.GEN_BL_Arctic",CamoB="INF_cCamos.GEN_BL_Urban")
+MapCamos[12]=(MapName="DM-INF-ManorFarm.unr",CamoA="INF_cCamos.GEN_BL_Gray",CamoB="INF_cCamos.GEN_GR_GermanF")
+MapCamos[13]=(MapName="DM-INF-Norwich.unr",CamoA="INF_cCamos.GEN_BL_Blue",CamoB="INF_cCamos.GEN_BL_Urban")
+MapCamos[14]=(MapName="DM-INF-BorderTown.unr",CamoA="INF_cCamos.GEN_GR_Green",CamoB="INF_cCamos.GEN_GR_RussianT")
+MapCamos[15]=(MapName="DM-INF-Terrain.unr",CamoA="INF_cCamos.GEN_GR_Desert",CamoB="INF_cCamos.GEN_BL_Black")
+MapCamos[16]=(MapName="DM-INF-Flagstaff.unr",CamoA="INF_cCamos.GEN_BL_Blue",CamoB="INF_cCamos.GEN_BL_Urban")
+MapCamos[17]=(MapName="DM-INF-Peru.unr",CamoA="INF_cCamos.GEN_GR_Woodland",CamoB="INF_cCamos.GEN_BL_Grey")
+MapCamos[18]=(MapName="DM-INF-Scramble.unr",CamoA="INF_cCamos.GEN_BL_Urban",CamoB="INF_cCamos.GEN_BL_Grey")
+MapCamos[19]=(MapName="CTF-INF-Border.unr",CamoA="INF_cCamos.GEN_BL_Grey",CamoB="INF_cCamos.GEN_BL_Urban")
+MapCamos[20]=(MapName="CTF-INF-ExtremePrejudice.unr",CamoA="INF_cCamos.GEN_BL_Black",CamoB="INF_cCamos.GEN_GR_Desert")
+MapCamos[21]=(MapName="CTF-INF-Kosovo.unr",CamoA="INF_cCamos.GEN_GR_Woodland",CamoB="INF_cCamos.GEN_BL_Black")
+MapCamos[22]=(MapName="AS-INF-CubanDawn.unr",CamoA="INF_cCamos.GEN_GR_RussianG",CamoB="INF_cCamos.GEN_GR_Woodland")
+MapCamos[23]=(MapName="AS-INF-Chita46.unr",CamoA="INF_cCamos.GEN_BL_Arctic",CamoB="INF_cCamos.GEN_BL_Urban")
+MapCamos[24]=(MapName="AS-INF-Terrain.unr",CamoA="INF_cCamos.GEN_GR_Desert",CamoB="INF_cCamos.GEN_BL_Black")
+MapCamos[25]=(MapName="DM-INF-Atoll.unr",CamoA="INF_cCamos.GEN_GR_Desert",CamoB="INF_cCamos.GEN_GR_RussianT")
+MapCamos[26]=(MapName="DM-INF-AztecaLite.unr",CamoA="INF_cCamos.GEN_GR_Woodland",CamoB="INF_cCamos.GEN_GR_Green")
+MapCamos[27]=(MapName="DM-INF-Bullecourt.unr",CamoA="INF_cCamos.GEN_BL_Urban",CamoB="INF_cCamos.GEN_GR_RussianG")
+MapCamos[28]=(MapName="DM-INF-ResearchSite.unr",CamoA="INF_cCamos.GEN_BL_Urban",CamoB="INF_cCamos.GEN_GR_Green")
+InfTeamCamos[0]=INF_cCamos.GEN_GR_Desert
+InfTeamCamos[1]=INF_cCamos.GEN_GR_Woodland
+InfTeamCamosGame[0]=INF_cCamos.GEN_GR_Desert
+InfTeamCamosGame[1]=INF_cCamos.GEN_GR_Woodland
+bForceInfSkins=True
+InfSkinsTeam[0]=8
+InfSkinsTeam[1]=1
+InfSkinsTeam[2]=2
+InfSkinsTeam[3]=3
+InfSkinsTeam[4]=4
+InfSkinsTeam[5]=5
+InfSkinsTeam[6]=6
+InfSkinsTeam[7]=7
+InfSkinsTeam[8]=8
+InfSkinsTeam[9]=0
+InfSkinsTeam[10]=1
+InfSkinNames[0]=Desert
+InfSkinNames[1]=Jungle
+InfSkinNames[2]=Urban
+InfSkinNames[3]=Artic
+InfSkinNames[4]=CT Black
+InfSkinNames[5]=CT Blue
+InfSkinNames[6]=CT Green
+InfSkinNames[7]=CT Grey
+InfSkinNames[8]=CT Street
+InfSkinNames[9]=Russian Spetsnatz
+InfSkinNames[10]=Russian Tan
+MapCamos[29]=(MapName="",CamoA="",CamoB="")
+MapCamos[30]=(MapName="",CamoA="",CamoB="")
+MapCamos[31]=(MapName="",CamoA="",CamoB="")
+MapCamos[32]=(MapName="",CamoA="",CamoB="")
+MapCamos[33]=(MapName="",CamoA="",CamoB="")
+MapCamos[34]=(MapName="",CamoA="",CamoB="")
+MapCamos[35]=(MapName="",CamoA="",CamoB="")
+MapCamos[36]=(MapName="",CamoA="",CamoB="")
+MapCamos[37]=(MapName="",CamoA="",CamoB="")
+MapCamos[38]=(MapName="",CamoA="",CamoB="")
+MapCamos[39]=(MapName="",CamoA="",CamoB="")
+MapCamos[40]=(MapName="",CamoA="",CamoB="")
+MapCamos[41]=(MapName="",CamoA="",CamoB="")
+MapCamos[42]=(MapName="",CamoA="",CamoB="")
+MapCamos[43]=(MapName="",CamoA="",CamoB="")
+MapCamos[44]=(MapName="",CamoA="",CamoB="")
+MapCamos[45]=(MapName="",CamoA="",CamoB="")
+MapCamos[46]=(MapName="",CamoA="",CamoB="")
+MapCamos[47]=(MapName="",CamoA="",CamoB="")
+MapCamos[48]=(MapName="",CamoA="",CamoB="")
+MapCamos[49]=(MapName="",CamoA="",CamoB="")
+MapCamos[50]=(MapName="",CamoA="",CamoB="")
+MapCamos[51]=(MapName="",CamoA="",CamoB="")
+MapCamos[52]=(MapName="",CamoA="",CamoB="")
+MapCamos[53]=(MapName="",CamoA="",CamoB="")
+MapCamos[54]=(MapName="",CamoA="",CamoB="")
+MapCamos[55]=(MapName="",CamoA="",CamoB="")
+MapCamos[56]=(MapName="",CamoA="",CamoB="")
+MapCamos[57]=(MapName="",CamoA="",CamoB="")
+MapCamos[58]=(MapName="",CamoA="",CamoB="")
+MapCamos[59]=(MapName="",CamoA="",CamoB="")
+MapCamos[60]=(MapName="",CamoA="",CamoB="")
+MapCamos[61]=(MapName="",CamoA="",CamoB="")
+MapCamos[62]=(MapName="",CamoA="",CamoB="")
+MapCamos[63]=(MapName="",CamoA="",CamoB="")
+MapCamos[64]=(MapName="",CamoA="",CamoB="")
+MapCamos[65]=(MapName="",CamoA="",CamoB="")
+MapCamos[66]=(MapName="",CamoA="",CamoB="")
+MapCamos[67]=(MapName="",CamoA="",CamoB="")
+MapCamos[68]=(MapName="",CamoA="",CamoB="")
+MapCamos[69]=(MapName="",CamoA="",CamoB="")
+MapCamos[70]=(MapName="",CamoA="",CamoB="")
+MapCamos[71]=(MapName="",CamoA="",CamoB="")
+MapCamos[72]=(MapName="",CamoA="",CamoB="")
+MapCamos[73]=(MapName="",CamoA="",CamoB="")
+MapCamos[74]=(MapName="",CamoA="",CamoB="")
+MapCamos[75]=(MapName="",CamoA="",CamoB="")
+MapCamos[76]=(MapName="",CamoA="",CamoB="")
+MapCamos[77]=(MapName="",CamoA="",CamoB="")
+MapCamos[78]=(MapName="",CamoA="",CamoB="")
+MapCamos[79]=(MapName="",CamoA="",CamoB="")
+MapCamos[80]=(MapName="",CamoA="",CamoB="")
+MapCamos[81]=(MapName="",CamoA="",CamoB="")
+MapCamos[82]=(MapName="",CamoA="",CamoB="")
+MapCamos[83]=(MapName="",CamoA="",CamoB="")
+MapCamos[84]=(MapName="",CamoA="",CamoB="")
+MapCamos[85]=(MapName="",CamoA="",CamoB="")
+MapCamos[86]=(MapName="",CamoA="",CamoB="")
+MapCamos[87]=(MapName="",CamoA="",CamoB="")
+MapCamos[88]=(MapName="",CamoA="",CamoB="")
+MapCamos[89]=(MapName="",CamoA="",CamoB="")
+MapCamos[90]=(MapName="",CamoA="",CamoB="")
+MapCamos[91]=(MapName="",CamoA="",CamoB="")
+MapCamos[92]=(MapName="",CamoA="",CamoB="")
+MapCamos[93]=(MapName="",CamoA="",CamoB="")
+MapCamos[94]=(MapName="",CamoA="",CamoB="")
+MapCamos[95]=(MapName="",CamoA="",CamoB="")
+MapCamos[96]=(MapName="",CamoA="",CamoB="")
+MapCamos[97]=(MapName="",CamoA="",CamoB="")
+MapCamos[98]=(MapName="",CamoA="",CamoB="")
+MapCamos[99]=(MapName="",CamoA="",CamoB="")
+MapCamos[100]=(MapName="",CamoA="",CamoB="")
+MapCamos[101]=(MapName="",CamoA="",CamoB="")
+MapCamos[102]=(MapName="",CamoA="",CamoB="")
+MapCamos[103]=(MapName="",CamoA="",CamoB="")
+MapCamos[104]=(MapName="",CamoA="",CamoB="")
+MapCamos[105]=(MapName="",CamoA="",CamoB="")
+MapCamos[106]=(MapName="",CamoA="",CamoB="")
+MapCamos[107]=(MapName="",CamoA="",CamoB="")
+MapCamos[108]=(MapName="",CamoA="",CamoB="")
+MapCamos[109]=(MapName="",CamoA="",CamoB="")
+MapCamos[110]=(MapName="",CamoA="",CamoB="")
+MapCamos[111]=(MapName="",CamoA="",CamoB="")
+MapCamos[112]=(MapName="",CamoA="",CamoB="")
+MapCamos[113]=(MapName="",CamoA="",CamoB="")
+MapCamos[114]=(MapName="",CamoA="",CamoB="")
+MapCamos[115]=(MapName="",CamoA="",CamoB="")
+MapCamos[116]=(MapName="",CamoA="",CamoB="")
+MapCamos[117]=(MapName="",CamoA="",CamoB="")
+MapCamos[118]=(MapName="",CamoA="",CamoB="")
+MapCamos[119]=(MapName="",CamoA="",CamoB="")
+MapCamos[120]=(MapName="",CamoA="",CamoB="")
+MapCamos[121]=(MapName="",CamoA="",CamoB="")
+MapCamos[122]=(MapName="",CamoA="",CamoB="")
+MapCamos[123]=(MapName="",CamoA="",CamoB="")
+MapCamos[124]=(MapName="",CamoA="",CamoB="")
+MapCamos[125]=(MapName="",CamoA="",CamoB="")
+MapCamos[126]=(MapName="",CamoA="",CamoB="")
+MapCamos[127]=(MapName="",CamoA="",CamoB="")
+
+[INF_Core.INFUT_TPlayerInfo]
+bAutoReload=False
+bAimIsToggled=True
+bNoAutoCol=False
+bNoFreeGhosting=False
+CarcassLifespan=0
+
+[InfiltrationUT.InfMessageRegulator]
+bINFNoDeadLivingTalk=False
+bINFKilledGetMessage=False
+
+[INF_Core.INFc_InfilWeapons]
+bInfilAdminRadarOn=False
+
+[Botpack.UTIntro]
+CityIntroHUDClass=
+bNoMonsters=False
+bHumansOnly=False
+bCoopWeaponMode=False
+bClassicDeathMessages=False
+
+[UTMenu.UTConsole]
+SpeechKey=86
+
+[UWindow.WindowConsole]
+ConsoleKey=192
+
+[InfiltrationUT.InfilWeapons]
+InfilSetup[0]=0
+InfilSetup[1]=4
+InfilSetup[2]=5
+InfilSetup[3]=3
+InfilSetup[4]=6
+InfilSetup[5]=2
+InfilSetup[6]=1
+InfilSetup[7]=3
+InfilSetup[8]=6
+InfilSetup[9]=7
+InfilSetup[10]=7
+InfilAddInv[0]=0
+InfilAddInv[1]=0
+InfilAddInv[2]=0
+InfilAddInv[3]=0
+InfilAddInv[4]=0
+InfilAddInv[5]=0
+InfilAddInv[6]=0
+InfilAddInv[7]=0
+InfilAddInv[8]=0
+InfilAddItem[0]=0
+InfilAddItem[1]=0
+InfilAddItem[2]=0
+InfilAddMax[0]=0
+InfilAddMax[1]=0
+InfilAddMax[2]=0
+InfilAddMax[3]=0
+InfilAddMax[4]=0
+InfilAddMax[5]=0
+InfilAddMax[6]=0
+InfilAddMax[7]=0
+InfilLifeSpan=5.000000
+bInfilDropWeapons=False
+bInfilDropAmmo=False
+bInfilDropItems=False
+InfilGroundSpeed=100.000000
+bInfilLMS=True
+bInfilShowLMS=True
+InfilTotalDeaths=0
+InfilLastSecs=90
+InfilRoundsPerGame=5
+InfilRoundMode=1
+InfilRoundTime=0
+InfilPauseSecs=10.000000
+InfilTeamPunish=0
+InfilDecoRespawnTime=15.000000
+bInfilDeco=False
+bInfilDetAmmo=True
+InfilDetAmmoMaxDamage=10
+InfilDetAmmoMaxRadius=80
+InfilDetAmmoRandomness=85
+bInfilDarkMatch=False
+bInfilSpecialActors=False
+bInfilUnlitPickups=True
+InfilLightPercentage=100.000000
+InfilDarkMatchLightType=0
+InfMaxTKAllowed=5
+bInfilAdminRadarOn=False
+
+[InfiltrationUT.InfilTeamGamePlus]
+bNoTeamChanges=False
+FriendlyFireScale=1.000000
+MaxTeams=2
+GoalTeamScore=30.000000
+MaxTeamSize=16
+FragLimit=30
+TimeLimit=0
+bMultiWeaponStay=False
+bForceRespawn=False
+bUseTranslocator=False
+MaxCommanders=0
+bNoMonsters=False
+bHumansOnly=False
+bCoopWeaponMode=False
+bClassicDeathMessages=False
+
diff --git a/games-fps/unreal-tournament-infiltration/files/digest-unreal-tournament-infiltration-286 b/games-fps/unreal-tournament-infiltration/files/digest-unreal-tournament-infiltration-286
new file mode 100644
index 000000000000..3ac742362999
--- /dev/null
+++ b/games-fps/unreal-tournament-infiltration/files/digest-unreal-tournament-infiltration-286
@@ -0,0 +1,2 @@
+MD5 6d3d41ad57de0bc05d6373e985ed5e82 Infiltration286-MAN.zip 74388787
+MD5 de49e693c1afc2da756de2325a995e46 INFMapPacks123FULL-MAN.zip 165080808
diff --git a/games-fps/unreal-tournament-infiltration/files/ut-inf b/games-fps/unreal-tournament-infiltration/files/ut-inf
new file mode 100644
index 000000000000..da33d209d97a
--- /dev/null
+++ b/games-fps/unreal-tournament-infiltration/files/ut-inf
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec ut -ini=Infiltration.ini -userini=InfiltrationUser.ini -log=Infiltration.log ${@}
diff --git a/games-fps/unreal-tournament-infiltration/unreal-tournament-infiltration-286.ebuild b/games-fps/unreal-tournament-infiltration/unreal-tournament-infiltration-286.ebuild
new file mode 100644
index 000000000000..8cc925ffa3eb
--- /dev/null
+++ b/games-fps/unreal-tournament-infiltration/unreal-tournament-infiltration-286.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/unreal-tournament-infiltration/unreal-tournament-infiltration-286.ebuild,v 1.1 2003/09/09 18:10:15 vapier Exp $
+
+inherit games
+
+INFFILE="Infiltration${PV}-MAN.zip"
+INFMAPS="INFMapPacks123FULL-MAN.zip"
+
+DESCRIPTION="Realistic mod for Unreal Tournament"
+HOMEPAGE="http://infiltration.sentrystudios.net/"
+SRC_URI="ftp://inffilemirror.theonlinegaming.com/INF286/Full-Zipped/${INFFILE}
+ ftp://inffilemirror.theonlinegaming.com/MapPacks/MapPackFull123/Full-Zipped/${INFMAPS}"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND="app-arch/unzip
+ || ( app-games/unreal-tournament app-games/unreal-tournament-goty )"
+
+S=${WORKDIR}
+
+src_install() {
+ local dir=${GAMES_PREFIX_OPT}/unreal-tournament
+ dodir ${dir}
+
+ mv ${S}/* ${D}/${dir}/
+
+ insinto ${dir}/System
+ [ -e ${dir}/System/Infiltration.ini ] \
+ && newins ${FILESDIR}/Infiltration.ini Infiltration.ini.sample \
+ || doins ${FILESDIR}/Infiltration.ini
+
+ dogamesbin ${FILESDIR}/ut-inf
+
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ touch ${GAMES_PREFIX_OPT}/unreal-tournament/System/Infiltration.ini
+ games_pkg_postinst
+}
diff --git a/games-fps/unreal-tournament-strikeforce/ChangeLog b/games-fps/unreal-tournament-strikeforce/ChangeLog
new file mode 100644
index 000000000000..788654f22d52
--- /dev/null
+++ b/games-fps/unreal-tournament-strikeforce/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-games/strikeforce
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/unreal-tournament-strikeforce/ChangeLog,v 1.1 2003/09/09 18:10:15 vapier Exp $
+
+ 18 Jun 2003; Patrick Kursawe <phosphan@gentoo.org> strikeforce-1.75.ebuild:
+ Corrected download location for SF175.zip, bug #13269
+
+*strikeforce-1.75 (23 Oct 2002)
+
+ 23 Oct 2002; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me.
diff --git a/games-fps/unreal-tournament-strikeforce/Manifest b/games-fps/unreal-tournament-strikeforce/Manifest
new file mode 100644
index 000000000000..9b65ecb5ebd0
--- /dev/null
+++ b/games-fps/unreal-tournament-strikeforce/Manifest
@@ -0,0 +1,3 @@
+MD5 ee428f0ea13ccf661f15b2c5456e3d5f files/digest-strikeforce-1.75 187
+MD5 63edbbe1533b5b0b4ca8f1ec1b784793 strikeforce-1.75.ebuild 1075
+MD5 7cb1b7eac2afb8e8dc44af086596e6d2 ChangeLog 488
diff --git a/games-fps/unreal-tournament-strikeforce/files/digest-unreal-tournament-strikeforce-1.75 b/games-fps/unreal-tournament-strikeforce/files/digest-unreal-tournament-strikeforce-1.75
new file mode 100644
index 000000000000..51b89d1449a1
--- /dev/null
+++ b/games-fps/unreal-tournament-strikeforce/files/digest-unreal-tournament-strikeforce-1.75
@@ -0,0 +1,3 @@
+MD5 e4aae05175f5e039a265d2068f5a7ee3 SF175.zip 115436985
+MD5 2c376557565baea9342b3e848a2cd430 sf175_mappack1.zip 35767354
+MD5 622c20248cc678791f790923532af50f sf175_mappack2.zip 59315718
diff --git a/games-fps/unreal-tournament-strikeforce/unreal-tournament-strikeforce-1.75.ebuild b/games-fps/unreal-tournament-strikeforce/unreal-tournament-strikeforce-1.75.ebuild
new file mode 100644
index 000000000000..ae6bac51561b
--- /dev/null
+++ b/games-fps/unreal-tournament-strikeforce/unreal-tournament-strikeforce-1.75.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/unreal-tournament-strikeforce/unreal-tournament-strikeforce-1.75.ebuild,v 1.1 2003/09/09 18:10:15 vapier Exp $
+
+inherit games
+
+MY_PV=${PV/./}
+DESCRIPTION="A UT addon where you fight terrorists as part of an elite strikeforce"
+HOMEPAGE="http://www.strikeforcecenter.com/"
+SRC_URI="http://www.zvdk.nl/downloads/server/SF${MY_PV}.zip
+ http://www.zvdk.nl/downloads/client/sf${MY_PV}_mappack1.zip
+ http://www.zvdk.nl/downloads/client/sf${MY_PV}_mappack2.zip"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND="|| ( app-games/unreal-tournament app-games/unreal-tournament-goty )"
+
+S="${WORKDIR}"
+
+src_unpack() {
+ # we gotta do this cause there is a duplicate file across these zip's ...
+ unpack SF${MY_PV}.zip
+ unpack sf${MY_PV}_mappack1.zip
+ rm -rf SF_Sounds/urbansnds.uax
+ unpack sf${MY_PV}_mappack2.zip
+}
+
+src_install() {
+ local dir=${GAMES_PREFIX_OPT}/unreal-tournament
+ dodir ${dir}/Help
+ mv *.txt ${D}/${dir}/Help/
+ mv * ${D}/${dir}/
+ prepgamesdirs
+}
diff --git a/games-fps/unreal-tournament/ChangeLog b/games-fps/unreal-tournament/ChangeLog
new file mode 100644
index 000000000000..e3faf7742832
--- /dev/null
+++ b/games-fps/unreal-tournament/ChangeLog
@@ -0,0 +1,28 @@
+# ChangeLog for app-games/unreal-tournament
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/unreal-tournament/ChangeLog,v 1.1 2003/09/09 18:10:15 vapier Exp $
+
+ 29 Aug 2003; Chris Gianelloni <wolf31o2@gentoo.org>
+ unreal-tournament-436.ebuild, unreal-tournament-451.ebuild:
+ Add .desktop file. Closes bug #27542.
+
+*unreal-tournament-451 (10 Jul 2003)
+
+ 10 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Added UTPG patch to bring UT up to snuff :)
+ Thanks to mrannanj for pointing it out.
+
+*unreal-tournament-436 (23 Oct 2002)
+
+ 21 Jun 2003; Mike Frysinger <vapier@gentoo.org> :
+ Reworked ebuild to install everything by hand. This
+ bypasses shortcomings of loki installer and other requirements.
+
+ 11 Mar 2003; Mike Frysinger <vapier@gentoo.org> :
+ Added --target option to use ${T} in place of /tmp.
+
+ 03 Nov 2002; Mike Frysinger <vapier@gentoo.org> :
+ Added a check for regular UT version.
+
+ 23 Oct 2002; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me.
diff --git a/games-fps/unreal-tournament/Manifest b/games-fps/unreal-tournament/Manifest
new file mode 100644
index 000000000000..7606cacce384
--- /dev/null
+++ b/games-fps/unreal-tournament/Manifest
@@ -0,0 +1,5 @@
+MD5 77ee7e17c52cfab5d97ce163c529d766 ChangeLog 1081
+MD5 ea4651eee85d891408afbd0201af8414 unreal-tournament-436.ebuild 3078
+MD5 0f0557076b781ecda443a9f936f1f2a6 unreal-tournament-451.ebuild 3592
+MD5 0a78b913dfc50ea965a0215f2c41a1a5 files/digest-unreal-tournament-436 137
+MD5 3e6449f274a09ed26511140113deaff0 files/digest-unreal-tournament-451 130
diff --git a/games-fps/unreal-tournament/files/digest-unreal-tournament-436 b/games-fps/unreal-tournament/files/digest-unreal-tournament-436
new file mode 100644
index 000000000000..50131d299078
--- /dev/null
+++ b/games-fps/unreal-tournament/files/digest-unreal-tournament-436
@@ -0,0 +1,2 @@
+MD5 b2fb7006ba2420665916739b7d9f7885 ut-install-436.run 6225010
+MD5 4728a81018f57b16b604b806432a6fa3 IpDrv-436-Linux-08-20-02.zip 105435
diff --git a/games-fps/unreal-tournament/files/digest-unreal-tournament-451 b/games-fps/unreal-tournament/files/digest-unreal-tournament-451
new file mode 100644
index 000000000000..574382c2f2cb
--- /dev/null
+++ b/games-fps/unreal-tournament/files/digest-unreal-tournament-451
@@ -0,0 +1,2 @@
+MD5 b2fb7006ba2420665916739b7d9f7885 ut-install-436.run 6225010
+MD5 77a735a78b1eb819042338859900b83b UTPGPatch451.tar.bz2 3064473
diff --git a/games-fps/unreal-tournament/unreal-tournament-436.ebuild b/games-fps/unreal-tournament/unreal-tournament-436.ebuild
new file mode 100644
index 000000000000..932241e53b96
--- /dev/null
+++ b/games-fps/unreal-tournament/unreal-tournament-436.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/unreal-tournament/unreal-tournament-436.ebuild,v 1.1 2003/09/09 18:10:15 vapier Exp $
+
+inherit games eutils
+
+DESCRIPTION="Futuristic FPS"
+HOMEPAGE="http://www.unrealtournament.com/"
+SRC_URI="ftp://ftp.lokigames.com/pub/patches/ut/ut-install-${PV}.run
+ ftp://ftp.lokigames.com/pub/patches/ut/IpDrv-${PV}-Linux-08-20-02.zip"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="-* x86"
+IUSE="3dfx X"
+
+DEPEND="app-arch/unzip
+ !app-games/unreal-tournament-goty"
+RDEPEND="X? ( virtual/x11 )"
+
+S=${WORKDIR}
+
+pkg_setup() {
+ games_get_cd System/
+ games_verify_cd ${PN}
+ games_pkg_setup
+}
+
+src_unpack() {
+ unpack_makeself ut-install-${PV}.run
+ unpack IpDrv-${PV}-Linux-08-20-02.zip
+}
+
+src_install() {
+ local dir=${GAMES_PREFIX_OPT}/${PN}
+ dodir ${dir}
+
+ # Help, Logs, Music, Textures, Web
+ cp -rf ${UT_CD}/{Help,Logs,Music,Textures,Web} ${D}/${dir}/ || die "copy Help, Logs, Music, Textures, Web"
+ tar -zxf Credits.tar.gz -C ${D}/${dir} || die "extract credits texture"
+ # NetGamesUSA.com
+ tar -zxf NetGamesUSA.com.tar.gz -C ${D}/${dir}/ || die "extract NetGamesUSA.com"
+ # Sounds
+ dodir ${dir}/Sounds
+ cp -rf ${UT_CD}/Sounds/*.uax ${D}/${dir}/Sounds/ || die "copy Sounds"
+
+ # System
+ if [ `use 3dfx` ] ; then
+ tar -zxf Glide.ini.tar.gz -C ${D}/${dir} || die "install Glide ini"
+ else
+ tar -zxf OpenGL.ini.tar.gz -C ${D}/${dir} || die "install OpenGL ini"
+ fi
+ tar -zxf data.tar.gz -C ${D}/${dir} || die "extract System data"
+ cp ${UT_CD}/System/*.u ${D}/${dir}/System/ || die "copy System data"
+
+ # the most important things, ucc & ut :)
+ exeinto ${dir}
+ doexe bin/x86/{ucc,ut} || die "install ucc/ut"
+ dosed "s:\`FindPath \$0\`:${dir}:" ${dir}/ucc
+
+ # now we install the IpDrv.so patch
+ insinto ${dir}/System
+ doins IpDrv.so || die "install IpDrv.so patch"
+
+ # install a few random files
+ insinto ${dir}
+ doins README icon.{bmp,xpm} || die "installing random files"
+
+ # install a menu item (closes bug #27542)
+ insinto /usr/share/pixmaps
+ newins icon.xpm ut.xpm
+ make_desktop_entry ut "Unreal Tournament" ut.xpm
+
+ # now we uncompress the maps (GOTY edition installs maps as .uz)
+ einfo "Uncompressing Maps ... this may take some time"
+ dodir ${dir}/Maps
+ cd ${D}/${dir}
+ export HOME=${T}
+ export UT_DATA_PATH=${D}/${dir}/System
+ for f in `find ${UT_CD}/Maps/ -name '*.uz' -printf '%f '` ; do
+ ./ucc decompress ${UT_CD}/Maps/${f} -nohomedir || die "uncompressing map ${f}"
+ mv System/${f:0:${#f}-3} Maps/ || die "copy map ${f}"
+ done
+ cp -rf ${UT_CD}/Maps/*.unr ${D}/${dir}/Maps/ # some cd's have uncompressed maps ??
+
+ # export some symlinks so ppl can run
+ dodir ${GAMES_BINDIR}
+ dosym ${dir}/ucc ${GAMES_BINDIR}/ucc
+ dosym ${dir}/ut ${GAMES_BINDIR}/ut
+
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ echo
+ einfo "You might want to install the bonus packs too."
+ einfo "Many servers on the internet use them, and the"
+ einfo "majority of players do too."
+ echo
+ einfo "Just run: emerge unreal-tournament-bonuspacks"
+ echo
+}
diff --git a/games-fps/unreal-tournament/unreal-tournament-451.ebuild b/games-fps/unreal-tournament/unreal-tournament-451.ebuild
new file mode 100644
index 000000000000..2c5eed78981f
--- /dev/null
+++ b/games-fps/unreal-tournament/unreal-tournament-451.ebuild
@@ -0,0 +1,118 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/unreal-tournament/unreal-tournament-451.ebuild,v 1.1 2003/09/09 18:10:15 vapier Exp $
+
+inherit games eutils
+
+DESCRIPTION="Futuristic FPS"
+HOMEPAGE="http://www.unrealtournament.com/ http://utpg.org/"
+SRC_URI="ftp://ftp.lokigames.com/pub/patches/ut/ut-install-436.run
+ http://utpg.org/patches/UTPGPatch${PV}.tar.bz2"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="-* x86"
+IUSE="3dfx X"
+
+DEPEND="app-arch/unzip
+ !app-games/unreal-tournament-goty"
+DEPEND="X? ( virtual/x11 )
+ opengl? ( virtual/opengl )"
+
+S=${WORKDIR}
+
+pkg_setup() {
+ games_get_cd System/
+ games_verify_cd ${PN}
+ games_pkg_setup
+}
+
+src_unpack() {
+ unpack_makeself ut-install-436.run
+ mkdir UTPG && cd UTPG
+ unpack UTPGPatch${PV}.tar.bz2
+ rm checkfiles.sh patch.md5
+}
+
+src_install() {
+ local dir=${GAMES_PREFIX_OPT}/${PN}
+ local Ddir=${D}/${dir}
+ dodir ${dir}
+
+ # Help, Logs, Music, Textures, Web
+ cp -rf ${GAMES_CD}/{Help,Logs,Music,Textures,Web} ${Ddir}/ || die "copy Help, Logs, Music, Textures, Web"
+ tar -zxf Credits.tar.gz -C ${Ddir} || die "extract credits texture"
+ # NetGamesUSA.com
+ tar -zxf NetGamesUSA.com.tar.gz -C ${Ddir}/ || die "extract NetGamesUSA.com"
+ # Sounds
+ dodir ${dir}/Sounds
+ cp -rf ${GAMES_CD}/Sounds/*.uax ${Ddir}/Sounds/ || die "copy Sounds"
+
+ # System
+ if [ `use 3dfx` ] ; then
+ tar -zxf Glide.ini.tar.gz -C ${Ddir} || die "install Glide ini"
+ else
+ tar -zxf OpenGL.ini.tar.gz -C ${Ddir} || die "install OpenGL ini"
+ fi
+ tar -zxf data.tar.gz -C ${Ddir} || die "extract System data"
+ cp ${GAMES_CD}/System/*.u ${Ddir}/System/ || die "copy System data"
+
+ # the most important things, ucc & ut :)
+ exeinto ${dir}
+ doexe bin/x86/{ucc,ut} || die "install ucc/ut"
+ dosed "s:\`FindPath \$0\`:${dir}:" ${dir}/ucc
+
+ # install a few random files
+ insinto ${dir}
+ doins README icon.{bmp,xpm} || die "installing random files"
+
+ # install a menu item (closes bug #27542)
+ insinto /usr/share/pixmaps
+ newins icon.xpm ut.xpm
+ make_desktop_entry ut "Unreal Tournament" ut.xpm
+
+ # first apply any patch remaints loki has for us
+ cd setup.data
+ ./bin/Linux/x86/loki_patch patch.dat ${Ddir} >& /dev/null
+ cd ${S}
+
+ # finally, unleash the UTPG patch
+ cp -rf UTPG/* ${Ddir}/
+ # fix a small bug until next official release
+ dosed "/^LoadClassMismatch/s:%s.%s:%s:" ${dir}/System/Core.int
+
+ # now we uncompress the maps (GOTY edition installs maps as .uz)
+ einfo "Uncompressing Maps ... this may take some time"
+ dodir ${dir}/Maps
+ cd ${Ddir}
+ export HOME=${T}
+ export UT_DATA_PATH=${Ddir}/System
+ for f in `find ${GAMES_CD}/Maps/ -name '*.uz' -printf '%f '` ; do
+ ./ucc decompress ${GAMES_CD}/Maps/${f} -nohomedir || die "uncompressing map ${f}"
+ mv System/${f:0:${#f}-3} Maps/ || die "copy map ${f}"
+ done
+ cp -rf ${GAMES_CD}/Maps/*.unr ${Ddir}/Maps/ # some cd's have uncompressed maps ??
+
+ # now, since these files are coming off a cd, the times/sizes/md5sums wont
+ # be different ... that means portage will try to unmerge some files (!)
+ # we run touch on ${D} so as to make sure portage doesnt do any such thing
+ find ${Ddir} -exec touch '{}' \;
+
+ # export some symlinks so ppl can run
+ dodir ${GAMES_BINDIR}
+ dosym ${dir}/ucc ${GAMES_BINDIR}/ucc
+ dosym ${dir}/ut ${GAMES_BINDIR}/ut
+
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ echo
+ einfo "You might want to install the bonus packs too."
+ einfo "Many servers on the internet use them, and the"
+ einfo "majority of players do too."
+ echo
+ einfo "Just run: emerge unreal-tournament-bonuspacks"
+ echo
+}
diff --git a/games-fps/unreal/ChangeLog b/games-fps/unreal/ChangeLog
new file mode 100644
index 000000000000..6bf438fda5c1
--- /dev/null
+++ b/games-fps/unreal/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-games/unreal
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/unreal/ChangeLog,v 1.1 2003/09/09 18:10:15 vapier Exp $
+
+ 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
+
+*unreal-226 (23 Oct 2002)
+
+ 23 Oct 2002; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me.
diff --git a/games-fps/unreal/Manifest b/games-fps/unreal/Manifest
new file mode 100644
index 000000000000..6e1370935ed1
--- /dev/null
+++ b/games-fps/unreal/Manifest
@@ -0,0 +1,4 @@
+MD5 b2b78a27a3e2ac2198042e8ab323ba12 files/unreal 53
+MD5 fb9f3aa1d9e686f3dd4eaf140588a078 files/digest-unreal-226 65
+MD5 2e5e7562f319a247c0df3346f9033047 unreal-226.ebuild 1257
+MD5 aea476a372dc1d2417a235f690d991bc ChangeLog 416
diff --git a/games-fps/unreal/files/digest-unreal-226 b/games-fps/unreal/files/digest-unreal-226
new file mode 100644
index 000000000000..ceff23b08077
--- /dev/null
+++ b/games-fps/unreal/files/digest-unreal-226
@@ -0,0 +1 @@
+MD5 afb1c888b4b9fc9338fe255ca8749169 unreali-install.run 4118594
diff --git a/games-fps/unreal/files/unreal b/games-fps/unreal/files/unreal
new file mode 100644
index 000000000000..2d4a646df48a
--- /dev/null
+++ b/games-fps/unreal/files/unreal
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd GENTOO_DIR
+exec ./UnrealTournament ${@}
diff --git a/games-fps/unreal/unreal-226.ebuild b/games-fps/unreal/unreal-226.ebuild
new file mode 100644
index 000000000000..d5d4d261dee7
--- /dev/null
+++ b/games-fps/unreal/unreal-226.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/unreal/unreal-226.ebuild,v 1.1 2003/09/09 18:10:15 vapier Exp $
+
+inherit games eutils
+
+DESCRIPTION="Futuristic FPS (a hack that runs on top of Unreal Tournament)"
+HOMEPAGE="http://www.unreal.com/"
+SRC_URI="http://www.icculus.org/%7Echunky/ut/unreal/unreali-install.run"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="-* x86"
+IUSE="X"
+
+DEPEND="|| ( app-games/unreal-tournament app-games/unreal-tournament-goty )
+ sys-libs/lib-compat"
+RDEPEND="X? ( virtual/x11 )
+ opengl? ( virtual/opengl )"
+
+S=${WORKDIR}
+
+pkg_setup() {
+ games_get_cd System/
+ games_verify_cd ${PN}
+ games_pkg_setup
+}
+
+src_unpack() {
+ unpack_makeself ${A}
+}
+
+src_install() {
+ local dir=${GAMES_PREFIX_OPT}/unreal
+ dodir ${dir}
+
+ tar -zxf System.tar.gz -C ${D}/${dir}
+
+ cp -rf ${GAMES_CD}/{Maps,Music,Sounds} ${D}/${dir}/
+
+ insinto ${dir}
+ doins icon.* README*
+
+ dosym ${GAMES_PREFIX_OPT}/unreal-tournament/System/Engine.so ${dir}/System/Engine.so
+ dosym ${GAMES_PREFIX_OPT}/unreal-tournament/System/Core.so ${dir}/System/Core.so
+
+ dogamesbin ${FILESDIR}/unreal
+ dosed "s:GENTOO_DIR:${GAMES_BINDIR}:" ${GAMES_BINDIR}/unreal
+
+ prepgamesdirs
+}
diff --git a/games-fps/ut2003-demo/ChangeLog b/games-fps/ut2003-demo/ChangeLog
new file mode 100644
index 000000000000..ddb4e88d96ea
--- /dev/null
+++ b/games-fps/ut2003-demo/ChangeLog
@@ -0,0 +1,104 @@
+# ChangeLog for app-games/ut2003-demo
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2003-demo/ChangeLog,v 1.1 2003/09/09 18:10:15 vapier Exp $
+
+ 30 Aug 2003; Chris Gianelloni <wolf31o2@gentoo.org>
+ ut2003-demo-2206-r2.ebuild:
+ Adding menu entry. Closes bug #27594.
+
+*ut2003-demo-2206-r2 (23 May 2003)
+
+ 23 Jun 2003; Mike Frysinger <vapier@gentoo.org> :
+ Updated results.sh script to fix #19392.
+
+ 23 May 2003; Daniel Robbins <drobbins@gentoo.org>: Aliz's security "fix"
+ actually totally broke this ebuild. In the absence of a working fix, it's
+ being removed. Also removing use of evil "games" group.
+
+ 18 May 2003; Daniel Ahlberg <aliz@gentooo.org> : Added missing desktop file.
+
+*ut2003-demo-2206-r1 (16 May 2003)
+
+ 16 May 2003; Daniel Ahlberg <aliz@gentoo.org> :
+ Security update. Ebuild contributed by Chris Gianelloni wolf31o2@hotmail.com in #20993.
+
+*ut2003-demo-2206 (25 Feb 2003)
+
+ 25 Feb 2003; Daniel Robbins <drobbins@gentoo.org> : A new release from
+ icculus.org with lots of nice fixes. I'm removing all the older versions of
+ ut2003-demo from CVS because this one is clearly preferable and also has a new
+ versioning scheme (by build number rather than timestamp.) There still seems
+ to be some trouble with the benchmarking, particularly MinDetail. MaxDetail works
+ perfectly for me, while MinDetail seems to look for WinDrv for some reason. But
+ it works fine when I run the command manually. Weird.
+
+ 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
+
+*ut2003-demo-20020925-r2 (06 Oct 2002)
+
+ 06 Oct 2002; phoen][x <phoenix@gentoo.org> ChangeLog, ut2003-demo-20020925-r2.ebuild,
+ files/digest-ut2003-demo-20020925-r2, files/benchmark:
+
+ Fixed the benchmarking.
+
+*ut2003-demo-20020925-r1 (25 Sep 2002)
+
+ 25 Sep 2002; phoen][x <phoenix@gentoo.org> ChangeLog, ut2003-demo-20020925-r1.ebuild,
+ files/digest-ut2003-demo-20020925-r1, files/results.sh, files/ut2003-demo:
+
+ Removed results.py and added results.sh. This makes the ebuild compatible with the
+ LiveCD (the LiveCD doesnt come with python).
+
+*ut2003-demo-20020925 (25 Sep 2002)
+
+ 25 Sep 2002; Mike Frysinger <vapier@gentoo.org> ChangeLog, ut2003-demo-20020925.ebuild :
+
+ My bad, 1080c is not a new patch, but a supplement to 1080b ... this fixes that ... #8313
+
+*ut2003-demo-20020919 (19 Sep 2002)
+
+ 19 Sep 2002; Mike Frysinger <vapier@gentoo.org> ChangeLog, ut2003-demo-20020919.ebuild :
+
+ 1080c is out, fixes #8081
+
+*ut2003-demo-20020918-r1 (19 Sep 2002)
+
+ 18 Sep 2002; phoen][x <phoenix@gentoo.org> ChangeLog, ut2003-demo-20020918-r1.ebuild,
+ files/digest-ut2003-demo-20020918, files/results.py, files/ut2003-demo, files/benchmark:
+
+ Revision bump. Added a wrapper which is able to benchmark ut2003. Made the game
+ executable by users who aren't in group games. Fixed a few minor bugs.
+
+
+*ut2003-demo-20020918 (18 Sep 2002)
+
+ 18 Sep 2002; phoen][x <phoenix@gentoo.org> ChangeLog, ut2003-demo-20020918.ebuild,
+ files/digest-ut2003-demo-20020918 :
+
+ This version includes the patch 1080. Installation directory switched to /opt
+ again, sorry for that (this was the last location change, i promise).
+
+*ut2003-demo-20020915 (15 Sep 2002)
+
+ 17 Sep 2002; phoen][x <phoenix@gentoo.org> ChangeLog, ut2003-demo-20020915.ebuild:
+
+ chmod'ed the whole game to "o-rwx" - that prevent users who aren't members of
+ group 'games' from playing the game. Added a message about that to pkg_postinst().
+
+ 16 Sep 2002; phoen][x <phoenix@gentoo.org> ChangeLog, ut2003-demo-20020915.ebuild:
+
+ Added "-f" to "rm ${S}/${FILENAME}",
+
+ Changed install location to /usr/local/games.
+
+ Fixed the permissions.
+
+ 15 Sep 2002; phoen][x <phoenix@gentoo.org> ChangeLog, ut2003-demo-20020915.ebuild
+ files/digest-ut2003-demo-20020915, files/misc.tar.bz2:
+
+ Initial import. This package installs the official Unreal Tournament 2003 demo to
+ /opt/ut2003-demo.
+
+ Modified DEPEND.
+
+ Added --nox11 to prevent the installer from starting.
diff --git a/games-fps/ut2003-demo/Manifest b/games-fps/ut2003-demo/Manifest
new file mode 100644
index 000000000000..f6d217fe404c
--- /dev/null
+++ b/games-fps/ut2003-demo/Manifest
@@ -0,0 +1,9 @@
+MD5 dbbfbd5282e10205d299f235cf78234f ChangeLog 4052
+MD5 ebcca0b6443fb03456c0af5dd673d37d ut2003-demo-2206-r2.ebuild 2772
+MD5 65c92c0f20bdebbc7369012b63a17f52 files/benchmark 1130
+MD5 1a1e434e7d953a057cf4c388b848f463 files/misc.tar.bz2 31851
+MD5 1cc2aecbe8968fa325a6e49b7f71f2ca files/results.py 1461
+MD5 b9b76d93d292d5f73481c37ff7c41454 files/results.sh 2103
+MD5 4605ca0fbc6b80d2980c183e00771be3 files/ut2003-demo 679
+MD5 fda26e9125bc82d968da4db95a839554 files/digest-ut2003-demo-2206-r2 131
+MD5 e3fbaa34b381bf635b9792339862c47a files/ut2003-demo.desktop 159
diff --git a/games-fps/ut2003-demo/files/benchmark b/games-fps/ut2003-demo/files/benchmark
new file mode 100644
index 000000000000..0e2f39d9b525
--- /dev/null
+++ b/games-fps/ut2003-demo/files/benchmark
@@ -0,0 +1,37 @@
+#!/bin/sh
+# Originally from linuxforen.de
+# Modified by phoen][x <phoenix@gentoo.org>, Sep/19/2002
+# Modifications, enhancements or bugs? Mail me.
+
+# Tweaks by Daniel Robbins <drobbins@gentoo.org> 25 Feb 2003
+
+STUFF=/opt/ut2003-demo/Benchmark/Stuff
+MYPATH=${HOME}/.ut2003/Benchmark
+TEMPLOG=${MYPATH}/benchmark.log
+LOG=${MYPATH}/bench.log
+
+[ -d ${MYPATH} ] || mkdir -p ${MYPATH}
+
+rm -f ${TEMPLOG} ${LOG}
+touch ${TEMPLOG} ${LOG}
+
+date > $LOG
+
+echo ">> Starting benchmark"
+cd /opt/ut2003-demo/System
+for BENCH in /opt/ut2003-demo/Benchmark/*-*.sh
+do
+ echo "Running ${BENCH} with MinDetail"
+ ${BENCH} -ini=${STUFF}/MinDetail.ini -userini=${STUFF}/MinDetailUser.ini &> /dev/null
+ echo -n "${BENCH} / MinDetail / " >> ${LOG}
+ cat ${TEMPLOG} | tail -n1 >> ${LOG}
+
+ echo "Running ${BENCH} with MaxDetail"
+ ${BENCH} -ini=${STUFF}/MaxDetail.ini -userini=${STUFF}/MaxDetailUser.ini &> /dev/null
+ echo -n "${BENCH} / MaxDetail / " >> ${LOG}
+ cat ${TEMPLOG} | tail -n1 >> ${LOG}
+done
+
+echo ">> Benchmark complete"
+/opt/ut2003-demo/Benchmark/results.sh
+echo ">> Use 'ut2003-demo --results' to show these results again (without benchmarking)"
diff --git a/games-fps/ut2003-demo/files/digest-ut2003-demo-2206-r2 b/games-fps/ut2003-demo/files/digest-ut2003-demo-2206-r2
new file mode 100644
index 000000000000..eeb6ae1dca3e
--- /dev/null
+++ b/games-fps/ut2003-demo/files/digest-ut2003-demo-2206-r2
@@ -0,0 +1,2 @@
+MD5 b28acb17aca17bd2865771de8b75eb89 ut2003demo-lnx-2206.sh.bin 137253079
+MD5 8543c4841a07e9e17f9222f868d9dbe4 IpDrv.so.bz2 124394
diff --git a/games-fps/ut2003-demo/files/misc.tar.bz2 b/games-fps/ut2003-demo/files/misc.tar.bz2
new file mode 100644
index 000000000000..c015a5de81a8
--- /dev/null
+++ b/games-fps/ut2003-demo/files/misc.tar.bz2
Binary files differ
diff --git a/games-fps/ut2003-demo/files/results.py b/games-fps/ut2003-demo/files/results.py
new file mode 100644
index 000000000000..3e626239129d
--- /dev/null
+++ b/games-fps/ut2003-demo/files/results.py
@@ -0,0 +1,61 @@
+#!/usr/bin/env python
+# Written by phoen][x <phoenix@gentoo.org>, Sep/19/2002
+# Modifications, enhancements or bugs? Mail me.
+import sys
+
+def help():
+ print "Usage"
+ print " results.py logfile"
+
+def stats(data,mode):
+ print(
+""">> Score for %s
+MinDetail: %f (%d tests)
+MaxDetail: %f (%d tests)
+Average : %f (%d tests)
+""" % (mode,data[0][0]/data[0][1],data[0][1],data[1][0]/data[1][1],data[1][1],
+ (data[0][0]+data[1][0])/(data[0][1]+data[1][1]),data[0][1]+data[1][1]))
+
+args = sys.argv[1:]
+if "--help" in args:
+ help()
+else:
+ if len(args):
+ file = args[0]
+ else:
+ import user
+ file = "%s/.ut2003/Benchmark/bench.log" % user.home
+ try:
+ myfile = open(file)
+ date = myfile.readline()
+ print(">> Results of the UT2003-demo benchmark")
+ print(">> created on %s" % date)
+
+ botmatch = ([0,0],[0,0])
+ flyby = ([0,0],[0,0])
+
+ for line in myfile.readlines():
+ results = line.split()
+ category = results[0].split("-")[0]
+
+ if results[2] == "MinDetail":
+ detail = 0
+ elif results[2] == "MaxDetail":
+ detail = 1
+ else:
+ assert "Neither MinDetail nor MaxDetail?"
+
+ if category == "botmatch":
+ botmatch[detail][0] += float(results[13])
+ botmatch[detail][1] += 1
+ elif category == "flyby":
+ flyby[detail][0] += float(results[13])
+ flyby[detail][1] += 1
+ else:
+ assert "Neither botmach nor flyby?"
+
+ stats(botmatch,"Botmatch")
+ stats(flyby,"FlyBy")
+
+ except IOError:
+ print("Unable to open file %s" % file)
diff --git a/games-fps/ut2003-demo/files/results.sh b/games-fps/ut2003-demo/files/results.sh
new file mode 100644
index 000000000000..6810f4dbc805
--- /dev/null
+++ b/games-fps/ut2003-demo/files/results.sh
@@ -0,0 +1,79 @@
+#!/bin/bash
+# Written by phoen][x <phoenix@gentoo.org>, Sep/21/2002
+# Modifications, enhancements or bugs? Contact games@gentoo.org
+
+[ -z "${1}" ] \
+ && FILE="${HOME}/.ut2003/Benchmark/bench.log" \
+ || FILE="${1}"
+
+CURLINE=0
+
+BM_MIN_SCORE=0
+BM_MIN_COUNT=0
+BM_MAX_SCORE=0
+BM_MAX_COUNT=0
+
+FB_MIN_SCORE=0
+FB_MIN_COUNT=0
+FB_MAX_SCORE=0
+FB_MAX_COUNT=0
+
+while read LINE ; do
+ CURLINE=`expr $CURLINE + 1`
+ if [ ${CURLINE} -eq 1 ] ; then
+ echo ">> Results of the UT2003-demo benchmark"
+ echo ">> Created on ${LINE}"
+ continue
+ fi
+
+ set -- ${LINE}
+ TYPE=$(echo $(basename ${1}) | cut -d- -f1)
+ DETAIL=${3}
+ SCORE=${14}
+
+ case ${TYPE} in
+ "botmatch")
+ case ${DETAIL} in
+ "MinDetail")
+ BM_MIN_SCORE=`echo ${BM_MIN_SCORE} + ${SCORE} | bc`
+ BM_MIN_COUNT=`expr ${BM_MIN_COUNT} + 1`
+ ;;
+ "MaxDetail")
+ BM_MAX_SCORE=`echo ${BM_MAX_SCORE} + ${SCORE} | bc`
+ BM_MAX_COUNT=`expr ${BM_MAX_COUNT} + 1`
+ ;;
+ esac
+ ;;
+ "flyby")
+ case ${DETAIL} in
+ "MinDetail")
+ FB_MIN_SCORE=`echo ${FB_MIN_SCORE} + ${SCORE} | bc`
+ FB_MIN_COUNT=`expr ${FB_MIN_COUNT} + 1`
+ ;;
+ "MaxDetail")
+ FB_MAX_SCORE=`echo ${FB_MAX_SCORE} + ${SCORE} | bc`
+ FB_MAX_COUNT=`expr ${FB_MAX_COUNT} + 1`
+ ;;
+ esac
+ ;;
+ esac
+done < ${FILE}
+
+BM_MIN_AVG=`echo "scale=6; ${BM_MIN_SCORE} / ${BM_MIN_COUNT}" | bc`
+BM_MAX_AVG=`echo "scale=6; ${BM_MAX_SCORE} / ${BM_MAX_COUNT}" | bc`
+BM_ALL_AVG=`echo "scale=6; (${BM_MIN_SCORE} + ${BM_MAX_SCORE}) / (${BM_MIN_COUNT} + ${BM_MAX_COUNT})" | bc`
+
+FB_MIN_AVG=`echo "scale=6; ${FB_MIN_SCORE} / ${FB_MIN_COUNT}" | bc`
+FB_MAX_AVG=`echo "scale=6; ${FB_MAX_SCORE} / ${FB_MAX_COUNT}" | bc`
+FB_ALL_AVG=`echo "scale=6; (${FB_MIN_SCORE} + ${FB_MAX_SCORE}) / (${FB_MIN_COUNT} + ${FB_MAX_COUNT})" | bc`
+
+echo "
+>> Score for Botmatch
+MinDetail: ${BM_MIN_AVG} (${BM_MIN_COUNT} tests)
+MaxDetail: ${BM_MAX_AVG} (${BM_MAX_COUNT} tests)
+Average : ${BM_ALL_AVG} (`expr ${BM_MIN_COUNT} + ${BM_MAX_COUNT}` tests)
+
+>> Score for FlyBy
+MinDetail: ${FB_MIN_AVG} (${FB_MIN_COUNT} tests)
+MaxDetail: ${FB_MAX_AVG} (${FB_MAX_COUNT} tests)
+Average : ${FB_ALL_AVG} (`expr ${FB_MIN_COUNT} + ${FB_MAX_COUNT}` tests)"
diff --git a/games-fps/ut2003-demo/files/ut2003-demo b/games-fps/ut2003-demo/files/ut2003-demo
new file mode 100644
index 000000000000..592cd17ad1c7
--- /dev/null
+++ b/games-fps/ut2003-demo/files/ut2003-demo
@@ -0,0 +1,30 @@
+#!/bin/bash
+# Written by phoen][x <phoenix@gentoo.org>, Sep/19/2002
+# Modifications, enhancements or bugs? Mail me.
+
+INSTALL="/opt/ut2003-demo"
+
+case ${1} in
+ "--results")
+ pushd ${INSTALL}/Benchmark &> /dev/null
+ ./results.sh
+ popd &> /dev/null
+ ;;
+ "--bench")
+ pushd ${INSTALL}/Benchmark &> /dev/null
+ ./benchmark
+ popd &> /dev/null
+ ;;
+ "--help")
+ echo "Usage:"
+ echo " ut2003-demo [--bench] || [--results]"
+ echo " Optional parameters, only one at a time."
+ echo " --bench : starts ut2003-demo in benchmark mode"
+ echo " --results : outputs the results of your last benchmark"
+ ;;
+ *)
+ pushd ${INSTALL} &> /dev/null
+ ./ut2003_demo
+ popd &> /dev/null
+ ;;
+esac
diff --git a/games-fps/ut2003-demo/files/ut2003-demo.desktop b/games-fps/ut2003-demo/files/ut2003-demo.desktop
new file mode 100644
index 000000000000..14681a951004
--- /dev/null
+++ b/games-fps/ut2003-demo/files/ut2003-demo.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=UT2003-demo
+Comment=Unreal Tournament 2003 Demo
+Exec=ut2003-demo
+Icon=ut2003.png
+Terminal=0
+Type=Application
+Categories=Application;Game;
diff --git a/games-fps/ut2003-demo/ut2003-demo-2206-r2.ebuild b/games-fps/ut2003-demo/ut2003-demo-2206-r2.ebuild
new file mode 100644
index 000000000000..c7a752ba8629
--- /dev/null
+++ b/games-fps/ut2003-demo/ut2003-demo-2206-r2.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2003-demo/ut2003-demo-2206-r2.ebuild,v 1.1 2003/09/09 18:10:15 vapier Exp $.
+
+inherit games
+
+DESCRIPTION="Unreal Tournament 2003 Demo"
+HOMEPAGE="http://www.ut2003.com/"
+SRC_URI="http://unreal.epicgames.com/linux/ut2003/ut2003demo-lnx-${PV}.sh.bin"
+
+LICENSE="ut2003-demo"
+SLOT="0"
+KEYWORDS="-* x86"
+RESTRICT="nostrip"
+
+DEPEND="virtual/opengl"
+
+S=${WORKDIR}
+
+src_unpack() {
+ tail +266 ${DISTDIR}/${A} | tar xf - || die
+ tar -zxf setupstuff.tar.gz || die
+}
+
+src_install() {
+ einfo "This will take a while ... go get a pizza or something"
+
+ local dir=${GAMES_PREFIX_OPT}/${PN}
+ dodir ${dir}
+
+ tar -jxvf ut2003lnx_demo.tar.bz2 -C ${D}/${dir} || die
+ tar -jxvf ${FILESDIR}/misc.tar.bz2 -C ${D}/${dir} || die
+
+ # fix the benchmark configurations to use SDL rather than the Windows driver
+ cd ${D}/${dir}/Benchmark/Stuff
+ for f in MaxDetail.ini MinDetail.ini ; do
+ dosed 's/RenderDevice=D3DDrv.D3DRenderDevice/\;RenderDevice=D3DDrv.D3DRenderDevice/' ${dir}/Benchmark/Stuff/${f}
+ dosed 's/ViewportManager=WinDrv.WindowsClient/\;ViewportManager=WinDrv.WindowsClient/' ${dir}/Benchmark/Stuff/${f}
+ dosed 's/\;RenderDevice=OpenGLDrv.OpenGLRenderDevice/RenderDevice=OpenGLDrv.OpenGLRenderDevice/' ${dir}/Benchmark/Stuff/${f}
+ dosed 's/\;ViewportManager=SDLDrv.SDLClient/ViewportManager=SDLDrv.SDLClient/' ${dir}/Benchmark/Stuff/${f}
+ done
+
+ # have the benchmarks run the nifty wrapper script rather than ../System/ut2003-bin directly
+ cd ${D}/opt/ut2003-demo/Benchmark
+ for f in ${D}/${dir}/Benchmark/*-*.sh ; do
+ dosed 's:\.\./System/ut2003-bin:../ut2003_demo:' ${f}
+ done
+
+ # Wrapper and benchmark-scripts
+ insinto ${GAMES_BINDIR}
+ dogamesbin ${FILESDIR}/ut2003-demo
+ exeinto ${dir}/Benchmark
+ doexe ${FILESDIR}/{benchmark,results.sh}
+
+ # create menu entry (closes bug #27594)
+ insinto /usr/share/applications
+ newins ${D}/opt/ut2003-demo/Unreal.xpm UT2003-demo.xpm
+ make_desktop_entry ut2003-demo "UT2003 Demo" UT2003-demo.xpm
+
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ echo
+ einfo "Type 'ut2003-demo' to start the game."
+ einfo "You can run benchmarks by typing 'ut2003-demo --bench' (MinDetail seems"
+ einfo "to not be working for some unknown reason :/)"
+ echo
+ einfo "This version of ut2003 works well with NVIDIA cards, somewhat OK with"
+ einfo "the ATI unified drivers (emerge ati-drivers) and may also work"
+ einfo "with some recent versions of the commercial Xi Graphics drivers"
+ einfo "(http://www.xig.com/), although this has not yet been confirmed by me."
+ echo
+ einfo "Read ${dir}/README.linux for instructions on how to run a"
+ einfo "dedicated server."
+ echo
+ einfo "Have fun :)"
+
+ games_pkg_postinst
+}
diff --git a/games-fps/ut2003/ChangeLog b/games-fps/ut2003/ChangeLog
new file mode 100644
index 000000000000..4f8fc569b959
--- /dev/null
+++ b/games-fps/ut2003/ChangeLog
@@ -0,0 +1,32 @@
+# ChangeLog for app-games/ut2003
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2003/ChangeLog,v 1.1 2003/09/09 18:10:15 vapier Exp $
+
+ 08 Sep 2003; Chris Gianelloni <wolf31o2@gentoo.org> ut2003-2225.ebuild:
+ Fixed sound and player model picker issues. Closes bugs # 27357 and 27451.
+
+ 26 Aug 2003; Chris Gianelloni <wolf31o2@gentoo.org> ut2003-2225.ebuild:
+ Fixing problem with location of .ini files during installtion. Closing bug
+ #27357
+
+ 14 Aug 2003; Chris Gianelloni <wolf31o2@gentoo.org> ut2003-2225.ebuild,
+ files/ucc, files/ut2003:
+ Fixing bug #26396
+
+ 07 Aug 2003; Chris Gianelloni <wolf31o2@gentoo.org> ut2003-2225.ebuild:
+ Fixing ebuild to unpack file directly rather than using unpack_makeself.
+ Apparently, I wasn't paying much attention when updating some ebuilds and made
+ this change. Closing bug #26129. Thanks for pointing this out, Hendrik.
+
+ 06 Aug 2003; Chris Gianelloni <wolf31o2@gentoo.org> ut2003-2225.ebuild:
+ Fixed sandbox violation
+
+ 05 Aug 2003; Chris Gianelloni <wolf31o2@gentoo.org> ut2003-2225.ebuild:
+ Fixed to use unpack_makeself
+
+*ut2003-2225 (21 Jul 2003)
+
+ 21 Jul 2003; Chris Gianelloni <wolf31o2@gentoo.org> ut2003-2225.ebuild,
+ files/ucc, files/ut2003:
+ Initial import to portage. Ebuild submitted by me.
+
diff --git a/games-fps/ut2003/Manifest b/games-fps/ut2003/Manifest
new file mode 100644
index 000000000000..1ceafab0cd6d
--- /dev/null
+++ b/games-fps/ut2003/Manifest
@@ -0,0 +1,6 @@
+MD5 f6cae33c8caa476c3de7fee839fd3534 ChangeLog 1348
+MD5 4b63cb7e7f6443366fdd4f62f588d62a metadata.xml 776
+MD5 b7856ff66bc304c62424d4fe7a55b40f ut2003-2225.ebuild 6159
+MD5 5e8d480633edafa5d68b6571cb1e42b0 files/ucc 36
+MD5 046c03694cc792093c0a18d1b4cb8f94 files/ut2003 39
+MD5 80cad624a754f13b032630aaecace59f files/digest-ut2003-2225 73
diff --git a/games-fps/ut2003/files/digest-ut2003-2225 b/games-fps/ut2003/files/digest-ut2003-2225
new file mode 100644
index 000000000000..5ade972c85d4
--- /dev/null
+++ b/games-fps/ut2003/files/digest-ut2003-2225
@@ -0,0 +1 @@
+MD5 9313986bae68514a31917de8f8fca999 ut2003lnx_2107to2225.sh.bin 8558900
diff --git a/games-fps/ut2003/files/ucc b/games-fps/ut2003/files/ucc
new file mode 100644
index 000000000000..596621803c8a
--- /dev/null
+++ b/games-fps/ut2003/files/ucc
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+cd GENTOO_DIR
+./ucc $@
diff --git a/games-fps/ut2003/files/ut2003 b/games-fps/ut2003/files/ut2003
new file mode 100644
index 000000000000..10d1914559f1
--- /dev/null
+++ b/games-fps/ut2003/files/ut2003
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+cd GENTOO_DIR
+./ut2003 $@
diff --git a/games-fps/ut2003/metadata.xml b/games-fps/ut2003/metadata.xml
new file mode 100644
index 000000000000..1dd95fa16097
--- /dev/null
+++ b/games-fps/ut2003/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+<maintainer>
+ <email>wolf31o2@gentoo.org</email>
+ <name>Chris Gianelloni</name>
+</maintainer>
+<longdescription>
+Unreal Tounament 2003 is a first-person 3-D shooter and sequel to the 1999 Game of the Year, Unreal Tournament. The game was ported to Linux by Ryan "icculus" Gordon under contract from Epic Games and the Linux installer was released in the retail box. This game is commercial software and requires data from the original retail discs to play. If you're interested in checking out the technology behind Unreal Tournament 2003, you can "emerge ut2003-demo" to get the playable demo.
+</longdescription>
+</pkgmetadata>
diff --git a/games-fps/ut2003/ut2003-2225.ebuild b/games-fps/ut2003/ut2003-2225.ebuild
new file mode 100644
index 000000000000..bb1f3cc5de1b
--- /dev/null
+++ b/games-fps/ut2003/ut2003-2225.ebuild
@@ -0,0 +1,191 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2003/ut2003-2225.ebuild,v 1.1 2003/09/09 18:10:15 vapier Exp $
+
+inherit games
+
+IUSE="dedicated"
+DESCRIPTION="Unreal Tournament 2003 - Sequel to the 1999 Game of the Year multi-player first-person shooter"
+HOMEPAGE="http://www.unrealtournament2003.com/"
+SRC_URI="ftp://david.hedbor.org/ut2k3/updates/${PN}lnx_2107to${PV}.sh.bin"
+
+LICENSE="ut2003"
+SLOT="0"
+KEYWORDS="x86"
+RESTRICT="nostrip"
+
+DEPEND="virtual/glibc"
+RDEPEND="dedicated? ( app-games/ut2003-ded )
+ !dedicated? ( virtual/opengl )"
+
+S=${WORKDIR}
+
+dir=${GAMES_PREFIX_OPT}/${PN}
+Ddir=${D}/${dir}
+
+pkg_setup() {
+ ewarn "The installed game takes about 2.7GB of space!"
+ games_pkg_setup
+}
+
+src_unpack() {
+ unpack_makeself || die "unpacking patch"
+}
+
+src_install() {
+ dodir ${dir}
+ dodir ${dir}/System
+
+ games_get_cd System/Packages.md5
+ if [ -z "${GAMES_CDROM}" ]; then
+ # Disk 1
+ games_verify_cd "UT2003 Disk1"
+ einfo "Copying files from Disk 1..."
+ cp -r ${GAMES_CD}/{Animations,ForceFeedback,Help,KarmaData,Maps,Sounds,Textures} ${Ddir} || die "copying files"
+ cp -r ${GAMES_CD}/System/{editorres,*.{bmp,dat,det,est,frt,ini,int,itt,md5,u,upl,url}} ${Ddir}/System || die "copying files"
+ mkdir -p ${Ddir}/Benchmark/Stuff
+ cp -r ${GAMES_CD}/Benchmark/Stuff/* ${Ddir}/Benchmark/Stuff || die "copying benchmark files"
+
+ # Disk 2
+ einfo "Please mount UT2003 Disk 2 and press return when ready (or CTRL+C to abort)"
+ read
+ games_get_cd StaticMeshes/AWHardware.usx.uz2
+ games_verify_cd "UT2003 Disk 2"
+ einfo "Copying files from Disk 2..."
+ cp -r ${GAMES_CD}/{Music,Sounds,StaticMeshes,Textures} ${Ddir} || die "copying files"
+
+ # Disk 3
+ einfo "Please mount UT2003 Disk 3 and press return when ready (or CTRL+C to abort)"
+ read
+ games_get_cd Extras/MayaPLE/Maya4PersonalLearningEditionEpic.exe
+ games_verify_cd "UT2003 Disk 3"
+ einfo "Copying files from Disk 3..."
+ cp -r ${GAMES_CD}/Sounds ${Ddir} || die "copying files"
+ else
+ # Copying from local disk
+ einfo "Copying files... this may take a while..."
+ cp -r ${GAMES_CD}/{Animations,ForceFeedback,Help,KarmaData,Maps,Music,Sounds,StaticMeshes,Textures,Web} ${Ddir} || die "copying files"
+ cp -r ${GAMES_CD}/System/{editorres,*.{bmp,dat,det,est,frt,ini,int,itt,md5,u,upl,url}} ${Ddir}/System || die "copying files"
+ mkdir -p ${Ddir}/Benchmark/Stuff
+ cp -r ${GAMES_CD}/Benchmark/Stuff/* ${Ddir}/Benchmark/Stuff || die "copying benchmark files"
+ fi
+
+ # create empty files in Benchmark
+ for j in {CSVs,Logs,Results} ; do
+ mkdir -p ${Ddir}/Benchmark/${j} || die "creating folders"
+ touch ${Ddir}/Benchmark/${j}/DO_NOT_DELETE.ME || die "creating files"
+ done
+
+ # remove Default, DefUser, UT2003 and User ini files
+ rm ${Ddir}/System/{Def{ault,User},UT2003,User}.ini || die "deleting ini files"
+
+ # unpack_makeself won't take absolute path
+ cd ${S}
+ tail +266 ${GAMES_CD}/linux_installer.sh | tar xf -
+
+ # install extra help files
+ insinto ${dir}/Help
+ doins ${S}/Help/Unreal.bmp
+
+ # install Default and DefUser ini files
+ insinto ${dir}/System
+ doins ${S}/System/Def{ault,User}.ini
+
+ # install eula
+ insinto ${dir}
+ doins ${S}/eula/License.int
+
+ # uncompress original binaries/libraries
+ tar xf ut2003lnxbins.tar || die "unpacking original binaries/libraries"
+
+ # copying extra/updater
+ cp -r ${S}/{extras,updater} ${Ddir} || die "copying extras/updater"
+
+ # install benchmarks
+ exeinto ${dir}/Benchmark
+ doexe ${S}/Benchmark/botmatch-* ${S}/Benchmark/flyby-* || die "copying benchmark files"
+
+ # copy ut2003/ucc
+ exeinto ${dir}
+ doexe ${S}/bin/ut2003 ${S}/ucc || die "copying ut2003/ucc"
+
+ # copy binaries/libraries
+ exeinto ${dir}/System
+ doexe ${S}/System/{*-bin,*.so.0,*.so} || die "copying system binaries/libraries"
+
+ # uncompressing files
+ einfo "Uncompressing files... this may take a while..."
+ for j in {Animations,Maps,Sounds,StaticMeshes,Textures} ; do
+ games_ut_unpack ${Ddir}/${j} || die "uncompressing files"
+ done
+
+ # installing documentation/icon
+ dodoc ${S}/README.linux || die "dodoc README.linux"
+ insinto /usr/share/pixmaps ; newins ${S}/Unreal.xpm UT2003.xpm || die "copying pixmap"
+ insinto ${dir}
+ doins ${S}/README.linux ${S}/Unreal.xpm || die "copying readme/icon"
+
+ sed -e "s:GENTOO_DIR:${dir}:" ${FILESDIR}/ucc > ucc
+ sed -e "s:GENTOO_DIR:${dir}:" ${FILESDIR}/ut2003 > ut2003
+ dogamesbin ucc ut2003
+
+ rm ${Ddir}/System/{UT2003,User}.ini || die "deleting ini files"
+
+ # this brings our install up to the newest version
+ cd ${S}
+ bin/Linux/x86/loki_patch --verify patch.dat
+ bin/Linux/x86/loki_patch patch.dat ${Ddir} >& /dev/null || die "patching"
+
+ # now, since these files are coming off a cd, the times/sizes/md5sums wont
+ # be different ... that means portage will try to unmerge some files (!)
+ # we run touch on ${D} so as to make sure portage doesnt do any such thing
+ find ${Ddir} -exec touch '{}' \;
+
+ prepgamesdirs
+ make_desktop_entry ut2003 "UT2003" UT2003.xpm
+}
+
+pkg_postinst() {
+ # here is where we check for the existence of a cdkey...
+ # if we don't find one, we ask the user for it
+ if [ -f ${dir}/System/cdkey ]; then
+ einfo "A cdkey file is already present in ${dir}/System"
+ else
+ ewarn "Your CD key is NOT checked for validity here."
+ ewarn " Make sure you type it in correctly."
+ eerror "If you CTRL+C out of this, the game will not run!"
+ echo
+ while true
+ do
+ einfo "Please enter your CD key: "
+ read CDKEY1
+ einfo "Please re-enter your CD key: "
+ read CDKEY2
+
+ if [ "$CDKEY1" == "" ]; then
+ echo "You entered a blank CD key. Try again."
+ else
+ if [ "$CDKEY1" == "$CDKEY2" ]; then
+ echo "$CDKEY1" | tr a-z A-Z > ${dir}/System/cdkey
+ einfo "Thank you!"
+ sleep 1
+ exit 0
+ else
+ eerror "Your CD key entries don't match. Try again."
+ fi
+ fi
+ done
+ fi
+
+ einfo "This game should be working, please assign any bugs to games@gentoo.org"
+ echo
+ einfo "To play the game run:"
+ einfo " ut2003"
+
+ games_pkg_postinst
+}
+
+pkg_postrm() {
+ ewarn "This package leaves a cdkey file in ${dir}/System that you need"
+ ewarn "to remove to completely get rid of this game's files."
+}
diff --git a/games-fps/vendetta-test/ChangeLog b/games-fps/vendetta-test/ChangeLog
new file mode 100644
index 000000000000..1455b09a2279
--- /dev/null
+++ b/games-fps/vendetta-test/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for app-games/vendetta-test
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/vendetta-test/ChangeLog,v 1.1 2003/09/09 18:10:15 vapier Exp $
+
+*vendetta-test-0 (02 Sep 2003)
+
+ 02 Sep 2003; Michael Sterrett <msterret@gentoo.org> vendetta-test-0.ebuild:
+ initial commit
+
diff --git a/games-fps/vendetta-test/Manifest b/games-fps/vendetta-test/Manifest
new file mode 100644
index 000000000000..b80983d57b83
--- /dev/null
+++ b/games-fps/vendetta-test/Manifest
@@ -0,0 +1,3 @@
+MD5 90d85d6d3ef4f66b758f9d3ffa8454d7 vendetta-test-0.ebuild 1250
+MD5 0a533f24c673582471bdd45e67c0ea00 ChangeLog 358
+MD5 89c9c5f00b80cad73b749f01fab8d4a9 files/digest-vendetta-test-0 72
diff --git a/games-fps/vendetta-test/files/digest-vendetta-test-0 b/games-fps/vendetta-test/files/digest-vendetta-test-0
new file mode 100644
index 000000000000..c80a23b47307
--- /dev/null
+++ b/games-fps/vendetta-test/files/digest-vendetta-test-0
@@ -0,0 +1 @@
+MD5 9a1bdca7bbfa11a792bdae6964875e77 vendetta-linux-installer.sh 152525
diff --git a/games-fps/vendetta-test/vendetta-test-0.ebuild b/games-fps/vendetta-test/vendetta-test-0.ebuild
new file mode 100644
index 000000000000..bf08b40f5a8d
--- /dev/null
+++ b/games-fps/vendetta-test/vendetta-test-0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/vendetta-test/vendetta-test-0.ebuild,v 1.1 2003/09/09 18:10:15 vapier Exp $
+
+inherit eutils games
+
+S=${WORKDIR}
+DESCRIPTION="A testbed for a space-based MMORPG with amazing graphics"
+HOMEPAGE="http://www.guildsoftware.com/test.html"
+SRC_URI="vendetta-linux-installer.sh"
+
+RESTRICT="nomirror fetch"
+LICENSE="guild"
+KEYWORDS="-* x86"
+IUSE=""
+SLOT="0"
+
+RDEPEND="virtual/x11
+ virtual/opengl"
+
+pkg_nofetch() {
+ einfo "Please download ${A} from Guild Software"
+ einfo "by doing the following:"
+ einfo "1. Goto http://www.guildsoftware.com/test.participating.html"
+ einfo "2. Click the Create an Account link near the bottom of the page"
+ einfo
+ einfo "After creating your account, click on the Download link on"
+ einfo "the left side of the page"
+ einfo
+ einfo "3. Read and agree to the license"
+ einfo "4. Select Linux under the Which platform are you running? selector"
+ einfo "5. Click the Proceed to download button"
+ einfo "6. Download the vendetta-linux-installer.sh from the link on that page"
+}
+
+src_unpack() {
+ unpack_makeself
+}
+
+src_install() {
+ dogamesbin vendetta
+ prepgamesdirs
+}
diff --git a/games-fps/wolfgl/ChangeLog b/games-fps/wolfgl/ChangeLog
new file mode 100644
index 000000000000..75baae5667b1
--- /dev/null
+++ b/games-fps/wolfgl/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-games/wolfgl
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/wolfgl/ChangeLog,v 1.1 2003/09/09 18:10:15 vapier Exp $
+
+*wolfgl-0.93 (14 Jul 2003)
+
+ 14 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me. The only files
+ available for d/l were binaries so i grabbed the CVS, customized
+ it to be Gentoo friendly + allow custom CFLAGS, created a tbz2,
+ and then used that for this package.
diff --git a/games-fps/wolfgl/Manifest b/games-fps/wolfgl/Manifest
new file mode 100644
index 000000000000..31a00dc6bf84
--- /dev/null
+++ b/games-fps/wolfgl/Manifest
@@ -0,0 +1,3 @@
+MD5 3cf655887342f2bebbd65a4a555a1b9e wolfgl-0.93.ebuild 1326
+MD5 dac91d765046f14f3e73c8f83201631c files/digest-wolfgl-0.93 174
+MD5 ae091b2fac0e84d47159ab27dc63def0 ChangeLog 525
diff --git a/games-fps/wolfgl/files/digest-wolfgl-0.93 b/games-fps/wolfgl/files/digest-wolfgl-0.93
new file mode 100644
index 000000000000..fe0fcbea6191
--- /dev/null
+++ b/games-fps/wolfgl/files/digest-wolfgl-0.93
@@ -0,0 +1,3 @@
+MD5 58259bb463c3f8dd2786685b90b8ed0f wolfgl-0.93.tbz2 146132
+MD5 bc4564940cae816aec0f4af0b8436baf wolfdata.zip 564771
+MD5 0aa1f89a8f5ddef700613b0f428fd8b0 sdmdata.zip 557147
diff --git a/games-fps/wolfgl/wolfgl-0.93.ebuild b/games-fps/wolfgl/wolfgl-0.93.ebuild
new file mode 100644
index 000000000000..15e63f1dc4ce
--- /dev/null
+++ b/games-fps/wolfgl/wolfgl-0.93.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/wolfgl/wolfgl-0.93.ebuild,v 1.1 2003/09/09 18:10:15 vapier Exp $
+
+#ECVS_SERVER="cvs.sourceforge.net:/cvsroot/wolfgl"
+#ECVS_MODULE="wolfgl"
+#inherit cvs
+inherit games
+
+DESCRIPTION="Wolfenstein and Spear of Destiny port using OpenGL"
+HOMEPAGE="http://wolfgl.sourceforge.net/"
+SRC_URI="mirror://gentoo/${P}.tbz2
+ mirror://sourceforge/wolfgl/wolfdata.zip
+ mirror://sourceforge/wolfgl/sdmdata.zip"
+# mirror://sourceforge/wolfgl/wolfglx-wl6-${PV}.zip
+# mirror://sourceforge/wolfgl/wolfglx-sod-${PV}.zip
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND="virtual/opengl
+ virtual/x11"
+
+src_compile() {
+ make CFLAGS="${CFLAGS}" DATADIR=${GAMES_DATADIR}/${PN} || die
+}
+
+src_install() {
+ newgamesbin linux/SDM/wolfgl wolfgl-sdm
+ newgamesbin linux/SOD/wolfgl wolfgl-sod
+ newgamesbin linux/WL1/wolfgl wolfgl-wl1
+ newgamesbin linux/WL6/wolfgl wolfgl-wl6
+ insinto ${GAMES_DATADIR}/${PN}
+ doins ${WORKDIR}/*.{sdm,wl1}
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ einfo "This installed the shareware data files for"
+ einfo "Wolfenstein 3D and Spear Of Destiny."
+ einfo "If you wish to play the full versions just"
+ einfo "copy the data files to ${GAMES_DATADIR}/${PN}/"
+ games_pkg_postinst
+}