kludge tcl support; virtual/x11; use emake/econf/use_enable; use bz2 source
authorMichael Sterrett <mr_bones_@gentoo.org>
Wed, 31 Mar 2004 03:58:18 +0000 (03:58 +0000)
committerMichael Sterrett <mr_bones_@gentoo.org>
Wed, 31 Mar 2004 03:58:18 +0000 (03:58 +0000)
games-mud/gMOO/ChangeLog
games-mud/gMOO/Manifest
games-mud/gMOO/files/digest-gMOO-0.4.8-r1
games-mud/gMOO/gMOO-0.4.8-r1.ebuild

index 48222da514ae55b9a73937495ed5fddaa8379b99..d94db265cbb6fcf40edc8b2b7d2ecf1f7067bf98 100644 (file)
@@ -1,6 +1,9 @@
 # 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
index 6d3eb23355ce5743bceeaea514d309cc11daa8d5..3546563255d9245ddcfaa16cdddb668eb121a43d 100644 (file)
@@ -1,5 +1,5 @@
-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
index 6d31c3d67cd3b2e20581a490c35af22e6896d598..8adac9fa5b0e36eb594ebee2d9782d26bae5faef 100644 (file)
@@ -1 +1 @@
-MD5 522f2e97c574f365781e1a36e640c366 gMOO-0.4.8.tar.gz 266827
+MD5 140074888bbcddae4e0a0732c85d7dc1 gMOO-0.4.8.tar.bz2 221934
index e598f6ab273e162d5caa3c1d1ce64cc50ddf4df7..9edd1e7df730ae6bb173284274aa2ec2c89072d3 100644 (file)
@@ -1,41 +1,38 @@
 # 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() {