# ChangeLog for games-mud/gMOO
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-mud/gMOO/ChangeLog,v 1.3 2004/01/24 13:51:27 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-mud/gMOO/ChangeLog,v 1.4 2004/03/31 03:58:18 mr_bones_ Exp $
+
+ 30 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> gMOO-0.4.8-r1.ebuild:
+ kludge tcl support; virtual/x11; use emake/econf/use_enable; use bz2 source
24 Jan 2004; Michael Sterrett <mr_bones_@gentoo.org> gMOO-0.4.8-r1.ebuild:
header fix; tidy
-MD5 6ce2e08d14163c43000397cf8b693128 ChangeLog 985
-MD5 ff4bee7d7026fcbe82a83938ba067824 gMOO-0.4.8-r1.ebuild 1014
-MD5 a30c9d4ce8f9629d6d7323eaab258343 metadata.xml 241
-MD5 2026ce51ab6d2a9390d03cc4681bad86 files/digest-gMOO-0.4.8-r1 62
+MD5 e6ac0420342eac68661d68ea8c8a4f6d ChangeLog 1141
+MD5 f4588176ae2bd57bc8445fd388b4638e gMOO-0.4.8-r1.ebuild 996
+MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+MD5 f79b318d3e11bbb23cbca40061dbba43 files/digest-gMOO-0.4.8-r1 63
MD5 0a3b114c5c7635cc2abf16eb6bbd0c99 files/gMOO.patch 673
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-mud/gMOO/gMOO-0.4.8-r1.ebuild,v 1.2 2004/01/24 13:51:27 mr_bones_ Exp $
-
+# $Header: /var/cvsroot/gentoo-x86/games-mud/gMOO/gMOO-0.4.8-r1.ebuild,v 1.3 2004/03/31 03:58:18 mr_bones_ Exp $
DESCRIPTION="GTK+ Based MOO client"
HOMEPAGE="http://www.nowmoo.demon.nl/"
-SRC_URI="http://www.nowmoo.demon.nl/packages/${P}.tar.gz"
+SRC_URI="http://www.nowmoo.demon.nl/packages/${P}.tar.bz2"
KEYWORDS="x86"
LICENSE="GPL-2"
SLOT="0"
IUSE="nls tcltk"
-DEPEND="virtual/glibc
- >=x11-base/xfree-4.1.0
+RDEPEND="virtual/glibc
+ virtual/x11
=x11-libs/gtk+-1.2*
tcltk? ( dev-lang/tcl )"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
src_unpack() {
unpack ${A}
cd ${S}
use nls && patch -l -p0 <${FILESDIR}/gMOO.patch
+ sed -i \
+ -e "s/-ltcl8.0/-ltcl/" configure \
+ || die "sed configure failed"
}
src_compile() {
- local myconf=""
-
- use tcltk || myconf="${myconf} --disable-tcl"
-
- use nls || myconf="${myconf} --disable-nls"
-
- ./configure \
- --prefix=/usr \
- --mandir=/usr/share/man \
- --host=${CHOST} ${myconf} || die "configure failed"
-
- make || die
+ econf \
+ `use_enable nls` \
+ `use_enable tcltk tcl` \
+ || die "configure failed"
+ emake || die "emake failed"
}
src_install() {