summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-09-10 05:27:31 +0000
committerMike Frysinger <vapier@gentoo.org>2003-09-10 05:27:31 +0000
commitab4f2946553cbc625cd82c853072cb36467fe40e (patch)
treece4c3749e9e4fb10f2366b302c0ed63113ba1041 /games-strategy/freeciv
parentminor version update. resolves bug 27641 (diff)
downloadhistorical-ab4f2946553cbc625cd82c853072cb36467fe40e.tar.gz
historical-ab4f2946553cbc625cd82c853072cb36467fe40e.tar.bz2
historical-ab4f2946553cbc625cd82c853072cb36467fe40e.zip
mmm strategy games
Diffstat (limited to 'games-strategy/freeciv')
-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
14 files changed, 438 insertions, 0 deletions
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}
+}