# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils python games DESCRIPTION="Math version of the popular board game for kids 4-40" HOMEPAGE="http://www.asymptopia.org/" SRC_URI="http://www.asymptopia.org/gentoo/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="dev-lang/python" RDEPEND="dev-python/pygame dev-python/wxpython media-libs/libsdl media-libs/sdl-image media-libs/sdl-mixer" src_install() { insinto /usr/$(get_libdir)/$(python_libdir)/site-packages doins -r TuxMathScrabble exeinto ${GAMES_BINDIR} exeopts -m0755 doexe tuxmathscrabble dodir ${GAMES_STATEDIR} dodir ${GAMES_STATEDIR}/TuxMathScrabble insinto ${GAMES_STATEDIR}/TuxMathScrabble doins -r Font doins -r Globals }