# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit games DESCRIPTION="A GNOME interface for gnugo" HOMEPAGE="http://se-linux.inso.tuwien.ac.at/se2wiki/GnomeGo" SRC_URI="http://cdn.mirror.garr.it/mirrors/FreeBSD/ports/local-distfiles/arved/gnomego_0.3-1.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="games-board/gnugo =dev-lang/python-2.4* sys-apps/sed dev-python/gnome-python " RDEPEND="${DEPEND}" src_compile() { cd "${WORKDIR}/trunk" sed -i -e 's,INSTALLEDPREFIX,/usr/share/gnomego/,' gnomego.in emake PREFIX="${D}/usr" gnomego || die "emake failed" } src_install() { cd "${WORKDIR}/trunk" sed -i -e 's,python2.3,python2.4,' gnomego sed -i -e 's,/games,/games/bin,' Makefile sed -i -e 's,python2.3,python2.4,' Makefile emake PREFIX="${D}/usr" debian || die "einstall failed" dodoc AUTHOR README prepgamesdirs }