From b982503c7d4bfffa86f602a03813dbce7b2eef78 Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Wed, 31 Mar 2004 03:58:18 +0000 Subject: kludge tcl support; virtual/x11; use emake/econf/use_enable; use bz2 source --- games-mud/gMOO/gMOO-0.4.8-r1.ebuild | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) (limited to 'games-mud/gMOO/gMOO-0.4.8-r1.ebuild') diff --git a/games-mud/gMOO/gMOO-0.4.8-r1.ebuild b/games-mud/gMOO/gMOO-0.4.8-r1.ebuild index e598f6ab273e..9edd1e7df730 100644 --- a/games-mud/gMOO/gMOO-0.4.8-r1.ebuild +++ b/games-mud/gMOO/gMOO-0.4.8-r1.ebuild @@ -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() { -- cgit v1.2.3-65-gdbad