# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit games DESCRIPTION="A Tetris-like game in which the object is \ to match four or more blocks of the same color." HOMEPAGE="http://freshmeat.net/projects/xpuyopuyo" SRC_URI="http://chaos2.org/${PN}/${PF}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="gnome static network aibreed" DEPEND="=x11-libs/gtk+-1.2* gnome? ( gnome-base/libgnome ) lisp-ai? (dev-lisp/clips) media-sound/mikmod" src_compile() { egamesconf \ --with-x \ $(use_with gnome) \ $(use_enable aibreed) \ $(use_enable network) \ $(use_enable static) \ || die "econf failed" } src_install() { make DESTDIR=${D} install || die "make failed" dodoc AUTHORS TODO NEWS ChangeLog doicon xpuyopuyo.xpm make_desktop_entry ${PN} ${PN} xpuyopuyo.xpm prepgamesdirs }