# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils games DESCRIPTION="Help poor Monkey navigate his way down through treacherous areas" HOMEPAGE="http://www.aelius.com/primateplunge" SRC_URI="http://www.ecs.soton.ac.uk/~njh/primateplunge/${P}.tar.gz" LICENSE="as-is" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" IUSE="clean-icon" DEPEND="clean-icon? ( media-gfx/imagemagick )" RDEPEND="media-libs/libsdl media-libs/sdl-mixer" src_install() { make DESTDIR="${D}" install || die "make install" # Icon cp graphics/idle.bmp ${PN}.bmp if use clean-icon ; then convert -transparent magenta ${PN}.bmp ${PN}.bmp || die "convert" fi doicon ${PN}.bmp || die "doicon" make_desktop_entry ${PN} "Primate Plunge" /usr/share/pixmaps/${PN}.bmp dodoc AUTHORS README TIPS prepgamesdirs }