# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/games-misc/gnurobots/gnurobots-1.0d.ebuild,v 1.12 2008/04/03 04:52:03 mr_bones_ Exp $ inherit games MY_P="${PN}-${PV/d/D}" DESCRIPTION="construct a program for a little robot then set him loose and watch him explore a world on his own" HOMEPAGE="http://www.gnu.org/directory/games/gnurobots.html" SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ppc x86" IUSE="X" RESTRICT="test" S=${WORKDIR}/${MY_P} DEPEND="X? ( x11-libs/libXpm ) dev-scheme/guile" src_compile() { egamesconf || die emake || die } src_install() { dogamesbin src/{robots,xrobots,robots_logfile} insinto "${GAMES_DATADIR}/${PN}" doins -r scheme maps dodoc doc/* prepgamesdirs }