summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/asc/ChangeLog50
-rw-r--r--games-strategy/asc/Manifest7
-rw-r--r--games-strategy/asc/asc-1.13.5.1.ebuild34
-rw-r--r--games-strategy/asc/asc-1.13.7.ebuild43
-rw-r--r--games-strategy/asc/asc-1.13.8.0.ebuild44
-rw-r--r--games-strategy/asc/files/digest-asc-1.13.5.11
-rw-r--r--games-strategy/asc/files/digest-asc-1.13.74
-rw-r--r--games-strategy/asc/files/digest-asc-1.13.8.04
-rw-r--r--games-strategy/attal/ChangeLog11
-rw-r--r--games-strategy/attal/Manifest3
-rw-r--r--games-strategy/attal/attal-0.7.0.ebuild52
-rw-r--r--games-strategy/attal/files/digest-attal-0.7.02
-rw-r--r--games-strategy/boson/ChangeLog35
-rw-r--r--games-strategy/boson/Manifest3
-rw-r--r--games-strategy/boson/boson-0.8.ebuild41
-rw-r--r--games-strategy/boson/files/digest-boson-0.82
-rw-r--r--games-strategy/castle-combat/ChangeLog15
-rw-r--r--games-strategy/castle-combat/Manifest3
-rw-r--r--games-strategy/castle-combat/castle-combat-0.7.4.ebuild41
-rw-r--r--games-strategy/castle-combat/files/digest-castle-combat-0.7.41
-rw-r--r--games-strategy/crimson/ChangeLog25
-rw-r--r--games-strategy/crimson/Manifest5
-rw-r--r--games-strategy/crimson/crimson-0.3.5.ebuild46
-rw-r--r--games-strategy/crimson/crimson-0.3.6.ebuild47
-rw-r--r--games-strategy/crimson/files/digest-crimson-0.3.51
-rw-r--r--games-strategy/crimson/files/digest-crimson-0.3.61
-rw-r--r--games-strategy/dopewars/ChangeLog76
-rw-r--r--games-strategy/dopewars/Manifest6
-rw-r--r--games-strategy/dopewars/dopewars-1.5.8.ebuild59
-rw-r--r--games-strategy/dopewars/dopewars-1.5.9.ebuild59
-rw-r--r--games-strategy/dopewars/files/digest-dopewars-1.5.81
-rw-r--r--games-strategy/dopewars/files/digest-dopewars-1.5.91
-rw-r--r--games-strategy/dopewars/files/dopewars-1.5.8-gentoo.diff58
-rw-r--r--games-strategy/freeciv/ChangeLog54
-rw-r--r--games-strategy/freeciv/Manifest13
-rw-r--r--games-strategy/freeciv/files/digest-freeciv-1.12.0-r11
-rw-r--r--games-strategy/freeciv/files/digest-freeciv-1.12.0-r21
-rw-r--r--games-strategy/freeciv/files/digest-freeciv-1.13.01
-rw-r--r--games-strategy/freeciv/files/digest-freeciv-1.14.01
-rw-r--r--games-strategy/freeciv/files/digest-freeciv-1.14.0-r11
-rw-r--r--games-strategy/freeciv/files/digest-freeciv-1.15.0_alpha200309011
-rw-r--r--games-strategy/freeciv/freeciv-1.12.0-r1.ebuild43
-rw-r--r--games-strategy/freeciv/freeciv-1.12.0-r2.ebuild57
-rw-r--r--games-strategy/freeciv/freeciv-1.13.0.ebuild58
-rw-r--r--games-strategy/freeciv/freeciv-1.14.0-r1.ebuild71
-rw-r--r--games-strategy/freeciv/freeciv-1.14.0.ebuild58
-rw-r--r--games-strategy/freeciv/freeciv-1.15.0_alpha20030901.ebuild78
-rw-r--r--games-strategy/freecnc/ChangeLog13
-rw-r--r--games-strategy/freecnc/Manifest12
-rw-r--r--games-strategy/freecnc/files/0.2.0-gentoo-paths.patch29
-rw-r--r--games-strategy/freecnc/files/0.2.0-makefile-cflags.patch94
-rw-r--r--games-strategy/freecnc/files/0.2.0-remove-root.patch18
-rw-r--r--games-strategy/freecnc/files/0.2.1.31072003-gentoo-paths.patch41
-rw-r--r--games-strategy/freecnc/files/0.2.1.31072003-makefile-cflags.patch17
-rw-r--r--games-strategy/freecnc/files/0.2.1.31072003-remove-root.patch18
-rw-r--r--games-strategy/freecnc/files/digest-freecnc-0.2.03
-rw-r--r--games-strategy/freecnc/files/digest-freecnc-0.2.1.310720033
-rw-r--r--games-strategy/freecnc/files/freecnc3
-rw-r--r--games-strategy/freecnc/freecnc-0.2.0.ebuild72
-rw-r--r--games-strategy/freecnc/freecnc-0.2.1.31072003.ebuild73
-rw-r--r--games-strategy/freecraft-fcmp/ChangeLog34
-rw-r--r--games-strategy/freecraft-fcmp/Manifest3
-rw-r--r--games-strategy/freecraft-fcmp/files/digest-freecraft-fcmp-1.18-r12
-rw-r--r--games-strategy/freecraft-fcmp/freecraft-fcmp-1.18-r1.ebuild28
-rw-r--r--games-strategy/freecraft/ChangeLog40
-rw-r--r--games-strategy/freecraft/Manifest5
-rw-r--r--games-strategy/freecraft/files/1.18-setup.patch50
-rw-r--r--games-strategy/freecraft/files/digest-freecraft-1.18-r11
-rw-r--r--games-strategy/freecraft/files/playfreecraft15
-rw-r--r--games-strategy/freecraft/freecraft-1.18-r1.ebuild67
-rw-r--r--games-strategy/freelords/ChangeLog13
-rw-r--r--games-strategy/freelords/Manifest6
-rw-r--r--games-strategy/freelords/files/digest-freelords-0.2.21
-rw-r--r--games-strategy/freelords/files/digest-freelords-0.2.31
-rw-r--r--games-strategy/freelords/files/freelordsrc5
-rw-r--r--games-strategy/freelords/freelords-0.2.2.ebuild50
-rw-r--r--games-strategy/freelords/freelords-0.2.3.ebuild42
-rw-r--r--games-strategy/lgeneral/ChangeLog42
-rw-r--r--games-strategy/lgeneral/Manifest3
-rw-r--r--games-strategy/lgeneral/files/digest-lgeneral-1.1.1-r12
-rw-r--r--games-strategy/lgeneral/lgeneral-1.1.1-r1.ebuild38
-rw-r--r--games-strategy/liquidwar/ChangeLog37
-rw-r--r--games-strategy/liquidwar/Manifest5
-rw-r--r--games-strategy/liquidwar/files/digest-liquidwar-5.5.81
-rw-r--r--games-strategy/liquidwar/files/digest-liquidwar-5.5.91
-rw-r--r--games-strategy/liquidwar/liquidwar-5.5.8.ebuild31
-rw-r--r--games-strategy/liquidwar/liquidwar-5.5.9.ebuild34
-rw-r--r--games-strategy/scorched3d/ChangeLog12
-rw-r--r--games-strategy/scorched3d/Manifest4
-rw-r--r--games-strategy/scorched3d/files/35-gcc3.patch24
-rw-r--r--games-strategy/scorched3d/files/digest-scorched3d-351
-rw-r--r--games-strategy/scorched3d/scorched3d-35.ebuild50
-rw-r--r--games-strategy/spacehulk/ChangeLog19
-rw-r--r--games-strategy/spacehulk/Manifest7
-rw-r--r--games-strategy/spacehulk/files/digest-spacehulk-1.4.32
-rw-r--r--games-strategy/spacehulk/files/digest-spacehulk-1.4.42
-rw-r--r--games-strategy/spacehulk/files/digest-spacehulk-1.4.52
-rw-r--r--games-strategy/spacehulk/spacehulk-1.4.3.ebuild32
-rw-r--r--games-strategy/spacehulk/spacehulk-1.4.4.ebuild32
-rw-r--r--games-strategy/spacehulk/spacehulk-1.4.5.ebuild32
-rw-r--r--games-strategy/uqm/ChangeLog10
-rw-r--r--games-strategy/uqm/Manifest3
-rw-r--r--games-strategy/uqm/files/digest-uqm-0.24
-rw-r--r--games-strategy/uqm/uqm-0.2.ebuild84
-rw-r--r--games-strategy/xarchon/ChangeLog13
-rw-r--r--games-strategy/xarchon/Manifest5
-rw-r--r--games-strategy/xarchon/files/digest-xarchon-0.501
-rw-r--r--games-strategy/xarchon/files/digest-xarchon-0.602
-rw-r--r--games-strategy/xarchon/xarchon-0.50.ebuild38
-rw-r--r--games-strategy/xarchon/xarchon-0.60.ebuild48
-rw-r--r--games-strategy/xscorch/ChangeLog36
-rw-r--r--games-strategy/xscorch/Manifest5
-rw-r--r--games-strategy/xscorch/files/digest-xscorch-0.1.151
-rw-r--r--games-strategy/xscorch/files/digest-xscorch-0.1.16_rc22
-rw-r--r--games-strategy/xscorch/xscorch-0.1.15.ebuild41
-rw-r--r--games-strategy/xscorch/xscorch-0.1.16_rc2.ebuild51
116 files changed, 2735 insertions, 0 deletions
diff --git a/games-strategy/asc/ChangeLog b/games-strategy/asc/ChangeLog
new file mode 100644
index 000000000000..f0b3d38a4d7d
--- /dev/null
+++ b/games-strategy/asc/ChangeLog
@@ -0,0 +1,50 @@
+# ChangeLog for app-games/asc
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/asc/ChangeLog,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+*asc-1.13.8.0 (25 Aug 2003)
+
+ 25 Aug 2003; Michael Sterrett <msterret@gentoo.org> asc-1.13.8.0.ebuild:
+ version bump; added the html docs to the install
+
+ 13 Aug 2003; Michael Sterrett <msterret@gentoo.org> asc-1.13.7.ebuild:
+ Added --disable-paraguitest to configure line (another try at bugs 26402 and
+ 4488) Removed --with-gnu-ld from configure line. No reason for it to be there.
+ Added mp3 files to SRC_URI and unpack. Nice quality music really adds to the
+ game. Doc cleanups. More error messages.
+
+*asc-1.13.7 (19 Jul 2003)
+
+ 19 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump.
+
+*asc-1.13.5.1 (20 Jun 2003)
+
+ 20 Jun 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump to fix #16870
+
+*asc-1.11.0.2 (23 Dec 2002)
+
+ 23 Dec 2002; Mike Frysinger <vapier@gentoo.org> :
+ Version bump to fix #8615
+
+*asc-1.10.2 (7 May 2002)
+
+ 31 Jul 2002; J.Alberto S. L. <bass@gentoo.org> asc-1.10.2.ebuild-r1:
+ Fix #4488 adding '--disable-paraguitest' to configure.
+
+ 17 jul 2002; Jose Alberto Suárez López <bass@gentoo.org> asc-1.10.2.ebuild :
+ Added KEYWORDS.
+
+ 7 May 2002; Spider <spider@gentoo.org> asc-1.10.2.ebuild :
+ fix sourceforge mirroring.
+
+*asc-1.10.2 (28 Apr 2002)
+
+ 28 Apr 2002; Ryan Phillips <rphillips@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-strategy/asc/Manifest b/games-strategy/asc/Manifest
new file mode 100644
index 000000000000..4b5eac493f39
--- /dev/null
+++ b/games-strategy/asc/Manifest
@@ -0,0 +1,7 @@
+MD5 7874f9964931627ef1b4c1194ebab09f ChangeLog 1855
+MD5 7107717fc59ad1c187f7c5d4cc6fd179 asc-1.13.5.1.ebuild 818
+MD5 7de1a299c32f061019274067b6f56d1a asc-1.13.7.ebuild 1152
+MD5 03ffa389c68558f6848707f67500ca35 asc-1.13.8.0.ebuild 1179
+MD5 ad2db9452b5222bf9e38bd77b67770e8 files/digest-asc-1.13.5.1 72
+MD5 e9372d3da988154fb04077ec52d97798 files/digest-asc-1.13.7 255
+MD5 c0fb0782ebad228be904ece172d4393f files/digest-asc-1.13.8.0 257
diff --git a/games-strategy/asc/asc-1.13.5.1.ebuild b/games-strategy/asc/asc-1.13.5.1.ebuild
new file mode 100644
index 000000000000..3a70255444ba
--- /dev/null
+++ b/games-strategy/asc/asc-1.13.5.1.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-strategy/asc/asc-1.13.5.1.ebuild,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+inherit games
+
+DESCRIPTION="turn based strategy game designed in the tradition of the Battle Isle series"
+HOMEPAGE="http://www.asc-hq.org/"
+SRC_URI="mirror://sourceforge/asc-hq/asc-source-${PV}.tar.gz"
+
+KEYWORDS="x86"
+LICENSE="GPL-2"
+SLOT="0"
+
+DEPEND=">=media-libs/libsdl-1.2
+ >=media-libs/sdl-image-1.2
+ >=media-libs/sdl-mixer-1.2
+ >=media-libs/sdlmm-0.1.8
+ >=media-libs/paragui-1.0.1"
+
+src_compile() {
+ egamesconf \
+ --datadir=${GAMES_DATADIR_BASE} \
+ --with-gnu-ld \
+ || die
+ emake || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+ dodoc COPYING README TODO
+
+ prepgamesdirs
+}
diff --git a/games-strategy/asc/asc-1.13.7.ebuild b/games-strategy/asc/asc-1.13.7.ebuild
new file mode 100644
index 000000000000..f4858ffb0560
--- /dev/null
+++ b/games-strategy/asc/asc-1.13.7.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-strategy/asc/asc-1.13.7.ebuild,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+inherit games
+
+DESCRIPTION="turn based strategy game designed in the tradition of the Battle Isle series"
+HOMEPAGE="http://www.asc-hq.org/"
+SRC_URI="mirror://sourceforge/asc-hq/asc-source-${PV}.tar.gz
+ http://www.asc-hq.org/frontiers.mp3
+ http://www.asc-hq.org/time_to_strike.mp3
+ http://www.asc-hq.org/machine_wars.mp3"
+
+LICENSE="GPL-2"
+KEYWORDS="x86"
+SLOT="0"
+
+DEPEND=">=media-libs/libsdl-1.1.3
+ media-libs/sdl-image
+ media-libs/sdl-mixer
+ >=media-libs/sdlmm-0.1.8
+ >=media-libs/paragui-1.0.1
+ sys-apps/bzip2"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}/data/music && cp ${DISTDIR}/*mp3 . || die "cp music failed"
+}
+
+src_compile() {
+ # Added --disable-paraguitest for bugs 26402 and 4488
+ egamesconf \
+ --datadir=${GAMES_DATADIR_BASE} \
+ --disable-paraguitest \
+ || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR=${D} install || die "make install failed"
+ dodoc AUTHORS ChangeLog README TODO
+ prepgamesdirs
+}
diff --git a/games-strategy/asc/asc-1.13.8.0.ebuild b/games-strategy/asc/asc-1.13.8.0.ebuild
new file mode 100644
index 000000000000..d8cbd1461970
--- /dev/null
+++ b/games-strategy/asc/asc-1.13.8.0.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-strategy/asc/asc-1.13.8.0.ebuild,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+inherit games
+
+DESCRIPTION="turn based strategy game designed in the tradition of the Battle Isle series"
+HOMEPAGE="http://www.asc-hq.org/"
+SRC_URI="mirror://sourceforge/asc-hq/asc-source-${PV}.tar.gz
+ http://www.asc-hq.org/frontiers.mp3
+ http://www.asc-hq.org/time_to_strike.mp3
+ http://www.asc-hq.org/machine_wars.mp3"
+
+LICENSE="GPL-2"
+KEYWORDS="x86"
+SLOT="0"
+
+DEPEND=">=media-libs/libsdl-1.1.3
+ media-libs/sdl-image
+ media-libs/sdl-mixer
+ >=media-libs/sdlmm-0.1.8
+ >=media-libs/paragui-1.0.1
+ sys-apps/bzip2"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}/data/music && cp ${DISTDIR}/*mp3 . || die "cp music failed"
+}
+
+src_compile() {
+ # Added --disable-paraguitest for bugs 26402 and 4488
+ egamesconf \
+ --datadir=${GAMES_DATADIR_BASE} \
+ --disable-paraguitest \
+ || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR=${D} install || die "make install failed"
+ dodoc AUTHORS ChangeLog README TODO asc.lsm
+ dohtml -r doc/*
+ prepgamesdirs
+}
diff --git a/games-strategy/asc/files/digest-asc-1.13.5.1 b/games-strategy/asc/files/digest-asc-1.13.5.1
new file mode 100644
index 000000000000..c55b58975eb5
--- /dev/null
+++ b/games-strategy/asc/files/digest-asc-1.13.5.1
@@ -0,0 +1 @@
+MD5 1fc5b97a5ed12be9e24af74d8884c9e1 asc-source-1.13.5.1.tar.gz 6276919
diff --git a/games-strategy/asc/files/digest-asc-1.13.7 b/games-strategy/asc/files/digest-asc-1.13.7
new file mode 100644
index 000000000000..0fd36898482d
--- /dev/null
+++ b/games-strategy/asc/files/digest-asc-1.13.7
@@ -0,0 +1,4 @@
+MD5 402738591c0e2516b6ad756c371d9f1c asc-source-1.13.7.tar.gz 6299655
+MD5 560f5783836b309906e57e77417f3864 frontiers.mp3 4407769
+MD5 f0ab3c633f51430af0445ecaa02e3197 time_to_strike.mp3 3242969
+MD5 c383139928613c7b081835c3d4a28fa8 machine_wars.mp3 2905989
diff --git a/games-strategy/asc/files/digest-asc-1.13.8.0 b/games-strategy/asc/files/digest-asc-1.13.8.0
new file mode 100644
index 000000000000..e9362609a47f
--- /dev/null
+++ b/games-strategy/asc/files/digest-asc-1.13.8.0
@@ -0,0 +1,4 @@
+MD5 1816545a8b637de258038a348ee8f113 asc-source-1.13.8.0.tar.gz 6409642
+MD5 560f5783836b309906e57e77417f3864 frontiers.mp3 4407769
+MD5 f0ab3c633f51430af0445ecaa02e3197 time_to_strike.mp3 3242969
+MD5 c383139928613c7b081835c3d4a28fa8 machine_wars.mp3 2905989
diff --git a/games-strategy/attal/ChangeLog b/games-strategy/attal/ChangeLog
new file mode 100644
index 000000000000..b60ec0b2d255
--- /dev/null
+++ b/games-strategy/attal/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-games/attal
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/attal/ChangeLog,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+ 26 Aug 2003; Michael Sterrett <msterret@gentoo.org> attal-0.7.0.ebuild:
+ fix url. bug 27378
+
+*attal-0.7.0 (19 Jul 2003)
+
+ 19 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me.
diff --git a/games-strategy/attal/Manifest b/games-strategy/attal/Manifest
new file mode 100644
index 000000000000..ca1296d4d7fe
--- /dev/null
+++ b/games-strategy/attal/Manifest
@@ -0,0 +1,3 @@
+MD5 b7d66da20c93fca142b8de691a5a6576 ChangeLog 433
+MD5 6e10ee81c5c86bd6d9c22d70e1d206da attal-0.7.0.ebuild 1451
+MD5 7545ac2d3b584f67ba1cb78345fb50db files/digest-attal-0.7.0 127
diff --git a/games-strategy/attal/attal-0.7.0.ebuild b/games-strategy/attal/attal-0.7.0.ebuild
new file mode 100644
index 000000000000..46ca0cff9456
--- /dev/null
+++ b/games-strategy/attal/attal-0.7.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/attal/attal-0.7.0.ebuild,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+inherit games
+
+MY_P=${PN}-src-${PV}
+DESCRIPTION="turn-based strategy game project"
+HOMEPAGE="http://www.attal-thegame.org/"
+SRC_URI="mirror://sourceforge/attal/${MY_P}.bz2
+ mirror://sourceforge/attal/themes-${PV}.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND=">=x11-libs/qt-3*"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ tar -jxf ${DISTDIR}/${MY_P}.bz2 || die "unpacking src"
+ tar -jxf ${DISTDIR}/themes-${PV}.bz2 || die "unpacking themes"
+ cd ${S}
+ qmake -o Makefile Makefile.pro || die "making Makefile"
+ for lib in Client Common Fight Server ; do
+ sed -i \
+ -e "/^TARGET/s:= ${lib}:= ${PN}${lib}:" lib${lib}/Makefile.pro \
+ -e "s:lib${lib}\.so:lib${PN}${lib}.so:g" \
+ -e "s:-l${lib}:-l${PN}${lib}:g" \
+ */Makefile.pro || die "renaming ${lib}"
+ done
+ sed -i \
+ "s:\./themes/:${GAMES_DATADIR}/${PN}/themes/:" \
+ `grep -Rl '\./themes/' *` || die "fixing theme loc"
+}
+
+src_compile() {
+ make || die
+}
+
+src_install() {
+ exeinto ${GAMES_LIBDIR}
+ doexe lib*.so.{0,1}
+ dogamesbin attal-*
+ newgamesbin scenario-editor attal-scenario-editor
+ newgamesbin theme-editor attal-theme-editor
+ dodir ${GAMES_DATADIR}/${PN}
+ mv ${WORKDIR}/themes ${D}/${GAMES_DATADIR}/${PN}/
+ dodoc AUTHORS NEWS README TODO
+ prepgamesdirs
+}
diff --git a/games-strategy/attal/files/digest-attal-0.7.0 b/games-strategy/attal/files/digest-attal-0.7.0
new file mode 100644
index 000000000000..4f0440e32105
--- /dev/null
+++ b/games-strategy/attal/files/digest-attal-0.7.0
@@ -0,0 +1,2 @@
+MD5 1164cac3684578cc576ecaaa67dfedef attal-src-0.7.0.bz2 157457
+MD5 ff43bc07ee3fcecfd172fec59b379d47 themes-0.7.0.bz2 14371692
diff --git a/games-strategy/boson/ChangeLog b/games-strategy/boson/ChangeLog
new file mode 100644
index 000000000000..50c55a041844
--- /dev/null
+++ b/games-strategy/boson/ChangeLog
@@ -0,0 +1,35 @@
+# ChangeLog for app-games/boson
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/boson/ChangeLog,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+ 03 Sep 2003; Michael Sterrett <msterret@gentoo.org> boson-0.8.ebuild:
+ added Gentoo Technologies, Inc. to Copyright line
+
+ 31 Aug 2003; Michael Sterrett <msterret@gentoo.org> boson-0.8.ebuild:
+ inherit kde-base -> inherit kde; error message for emake
+
+*boson-0.8 (21 Jun 2003)
+
+ 21 Jun 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump for #18553.
+
+*boson-0.7 (23 Dec 2002)
+
+ 23 Dec 2002; Mike Frysinger <vapier@gentoo.org> :
+ Update #12530 + enhancements
+
+*boson-0.6.1-r2 (1 Aug 2002)
+
+ 1 Aug 2002; J.Alberto S.L. boson-0.6.1-r2:
+ Fix #5843 thanks to Thomas Capricelli <orzel@freehackers.org>
+
+*boson-0.6.1-r1 (21 Jul 2002)
+
+ 18 Oct 2002; Daniel Ahlberg <aliz@gentoo.org> boson-0.6.1-r1.ebuild :
+ Updated to mirror://sourceforge in SRC_URI.
+
+ 21 Jul 2002; Ben Lutgens <lamer@gentoo.org> boson-0.6.1-r1: Some cleanups
+ and fixes.
+
+ 14 Jul 2002; Ben Lutgens <lamer@gentoo.org> ChangeLog: Initial Commit to the
+ tree.
diff --git a/games-strategy/boson/Manifest b/games-strategy/boson/Manifest
new file mode 100644
index 000000000000..9ba4856a4c6a
--- /dev/null
+++ b/games-strategy/boson/Manifest
@@ -0,0 +1,3 @@
+MD5 f00f40a6ba5ffb266717d230b4d5a488 ChangeLog 1156
+MD5 8a5a6084b4eb17efc0637d6f60d44f3b boson-0.8.ebuild 1039
+MD5 3bd1cabd68c370c250e5b5ce7c59008c files/digest-boson-0.8 137
diff --git a/games-strategy/boson/boson-0.8.ebuild b/games-strategy/boson/boson-0.8.ebuild
new file mode 100644
index 000000000000..5b54f9ebf579
--- /dev/null
+++ b/games-strategy/boson/boson-0.8.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc. and Thomas Capricelli <orzel@kde.org>
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/boson/boson-0.8.ebuild,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+inherit kde
+need-kde 3
+
+DESCRIPTION="real-time strategy game, with the feeling of Command&Conquer(tm) (needs at least 2 ppl to play)"
+SRC_URI="mirror://sourceforge/boson/boson-all-${PV}.tar.bz2"
+HOMEPAGE="http://boson.eu.org/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 ppc -sparc"
+IUSE="opengl"
+
+DEPEND="${DEPEND}
+ >=kde-base/kdegames-3.0
+ >=kde-base/kdemultimedia-3.0
+ media-libs/lib3ds
+ opengl? ( virtual/opengl )"
+RDEPEND="${DEPEND}
+ dev-lang/wml"
+
+S=${WORKDIR}/${PN}-all-${PV}
+
+src_compile() {
+ ./configure \
+ --disable-debug \
+ --with-xinerama \
+ `use_with opengl gl` \
+ --host=${CHOST} \
+ --prefix=${KDEDIR} \
+ || die "./configure failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+ dodoc AUTHORS ChangeLog NEWS README TODO
+}
diff --git a/games-strategy/boson/files/digest-boson-0.8 b/games-strategy/boson/files/digest-boson-0.8
new file mode 100644
index 000000000000..b0e8dc1b118f
--- /dev/null
+++ b/games-strategy/boson/files/digest-boson-0.8
@@ -0,0 +1,2 @@
+MD5 0b0b090993e215941abd37f08ce3b781 boson-all-0.8.tar.bz2 32271883
+MD5 287b186e4a969db701499ffa3a83e8ea 0.7-textures-fix.tar.bz2 166682
diff --git a/games-strategy/castle-combat/ChangeLog b/games-strategy/castle-combat/ChangeLog
new file mode 100644
index 000000000000..4d0c50025069
--- /dev/null
+++ b/games-strategy/castle-combat/ChangeLog
@@ -0,0 +1,15 @@
+# ChangeLog for app-games/castle-combat
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/castle-combat/ChangeLog,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+ 12 Jul 2003; Michael Sterrett <msterret@gentoo.org>
+ castle-combat-0.7.4.ebuild:
+ fix DESCRIPTION
+
+*castle-combat-0.7.4 (07 Jul 2003)
+
+ 07 Jul 2003; Michael Sterrett <msterret@gentoo.org>
+ castle-combat-0.7.4.ebuild:
+ Seems like this was in CVS as one point as was removed. No idea why
+ but I'm adding it back. (bug 17397)
+
diff --git a/games-strategy/castle-combat/Manifest b/games-strategy/castle-combat/Manifest
new file mode 100644
index 000000000000..935a9083a170
--- /dev/null
+++ b/games-strategy/castle-combat/Manifest
@@ -0,0 +1,3 @@
+MD5 c20a365ca7b572f673ca752a55f0c0cf castle-combat-0.7.4.ebuild 1040
+MD5 7500ddb36ab91a68a32c1c743f9ef624 ChangeLog 563
+MD5 37e5708f0a9f145368ab18e210450934 files/digest-castle-combat-0.7.4 72
diff --git a/games-strategy/castle-combat/castle-combat-0.7.4.ebuild b/games-strategy/castle-combat/castle-combat-0.7.4.ebuild
new file mode 100644
index 000000000000..0ac1a32ae254
--- /dev/null
+++ b/games-strategy/castle-combat/castle-combat-0.7.4.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/castle-combat/castle-combat-0.7.4.ebuild,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+inherit games
+
+DESCRIPTION="A clone of the old arcade game Rampart"
+HOMEPAGE="http://www.linux-games.com/castle-combat/"
+SRC_URI="http://user.cs.tu-berlin.de/~karlb/castle-combat/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86"
+
+RDEPEND="virtual/glibc
+ sys-libs/zlib
+ media-libs/libpng
+ media-libs/libsdl
+ media-libs/sdl-net
+ media-libs/sdl-mixer"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ # dist file seems to include a copy of SDL_net. Take it out so we link
+ # against the system copy instead.
+ sed -i -e "s/SDL_net//" src/Makefile.in || die "sed src/Makefile.in failed"
+}
+
+src_compile() {
+ egamesconf || die
+ emake || die
+}
+
+src_install() {
+ make install DESTDIR=${D} || die
+ dodoc AUTHORS ChangeLog README TODO || die "dodoc failed"
+ prepgamesdirs
+}
diff --git a/games-strategy/castle-combat/files/digest-castle-combat-0.7.4 b/games-strategy/castle-combat/files/digest-castle-combat-0.7.4
new file mode 100644
index 000000000000..b1b3e96f63b9
--- /dev/null
+++ b/games-strategy/castle-combat/files/digest-castle-combat-0.7.4
@@ -0,0 +1 @@
+MD5 1cf225fbcfbee2b9a00757609fd054bb castle-combat-0.7.4.tar.gz 1694096
diff --git a/games-strategy/crimson/ChangeLog b/games-strategy/crimson/ChangeLog
new file mode 100644
index 000000000000..68c492c768c9
--- /dev/null
+++ b/games-strategy/crimson/ChangeLog
@@ -0,0 +1,25 @@
+# ChangeLog for app-games/crimson
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/crimson/ChangeLog,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+*crimson-0.3.6 (04 Sep 2003)
+
+ 04 Sep 2003; Michael Sterrett <msterret@gentoo.org> crimson-0.3.6.ebuild:
+ version bump (bugs 27918 and 27916)
+
+*crimson-0.3.5 (10 Aug 2003)
+
+ 10 Aug 2003; Michael Sterrett <msterret@gentoo.org> crimson-0.3.5.ebuild:
+ version bump (bug 15359)
+
+ Note that this version is not save-game compatible with older versions.
+
+*crimson-0.3.4 (19 Jul 2003)
+
+ 19 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump.
+
+*crimson-0.3.0 (07 Mar 2003)
+
+ 07 Mar 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by Sami Näätänen <sami.naatanen@kolumbus.fi> #15359.
diff --git a/games-strategy/crimson/Manifest b/games-strategy/crimson/Manifest
new file mode 100644
index 000000000000..1e1ad25be79d
--- /dev/null
+++ b/games-strategy/crimson/Manifest
@@ -0,0 +1,5 @@
+MD5 5907935d07bddc00664d584f79e85d41 ChangeLog 844
+MD5 9da2e4774b5d7fc8352ee1e5a77ef766 crimson-0.3.6.ebuild 1122
+MD5 e1f86d30834f3ee173a24a904af487de crimson-0.3.5.ebuild 1114
+MD5 4b64ed31d5393441841c632c6966b4ab files/digest-crimson-0.3.6 66
+MD5 571a373b01d27d864351481dd6ca1d2b files/digest-crimson-0.3.5 66
diff --git a/games-strategy/crimson/crimson-0.3.5.ebuild b/games-strategy/crimson/crimson-0.3.5.ebuild
new file mode 100644
index 000000000000..929acf5b6acd
--- /dev/null
+++ b/games-strategy/crimson/crimson-0.3.5.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/crimson/crimson-0.3.5.ebuild,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+inherit games
+
+DESCRIPTION="tactical war game in the tradition of Battle Isle"
+HOMEPAGE="http://www.lanipage.de/jens/"
+SRC_URI="http://www.lanipage.de/jens/crimson/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+KEYWORDS="x86"
+SLOT="0"
+IUSE="zlib"
+
+DEPEND=">=libsdl-1.1.5
+ >=sdl-mixer-1.2.4
+ zlib? ( sys-libs/zlib )"
+
+src_compile() {
+ egamesconf \
+ `use_enable zlib` \
+ --enable-cfed \
+ --enable-bi2cf \
+ --enable-comet \
+ || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ make install DESTDIR=${D} || die "make install failed"
+ dodoc NEWS README* THANKS TODO
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ echo
+ ewarn "Crimson Fields ${PV} is not save-game compatible with previous versions."
+ echo
+ einfo "If you have older save files and you wish to continue those games,"
+ einfo "you'll need to remerge the version with which you started"
+ einfo "those save-games."
+ echo
+
+ games_pkg_postinst
+}
diff --git a/games-strategy/crimson/crimson-0.3.6.ebuild b/games-strategy/crimson/crimson-0.3.6.ebuild
new file mode 100644
index 000000000000..22a99f54ab70
--- /dev/null
+++ b/games-strategy/crimson/crimson-0.3.6.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-strategy/crimson/crimson-0.3.6.ebuild,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+inherit games
+
+DESCRIPTION="tactical war game in the tradition of Battle Isle"
+HOMEPAGE="http://crimson.seul.org/"
+SRC_URI="http://crimson.seul.org/files/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+KEYWORDS="x86"
+SLOT="0"
+IUSE="zlib"
+
+DEPEND=">=libsdl-1.1.5
+ >=sdl-mixer-1.2.4
+ dev-libs/libxslt
+ zlib? ( sys-libs/zlib )"
+
+src_compile() {
+ egamesconf \
+ `use_enable zlib` \
+ --enable-cfed \
+ --enable-bi2cf \
+ --enable-comet \
+ || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ make install DESTDIR=${D} || die "make install failed"
+ dodoc NEWS README* THANKS TODO
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ echo
+ ewarn "Crimson Fields ${PV} is not save-game compatible with previous versions."
+ echo
+ einfo "If you have older save files and you wish to continue those games,"
+ einfo "you'll need to remerge the version with which you started"
+ einfo "those save-games."
+ echo
+
+ games_pkg_postinst
+}
diff --git a/games-strategy/crimson/files/digest-crimson-0.3.5 b/games-strategy/crimson/files/digest-crimson-0.3.5
new file mode 100644
index 000000000000..b5d66d42e147
--- /dev/null
+++ b/games-strategy/crimson/files/digest-crimson-0.3.5
@@ -0,0 +1 @@
+MD5 9449aa7b8d75e1960aabf40e04de061e crimson-0.3.5.tar.bz2 520975
diff --git a/games-strategy/crimson/files/digest-crimson-0.3.6 b/games-strategy/crimson/files/digest-crimson-0.3.6
new file mode 100644
index 000000000000..c5afb0b81d87
--- /dev/null
+++ b/games-strategy/crimson/files/digest-crimson-0.3.6
@@ -0,0 +1 @@
+MD5 9acdb9e20e2ebf35e8276aaf71b00bbc crimson-0.3.6.tar.bz2 521026
diff --git a/games-strategy/dopewars/ChangeLog b/games-strategy/dopewars/ChangeLog
new file mode 100644
index 000000000000..56208cdd9786
--- /dev/null
+++ b/games-strategy/dopewars/ChangeLog
@@ -0,0 +1,76 @@
+# ChangeLog for app-games/dopewars
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/dopewars/ChangeLog,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+*dopewars-1.5.9 (14 Jul 2003)
+
+ 14 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump + games.eclass + more optional support.
+
+*dopewars-1.5.8 (28 Oct 2002)
+
+ 07 Nov 2002; L. Boshell <leonardop@gentoo.org> dopewars-1.5.8.ebuild,
+ files/dopewars-1.5.8-gentoo.diff : Fixed a small problem with the
+ $myconf variable and added a correction for the doc directory path in
+ the patch.
+
+ 28 Oct 2002; L. Boshell <leonardop@gentoo.org> dopewars-1.5.8.ebuild :
+ New version. Added support for various USE flags.
+
+*dopewars-1.5.7 (25 Jun 2002)
+
+ 17 jul 2002; Jose Alberto Suárez López <bass@gentoo.org> dopewars-1.5.7.ebuild :
+ Added KEYWORDS.
+
+ 25 Jun 2002; Seemant Kuulleen <seemant@gentoo.org> dopewars-1.5.7.ebuild
+ files/digest-dopewars-1.5.7 :
+
+ Version bump.
+
+*dopewars-1.5.4-r1 (7 May 2002)
+
+ 17 jul 2002; Jose Alberto Suárez López <bass@gentoo.org> dopewars-1.5.4-r1.ebuild :
+ Added KEYWORDS, SLOT.
+ 7 May 2002; Spider <spider@gentoo.org> dopewars-1.5.4-r1.ebuild dopewars-1.5.4.ebuild:
+ fix sourceforge mirroring.
+
+*dopewars-1.5.4-r1
+ 11 Apr 2002; Spider <spider@gentoo.org> dopewars-1.5.4-r1.ebuild dopewars-1.5.4.ebuild:
+ Update all glib dependencies to use glib-1.2* in preparation of unmasking the glib-2.0.1 packages
+
+
+
+*dopewars-1.5.4-r1 (27 Mar 2002)
+
+ 27 Mar 2002; Seemant Kulleen <seemant@gentoo.org> dopewars-1.5.4-r1.ebuild :
+
+ man page/LFH fixes submitted by Matthew Kennedy.
+
+*dopewars-1.5.4 (15 Mar 2002)
+
+ 15 Mar 2002; Seemant Kulleen <seemant@gentoo.org> dopewars-1.5.4.ebuild
+
+ Upgraded to new version and added USE dependent nls compilation. Also
+ changed the location of the html documentation into /usr/share/doc/dopewars
+ instead of /usr/share/dopewars/doc. Additionally, added a check for gnome in
+ the USE flag. If not present, the desktop icons etc need not be present.
+
+ 1 Feb 2002; G.Bevin <gbevin@gentoo.org> skel.ChangeLog :
+
+ This changelog is targetted to users. This means that the comments should be
+ well explained and written in clean English.
+
+ Every new version or revision of the package has to be marked by a '*'
+ seperator line as above. Changements since the last revision have to be
+ added to the top of the file, underneath the initial copyright and cvs header
+ comments, in exactly the same format as this comment.
+
+ This means that you start with header line that has the following format :
+
+ date; your_name <your_email> changed_file1, changed_file2 :
+
+ Below that line your explanation should follow. It has to be indented,
+ paragraphed and wrapped at a linewidth of 80 characters.
+
+ Any details about what exactly changed in the code should be added as a
+ message when the changes are committed to cvs, not in this file.
diff --git a/games-strategy/dopewars/Manifest b/games-strategy/dopewars/Manifest
new file mode 100644
index 000000000000..559075db06b0
--- /dev/null
+++ b/games-strategy/dopewars/Manifest
@@ -0,0 +1,6 @@
+MD5 bcd94482fb7995c6396896c57f036ff7 ChangeLog 2962
+MD5 1f989e4c3e54358c9a88ea1e457612cc dopewars-1.5.8.ebuild 1707
+MD5 34ac404f6534ebbe82cd454d3da4898e dopewars-1.5.9.ebuild 1408
+MD5 1ab4cc079a4ef8685f70383c30bce826 files/digest-dopewars-1.5.8 67
+MD5 b4e1fd58eb803016ca67302b2caf8d7a files/dopewars-1.5.8-gentoo.diff 2125
+MD5 ba5b960a65c5fa58ba14cd1fefc64ffe files/digest-dopewars-1.5.9 67
diff --git a/games-strategy/dopewars/dopewars-1.5.8.ebuild b/games-strategy/dopewars/dopewars-1.5.8.ebuild
new file mode 100644
index 000000000000..66325465bd61
--- /dev/null
+++ b/games-strategy/dopewars/dopewars-1.5.8.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/dopewars/dopewars-1.5.8.ebuild,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+DESCRIPTION="Re-Write of the game Drug Wars"
+SRC_URI="mirror://sourceforge/dopewars/${P}.tar.gz"
+HOMEPAGE="http://dopewars.sourceforge.net/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 ppc"
+IUSE="nls ncurses gtk gtk2 gnome esd sdl"
+
+DEPEND="=dev-libs/glib-1.2*
+ ncurses? ( >=sys-libs/ncurses-5.2 )
+ esd? ( media-sound/esound )
+ gnome? ( gnome-base/gnome )
+ gtk? ( =x11-libs/gtk+-1.2* )
+ gtk2? ( =x11-libs/gtk+-2* )
+ nls? ( sys-devel/gettext )
+ sdl? ( media-libs/libsdl )"
+
+src_compile() {
+ # This patch fixes a problem when you try to compile dopewars without
+ # a graphical or curses-based client, and the path to the doc dir.
+ patch -p1 <${FILESDIR}/${P}-gentoo.diff
+
+ local myconf=""
+
+ use ncurses || myconf="--disable-curses-client"
+ use nls || myconf="$myconf --disable-nls"
+ use sdl || myconf="$myconf --without-sdl"
+ use esd || myconf="$myconf --without-esd"
+
+ if [ "`use gtk`" ] || [ "`use gtk2`" ]
+ then
+ myconf="$myconf --enable-gui-server"
+ use gtk2 || myconf="$myconf --disable-glib2"
+ else
+ myconf="$myconf --disable-gui-client"
+ fi
+
+ econf ${myconf} || die
+
+ #emake fails sometimes in 1.5.7, dropping to make. (drobbins, 29 Aug 2002)
+ make || die "Compilation failed"
+}
+
+src_install() {
+ einstall
+
+ use gnome || rm -rf ${D}/usr/share/gnome
+
+ mv ${D}/usr/share/doc/${P} ${D}/usr/share/doc/${P}-orig
+ dohtml -r ${D}/usr/share/doc/${P}-orig/*
+ rm -rf ${D}/usr/share/doc/${P}-orig
+
+ dodoc ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
+}
diff --git a/games-strategy/dopewars/dopewars-1.5.9.ebuild b/games-strategy/dopewars/dopewars-1.5.9.ebuild
new file mode 100644
index 000000000000..c1569c5965d2
--- /dev/null
+++ b/games-strategy/dopewars/dopewars-1.5.9.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/dopewars/dopewars-1.5.9.ebuild,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+inherit games eutils
+
+DESCRIPTION="Re-Write of the game Drug Wars"
+SRC_URI="mirror://sourceforge/dopewars/${P}.tar.gz"
+HOMEPAGE="http://dopewars.sourceforge.net/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc"
+IUSE="nls ncurses gtk gtk2 gnome esd sdl"
+
+DEPEND="=dev-libs/glib-1.2*
+ ncurses? ( >=sys-libs/ncurses-5.2 )
+ esd? ( media-sound/esound )
+ gnome? ( gnome-base/gnome )
+ gtk? ( =x11-libs/gtk+-1.2* )
+ gtk2? ( =x11-libs/gtk+-2* )
+ nls? ( sys-devel/gettext )
+ sdl? ( media-libs/libsdl media-libs/sdl-mixer )"
+
+src_compile() {
+ local myservconf=""
+ if [ `use gtk` ] || [ `use gtk2` ] ; then
+ myservconf="--enable-gui-server `use_enable gtk2 glib2`"
+ else
+ myservconf="--disable-gui-client"
+ fi
+
+ egamesconf \
+ `use_enable ncurses curses-client` \
+ `use_enable nls` \
+ `use_with sdl` \
+ `use_with esd` \
+ --enable-networking \
+ --enable-plugins \
+ ${myservconf} \
+ || die
+ emake || die "Compilation failed"
+}
+
+src_install() {
+ make install DESTDIR=${D} || die
+ dodoc AUTHORS ChangeLog NEWS README TODO
+
+ cd ${D}/${GAMES_DATADIR}
+ use gnome \
+ && mv gnome ../ \
+ || rm -rf gnome
+ mv pixmaps ../
+ dohtml -r doc/*/*
+ rm -rf doc
+ rm dopewars.sco
+
+ prepgamesdirs
+}
diff --git a/games-strategy/dopewars/files/digest-dopewars-1.5.8 b/games-strategy/dopewars/files/digest-dopewars-1.5.8
new file mode 100644
index 000000000000..10e57826ed9e
--- /dev/null
+++ b/games-strategy/dopewars/files/digest-dopewars-1.5.8
@@ -0,0 +1 @@
+MD5 d2321652075806ac21b2716dbb416b29 dopewars-1.5.8.tar.gz 1168140
diff --git a/games-strategy/dopewars/files/digest-dopewars-1.5.9 b/games-strategy/dopewars/files/digest-dopewars-1.5.9
new file mode 100644
index 000000000000..b705ba032dc4
--- /dev/null
+++ b/games-strategy/dopewars/files/digest-dopewars-1.5.9
@@ -0,0 +1 @@
+MD5 77cdbc59e7550cfda7dfb7f6b7a01050 dopewars-1.5.9.tar.gz 1181836
diff --git a/games-strategy/dopewars/files/dopewars-1.5.8-gentoo.diff b/games-strategy/dopewars/files/dopewars-1.5.8-gentoo.diff
new file mode 100644
index 000000000000..539966062659
--- /dev/null
+++ b/games-strategy/dopewars/files/dopewars-1.5.8-gentoo.diff
@@ -0,0 +1,58 @@
+diff -NurB dopewars-1.5.8/src/dopewars.c dopewars-1.5.8-patched/src/dopewars.c
+--- dopewars-1.5.8/src/dopewars.c 2002-10-19 15:44:27.000000000 -0500
++++ dopewars-1.5.8-patched/src/dopewars.c 2002-11-07 00:03:31.000000000 -0500
+@@ -2345,7 +2345,8 @@
+ path = g_strdup_printf("file://%s\\", bindir);
+ g_free(bindir);
+ #else
+- path = g_strdup_printf("file://%s/doc/%s-%s/", DPDATADIR, PACKAGE, VERSION);
++ path = g_strdup_printf("file://%s/doc/%s-%s/html/",
++ DPDATADIR, PACKAGE, VERSION);
+ #endif
+ return path;
+ }
+@@ -2887,7 +2888,7 @@
+ * Stub function to report an error if the Curses client is requested and
+ * it isn't compiled in.
+ */
+-void CursesLoop(void)
++void CursesLoop(struct CMDLINE *cmdline)
+ {
+ g_print(_("No curses client available - rebuild the binary passing the\n"
+ "--enable-curses-client option to configure, or use a windowed\n"
+@@ -2902,9 +2903,10 @@
+ */
+ #ifdef CYGWIN
+ gboolean GtkLoop(HINSTANCE hInstance, HINSTANCE hPrevInstance,
+- gboolean ReturnOnFail)
++ struct CMDLINE *cmdline, gboolean ReturnOnFail)
+ #else
+-gboolean GtkLoop(int *argc, char **argv[], gboolean ReturnOnFail)
++gboolean GtkLoop(int *argc, char **argv[], struct CMDLINE *cmdline,
++ gboolean ReturnOnFail)
+ #endif
+ {
+ if (!ReturnOnFail) {
+diff -NurB dopewars-1.5.8/src/dopewars.h dopewars-1.5.8-patched/src/dopewars.h
+--- dopewars-1.5.8/src/dopewars.h 2002-08-30 13:15:42.000000000 -0500
++++ dopewars-1.5.8-patched/src/dopewars.h 2002-11-07 00:01:51.000000000 -0500
+@@ -456,15 +456,16 @@
+ gchar *GetLocalConfigFile(void);
+
+ #ifndef CURSES_CLIENT
+-void CursesLoop(void);
++void CursesLoop(struct CMDLINE *cmdline);
+ #endif
+
+ #ifndef GUI_CLIENT
+ #ifdef CYGWIN
+ gboolean GtkLoop(HINSTANCE hInstance, HINSTANCE hPrevInstance,
+- gboolean ReturnOnFail);
++ struct CMDLINE *cmdline, gboolean ReturnOnFail);
+ #else
+-gboolean GtkLoop(int *argc, char **argv[], gboolean ReturnOnFail);
++gboolean GtkLoop(int *argc, char **argv[], struct CMDLINE *cmdline,
++ gboolean ReturnOnFail);
+ #endif
+ #endif
+
diff --git a/games-strategy/freeciv/ChangeLog b/games-strategy/freeciv/ChangeLog
new file mode 100644
index 000000000000..b8897a9bfb48
--- /dev/null
+++ b/games-strategy/freeciv/ChangeLog
@@ -0,0 +1,54 @@
+# ChangeLog for app-games/freeciv
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/freeciv/ChangeLog,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+*freeciv-1.15.0_alpha20030901 (01 Sep 2003)
+
+ 01 Sep 2003; Michael Sterrett <msterret@gentoo.org>
+ freeciv-1.15.0_alpha20030901.ebuild:
+ Add the current cvs snapshot since it seems to be more stable.
+
+ 12 Jun 2003; <msterret@gentoo.org> freeciv-1.14.0-r1.ebuild:
+ add Header
+
+*freeciv-1.14.0-r1 (6 Jun 2003)
+ 6 Jun 2003; Michael Nazaroff <naz@gentoo.org> freeciv-1.14.0-r1.ebuild:
+ enabled gtk2 support if gtk2 is in the USE flag added more explicit
+ depenencies. Thanks to Kalen Petersen and Mathias Hasselmann.
+
+*freeciv-1.14.0 (21 Jan 2003)
+ 21 Jan 2003; Thomas Raschbacher <lordvan@gentoo.org> freeciv-1.14.0.ebuild:
+ version bump
+
+ 01 May 2003; Lars Weiler <pylon@gentoo.org> freeciv-1.14.0.ebuild
+ Added KEYWORD ~ppc
+
+*freeciv-1.13.0 (28 Jul 2002)
+
+ 28 Jul 2002; Daniel Ahlberg <aliz@gentoo.org> freeciv-1.13.0.ebuild :
+
+ Version bump. Foundt by Antoine Hersen <antoine.hersen@wanadoo.fr>.
+
+*freeciv-1.12.0-r2 (29 Mar 2002)
+
+ 17 jul 2002; Jose Alberto Suárez López <bass@gentoo.org> freeciv-1.12.0-r2.ebuild :
+ Added LICENSE, KEYWORDS.
+
+ 29 Mar 2002; Seemant Kulleen <seemant@gentoo.org> freeciv-1.12.0-r2.ebuild :
+
+ jasonr@myrealbox.com (Jason Draugluin Ritchie) suggested cleaning up the
+ ebuild, and boy! was he right. So, the grammar has been updated, and the
+ USE flag checks are now slightly more flexible.
+
+*freeciv-1.12.0-r1 (1 Feb 2002)
+
+ 17 jul 2002; Jose Alberto Suárez López <bass@gentoo.org> freeciv-1.12.0-r1.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-strategy/freeciv/Manifest b/games-strategy/freeciv/Manifest
new file mode 100644
index 000000000000..81bbb928283b
--- /dev/null
+++ b/games-strategy/freeciv/Manifest
@@ -0,0 +1,13 @@
+MD5 62d4094a3c4f274d9f7ab3a322b9d92c freeciv-1.14.0-r1.ebuild 1711
+MD5 a85dd836d04526239548f8d2a1465d50 freeciv-1.14.0.ebuild 1280
+MD5 70704386f7de7dd0a3572da91935554a freeciv-1.12.0-r2.ebuild 1271
+MD5 d669cb0315d20e9cf7dddf0ec91c7838 freeciv-1.15.0_alpha20030901.ebuild 2213
+MD5 8b5942bff3baeb1cf383e6d0487152fb freeciv-1.12.0-r1.ebuild 1187
+MD5 c385078d6fe8a5dc85c65391f4d858ae ChangeLog 2143
+MD5 0d10cce7ee406dfe2f88999c51204a3a freeciv-1.13.0.ebuild 1275
+MD5 42c13947baf4642e3d9dc8e1477660a8 files/digest-freeciv-1.12.0-r1 68
+MD5 42c13947baf4642e3d9dc8e1477660a8 files/digest-freeciv-1.12.0-r2 68
+MD5 a58905cf82fbffcfc85d0b05eb830f7f files/digest-freeciv-1.14.0-r1 68
+MD5 c28ea40a1cb548166d59f5f08cbc82c5 files/digest-freeciv-1.15.0_alpha20030901 72
+MD5 89d3f26787cf425f3c81868bee1827d6 files/digest-freeciv-1.13.0 68
+MD5 a58905cf82fbffcfc85d0b05eb830f7f files/digest-freeciv-1.14.0 68
diff --git a/games-strategy/freeciv/files/digest-freeciv-1.12.0-r1 b/games-strategy/freeciv/files/digest-freeciv-1.12.0-r1
new file mode 100644
index 000000000000..2c57d926da8e
--- /dev/null
+++ b/games-strategy/freeciv/files/digest-freeciv-1.12.0-r1
@@ -0,0 +1 @@
+MD5 6233848d2cd1933ee7585e268b2099d3 freeciv-1.12.0.tar.bz2 4103241
diff --git a/games-strategy/freeciv/files/digest-freeciv-1.12.0-r2 b/games-strategy/freeciv/files/digest-freeciv-1.12.0-r2
new file mode 100644
index 000000000000..2c57d926da8e
--- /dev/null
+++ b/games-strategy/freeciv/files/digest-freeciv-1.12.0-r2
@@ -0,0 +1 @@
+MD5 6233848d2cd1933ee7585e268b2099d3 freeciv-1.12.0.tar.bz2 4103241
diff --git a/games-strategy/freeciv/files/digest-freeciv-1.13.0 b/games-strategy/freeciv/files/digest-freeciv-1.13.0
new file mode 100644
index 000000000000..7ae14c391019
--- /dev/null
+++ b/games-strategy/freeciv/files/digest-freeciv-1.13.0
@@ -0,0 +1 @@
+MD5 a3544f113dbab77f3c6f00130c1bf181 freeciv-1.13.0.tar.bz2 5138629
diff --git a/games-strategy/freeciv/files/digest-freeciv-1.14.0 b/games-strategy/freeciv/files/digest-freeciv-1.14.0
new file mode 100644
index 000000000000..7caf12aa3817
--- /dev/null
+++ b/games-strategy/freeciv/files/digest-freeciv-1.14.0
@@ -0,0 +1 @@
+MD5 c506ec29b94ea516aaa02a107129cf10 freeciv-1.14.0.tar.bz2 5416607
diff --git a/games-strategy/freeciv/files/digest-freeciv-1.14.0-r1 b/games-strategy/freeciv/files/digest-freeciv-1.14.0-r1
new file mode 100644
index 000000000000..7caf12aa3817
--- /dev/null
+++ b/games-strategy/freeciv/files/digest-freeciv-1.14.0-r1
@@ -0,0 +1 @@
+MD5 c506ec29b94ea516aaa02a107129cf10 freeciv-1.14.0.tar.bz2 5416607
diff --git a/games-strategy/freeciv/files/digest-freeciv-1.15.0_alpha20030901 b/games-strategy/freeciv/files/digest-freeciv-1.15.0_alpha20030901
new file mode 100644
index 000000000000..cc812259d1f9
--- /dev/null
+++ b/games-strategy/freeciv/files/digest-freeciv-1.15.0_alpha20030901
@@ -0,0 +1 @@
+MD5 fb754cd6d7f94fd5994d28fa51337bd1 freeciv-cvs-Sep-01.tar.bz2 6630529
diff --git a/games-strategy/freeciv/freeciv-1.12.0-r1.ebuild b/games-strategy/freeciv/freeciv-1.12.0-r1.ebuild
new file mode 100644
index 000000000000..c915a853d1bc
--- /dev/null
+++ b/games-strategy/freeciv/freeciv-1.12.0-r1.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-strategy/freeciv/freeciv-1.12.0-r1.ebuild,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+DESCRIPTION="multiplayer strategy game (Civilization Clone)"
+SRC_URI="ftp://ftp.freeciv.org/freeciv/stable/${P}.tar.bz2"
+HOMEPAGE="http://www.freeciv.org/"
+
+KEYWORDS="x86"
+LICENSE="GPL-2"
+SLOT="0"
+
+DEPEND="virtual/x11
+ || (
+ gtk? ( =x11-libs/gtk+-1.2*
+ >=media-libs/imlib-1.9.10-r1 )
+ x11-libs/xaw
+ )"
+
+src_compile() {
+ # standard options
+ local OPTIONS
+ OPTIONS="--infodir=/usr/share/info --mandir=/usr/share/man --prefix=/usr --host=${CHOST}"
+
+ if [ -z "`use gtk`" ]; then
+ OPTIONS="${OPTIONS} --enable-client=xaw --with-xaw3d"
+ fi
+ if [ -z "`use nls`" ]; then
+ OPTIONS="${OPTIONS} --disable-nls"
+ fi
+
+ ./configure ${OPTIONS} || die
+
+ emake || die
+}
+
+src_install() {
+ make prefix=${D}/usr install || die
+ if [ -z "`use gtk`" ]; then
+ /bin/install -D -m 644 ${S}/data/Freeciv ${D}/usr/X11R6/lib/X11/app-defaults/Freeciv
+ fi
+ dodoc ABOUT-NLS AUTHORS BUGS ChangeLog HOWTOPLAY INSTALL NEWS PEOPLE README README.* TODO freeciv_hackers_guide.txt
+}
diff --git a/games-strategy/freeciv/freeciv-1.12.0-r2.ebuild b/games-strategy/freeciv/freeciv-1.12.0-r2.ebuild
new file mode 100644
index 000000000000..654931062b15
--- /dev/null
+++ b/games-strategy/freeciv/freeciv-1.12.0-r2.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-strategy/freeciv/freeciv-1.12.0-r2.ebuild,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+DESCRIPTION="multiplayer strategy game (Civilization Clone)"
+SRC_URI="ftp://ftp.freeciv.org/freeciv/stable/${P}.tar.bz2"
+HOMEPAGE="http://www.freeciv.org/"
+
+KEYWORDS="x86"
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="nls gtk imlib"
+
+DEPEND="virtual/x11
+ || (
+ gtk? ( ~x11-libs/gtk+-1.2.10-r4 )
+ x11-libs/xaw
+ )
+ imlib? ( >=media-libs/imlib-1.9.10-r1 )"
+RDEPEND="sys-libs/zlib"
+
+src_compile() {
+ local myconf
+
+ use gtk \
+ || myconf="${myconf} --with-xaw3d --disable-gtktest"
+
+ use imlib \
+ || myconf="${myconf} --disable-imlibtest"
+
+ use nls \
+ || myconf="${myconf} --disable-nls"
+
+ ./configure \
+ --host=${CHOST} \
+ --prefix=/usr \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man \
+ --with-x \
+ --with-zlib \
+ ${myconf} || die
+
+ emake || die
+}
+
+src_install() {
+ make \
+ prefix=${D}/usr \
+ install || die
+
+ use gtk || /bin/install -D -m 644 \
+ ${S}/data/Freeciv \
+ ${D}/usr/X11R6/lib/X11/app-defaults/Freeciv
+
+ dodoc ABOUT-NLS AUTHORS BUGS ChangeLog HOWTOPLAY INSTALL NEWS PEOPLE README*
+ dodoc TODO freeciv_hackers_guide.txt
+}
diff --git a/games-strategy/freeciv/freeciv-1.13.0.ebuild b/games-strategy/freeciv/freeciv-1.13.0.ebuild
new file mode 100644
index 000000000000..e4c6db2b9915
--- /dev/null
+++ b/games-strategy/freeciv/freeciv-1.13.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/freeciv/freeciv-1.13.0.ebuild,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+DESCRIPTION="multiplayer strategy game (Civilization Clone)"
+SRC_URI="ftp://ftp.freeciv.org/freeciv/stable/${P}.tar.bz2"
+HOMEPAGE="http://www.freeciv.org/"
+
+KEYWORDS="x86 sparc"
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="nls gtk imlib"
+
+DEPEND="virtual/x11
+ || (
+ gtk? ( ~x11-libs/gtk+-1.2.10-r4 )
+ x11-libs/xaw
+ )
+ imlib? ( >=media-libs/imlib-1.9.10-r1 )"
+RDEPEND="sys-libs/zlib"
+
+src_compile() {
+ local myconf
+
+ use gtk \
+ || myconf="${myconf} --with-xaw3d --disable-gtktest"
+
+ use imlib \
+ || myconf="${myconf} --disable-imlibtest"
+
+ use nls \
+ || myconf="${myconf} --disable-nls"
+
+ ./configure \
+ --host=${CHOST} \
+ --prefix=/usr \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man \
+ --with-x \
+ --with-zlib \
+ ${myconf} || die
+
+ emake || die
+}
+
+src_install() {
+ make \
+ prefix=${D}/usr \
+ install || die
+
+ use gtk || /bin/install -D -m 644 \
+ ${S}/data/Freeciv \
+ ${D}/usr/X11R6/lib/X11/app-defaults/Freeciv
+
+
+ dodoc ABOUT-NLS AUTHORS BUGS ChangeLog HOWTOPLAY INSTALL NEWS PEOPLE README*
+ dodoc TODO freeciv_hackers_guide.txt
+}
diff --git a/games-strategy/freeciv/freeciv-1.14.0-r1.ebuild b/games-strategy/freeciv/freeciv-1.14.0-r1.ebuild
new file mode 100644
index 000000000000..8c026a5f0e96
--- /dev/null
+++ b/games-strategy/freeciv/freeciv-1.14.0-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-strategy/freeciv/freeciv-1.14.0-r1.ebuild,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+DESCRIPTION="multiplayer strategy game (Civilization Clone)"
+HOMEPAGE="http://www.freeciv.org/"
+SRC_URI="ftp://ftp.freeciv.org/freeciv/stable/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 ppc sparc"
+IUSE="X Xaw3d gtk2 nls"
+
+DEPEND="X? ( virtual/x11 )
+ Xaw3d? ( x11-libs/Xaw3d )
+ gtk? ( ~x11-libs/gtk+-1.2.10-r4
+ >=media-libs/imlib-1.9.2
+ >=media-libs/libogg-1.0
+ >=media-libs/libvorbis-1.0-r2 )
+ gtk2? ( >=x11-libs/gtk+-2.0.0
+ >=dev-libs/atk-1.0.3
+ >=x11-libs/pango-1.2.1-r1
+ >=media-libs/libogg-1.0
+ >=media-libs/libvorbis-1.0-r2 )"
+RDEPEND="sys-libs/zlib"
+
+src_compile() {
+ local myconf
+
+ myconf="${myconf} --enable-client=no"
+
+ use X \
+ && myconf="${myconf} --enable-client=xaw --with-x"
+
+ use Xaw3d \
+ && myconf="${myconf} --enable-client=xaw3d --disable-gtktest"
+
+ use gtk \
+ && myconf="${myconf} --enable-client=gtk --enable-gtktest"
+
+ use gtk2 \
+ && myconf="${myconf} --enable-client=gtk-2.0 --enable-gtktest"
+
+
+ use nls \
+ || myconf="${myconf} --disable-nls"
+
+ ./configure \
+ --host=${CHOST} \
+ --prefix=/usr \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man \
+ --with-zlib \
+ ${myconf} || die
+
+ emake || die
+}
+
+src_install() {
+ make \
+ prefix=${D}/usr \
+ install || die
+
+ use gtk || use gtk2 || /bin/install -D -m 644 \
+ ${S}/data/Freeciv \
+ ${D}/usr/X11R6/lib/X11/app-defaults/Freeciv
+
+
+ dodoc ABOUT-NLS AUTHORS BUGS ChangeLog HOWTOPLAY INSTALL NEWS PEOPLE README*
+ dodoc TODO freeciv_hackers_guide.txt
+}
diff --git a/games-strategy/freeciv/freeciv-1.14.0.ebuild b/games-strategy/freeciv/freeciv-1.14.0.ebuild
new file mode 100644
index 000000000000..1ea2675349a2
--- /dev/null
+++ b/games-strategy/freeciv/freeciv-1.14.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/freeciv/freeciv-1.14.0.ebuild,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+DESCRIPTION="multiplayer strategy game (Civilization Clone)"
+SRC_URI="ftp://ftp.freeciv.org/freeciv/stable/${P}.tar.bz2"
+HOMEPAGE="http://www.freeciv.org/"
+
+KEYWORDS="x86 sparc ~ppc"
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="nls gtk imlib"
+
+DEPEND="virtual/x11
+ || (
+ gtk? ( ~x11-libs/gtk+-1.2.10-r4 )
+ x11-libs/xaw
+ )
+ imlib? ( >=media-libs/imlib-1.9.10-r1 )"
+RDEPEND="sys-libs/zlib"
+
+src_compile() {
+ local myconf
+
+ use gtk \
+ || myconf="${myconf} --with-xaw3d --disable-gtktest"
+
+ use imlib \
+ || myconf="${myconf} --disable-imlibtest"
+
+ use nls \
+ || myconf="${myconf} --disable-nls"
+
+ ./configure \
+ --host=${CHOST} \
+ --prefix=/usr \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man \
+ --with-x \
+ --with-zlib \
+ ${myconf} || die
+
+ emake || die
+}
+
+src_install() {
+ make \
+ prefix=${D}/usr \
+ install || die
+
+ use gtk || /bin/install -D -m 644 \
+ ${S}/data/Freeciv \
+ ${D}/usr/X11R6/lib/X11/app-defaults/Freeciv
+
+
+ dodoc ABOUT-NLS AUTHORS BUGS ChangeLog HOWTOPLAY INSTALL NEWS PEOPLE README*
+ dodoc TODO freeciv_hackers_guide.txt
+}
diff --git a/games-strategy/freeciv/freeciv-1.15.0_alpha20030901.ebuild b/games-strategy/freeciv/freeciv-1.15.0_alpha20030901.ebuild
new file mode 100644
index 000000000000..445fc3063970
--- /dev/null
+++ b/games-strategy/freeciv/freeciv-1.15.0_alpha20030901.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/freeciv/freeciv-1.15.0_alpha20030901.ebuild,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+inherit games
+
+S="${WORKDIR}/freeciv-cvs-Sep-01"
+DESCRIPTION="multiplayer strategy game (Civilization Clone)"
+HOMEPAGE="http://www.freeciv.org/"
+SRC_URI="ftp://ftp.freeciv.org/freeciv/latest/freeciv-cvs-Sep-01.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+IUSE="X Xaw3d gtk gtk2 sdl nls"
+
+DEPEND=">=sys-devel/gettext-0.10.36
+ >=sys-devel/autoconf-2.13
+ >=sys-devel/automake-1.4
+ >=sys-devel/bison-1.35
+ sys-libs/zlib
+ X? ( virtual/x11 )
+ Xaw3d? ( x11-libs/Xaw3d )
+ sdl? ( media-libs/sdl-mixer
+ media-libs/sdl-image
+ >=media-libs/libsdl-1.1.4 )
+ gtk? ( =x11-libs/gtk+-1*
+ >=dev-libs/glib-1.2.5
+ >=media-libs/imlib-1.9.2
+ >=media-libs/libogg-1.0
+ >=media-libs/libvorbis-1.0-r2 )
+ gtk2? ( >=x11-libs/gtk+-2.0.0
+ >=dev-libs/glib-2.0.0
+ >=dev-libs/atk-1.0.3
+ >=x11-libs/pango-1.0.5
+ >=media-libs/libogg-1.0
+ >=media-libs/libvorbis-1.0-r2 )"
+
+src_compile() {
+ local myconf="--enable-client=no"
+
+ use X \
+ && myconf="${myconf} --enable-client=xaw --with-x" \
+ || myconf="${myconf} --disable-client=xaw --without-x"
+
+ use Xaw3d \
+ && myconf="${myconf} --enable-client=xaw3d --disable-gtktest"
+
+ use gtk \
+ && myconf="${myconf} --enable-client=gtk --enable-gtktest" \
+ || myconf="${myconf} --disable-client=gtk --disable-gtktest"
+
+ use gtk2 \
+ && myconf="${myconf} --enable-client=gtk-2.0 --enable-gtktest" \
+ || myconf="${myconf} --disable-client=gtk-2.0 --disable-gtktest"
+
+ use sdl \
+ && myconf="${myconf} --enable-client=sdl" \
+ || myconf="${myconf} --disable-sdltest --disable-sdl-mixer"
+
+ use nls \
+ || myconf="${myconf} --disable-nls"
+
+ egamesconf --with-zlib ${myconf} || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ make prefix=${D}/usr datadir=${D}/${GAMES_DATADIR} install || die "make install failed"
+
+ use gtk || use gtk2 || /bin/install -D -m 644 \
+ ${S}/data/Freeciv \
+ ${D}/usr/X11R6/lib/X11/app-defaults/Freeciv
+
+ dodoc ChangeLog INSTALL NEWS \
+ doc/{BUGS,CodingStyle,HACKING,HOWTOPLAY,PEOPLE,README*,TODO}
+}
diff --git a/games-strategy/freecnc/ChangeLog b/games-strategy/freecnc/ChangeLog
new file mode 100644
index 000000000000..a0283b652fb7
--- /dev/null
+++ b/games-strategy/freecnc/ChangeLog
@@ -0,0 +1,13 @@
+# ChangeLog for app-games/freecnc
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/freecnc/ChangeLog,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+*freecnc-0.2.1.31072003 (31 Jul 2003)
+
+ 31 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me. (cvs snapshot)
+
+*freecnc-0.2.0 (31 Jul 2003)
+
+ 31 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me.
diff --git a/games-strategy/freecnc/Manifest b/games-strategy/freecnc/Manifest
new file mode 100644
index 000000000000..a23f4b48316c
--- /dev/null
+++ b/games-strategy/freecnc/Manifest
@@ -0,0 +1,12 @@
+MD5 f9510f847b3067f9bff3481286d2d647 freecnc-0.2.0.ebuild 2027
+MD5 7705eafc118ebb753d4b8a80fe7e333c files/digest-freecnc-0.2.0 189
+MD5 97801c0bb7df9499db0b530110aaa510 files/0.2.0-makefile-cflags.patch 4220
+MD5 929803ba179a8f6e0996f29dfc33dcdc files/0.2.0-remove-root.patch 636
+MD5 deb5d60f8269a27307f92372b65f2600 files/0.2.0-gentoo-paths.patch 980
+MD5 190952f0b1cd7f8ebd7385c01e0b70db files/freecnc 44
+MD5 caea2862781d0a98c4c8eb0b932aa47d files/digest-freecnc-0.2.1.31072003 198
+MD5 368b1fb21ec956e33e0cea243ba89448 files/0.2.1.31072003-makefile-cflags.patch 478
+MD5 a95fe9ff48a57f7d2afaf10e0932faab files/0.2.1.31072003-remove-root.patch 555
+MD5 4db884f5f9409f52d2deed038e7c7518 files/0.2.1.31072003-gentoo-paths.patch 1592
+MD5 2b6f843f216f7d55e9e9ccc4d08f8e12 freecnc-0.2.1.31072003.ebuild 2139
+MD5 6580c86f664fc2083bf0a1571a19817a ChangeLog 491
diff --git a/games-strategy/freecnc/files/0.2.0-gentoo-paths.patch b/games-strategy/freecnc/files/0.2.0-gentoo-paths.patch
new file mode 100644
index 000000000000..bfaa03d0cd14
--- /dev/null
+++ b/games-strategy/freecnc/files/0.2.0-gentoo-paths.patch
@@ -0,0 +1,29 @@
+--- src/freecnc.cpp.orig 2003-07-31 21:17:53.000000000 -0400
++++ src/freecnc.cpp 2003-07-31 21:18:07.000000000 -0400
+@@ -42,7 +42,7 @@
+ exit(1);
+ }
+ // default to only showing errors on stdout
+- logger = new Logger("freecnc.log",0);
++ logger = new Logger("GENTOO_LOGDIR/freecnc.log",0);
+ #if !defined _WIN32
+ // maybe some win32 specific checks for running as the Administrator
+ // account or something
+--- src/vfs/vfs.cpp.orig 2003-07-31 21:50:05.000000000 -0400
++++ src/vfs/vfs.cpp 2002-07-29 08:59:44.000000000 -0400
+@@ -32,10 +32,13 @@
+
+ externals = new ExternalFiles();
+
+- externals->loadArchive("conf/");
++ sprintf(tempstr, "%s/.freecnc/", getenv("HOME"));
++ externals->loadArchive(tempstr);
++ externals->loadArchive("GENTOO_CONFDIR");
+ #if !defined WIN32
+
+- externals->loadArchive("/etc/freecnc/");
++ externals->loadArchive("GENTOO_DATADIR/conf/");
++ externals->loadArchive("GENTOO_DATADIR/");
+ #endif
+
+ try {
diff --git a/games-strategy/freecnc/files/0.2.0-makefile-cflags.patch b/games-strategy/freecnc/files/0.2.0-makefile-cflags.patch
new file mode 100644
index 000000000000..fd80e34c64f6
--- /dev/null
+++ b/games-strategy/freecnc/files/0.2.0-makefile-cflags.patch
@@ -0,0 +1,94 @@
+diff -ur freecnc++.orig/src/Makefile freecnc++/src/Makefile
+--- freecnc++.orig/src/Makefile 2002-07-29 08:59:44.000000000 -0400
++++ freecnc++/src/Makefile 2003-07-31 20:43:21.000000000 -0400
+@@ -26,12 +26,11 @@
+
+ #EFENCE = -lefence
+
+-CFLAGS = $(DEBUG_FLAGS) -Werror -Wall -I./include `sdl-config --cflags`
++CFLAGS = -Wall -I./include `sdl-config --cflags` $(EXTRACFLAGS)
+ LIBS = -lSDL_net
+
+ # comment this out if your compiler isn't ANSI
+ # needed on OSX and some gcc systems.
+-CFLAGS += -ansi -pedantic
+
+ # uncomment these lines if compiling on OSX
+ #CFLAGS += -DDARWIN -D_WITHOUT_STRCASECMP
+diff -ur freecnc++.orig/src/vfs/vfs_mix/Makefile freecnc++/src/vfs/vfs_mix/Makefile
+--- freecnc++.orig/src/vfs/vfs_mix/Makefile 2002-07-29 08:59:44.000000000 -0400
++++ freecnc++/src/vfs/vfs_mix/Makefile 2003-07-31 20:42:58.000000000 -0400
+@@ -8,8 +8,7 @@
+ #DEBUG_FLAGS += -D_DEBUG -DSTRICT_DEBUG
+ #LDFLAGS += ../../misc/memtrack.o
+
+-CFLAGS = $(DEBUG_FLAGS) -Werror -Wall -I.. -I../../include `sdl-config --cflags`
+-CFLAGS += -ansi -pedantic
++CFLAGS = -Wall -I.. -I../../include `sdl-config --cflags` $(EXTRACFLAGS)
+ # uncomment these lines if compiling on OSX
+ #CFLAGS += -D_WITHOUT_STRCASECMP
+ #LDFLAGS += -bundle -flat_namespace -undefined suppress
+diff -ur freecnc++.orig/src/vfs/vfs_tgz/Makefile freecnc++/src/vfs/vfs_tgz/Makefile
+--- freecnc++.orig/src/vfs/vfs_tgz/Makefile 2002-07-29 08:59:45.000000000 -0400
++++ freecnc++/src/vfs/vfs_tgz/Makefile 2003-07-31 20:43:08.000000000 -0400
+@@ -8,8 +8,7 @@
+ #DEBUG_FLAGS += -D_DEBUG -DSTRICT_DEBUG
+ #LDFLAGS += ../../misc/memtrack.o
+
+-CFLAGS = $(DEBUG_FLAGS) -Werror -Wall -I.. -I../../include `sdl-config --cflags`
+-CFLAGS += -ansi -pedantic
++CFLAGS = -Wall -I.. -I../../include `sdl-config --cflags` $(EXTRACFLAGS)
+ # uncomment these lines if compiling on OSX
+ #CFLAGS += -D_WITHOUT_STRCASECMP
+ #LDFLAGS += -bundle -flat_namespace -undefined suppress
+diff -ur freecnc++.orig/tools/audplay/Makefile freecnc++/tools/audplay/Makefile
+--- freecnc++.orig/tools/audplay/Makefile 2002-07-20 09:20:15.000000000 -0400
++++ freecnc++/tools/audplay/Makefile 2003-07-31 20:42:05.000000000 -0400
+@@ -9,10 +9,9 @@
+ LOCALOBJS = $(LOCALSRC:.cpp=.o)
+ OBJECTS = $(SRC:.cpp=.o)
+
+-CFLAGS = -g -Werror -Wall -I. -I../../src/include `sdl-config --cflags`
++CFLAGS = -Wall -I. -I../../src/include `sdl-config --cflags` $(EXTRACFLAGS)
+
+ #if your compiler is really broken and doesn't understand ANSI, comment this out
+-CFLAGS += -ansi -pedantic
+
+ #if your compiler is partially broken and allows the use of str(n)casecmp
+ #even when compiling with -ansi -pedantic (it shouldn't), uncomment this:
+diff -ur freecnc++.orig/tools/mixshell/Makefile freecnc++/tools/mixshell/Makefile
+--- freecnc++.orig/tools/mixshell/Makefile 2002-07-20 09:20:15.000000000 -0400
++++ freecnc++/tools/mixshell/Makefile 2003-07-31 20:42:18.000000000 -0400
+@@ -10,4 +10,4 @@
+
+ .SUFFIXES: .cpp .o
+ .cpp.o:
+- g++ -Wall -c $< `sdl-config --cflags`
++ g++ -Wall -c $< `sdl-config --cflags` $(EXTRACFLAGS)
+diff -ur freecnc++.orig/tools/shpview/Makefile freecnc++/tools/shpview/Makefile
+--- freecnc++.orig/tools/shpview/Makefile 2002-07-20 09:20:15.000000000 -0400
++++ freecnc++/tools/shpview/Makefile 2003-07-31 20:42:30.000000000 -0400
+@@ -9,10 +9,9 @@
+ LOCALOBJS = $(LOCALSRC:.cpp=.o)
+ OBJECTS = $(SRC:.cpp=.o)
+
+-CFLAGS = -g -Werror -Wall -I. -I../../src/include `sdl-config --cflags`
++CFLAGS = -Wall -I. -I../../src/include `sdl-config --cflags` $(EXTRACFLAGS)
+
+ #if your compiler is really broken and doesn't understand ANSI, comment this out
+-CFLAGS += -ansi -pedantic
+
+ #if your compiler is partially broken and allows the use of str(n)casecmp
+ #even when compiling with -ansi -pedantic (it shouldn't), uncomment this:
+diff -ur freecnc++.orig/tools/tmpinied/Makefile freecnc++/tools/tmpinied/Makefile
+--- freecnc++.orig/tools/tmpinied/Makefile 2002-07-20 09:20:15.000000000 -0400
++++ freecnc++/tools/tmpinied/Makefile 2003-07-31 20:42:41.000000000 -0400
+@@ -7,7 +7,7 @@
+
+ OBJECTS = $(SRC:.cpp=.o)
+
+-CFLAGS = -g -Wall -I../../src/include `sdl-config --cflags`
++CFLAGS = -Wall -I../../src/include `sdl-config --cflags` $(EXTRACFLAGS)
+
+ all: $(OBJECTS)
+ g++ -o tmpinied -g `sdl-config --libs` $(OBJECTS)
diff --git a/games-strategy/freecnc/files/0.2.0-remove-root.patch b/games-strategy/freecnc/files/0.2.0-remove-root.patch
new file mode 100644
index 000000000000..b65d56c646c2
--- /dev/null
+++ b/games-strategy/freecnc/files/0.2.0-remove-root.patch
@@ -0,0 +1,18 @@
+--- src/freecnc.cpp.orig 2003-07-31 21:14:06.000000000 -0400
++++ src/freecnc.cpp 2003-07-31 21:14:28.000000000 -0400
+@@ -46,6 +46,7 @@
+ #if !defined _WIN32
+ // maybe some win32 specific checks for running as the Administrator
+ // account or something
++/*
+ if (getuid() == 0) {
+ fprintf(stderr,"WARNING WARNING WARNING WARNING!\n"
+ "\tYOU ARE RUNNING FREECNC AS ROOT.\n"
+@@ -58,6 +59,7 @@
+ "PLEASE DO NOT DO SO, ROOT PRIVILEGES ARE NOT NEEDED.\n");
+ exit(1);
+ }
++*/
+ #endif
+ args = new Args();
+ /* VFS will exit(1) here if and only if it can not find files.ini. */
diff --git a/games-strategy/freecnc/files/0.2.1.31072003-gentoo-paths.patch b/games-strategy/freecnc/files/0.2.1.31072003-gentoo-paths.patch
new file mode 100644
index 000000000000..b134072c04d8
--- /dev/null
+++ b/games-strategy/freecnc/files/0.2.1.31072003-gentoo-paths.patch
@@ -0,0 +1,41 @@
+--- src/freecnc.cpp.orig 2003-07-31 22:53:04.000000000 -0400
++++ src/freecnc.cpp 2003-07-31 22:54:06.000000000 -0400
+@@ -79,8 +79,8 @@
+ #endif
+ args = new Args();
+ binpath = determineBinaryLocation(argv[0]);
+- lf = new char[strlen(binpath)+strlen("freecnc.log")+2];
+- sprintf(lf, "freecnc.log");
++ lf = new char[strlen("GENTOO_LOGDIR")+strlen("freecnc.log")+2];
++ sprintf(lf, "GENTOO_LOGDIR/freecnc.log");
+ VFS_PreInit(binpath);
+ // Log level is so that only errors are shown on stdout by default
+ logger = new Logger(lf,0);
+--- src/vfs/vfs.cpp.orig 2003-07-31 22:53:14.000000000 -0400
++++ src/vfs/vfs.cpp 2003-07-31 22:55:02.000000000 -0400
+@@ -52,7 +52,11 @@
+ #if defined _WIN32
+ #elif defined(macintosh)
+ #else
+- externals->loadArchive("/etc/freecnc/");
++ char f[1024];sprintf(f, "%s/.freecnc/", getenv("HOME"));
++ externals->loadArchive(f);
++ externals->loadArchive("GENTOO_CONFDIR");
++ externals->loadArchive("GENTOO_DATADIR/conf/");
++ externals->loadArchive("GENTOO_DATADIR/");
+ #endif
+
+ try {
+--- tools/audplay/audplay.cpp.orig 2003-07-31 22:57:04.000000000 -0400
++++ tools/audplay/audplay.cpp 2003-07-31 22:57:20.000000000 -0400
+@@ -35,8 +35,8 @@
+ exit(1);
+ }
+ binpath = determineBinaryLocation(argv[0]);
+- lf = new char[strlen(binpath)+strlen("audplay.log")+2];
+- sprintf(lf, "%s/audplay.log", binpath);
++ lf = new char[strlen("GENTOO_LOGDIR")+strlen("audplay.log")+2];
++ sprintf(lf, "GENTOO_LOGDIR/audplay.log", binpath);
+ VFS_PreInit(binpath);
+ logger = new Logger(lf,0);
+ delete[] lf;
diff --git a/games-strategy/freecnc/files/0.2.1.31072003-makefile-cflags.patch b/games-strategy/freecnc/files/0.2.1.31072003-makefile-cflags.patch
new file mode 100644
index 000000000000..6ca3ead15d6b
--- /dev/null
+++ b/games-strategy/freecnc/files/0.2.1.31072003-makefile-cflags.patch
@@ -0,0 +1,17 @@
+--- Makefile.orig 2003-07-31 22:49:19.000000000 -0400
++++ Makefile 2003-07-31 22:50:10.000000000 -0400
+@@ -9,13 +9,10 @@
+ #
+ linux:
+ + $(MAKE) -j2 -C src freecnc-bin \
+- "EXTRACFLAGS = -ansi -pedantic -Werror" \
+ "LIBS = -lSDL_net"
+ + $(MAKE) -j2 -C src plugins \
+- "EXTRACFLAGS = -ansi -pedantic -fPIC -Werror" \
+ "LDFLAGS = -shared"
+- + $(MAKE) -j2 -C tools \
+- "EXTRACFLAGS = -ansi -pedantic"
++ + $(MAKE) -j2 -C tools
+
+ linux-nonet:
+ + $(MAKE) -j2 -C src freecnc-bin \
diff --git a/games-strategy/freecnc/files/0.2.1.31072003-remove-root.patch b/games-strategy/freecnc/files/0.2.1.31072003-remove-root.patch
new file mode 100644
index 000000000000..890d5f47ac63
--- /dev/null
+++ b/games-strategy/freecnc/files/0.2.1.31072003-remove-root.patch
@@ -0,0 +1,18 @@
+--- src/freecnc.cpp.orig 2003-07-31 22:51:34.000000000 -0400
++++ src/freecnc.cpp 2003-07-31 22:51:45.000000000 -0400
+@@ -62,6 +62,7 @@
+ #elif defined(__BEOS__)
+ // BeOS runs everything as root
+ #else
++/*
+ if (getuid() == 0) {
+ fprintf(stderr,"WARNING WARNING WARNING WARNING!\n"
+ "\tYOU ARE RUNNING FREECNC AS ROOT.\n"
+@@ -74,6 +75,7 @@
+ "PLEASE DO NOT DO SO, ROOT PRIVILEGES ARE NOT NEEDED.\n");
+ exit(1);
+ }
++*/
+ #endif
+ args = new Args();
+ binpath = determineBinaryLocation(argv[0]);
diff --git a/games-strategy/freecnc/files/digest-freecnc-0.2.0 b/games-strategy/freecnc/files/digest-freecnc-0.2.0
new file mode 100644
index 000000000000..b96e2cca1aa2
--- /dev/null
+++ b/games-strategy/freecnc/files/digest-freecnc-0.2.0
@@ -0,0 +1,3 @@
+MD5 9d43ea387f370b8108e7a870a82017d5 freecnc++-0.2.0-src.tar.bz2 264419
+MD5 7d770d38618e20796fbe642037f08de5 cc1demo1.zip 9367945
+MD5 bbe489d259c4e6d6cadb4a2544b764aa cc1demo2.zip 17797920
diff --git a/games-strategy/freecnc/files/digest-freecnc-0.2.1.31072003 b/games-strategy/freecnc/files/digest-freecnc-0.2.1.31072003
new file mode 100644
index 000000000000..f3b071e5d57b
--- /dev/null
+++ b/games-strategy/freecnc/files/digest-freecnc-0.2.1.31072003
@@ -0,0 +1,3 @@
+MD5 3179192e8e6efc5672b940d1bcda424d freecnc++-0.2.1.31072003-src.tar.bz2 271980
+MD5 7d770d38618e20796fbe642037f08de5 cc1demo1.zip 9367945
+MD5 bbe489d259c4e6d6cadb4a2544b764aa cc1demo2.zip 17797920
diff --git a/games-strategy/freecnc/files/freecnc b/games-strategy/freecnc/files/freecnc
new file mode 100644
index 000000000000..5cbf438349b8
--- /dev/null
+++ b/games-strategy/freecnc/files/freecnc
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd GENTOO_DIR
+exec ./freecnc "$@"
diff --git a/games-strategy/freecnc/freecnc-0.2.0.ebuild b/games-strategy/freecnc/freecnc-0.2.0.ebuild
new file mode 100644
index 000000000000..3db361d1ca99
--- /dev/null
+++ b/games-strategy/freecnc/freecnc-0.2.0.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/freecnc/freecnc-0.2.0.ebuild,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+inherit games flag-o-matic eutils
+
+DESCRIPTION="SDL-rewrite of the classical real time strategy hit Command & Conquer"
+HOMEPAGE="http://freecnc-sf.holarse.net/"
+SRC_URI="mirror://sourceforge/freecnc/freecnc++-${PV}-src.tar.bz2
+ nocd? ( ftp://ftp.westwood.com/pub/cc1/previews/demo/cc1demo1.zip )
+ nocd? ( ftp://ftp.westwood.com/pub/cc1/previews/demo/cc1demo2.zip )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="zlib nocd"
+
+DEPEND="media-libs/libsdl
+ media-libs/sdl-net
+ zlib? ( sys-libs/zlib )"
+
+S=${WORKDIR}/freecnc++
+
+src_unpack() {
+ unpack freecnc++-${PV}-src.tar.bz2
+ if [ `use nocd` ] ; then
+ mkdir data ; cd data
+ unpack cc1demo1.zip cc1demo2.zip
+ for f in * ; do
+ mv ${f} `echo ${f} | awk '{print tolower($1)}'` || die "moving $f"
+ done
+ fi
+ cd ${S}
+ epatch ${FILESDIR}/${PV}-makefile-cflags.patch
+ epatch ${FILESDIR}/${PV}-remove-root.patch
+ epatch ${FILESDIR}/${PV}-gentoo-paths.patch
+ sed -i \
+ -e "s:GENTOO_LOGDIR:${GAMES_LOGDIR}:" \
+ -e "s:GENTOO_CONFDIR:${GAMES_SYSCONFDIR}/${PN}/:" \
+ -e "s:GENTOO_DATADIR:${GAMES_DATADIR}/${PN}/:" \
+ src/{freecnc,vfs/vfs}.cpp
+}
+
+src_compile() {
+ make EXTRACFLAGS="${CFLAGS}" || die
+}
+
+src_install() {
+ exeinto ${GAMES_LIBDIR}/${PN}
+ doexe freecnc *.vfs
+ dogamesbin ${FILESDIR}/freecnc
+ dosed "s:GENTOO_DIR:${GAMES_LIBDIR}/${PN}:" ${GAMES_BINDIR}/freecnc
+ insinto ${GAMES_DATADIR}/${PN}/conf
+ doins conf/*
+ insinto ${GAMES_SYSCONFDIR}/${PN}
+ doins conf/*
+ dodoc AUTHORS ChangeLog NEWS README THANKS TODO
+ if [ `use nocd` ] ; then
+ cd ${WORKDIR}/data
+ insinto ${GAMES_DATADIR}/${PN}
+ doins *.mix *.aud
+ dodoc *.txt
+ fi
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ einfo "If you have the C&C games, then just copy the .mix"
+ einfo "to ${GAMES_DATADIR}/${PN}"
+ einfo "Otherwise, re-emerge freecnc with 'nocd' in your USE."
+}
diff --git a/games-strategy/freecnc/freecnc-0.2.1.31072003.ebuild b/games-strategy/freecnc/freecnc-0.2.1.31072003.ebuild
new file mode 100644
index 000000000000..cd6da7cfd452
--- /dev/null
+++ b/games-strategy/freecnc/freecnc-0.2.1.31072003.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/freecnc/freecnc-0.2.1.31072003.ebuild,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+inherit games flag-o-matic eutils
+
+DESCRIPTION="SDL-rewrite of the classical real time strategy hit Command & Conquer"
+HOMEPAGE="http://freecnc-sf.holarse.net/"
+#mirror://sourceforge/freecnc/freecnc++-${PV}-src.tar.bz2
+SRC_URI="mirror://gentoo/freecnc++-${PV}-src.tar.bz2
+ nocd? ( ftp://ftp.westwood.com/pub/cc1/previews/demo/cc1demo1.zip )
+ nocd? ( ftp://ftp.westwood.com/pub/cc1/previews/demo/cc1demo2.zip )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="zlib nocd"
+
+DEPEND="media-libs/libsdl
+ media-libs/sdl-net
+ zlib? ( sys-libs/zlib )"
+
+S=${WORKDIR}/freecnc++
+
+src_unpack() {
+ unpack freecnc++-${PV}-src.tar.bz2
+ if [ `use nocd` ] ; then
+ mkdir data ; cd data
+ unpack cc1demo1.zip cc1demo2.zip
+ for f in * ; do
+ mv ${f} `echo ${f} | awk '{print tolower($1)}'` || die "moving $f"
+ done
+ fi
+ cd ${S}
+ epatch ${FILESDIR}/${PV}-makefile-cflags.patch
+ epatch ${FILESDIR}/${PV}-remove-root.patch
+ epatch ${FILESDIR}/${PV}-gentoo-paths.patch
+ sed -i \
+ -e "s:GENTOO_LOGDIR:${GAMES_LOGDIR}:" \
+ -e "s:GENTOO_CONFDIR:${GAMES_SYSCONFDIR}/${PN}/:" \
+ -e "s:GENTOO_DATADIR:${GAMES_DATADIR}/${PN}/:" \
+ src/{freecnc,vfs/vfs}.cpp tools/audplay/audplay.cpp
+}
+
+src_compile() {
+ make linux EXTRACFLAGS="${CFLAGS}" || die
+}
+
+src_install() {
+ exeinto ${GAMES_LIBDIR}/${PN}
+ doexe freecnc *.vfs audplay shpview tmpinied
+ dogamesbin ${FILESDIR}/freecnc
+ dosed "s:GENTOO_DIR:${GAMES_LIBDIR}/${PN}:" ${GAMES_BINDIR}/freecnc
+ insinto ${GAMES_DATADIR}/${PN}/conf
+ doins conf/*
+ insinto ${GAMES_SYSCONFDIR}/${PN}
+ doins conf/*
+ dodoc AUTHORS ChangeLog NEWS README THANKS TODO
+ if [ `use nocd` ] ; then
+ cd ${WORKDIR}/data
+ insinto ${GAMES_DATADIR}/${PN}
+ doins *.mix *.aud
+ dodoc *.txt
+ fi
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ einfo "If you have the C&C games, then just copy the .mix"
+ einfo "to ${GAMES_DATADIR}/${PN}"
+ einfo "Otherwise, re-emerge freecnc with 'nocd' in your USE."
+}
diff --git a/games-strategy/freecraft-fcmp/ChangeLog b/games-strategy/freecraft-fcmp/ChangeLog
new file mode 100644
index 000000000000..deb3db0dc84d
--- /dev/null
+++ b/games-strategy/freecraft-fcmp/ChangeLog
@@ -0,0 +1,34 @@
+# ChangeLog for app-games/freecraft-fcmp
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/freecraft-fcmp/ChangeLog,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+ 12 Jul 2003; Michael Sterrett <msterret@gentoo.org>
+ freecraft-fcmp-1.18-r1.ebuild:
+ fix DESCRIPTION
+
+*freecraft-fcmp-1.18-r1 (20 Jun 2003)
+
+ 20 Jun 2003; Mike Frysinger <vapier@gentoo.org> :
+ Reworked ebuild to cleanup, add games.eclass support, and add more music.
+
+*freecraft-fcmp-1.18 (18 Mar 2003)
+
+ 18 Mar 2003; J. Alberto Suárez López <bass@gentoo.org> freecraft-fcmp-1.18.ebuild :
+ Bumped version.
+
+*freecraft-fcmp-1.17.2 (16 Aug 2002)
+
+ 16 Aug 2002; J. Alberto Suárez López <bass@gentoo.org> freecraft-fcmp-1.17.2.ebuild :
+ New version
+
+*freecraft-fcmp-1.17 (20 Jun 2002)
+
+ 18 Oct 2002; Daniel Ahlberg <aliz@gentoo.org> freecraft-fcmp.1.17.ebuild :
+ Updated to mirror://sourceforge in SRC_URI.
+
+ 17 jul 2002; Jose Alberto Suárez López <bass@gentoo.org> freecraft-fcmp-1.17.ebuild :
+ Added KEYWORDS.
+
+ 20 Jun 2002; Gabriele Giorgetti <stroke@gentoo.org> freecraft-fcmp-1.17.ebuild:
+ Initial release of a ebuild for the Freecraft Media Project project.
+ Ebuild author: Keith Gross <grossk@mail.tds.net>
diff --git a/games-strategy/freecraft-fcmp/Manifest b/games-strategy/freecraft-fcmp/Manifest
new file mode 100644
index 000000000000..0c8925f75cad
--- /dev/null
+++ b/games-strategy/freecraft-fcmp/Manifest
@@ -0,0 +1,3 @@
+MD5 44991d9a8d1378393318b04fc7746791 files/digest-freecraft-fcmp-1.18-r1 135
+MD5 fa10f7b30bfc7c9133adaba7846a225c freecraft-fcmp-1.18-r1.ebuild 858
+MD5 705bd0e7b2618fdbf9dc414a9b8d8295 ChangeLog 1261
diff --git a/games-strategy/freecraft-fcmp/files/digest-freecraft-fcmp-1.18-r1 b/games-strategy/freecraft-fcmp/files/digest-freecraft-fcmp-1.18-r1
new file mode 100644
index 000000000000..32b2418d77d9
--- /dev/null
+++ b/games-strategy/freecraft-fcmp/files/digest-freecraft-fcmp-1.18-r1
@@ -0,0 +1,2 @@
+MD5 df77bb91f5e6bcfa113d66064156002e fcmp-030311.tar.gz 8338255
+MD5 8b19e483782c8aeab13fa58ab997aa27 music-pack-030226.tar.gz 21821473
diff --git a/games-strategy/freecraft-fcmp/freecraft-fcmp-1.18-r1.ebuild b/games-strategy/freecraft-fcmp/freecraft-fcmp-1.18-r1.ebuild
new file mode 100644
index 000000000000..a664bf0569a3
--- /dev/null
+++ b/games-strategy/freecraft-fcmp/freecraft-fcmp-1.18-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/freecraft-fcmp/freecraft-fcmp-1.18-r1.ebuild,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+inherit games
+
+FCMP_VER=030311
+MUSIC_VER=030226
+DESCRIPTION="A collection of graphic/sound files to replace the data files from a real WarCraft CD"
+SRC_URI="mirror://sourceforge/freecraft/fcmp-${FCMP_VER}.tar.gz
+ music? ( mirror://sourceforge/freecraft/music-pack-${MUSIC_VER}.tar.gz )"
+HOMEPAGE="http://freecraft.sourceforge.org/"
+
+KEYWORDS="x86"
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="music"
+
+DEPEND="=app-games/freecraft-1.18*"
+
+S=${WORKDIR}
+
+src_install() {
+ dohtml data/ChangeLog.html && rm data/ChangeLog.html
+ dodir ${GAMES_DATADIR}/freecraft/
+ cp -r ${S}/data ${D}/${GAMES_DATADIR}/freecraft/
+ prepgamesdirs
+}
diff --git a/games-strategy/freecraft/ChangeLog b/games-strategy/freecraft/ChangeLog
new file mode 100644
index 000000000000..8d66c2606a69
--- /dev/null
+++ b/games-strategy/freecraft/ChangeLog
@@ -0,0 +1,40 @@
+# ChangeLog for app-games/freecraft
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/freecraft/ChangeLog,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+ 12 Jul 2003; Michael Sterrett <msterret@gentoo.org>
+ freecraft-1.18-r1.ebuild:
+ fix DESCRIPTION
+
+*freecraft-1.18-r1 (20 Jun 2003)
+
+ 20 Jun 2003; Mike Frysinger <vapier@gentoo.org> :
+ Cleaned up + add games.eclass support + rework runscript.
+
+*freecraft-1.18 (18 Mar 2003)
+
+ 28 Mar 2003; Jose Alberto Suárez López <bass@gentoo.org> freecraft-1.18.ebuild:
+ Bump version.
+
+*freecraft-1.17.2 (31 Jul 2002)
+
+ 22 Jul 2002; Jose Alberto Suárez López <bass@gentoo.org> freecraft-1.17.2.ebuild:
+ Bump version.
+
+*freecraft-1.17.1 (28 Jun 2002)
+
+ 17 jul 2002; Jose Alberto Suárez López <bass@gentoo.org> freecraft-1.17.1.ebuild :
+ Added KEYWORDS.
+
+ 28 Jun 2002; Brandon Low <lostlogic@gentoo.org> freecraft-1.17.1.ebuild :
+ Ouch, that ebuild was a pain to update and make more reasonable...
+ Ahh, but now it is done... enjoy this updated version, now obeys
+ CFLAGS, and the setup is a bit more sane, plus uses the portage
+ functions for installation properly. Oh and I also version bumped
+ in the process :)
+
+*freecraft-1.17-r1 (15 Jun 2002)
+
+ 15 Jun 2002; Gabriele Giorgetti <stroke@gentoo.org> freecraft-1.17-r1.ebuild :
+ Initial release of a ebuild for the freecraft project.
+ Ebuild written by: Keith Gross <grossk@mail.tds.net>
diff --git a/games-strategy/freecraft/Manifest b/games-strategy/freecraft/Manifest
new file mode 100644
index 000000000000..0755e2d7e486
--- /dev/null
+++ b/games-strategy/freecraft/Manifest
@@ -0,0 +1,5 @@
+MD5 26fcca4042bfb33bb7fa5c0c79440982 ChangeLog 1467
+MD5 5d497d878af671fafdd6af9ba7355222 freecraft-1.18-r1.ebuild 1836
+MD5 c7be4012a9ba721244dec67d4abc2e53 files/1.18-setup.patch 1057
+MD5 6c27ce2218d486e19d552a2ae7781c17 files/digest-freecraft-1.18-r1 73
+MD5 1c4f64fa279e68a8cf4508221d6fffe4 files/playfreecraft 474
diff --git a/games-strategy/freecraft/files/1.18-setup.patch b/games-strategy/freecraft/files/1.18-setup.patch
new file mode 100644
index 000000000000..b92ff5f43335
--- /dev/null
+++ b/games-strategy/freecraft/files/1.18-setup.patch
@@ -0,0 +1,50 @@
+--- setup.orig 2003-06-20 13:07:06.000000000 -0400
++++ setup 2003-06-20 13:14:36.000000000 -0400
+@@ -31 +31 @@
+-EXTRA_CFLAGS="-DUNIT_ON_MAP -DNEW_AI -DUSE_LIBMODPLUG -DUSE_HP_FOR_XP -DNEW_FOW -DBUILDING_DESTROYED"
++EXTRA_CFLAGS="-DUNIT_ON_MAP -DNEW_AI -DUSE_LIBMODPLUG -DUSE_HP_FOR_XP -DNEW_FOW -DBUILDING_DESTROYED ${GENTOO_CFLAGS}"
+@@ -462 +462 @@
+- read $N VIDSEL
++ VIDSEL=S
+@@ -554 +554 @@
+-read $N ANSWER
++ANSWER=y
+@@ -575 +575 @@
+- read $N ANSWERA
++ ANSWERA=n
+@@ -598 +598 @@
+- read $N ANSWER2
++ ANSWER2=y
+@@ -621 +621 @@
+- read $N ANSWER
++ ANSWER=n
+@@ -641 +641 @@
+- read $N ANSWER
++ ANSWER=n
+@@ -674 +674 @@
+- read $N ANSWER
++ ANSWER=n
+@@ -696 +696 @@
+- read $N CDMode
++ CDMode=s
+@@ -780 +780 @@
+-read $N COMPOPT
++COMPOPT=O
+@@ -830 +830 @@
+- read $N DEBUGASK
++ DEBUGASK=n
+@@ -870 +870 @@
+- read $N OPTASK
++ OPTASK=N
+@@ -897 +897 @@
+- read $N TYPEASK
++ TYPEASK=
+@@ -913 +913 @@
+- read $N PROCASK
++ PROCASK=
+@@ -952 +952 @@
+- read $N PROCASK
++ PROCASK=
+@@ -1159 +1159 @@
+-read $N ANSWER
++ANSWER=n
diff --git a/games-strategy/freecraft/files/digest-freecraft-1.18-r1 b/games-strategy/freecraft/files/digest-freecraft-1.18-r1
new file mode 100644
index 000000000000..8720e43ef97e
--- /dev/null
+++ b/games-strategy/freecraft/files/digest-freecraft-1.18-r1
@@ -0,0 +1 @@
+MD5 e7926083835d9f913e4bfc7e1ab13cc1 freecraft-030311-src.tar.gz 1883435
diff --git a/games-strategy/freecraft/files/playfreecraft b/games-strategy/freecraft/files/playfreecraft
new file mode 100644
index 000000000000..542146588d6f
--- /dev/null
+++ b/games-strategy/freecraft/files/playfreecraft
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+if [ ! -d GENTOO_DATADIR/data/music ] ; then
+ echo "You have to install the data files in order to play!"
+ echo "You can either \`emerge freecraft-fcmp\` or install"
+ echo "the data files from the Warcraft CD."
+ echo
+ echo "To install off the warcraft CD do this:"
+ echo " 1 mount the cd at /mnt/cdrom"
+ echo " 2 run the script GENTOO_DATADIR/tools/build.sh"
+ echo " 3 leave cd in the drive to listen to music"
+ exit 1
+fi
+
+freecraft -d GENTOO_DATADIR/data "$@"
diff --git a/games-strategy/freecraft/freecraft-1.18-r1.ebuild b/games-strategy/freecraft/freecraft-1.18-r1.ebuild
new file mode 100644
index 000000000000..9459aba3ec20
--- /dev/null
+++ b/games-strategy/freecraft/freecraft-1.18-r1.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-strategy/freecraft/freecraft-1.18-r1.ebuild,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+inherit games eutils
+
+MY_P=${PN}-030311
+DESCRIPTION="realtime strategy game engine for games like Warcraft/Starcraft/etc."
+HOMEPAGE="http://freecraft.sourceforge.net/"
+SRC_URI="mirror://sourceforge/freecraft/${MY_P}-src.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND=">=media-libs/libpng-1.2.3
+ >=media-libs/libsdl-1.2.4
+ sys-libs/zlib"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${PV}-setup.patch
+ env GENTOO_CFLAGS="${CFLAGS}" ./setup || die
+}
+
+src_compile() {
+ make depend || die "depend generation failed"
+ make || die "build failed"
+}
+
+src_install() {
+ sed -e "s:GENTOO_DATADIR:${GAMES_DATADIR}/${PN}:" \
+ ${FILESDIR}/playfreecraft > ${T}/playfreecraft
+ dogamesbin freecraft ${T}/playfreecraft
+
+ exeinto ${GAMES_DATADIR}/${PN}/tools
+ doexe tools/{build.sh,aledoc,startool,wartool}
+
+ dodir ${GAMES_DATADIR}/${PN}/
+ cp -r data ${D}/${GAMES_DATADIR}/${PN}/
+
+ insinto ${GAMES_DATADIR}/${PN}/contrib
+ cp -r contrib ${D}/${GAMES_DATADIR}/${PN}/
+
+ dohtml -r doc
+ dodoc README
+
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ einfo "Freecraft is now installed but in order to actually play"
+ einfo "you will need to either use a Warcraft CD or install the"
+ einfo "freecraft-fcmp ebuild. To use a Warcraft CD:"
+ einfo " 1 mount the cd as /mnt/cdrom"
+ einfo " 2 cd ${GAMES_DATADIR}"
+ einfo " 3 run tools/build.sh"
+ einfo "This will extract the data files to the correct place."
+ einfo "Note that the CD is still needed for the music. To"
+ einfo "start a game just run \`playfreecraft\`."
+ einfo "For more info, review \`freecraft --help\`."
+
+ games_pkg_postinst
+}
diff --git a/games-strategy/freelords/ChangeLog b/games-strategy/freelords/ChangeLog
new file mode 100644
index 000000000000..87e46407058a
--- /dev/null
+++ b/games-strategy/freelords/ChangeLog
@@ -0,0 +1,13 @@
+# ChangeLog for app-games/freelords
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/freelords/ChangeLog,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+*freelords-0.2.3 (14 Jul 2003)
+
+ 14 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump. This one installs w/Makefile since they updated the package.
+
+*freelords-0.2.2 (11 Jul 2003)
+
+ 11 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by Anders Bruun Olsen <anders@bruun-olsen.net> #20098.
diff --git a/games-strategy/freelords/Manifest b/games-strategy/freelords/Manifest
new file mode 100644
index 000000000000..cbf8ea3d84e4
--- /dev/null
+++ b/games-strategy/freelords/Manifest
@@ -0,0 +1,6 @@
+MD5 4a88aa0693083d0e689177d8abad5220 ChangeLog 558
+MD5 7a316064d46f279e4bc9f25676b69673 freelords-0.2.2.ebuild 1181
+MD5 18b21849eda86099b392afffec47ae91 freelords-0.2.3.ebuild 1133
+MD5 bc10e58a3f3cedba5a5517c44e60a440 files/digest-freelords-0.2.2 67
+MD5 a129248166e9830dd7ab2bb7a72c9e89 files/digest-freelords-0.2.3 67
+MD5 ab1b855445f4e0f4ccbc46662e0bf206 files/freelordsrc 147
diff --git a/games-strategy/freelords/files/digest-freelords-0.2.2 b/games-strategy/freelords/files/digest-freelords-0.2.2
new file mode 100644
index 000000000000..fe94483117c3
--- /dev/null
+++ b/games-strategy/freelords/files/digest-freelords-0.2.2
@@ -0,0 +1 @@
+MD5 a0510a0e80925d1a9d03f1fcfe74e8a8 freelords-0.2.2.tar.gz 546134
diff --git a/games-strategy/freelords/files/digest-freelords-0.2.3 b/games-strategy/freelords/files/digest-freelords-0.2.3
new file mode 100644
index 000000000000..b9c5ac08cffa
--- /dev/null
+++ b/games-strategy/freelords/files/digest-freelords-0.2.3
@@ -0,0 +1 @@
+MD5 3e42e5ce8cf62a93b495adbf087bfbcd freelords-0.2.3.tar.gz 741550
diff --git a/games-strategy/freelords/files/freelordsrc b/games-strategy/freelords/files/freelordsrc
new file mode 100644
index 000000000000..9d1b4af8b717
--- /dev/null
+++ b/games-strategy/freelords/files/freelordsrc
@@ -0,0 +1,5 @@
+<?xml version="1.0"?>
+<freelordsrc version="1.0">
+ <d_datapath>GENTOO_DATADIR</d_datapath>
+ <d_savepath>GENTOO_SAVEDIR</d_savepath>
+</freelordsrc>
diff --git a/games-strategy/freelords/freelords-0.2.2.ebuild b/games-strategy/freelords/freelords-0.2.2.ebuild
new file mode 100644
index 000000000000..51d244298ef9
--- /dev/null
+++ b/games-strategy/freelords/freelords-0.2.2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/freelords/freelords-0.2.2.ebuild,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+inherit games
+
+DESCRIPTION="Free Warlords clone"
+HOMEPAGE="http://www.freelords.org/"
+SRC_URI="http://download.freelords.org/sources/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND="dev-libs/expat
+ >=media-libs/libsdl-1.2.0
+ >=media-libs/paragui-1.0.0
+ >=dev-libs/libsigc++-1.2.1
+ >=media-libs/sdl-image-1.2.0
+ >=sys-apps/sed-4"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}/src
+ sed -i \
+ -e "s:\.\./pic:${GAMES_DATADIR}/${PN}/pic:" \
+ -e "s:\.\./dat:${GAMES_DATADIR}/${PN}/dat:" \
+ `egrep '\.\./(pic|dat)' * -RIl`
+}
+
+src_compile() {
+ egamesconf --disable-paraguitest || die
+ make || die
+}
+
+src_install() {
+ dogamesbin src/freelords src/*.py
+ for lib in src/*/*.so ; do
+ dogameslib.so ${lib}
+ lib=`basename ${lib}`
+ dosym ${lib} ${GAMES_LIBDIR}/${lib}.${PV}
+ done
+
+ dodir ${GAMES_DATADIR}/${PN}
+ cp -rf dat pic ${D}/${GAMES_DATADIR}/${PN}/
+
+ dodoc AUTHORS BUGS ChangeLog DEPENDENCIES HACKER NEWS README TODO doc/*
+
+ prepgamesdirs
+}
diff --git a/games-strategy/freelords/freelords-0.2.3.ebuild b/games-strategy/freelords/freelords-0.2.3.ebuild
new file mode 100644
index 000000000000..0a3654506950
--- /dev/null
+++ b/games-strategy/freelords/freelords-0.2.3.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-strategy/freelords/freelords-0.2.3.ebuild,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+inherit games
+
+DESCRIPTION="Free Warlords clone"
+HOMEPAGE="http://www.freelords.org/"
+SRC_URI="http://download.freelords.org/sources/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND="dev-libs/expat
+ >=media-libs/libsdl-1.2.0
+ >=media-libs/paragui-1.0.0
+ >=dev-libs/libsigc++-1.2.1
+ >=media-libs/sdl-image-1.2.0
+ >=sys-apps/sed-4"
+
+src_unpack() {
+ unpack ${A}
+ sed -i "s:/etc/freelordsrc:${GAMES_SYSCONFDIR}/freelordsrc:" ${S}/src/{file,main}.cpp
+}
+
+src_compile() {
+ egamesconf --disable-paraguitest || die
+ emake || die
+}
+
+src_install() {
+ make install DESTDIR=${D} || die
+ insinto ${GAMES_SYSCONFDIR}
+ doins ${FILESDIR}/freelordsrc
+ dosed "s:GENTOO_DATADIR:${GAMES_DATADIR}/${PN}:" ${GAMES_SYSCONFDIR}/freelordsrc
+ dosed "s:GENTOO_SAVEDIR:${GAMES_STATEDIR}:" ${GAMES_SYSCONFDIR}/freelordsrc
+
+ dodoc AUTHORS BUGS ChangeLog DEPENDENCIES HACKER NEWS README TODO doc/*
+
+ prepgamesdirs
+}
diff --git a/games-strategy/lgeneral/ChangeLog b/games-strategy/lgeneral/ChangeLog
new file mode 100644
index 000000000000..e66ad5f9eb37
--- /dev/null
+++ b/games-strategy/lgeneral/ChangeLog
@@ -0,0 +1,42 @@
+# ChangeLog for app-games/lgeneral
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/lgeneral/ChangeLog,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+*lgeneral-1.1.1-r1 (12 Dec 2002)
+
+ 12 Dec 2002; Mike Frysinger <vapier@gentoo.org> :
+ Updated to use games eclass and hopefully close #6341
+
+*lgeneral-1.1.1 (15 Aug 2002)
+
+ 18 Oct 2002; Daniel Ahlberg <aliz@gentoo.org> lgeneral-1.1.1.ebuild :
+ Updated to mirror://sourceforge in SRC_URI.
+
+ 18 Aug 2002; Phil Bordelon <sunflare@gentoo.org> lgeneral-1.1.1.ebuild:
+ Noticed that the ebuild had the deprecated "*" keyword. Changed to
+ x86.
+
+ 15 Aug 2002; Phil Bordelon <sunflare@gentoo.org> lgeneral-1.1.1.ebuild:
+ Version bump. Also updated the lgeneral-data due to some missing files
+ in the lgeneral-data-1.1.2 package, with the help of Michael Speck (the
+ author of LGeneral).
+
+*lgeneral-1.1 (14 Jul 2002)
+
+ 18 Oct 2002; Daniel Ahlberg <aliz@gentoo.org> lgeneral-1.1.ebuild :
+ Updated to mirror://sourceforge in SRC_URI.
+
+ 18 Aug 2002; Phil Bordelon <sunflare@gentoo.org> lgeneral-1.1.ebuild:
+ Noticed that the ebuild had the deprecated "*" keyword. Changed to
+ x86.
+
+ 14 Jul 2002; Gabriele Giorgetti <stroke@gentoo.org> lgeneral-1.1.ebuild:
+ version bump
+
+*lgeneral-1.0.3 (15 Jun 2002)
+ 15 Jun 2002; Spider <spider@gentoo.org> lgeneral-1.0.3.ebuild:
+ new version :)
+
+*lgeneral-1.0.2 (10 Jun 2002)
+ 10 Jun 2002; Gabriele Giorgetti <stroke@gentoo.org> ChangeLog :
+ New package. Ebuild author: Phil Bordelon <phil@lsu.edu>
diff --git a/games-strategy/lgeneral/Manifest b/games-strategy/lgeneral/Manifest
new file mode 100644
index 000000000000..e8e11ab08c5b
--- /dev/null
+++ b/games-strategy/lgeneral/Manifest
@@ -0,0 +1,3 @@
+MD5 a11308aded108a0655d2bd32d877a2de ChangeLog 1570
+MD5 4a27b88e34433aa02ee511be9567fc56 lgeneral-1.1.1-r1.ebuild 940
+MD5 9bd18133cff27a13ac0c62fe2ebeba33 files/digest-lgeneral-1.1.1-r1 138
diff --git a/games-strategy/lgeneral/files/digest-lgeneral-1.1.1-r1 b/games-strategy/lgeneral/files/digest-lgeneral-1.1.1-r1
new file mode 100644
index 000000000000..6d5fa1852ebe
--- /dev/null
+++ b/games-strategy/lgeneral/files/digest-lgeneral-1.1.1-r1
@@ -0,0 +1,2 @@
+MD5 18b88069c91e7e7c75cc44a9aa90d0d9 lgeneral-1.1.1.tar.gz 588698
+MD5 786feb83f163834a22e3e85e1970145f lgeneral-data-1.1.3.tar.gz 1073781
diff --git a/games-strategy/lgeneral/lgeneral-1.1.1-r1.ebuild b/games-strategy/lgeneral/lgeneral-1.1.1-r1.ebuild
new file mode 100644
index 000000000000..76c3f810a54d
--- /dev/null
+++ b/games-strategy/lgeneral/lgeneral-1.1.1-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/lgeneral/lgeneral-1.1.1-r1.ebuild,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+inherit games
+
+DATA=lgeneral-data-1.1.3
+
+DESCRIPTION="A Panzer General clone written in SDL"
+HOMEPAGE="http://lgames.sourceforge.net/index.php?project=LGeneral"
+SRC_URI="mirror://sourceforge/lgeneral/${P}.tar.gz
+ mirror://sourceforge/lgeneral/${DATA}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND=">=media-libs/libsdl-1.2.4
+ >=media-libs/sdl-mixer-1.2.3"
+
+src_compile() {
+ egamesconf --datadir=${GAMES_DATADIR}/../
+ emake || die
+
+ cd ${WORKDIR}/${DATA}
+ egamesconf --datadir=${GAMES_DATADIR}/../
+ emake || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+ dodoc AUTHORS COPYING ChangeLog INSTALL README TODO
+
+ cd ${WORKDIR}/${DATA}
+ make DESTDIR=${D} install || die
+
+ prepgamesdirs
+}
diff --git a/games-strategy/liquidwar/ChangeLog b/games-strategy/liquidwar/ChangeLog
new file mode 100644
index 000000000000..63ab07443fd6
--- /dev/null
+++ b/games-strategy/liquidwar/ChangeLog
@@ -0,0 +1,37 @@
+# ChangeLog for app-games/liquidwar
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/liquidwar/ChangeLog,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+*liquidwar-5.5.9 (05 Jun 2003)
+
+ 05 Jun 2003; Martin Holzer <mholzer@gentoo.org> liquidwar-5.5.9.ebuild:
+ Version bumped. closes #19962
+
+*liquidwar-5.5.8 (05 Mar 2003)
+
+ 05 Mar 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump #15292.
+
+*liquidwar-5.5.7 (12 Dec 2002)
+
+ 12 Dec 2002; Mike Frysinger <vapier@gentoo.org> :
+ games eclass support and version bump #9018.
+
+*liquidwar-5.5.6 (01 Oct 2002)
+
+ 1 Oct 2002; Matthew Turk <satai@gentoo.org> liquidwar-5.5.6.ebuild:
+ Fix tetex errors. Now PS and PDF docs aren't built; but info still is.
+
+*liquidwar-5.5.6 (18 Jul 2002)
+
+ 18 Jul 2002; Spider <spider@gentoo.org> liquidwar-5.5.6.ebuild:
+ update teh version, just a copy work.
+
+*liquidwar-5.5.3.ebuild (17 julio 2002)
+
+ 17 jul 2002; Jose Alberto Suárez López <bass@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-strategy/liquidwar/Manifest b/games-strategy/liquidwar/Manifest
new file mode 100644
index 000000000000..11d13becf01e
--- /dev/null
+++ b/games-strategy/liquidwar/Manifest
@@ -0,0 +1,5 @@
+MD5 6f6adf93a11eb27624ca18082f1d3f15 ChangeLog 1405
+MD5 e52e783ea072f42cc767331c0c5ab705 liquidwar-5.5.8.ebuild 716
+MD5 415cce646738e3d302568eca6a48535b liquidwar-5.5.9.ebuild 836
+MD5 2dd2c7dde8d981f363fad2bf89ec36db files/digest-liquidwar-5.5.8 68
+MD5 02931807e4cf05dc7adf7d9623aaac31 files/digest-liquidwar-5.5.9 68
diff --git a/games-strategy/liquidwar/files/digest-liquidwar-5.5.8 b/games-strategy/liquidwar/files/digest-liquidwar-5.5.8
new file mode 100644
index 000000000000..9a8b503ea9c8
--- /dev/null
+++ b/games-strategy/liquidwar/files/digest-liquidwar-5.5.8
@@ -0,0 +1 @@
+MD5 cb51cdea67cdbde02bc8dab4b3ac327c liquidwar-5.5.8.tar.gz 1575456
diff --git a/games-strategy/liquidwar/files/digest-liquidwar-5.5.9 b/games-strategy/liquidwar/files/digest-liquidwar-5.5.9
new file mode 100644
index 000000000000..53971d05f54f
--- /dev/null
+++ b/games-strategy/liquidwar/files/digest-liquidwar-5.5.9
@@ -0,0 +1 @@
+MD5 26d2c796d0a94d905e88f45770b460c6 liquidwar-5.5.9.tar.gz 1674585
diff --git a/games-strategy/liquidwar/liquidwar-5.5.8.ebuild b/games-strategy/liquidwar/liquidwar-5.5.8.ebuild
new file mode 100644
index 000000000000..838e262da13c
--- /dev/null
+++ b/games-strategy/liquidwar/liquidwar-5.5.8.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/liquidwar/liquidwar-5.5.8.ebuild,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+inherit games
+
+DESCRIPTION="unique multiplayer wargame"
+HOMEPAGE="http://www.ufoot.org/liquidwar/"
+SRC_URI="http://freesoftware.fsf.org/download/liquidwar/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND=">media-libs/allegro-4.0"
+
+src_compile() {
+ econf --disable-doc-ps --disable-doc-pdf || die
+ emake || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+
+ cd ${D}/usr/games
+ mkdir bin
+ mv liquidwar liquidwar-server bin/
+ rm -rf ${D}/usr/bin
+
+ prepgamesdirs
+}
diff --git a/games-strategy/liquidwar/liquidwar-5.5.9.ebuild b/games-strategy/liquidwar/liquidwar-5.5.9.ebuild
new file mode 100644
index 000000000000..233d31852484
--- /dev/null
+++ b/games-strategy/liquidwar/liquidwar-5.5.9.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-strategy/liquidwar/liquidwar-5.5.9.ebuild,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+inherit games flag-o-matic
+
+DESCRIPTION="unique multiplayer wargame"
+HOMEPAGE="http://www.ufoot.org/liquidwar/"
+SRC_URI="http://freesoftware.fsf.org/download/liquidwar/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND=">media-libs/allegro-4.0"
+
+src_compile() {
+ # Fixes build problem with gcc3 and -march=pentium4
+ replace-flags "-march=pentium4" "-march=pentium3"
+
+ econf --disable-doc-ps --disable-doc-pdf || die
+ emake || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+
+ cd ${D}/usr/games
+ mkdir bin
+ mv liquidwar liquidwar-server bin/
+ rm -rf ${D}/usr/bin
+
+ prepgamesdirs
+}
diff --git a/games-strategy/scorched3d/ChangeLog b/games-strategy/scorched3d/ChangeLog
new file mode 100644
index 000000000000..0a855e7a31dd
--- /dev/null
+++ b/games-strategy/scorched3d/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for app-games/scorched3d
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/scorched3d/ChangeLog,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+*scorched3d-35 (06 Aug 2003)
+
+ 06 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
+ Add patch to compile on 3.3
+
+ 06 Aug 2003; Michael Sterrett <msterret@gentoo.org> scorched3d-35.ebuild:
+ initial commit (bug 25846)
+
diff --git a/games-strategy/scorched3d/Manifest b/games-strategy/scorched3d/Manifest
new file mode 100644
index 000000000000..69277d753793
--- /dev/null
+++ b/games-strategy/scorched3d/Manifest
@@ -0,0 +1,4 @@
+MD5 79dd83cf72c04762c0db8fac7c8712b0 files/35-gcc3.patch 1131
+MD5 56dd0f8a5f1c10a9774a30fa2973a15d files/digest-scorched3d-35 71
+MD5 da3aa9d6c3e8372c764cf99907cbe2c8 ChangeLog 441
+MD5 f3ffeafa1a5c1544a95086159cae57d3 scorched3d-35.ebuild 1360
diff --git a/games-strategy/scorched3d/files/35-gcc3.patch b/games-strategy/scorched3d/files/35-gcc3.patch
new file mode 100644
index 000000000000..81ff4bea5027
--- /dev/null
+++ b/games-strategy/scorched3d/files/35-gcc3.patch
@@ -0,0 +1,24 @@
+diff -ur -x '*.o' scorched-orig/src/common/SoundStore.h scorched/src/common/SoundStore.h
+--- scorched-orig/src/common/SoundStore.h 2003-07-30 17:41:28.000000000 -0400
++++ scorched/src/common/SoundStore.h 2003-08-06 20:41:23.056115008 -0400
+@@ -29,7 +29,7 @@
+ #include <string>
+
+ #define CACHE_SOUND(var, filename) \
+- static SoundBuffer* ##var = SoundStore::instance()->fetchOrCreateBuffer(##filename);
++ static SoundBuffer* var = SoundStore::instance()->fetchOrCreateBuffer(filename);
+
+ class SoundStore
+ {
+diff -ur -x '*.o' scorched-orig/src/engine/ActionMeta.h scorched/src/engine/ActionMeta.h
+--- scorched-orig/src/engine/ActionMeta.h 2003-07-30 17:41:29.000000000 -0400
++++ scorched/src/engine/ActionMeta.h 2003-08-06 20:36:57.001561448 -0400
+@@ -29,7 +29,7 @@
+
+ #define REGISTER_ACTION_HEADER(x) \
+ virtual const char *getActionName() { return #x ; } \
+- ##x *getActionCopy() { return new x ; } \
++ x *getActionCopy() { return new x ; } \
+ virtual bool getReferenced() { return true; }
+ #define REGISTER_ACTION_SOURCE(x) \
+ struct META_##x { META_##x() { ActionMetaRegistration::addMap(#x , new x ); } }; \
diff --git a/games-strategy/scorched3d/files/digest-scorched3d-35 b/games-strategy/scorched3d/files/digest-scorched3d-35
new file mode 100644
index 000000000000..cec5c548a432
--- /dev/null
+++ b/games-strategy/scorched3d/files/digest-scorched3d-35
@@ -0,0 +1 @@
+MD5 c43507e805b482cc0a37b8cd37a3a26b Scorched3D-35-src.tar.gz 10798751
diff --git a/games-strategy/scorched3d/scorched3d-35.ebuild b/games-strategy/scorched3d/scorched3d-35.ebuild
new file mode 100644
index 000000000000..d2b8c4818514
--- /dev/null
+++ b/games-strategy/scorched3d/scorched3d-35.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/scorched3d/scorched3d-35.ebuild,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+inherit games gcc eutils
+
+DESCRIPTION="Multi-player tank battle in 3D (OpenGL)"
+HOMEPAGE="http://www.scorched3d.co.uk/"
+SRC_URI="mirror://sourceforge/scorched3d/Scorched3D-${PV}-src.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+
+RDEPEND=">=media-libs/libsdl-1.0.1
+ media-libs/sdl-net
+ media-libs/sdl-mixer
+ >=x11-libs/wxGTK-2.3.4
+ dev-games/ode
+ >=sys-libs/zlib-1.1.4"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
+
+S=${WORKDIR}/scorched
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ [ "`gcc-version`" == "3.3" ] && epatch ${FILESDIR}/${PV}-gcc3.patch
+}
+
+src_compile() {
+ # yeah, I know runningi it twice, but egamesconf has a lot more stuff.
+ ./autogen.sh
+ egamesconf --exec_prefix=${GAMES_PREFIX} --datadir=${GAMES_DATADIR}/${PN} \
+ || die
+
+ sed -i \
+ -e "s:/usr/games/scorched3d/:${GAMES_DATADIR}/${PN}/:" \
+ src/scorched/Makefile || die "sed src/scorched/Makefile failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ dogamesbin src/scorched/scorched3d
+ dodoc AUTHORS README TODO documentation/*.txt
+ dodir ${GAMES_DATADIR}/${PN} || die "dodir failed"
+ cp -R data/ ${D}${GAMES_DATADIR}/${PN} || die "cp failed"
+ prepgamesdirs
+}
diff --git a/games-strategy/spacehulk/ChangeLog b/games-strategy/spacehulk/ChangeLog
new file mode 100644
index 000000000000..f627b868ac0a
--- /dev/null
+++ b/games-strategy/spacehulk/ChangeLog
@@ -0,0 +1,19 @@
+# ChangeLog for app-games/spacehulk
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/spacehulk/ChangeLog,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+*spacehulk-1.4.5 (28 Aug 2003)
+
+ 28 Aug 2003; Michael Sterrett <msterret@gentoo.org> spacehulk-1.4.5.ebuild:
+ version bump
+
+*spacehulk-1.4.4 (06 Aug 2003)
+
+ 06 Aug 2003; Michael Sterrett <msterret@gentoo.org> spacehulk-1.4.4.ebuild:
+ version bump
+
+*spacehulk-1.4.3 (02 Aug 2003)
+
+ 02 Aug 2003; Michael Sterrett <msterret@gentoo.org> spacehulk-1.4.3.ebuild:
+ initial commit; ebuild based on the one from Rob Cakebread (bug 24845)
+
diff --git a/games-strategy/spacehulk/Manifest b/games-strategy/spacehulk/Manifest
new file mode 100644
index 000000000000..6cdfb59a1f84
--- /dev/null
+++ b/games-strategy/spacehulk/Manifest
@@ -0,0 +1,7 @@
+MD5 584a5d08b2f8e97297304d0d7b3a7331 spacehulk-1.4.3.ebuild 922
+MD5 c878af969bd0d2a56c2005c9169f09cc ChangeLog 658
+MD5 977cc09b18a1dc97734d79d7133abb27 spacehulk-1.4.4.ebuild 922
+MD5 3a170f7f61961aa761f678fa919929a8 spacehulk-1.4.5.ebuild 922
+MD5 3da58dc2f4e345288ee5bbe8058f93be files/digest-spacehulk-1.4.3 143
+MD5 ae56cfc18bb656e1e2e006662d51af3a files/digest-spacehulk-1.4.4 143
+MD5 53ae55592eaade1f769f85a7921384cb files/digest-spacehulk-1.4.5 143
diff --git a/games-strategy/spacehulk/files/digest-spacehulk-1.4.3 b/games-strategy/spacehulk/files/digest-spacehulk-1.4.3
new file mode 100644
index 000000000000..292e79806b49
--- /dev/null
+++ b/games-strategy/spacehulk/files/digest-spacehulk-1.4.3
@@ -0,0 +1,2 @@
+MD5 7bdc457d76be495df9ae28038acaaeca spacehulk-1.4.3.tar.gz 876245
+MD5 2d60fcf80e726656121cf6e6ef3a52f9 spacehulk-themespack-1.0.tar.gz 198051
diff --git a/games-strategy/spacehulk/files/digest-spacehulk-1.4.4 b/games-strategy/spacehulk/files/digest-spacehulk-1.4.4
new file mode 100644
index 000000000000..b9f95cf33fac
--- /dev/null
+++ b/games-strategy/spacehulk/files/digest-spacehulk-1.4.4
@@ -0,0 +1,2 @@
+MD5 dc7e8627808803eea1adc3ebe24bb02b spacehulk-1.4.4.tar.gz 878310
+MD5 2d60fcf80e726656121cf6e6ef3a52f9 spacehulk-themespack-1.0.tar.gz 198051
diff --git a/games-strategy/spacehulk/files/digest-spacehulk-1.4.5 b/games-strategy/spacehulk/files/digest-spacehulk-1.4.5
new file mode 100644
index 000000000000..54895b0c1b00
--- /dev/null
+++ b/games-strategy/spacehulk/files/digest-spacehulk-1.4.5
@@ -0,0 +1,2 @@
+MD5 a4164d35d1e1955457aa079735061888 spacehulk-1.4.5.tar.gz 887744
+MD5 2d60fcf80e726656121cf6e6ef3a52f9 spacehulk-themespack-1.0.tar.gz 198051
diff --git a/games-strategy/spacehulk/spacehulk-1.4.3.ebuild b/games-strategy/spacehulk/spacehulk-1.4.3.ebuild
new file mode 100644
index 000000000000..4d0e0b4d3f63
--- /dev/null
+++ b/games-strategy/spacehulk/spacehulk-1.4.3.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/spacehulk/spacehulk-1.4.3.ebuild,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+inherit games
+
+DESCRIPTION="A boardgame in the world of Warhammer 40k"
+HOMEPAGE="http://perso.enst.fr/~vinot/spacehulk/"
+SRC_URI="http://freesoftware.fsf.org/download/spacehulk/main.pkg/${PV}/${P}.tar.gz
+ http://freesoftware.fsf.org/download/spacehulk/themespack.pkg/1.0/spacehulk-themespack-1.0.tar.gz"
+LICENSE="GPL-2"
+KEYWORDS="x86"
+SLOT="0"
+IUSE="xinerama"
+
+DEPEND=">=x11-libs/qt-3
+ sys-libs/zlib
+ media-libs/libpng
+ media-libs/jpeg
+ media-libs/nas"
+
+src_compile() {
+ egamesconf `use_with xinerama` || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ egamesinstall || die
+ cp -R ../themes/* ${D}${GAMES_DATADIR}/${PN}/themes
+ dodoc AUTHORS ChangeLog README TODO
+ prepgamesdirs
+}
diff --git a/games-strategy/spacehulk/spacehulk-1.4.4.ebuild b/games-strategy/spacehulk/spacehulk-1.4.4.ebuild
new file mode 100644
index 000000000000..c1bbef5dc4ca
--- /dev/null
+++ b/games-strategy/spacehulk/spacehulk-1.4.4.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/spacehulk/spacehulk-1.4.4.ebuild,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+inherit games
+
+DESCRIPTION="A boardgame in the world of Warhammer 40k"
+HOMEPAGE="http://perso.enst.fr/~vinot/spacehulk/"
+SRC_URI="http://freesoftware.fsf.org/download/spacehulk/main.pkg/${PV}/${P}.tar.gz
+ http://freesoftware.fsf.org/download/spacehulk/themespack.pkg/1.0/spacehulk-themespack-1.0.tar.gz"
+LICENSE="GPL-2"
+KEYWORDS="x86"
+SLOT="0"
+IUSE="xinerama"
+
+DEPEND=">=x11-libs/qt-3
+ sys-libs/zlib
+ media-libs/libpng
+ media-libs/jpeg
+ media-libs/nas"
+
+src_compile() {
+ egamesconf `use_with xinerama` || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ egamesinstall || die
+ cp -R ../themes/* ${D}${GAMES_DATADIR}/${PN}/themes
+ dodoc AUTHORS ChangeLog README TODO
+ prepgamesdirs
+}
diff --git a/games-strategy/spacehulk/spacehulk-1.4.5.ebuild b/games-strategy/spacehulk/spacehulk-1.4.5.ebuild
new file mode 100644
index 000000000000..1172314646e4
--- /dev/null
+++ b/games-strategy/spacehulk/spacehulk-1.4.5.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/spacehulk/spacehulk-1.4.5.ebuild,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+inherit games
+
+DESCRIPTION="A boardgame in the world of Warhammer 40k"
+HOMEPAGE="http://perso.enst.fr/~vinot/spacehulk/"
+SRC_URI="http://freesoftware.fsf.org/download/spacehulk/main.pkg/${PV}/${P}.tar.gz
+ http://freesoftware.fsf.org/download/spacehulk/themespack.pkg/1.0/spacehulk-themespack-1.0.tar.gz"
+LICENSE="GPL-2"
+KEYWORDS="x86"
+SLOT="0"
+IUSE="xinerama"
+
+DEPEND=">=x11-libs/qt-3
+ sys-libs/zlib
+ media-libs/libpng
+ media-libs/jpeg
+ media-libs/nas"
+
+src_compile() {
+ egamesconf `use_with xinerama` || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ egamesinstall || die
+ cp -R ../themes/* ${D}${GAMES_DATADIR}/${PN}/themes
+ dodoc AUTHORS ChangeLog README TODO
+ prepgamesdirs
+}
diff --git a/games-strategy/uqm/ChangeLog b/games-strategy/uqm/ChangeLog
new file mode 100644
index 000000000000..ddc114556d23
--- /dev/null
+++ b/games-strategy/uqm/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-games/uqm
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/uqm/ChangeLog,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+*uqm-0.2 (09 Jul 2003)
+
+ 09 Jul 2003; Michael Sterrett <msterret@gentoo.org> uqm-0.2.ebuild:
+ initial commit. ebuild based on the one provided by Regan Myers in bug 12153
+ and vapier's continued work on it as well.
+
diff --git a/games-strategy/uqm/Manifest b/games-strategy/uqm/Manifest
new file mode 100644
index 000000000000..7b6ebbac0982
--- /dev/null
+++ b/games-strategy/uqm/Manifest
@@ -0,0 +1,3 @@
+MD5 b64f4e5554e306df836627f4b59c7d5c uqm-0.2.ebuild 2012
+MD5 4167035a011da1a29455be82f9cdf591 ChangeLog 430
+MD5 c11ab9abbb79bb9cf614402daa6d3bcf files/digest-uqm-0.2 261
diff --git a/games-strategy/uqm/files/digest-uqm-0.2 b/games-strategy/uqm/files/digest-uqm-0.2
new file mode 100644
index 000000000000..250e644f3faa
--- /dev/null
+++ b/games-strategy/uqm/files/digest-uqm-0.2
@@ -0,0 +1,4 @@
+MD5 f7760aa305b743304504e04df742f57e uqm-0.2-3domusic.zip 18894697
+MD5 ad4de1c9318d9196ebf332d935bb6032 uqm-0.2-content.zip 12511149
+MD5 f7213e8db6ca4bca4ddfdeed8a7ca0d6 uqm-0.2-voice.zip 113699708
+MD5 8b95dda6ed73802cee18a44f56322076 uqm-0.2-source.tgz 826616
diff --git a/games-strategy/uqm/uqm-0.2.ebuild b/games-strategy/uqm/uqm-0.2.ebuild
new file mode 100644
index 000000000000..f619223f4a00
--- /dev/null
+++ b/games-strategy/uqm/uqm-0.2.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/uqm/uqm-0.2.ebuild,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+inherit games
+
+DESCRIPTION="Port of Star Control 2"
+HOMEPAGE="http://sc2.sourceforge.net/"
+SRC_URI="mirror://sourceforge/sc2/${P}-3domusic.zip
+ mirror://sourceforge/sc2/${P}-content.zip
+ mirror://sourceforge/sc2/${P}-voice.zip
+ mirror://sourceforge/sc2/${P}-source.tgz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 ppc"
+
+RDEPEND="virtual/glibc
+ virtual/x11
+ media-libs/libvorbis
+ media-libs/jpeg
+ media-libs/libogg
+ media-libs/libpng
+ media-libs/libsdl
+ media-libs/libvorbis
+ media-libs/sdl-image
+ sys-libs/zlib"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4
+ sys-apps/textutils
+ app-arch/unzip"
+
+S=${WORKDIR}/${P}-source
+
+src_unpack() {
+ local myopengl
+
+ unpack ${P}-source.tgz
+
+ mkdir ${S}/content && \
+ cd ${S}/content && \
+ unpack ${P}-{3domusic,content,voice}.zip
+
+ cd ${S}
+ use opengl \
+ && myopengl=opengl \
+ || myopengl=pure
+ cat << EOF > config.state
+CHOICE_debug_VALUE='nodebug'
+CHOICE_graphics_VALUE='${myopengl}'
+CHOICE_sound_VALUE='mixsdl'
+INPUT_install_prefix_VALUE='${GAMES_PREFIX}'
+INPUT_install_bindir_VALUE='\$prefix/bin'
+INPUT_install_libdir_VALUE='\$prefix/lib'
+EOF
+ # Take out the read so we can be non-interactive.
+ sed -i \
+ -e '/read CHOICE/d' build/unix/menu_functions || \
+ die "sed menu_functions failed"
+
+ # support the user's CFLAGS.
+ sed -i \
+ -e "s/-O3/${CFLAGS}/" build/unix/build.config || \
+ die "sed build.config failed"
+}
+
+src_compile() {
+ ./build.sh uqm || die
+}
+
+src_install() {
+ # Now that we've compiled in the right thing, change the variables
+ # so it installs in the right place.
+ sed -i \
+ -e "s:${GAMES_PREFIX}:${D}${GAMES_PREFIX}:" build.vars || \
+ die "sed build.vars failed"
+ ./build.sh uqm install || die
+
+ dodoc AUTHORS Contributing README COPYING TODO ChangeLog WhatsNew doc/users/manual.txt
+ docinto devel
+ dodoc doc/devel/*
+
+ prepgamesdirs
+}
diff --git a/games-strategy/xarchon/ChangeLog b/games-strategy/xarchon/ChangeLog
new file mode 100644
index 000000000000..b75a332c0499
--- /dev/null
+++ b/games-strategy/xarchon/ChangeLog
@@ -0,0 +1,13 @@
+# ChangeLog for app-games/xarchon
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/xarchon/ChangeLog,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+*xarchon-0.60 (31 Jul 2003)
+
+ 31 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Development version ... pretty messed up src but ppl want it ;)
+
+*xarchon-0.50 (29 Jul 2003)
+
+ 29 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me for Guru.
diff --git a/games-strategy/xarchon/Manifest b/games-strategy/xarchon/Manifest
new file mode 100644
index 000000000000..4aa06213887b
--- /dev/null
+++ b/games-strategy/xarchon/Manifest
@@ -0,0 +1,5 @@
+MD5 689a185cbdfa51ad46911e3703f8e7bc xarchon-0.50.ebuild 881
+MD5 8bfbd70aee2831c6c7a4587cad2f6011 files/digest-xarchon-0.50 64
+MD5 50a9df5dead133494d2506a91264661e files/digest-xarchon-0.60 133
+MD5 7b47ee1986da190e2e61cd6c95042ec6 ChangeLog 497
+MD5 e41139467a7a76e6ff4a047cc5d28bea xarchon-0.60.ebuild 1126
diff --git a/games-strategy/xarchon/files/digest-xarchon-0.50 b/games-strategy/xarchon/files/digest-xarchon-0.50
new file mode 100644
index 000000000000..b7add5bf6d29
--- /dev/null
+++ b/games-strategy/xarchon/files/digest-xarchon-0.50
@@ -0,0 +1 @@
+MD5 491dea5b4e61ed13cd988d1c184a8ef0 xarchon-0.50.tar.gz 371299
diff --git a/games-strategy/xarchon/files/digest-xarchon-0.60 b/games-strategy/xarchon/files/digest-xarchon-0.60
new file mode 100644
index 000000000000..404db7d3c26c
--- /dev/null
+++ b/games-strategy/xarchon/files/digest-xarchon-0.60
@@ -0,0 +1,2 @@
+MD5 d7f3fc32b2ddbbfb8578a3366400c5c6 xarchon-0.60.tar.gz 435088
+MD5 299edc5edf0d0ded68801e1beaa3164e xarchon-0.60-gtk.patch.bz2 3541
diff --git a/games-strategy/xarchon/xarchon-0.50.ebuild b/games-strategy/xarchon/xarchon-0.50.ebuild
new file mode 100644
index 000000000000..a1912f34aceb
--- /dev/null
+++ b/games-strategy/xarchon/xarchon-0.50.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/xarchon/xarchon-0.50.ebuild,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+inherit games
+
+DESCRIPTION="modelled after the golden oldie Archon game"
+HOMEPAGE="http://xarchon.seul.org/"
+SRC_URI="ftp://ftp.seul.org/pub/xarchon/${P}.tar.gz
+ http://xarchon.seul.org/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="esd joystick"
+
+DEPEND="virtual/x11
+ =x11-libs/gtk+-1*
+ esd? ( media-sound/esound )"
+
+src_compile() {
+ local mysndconf
+ [ `use esd` ] \
+ && mysndconf="--with-esd-prefix=/usr" \
+ || mysndconf="--disable-sound"
+ egamesconf \
+ --enable-network \
+ `use_enable joystick` \
+ ${mysndconf} \
+ || die
+ emake || die
+}
+
+src_install() {
+ egamesinstall || die
+ dodoc AUTHORS ChangeLog NEWS README
+ prepgamesdirs
+}
diff --git a/games-strategy/xarchon/xarchon-0.60.ebuild b/games-strategy/xarchon/xarchon-0.60.ebuild
new file mode 100644
index 000000000000..f61e5de7e61c
--- /dev/null
+++ b/games-strategy/xarchon/xarchon-0.60.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-strategy/xarchon/xarchon-0.60.ebuild,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+inherit games eutils
+
+DESCRIPTION="modelled after the golden oldie Archon game"
+HOMEPAGE="http://xarchon.seul.org/"
+SRC_URI="ftp://ftp.seul.org/pub/xarchon/${P}.tar.gz
+ http://xarchon.seul.org/${P}.tar.gz
+ mirror://gentoo/${P}-gtk.patch.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="esd joystick" # also has qt support but it fails :/
+
+DEPEND="virtual/x11
+ =x11-libs/gtk+-1*
+ <dev-util/glade-2
+ esd? ( media-sound/esound )"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${WORKDIR}/${P}-gtk.patch
+ sed -i 's:gtk12-config:gtk-config:' configure
+}
+
+src_compile() {
+ local mysndconf
+ [ `use esd` ] \
+ && mysndconf="--with-esd-prefix=/usr" \
+ || mysndconf="--disable-sound"
+ egamesconf \
+ --enable-network \
+ `use_enable joystick` \
+ --with-default-gtk \
+ ${mysndconf} \
+ || die
+ emake || die
+}
+
+src_install() {
+ egamesinstall || die
+ dodoc AUTHORS ChangeLog NEWS README
+ prepgamesdirs
+}
diff --git a/games-strategy/xscorch/ChangeLog b/games-strategy/xscorch/ChangeLog
new file mode 100644
index 000000000000..600bc000ec52
--- /dev/null
+++ b/games-strategy/xscorch/ChangeLog
@@ -0,0 +1,36 @@
+# ChangeLog for app-games/xscorch
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/xscorch/ChangeLog,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+*xscorch-0.1.16_rc2 (05 Sep 2003)
+
+ 05 Sep 2003; Michael Sterrett <msterret@gentoo.org>
+ xscorch-0.1.16_rc2.ebuild:
+ Added the development patched version for people to try out.
+ Some people are claiming that this version is more stable for them.
+
+*xscorch-0.1.15 (12 Jul 2002)
+
+ 21 Jun 2003; Mike Frysinger <vapier@gentoo.org> :
+ Added optional support for gtk/gnome/sound #18512.
+
+ 04 May 2003; Graham Forest <vladimir@gentoo.org> xscorch-0.1.15.ebuild:
+ set ~ppc in keywords
+
+ 17 jul 2002; Jose Alberto Suárez López <bass@gentoo.org> xscorch-0.1.15.ebuild :
+ Added KEYWORDS.
+
+ 12 Jul 2002; Ryan Phillips <rphillips@gentoo.org> xscorch-0.1.15.ebuild:
+
+ New version.
+
+*xscorch-0.1.14 (15 Jun 2002)
+
+ 17 jul 2002; Jose Alberto Suárez López <bass@gentoo.org> xscorch-0.1.14.ebuild :
+ Added KEYWORDS.
+
+ 15 Jun 2002; Gabriele Giorgetti <stroke@gentoo.org> ChangeLog:
+
+ Initial import.
+ Ebuild Author M. Walker <mwalker@kydance.net>
+
diff --git a/games-strategy/xscorch/Manifest b/games-strategy/xscorch/Manifest
new file mode 100644
index 000000000000..cd68637dbcb6
--- /dev/null
+++ b/games-strategy/xscorch/Manifest
@@ -0,0 +1,5 @@
+MD5 cdf1d489def308bede457b7e960ad3c8 ChangeLog 1170
+MD5 ade38f1e0338ac5c7ceb0d6b04957bf1 xscorch-0.1.15.ebuild 1029
+MD5 df519f15bd484f55656ca4c04bbeeb7a xscorch-0.1.16_rc2.ebuild 1268
+MD5 55df04a5274350d9163f058c65509b99 files/digest-xscorch-0.1.15 66
+MD5 21b333517732c38ac13aff581866c2ba files/digest-xscorch-0.1.16_rc2 145
diff --git a/games-strategy/xscorch/files/digest-xscorch-0.1.15 b/games-strategy/xscorch/files/digest-xscorch-0.1.15
new file mode 100644
index 000000000000..7f9612beb38d
--- /dev/null
+++ b/games-strategy/xscorch/files/digest-xscorch-0.1.15
@@ -0,0 +1 @@
+MD5 6bea7bfae61355cfedf2c673411bbe33 xscorch-0.1.15.tar.gz 508528
diff --git a/games-strategy/xscorch/files/digest-xscorch-0.1.16_rc2 b/games-strategy/xscorch/files/digest-xscorch-0.1.16_rc2
new file mode 100644
index 000000000000..f9e0ed5bdd2b
--- /dev/null
+++ b/games-strategy/xscorch/files/digest-xscorch-0.1.16_rc2
@@ -0,0 +1,2 @@
+MD5 6bea7bfae61355cfedf2c673411bbe33 xscorch-0.1.15.tar.gz 508528
+MD5 e7741ee1b7fbbe2557f8170ef251962a xscorch-0.1.15-0.1.16pre2.patch.gz 157727
diff --git a/games-strategy/xscorch/xscorch-0.1.15.ebuild b/games-strategy/xscorch/xscorch-0.1.15.ebuild
new file mode 100644
index 000000000000..edb30d7769bf
--- /dev/null
+++ b/games-strategy/xscorch/xscorch-0.1.15.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/xscorch/xscorch-0.1.15.ebuild,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+inherit games
+
+DESCRIPTION="clone of the classic DOS game, 'Scorched Earth'"
+SRC_URI="http://chaos2.org/xscorch/${P}.tar.gz
+ http://utoxin.kydance.net/xscorch/${P}.tar.gz"
+HOMEPAGE="http://chaos2.org/xscorch/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 ppc alpha"
+IUSE="gtk mikmod readline gnome"
+
+DEPEND="gtk? ( =x11-libs/gtk+-1* )
+ mikmod? ( media-libs/libmikmod )
+ readline? ( sys-libs/readline )
+ gnome? ( gnome-base/gnome-libs )"
+
+src_compile() {
+ local myconf=""
+ use mikmod \
+ && myconf="--enable-sound=yes" \
+ || myconf="--enable-sound=no"
+ egamesconf \
+ --enable-network \
+ --with-readline=maybe \
+ `use_with gtk` \
+ `use_with gnome` \
+ ${myconf} \
+ || die
+ emake || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+ dodoc AUTHORS ChangeLog NEWS README TODO
+ prepgamesdirs
+}
diff --git a/games-strategy/xscorch/xscorch-0.1.16_rc2.ebuild b/games-strategy/xscorch/xscorch-0.1.16_rc2.ebuild
new file mode 100644
index 000000000000..c95fb5e227f0
--- /dev/null
+++ b/games-strategy/xscorch/xscorch-0.1.16_rc2.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-strategy/xscorch/xscorch-0.1.16_rc2.ebuild,v 1.1 2003/09/10 05:27:31 vapier Exp $
+
+inherit games
+
+S="${WORKDIR}/xscorch-0.1.15"
+DESCRIPTION="clone of the classic DOS game, 'Scorched Earth'"
+HOMEPAGE="http://chaos2.org/xscorch/"
+SRC_URI="http://chaos2.org/xscorch/${PN}-0.1.15.tar.gz
+ http://utoxin.kydance.net/xscorch/${PN}-0.1.15.tar.gz
+ http://chaos2.org/xscorch/xscorch-0.1.15-0.1.16pre2.patch.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc ~alpha"
+SLOT="0"
+
+IUSE="gtk mikmod readline gnome"
+
+DEPEND="virtual/x11
+ gtk? ( =x11-libs/gtk+-1* )
+ mikmod? ( >=media-libs/libmikmod-3.1.5 )
+ readline? ( sys-libs/readline )
+ gnome? ( gnome-base/gnome-libs )"
+
+src_unpack() {
+ unpack ${A}
+ cd ${WORKDIR}
+ epatch xscorch-0.1.15-0.1.16pre2.patch
+}
+
+src_compile() {
+ local myconf=""
+ use mikmod \
+ && myconf="--enable-sound=yes" \
+ || myconf="--enable-sound=no"
+ egamesconf \
+ --enable-network \
+ --with-readline=maybe \
+ `use_with gtk` \
+ `use_with gnome` \
+ ${myconf} \
+ || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+ dodoc AUTHORS ChangeLog NEWS README TODO
+ prepgamesdirs
+}