# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit wxwidgets games DESCRIPTION="A variation of Tic-Tac-Toe played on an infinite board" HOMEPAGE="http://www.guyrutenberg.com/infinitettt" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64" IUSE="" DEPEND="=x11-libs/wxGTK-2.8* dev-libs/boost" RDEPEND="${DEPEND}" pkg_setup() { games_pkg_setup WX_GTK_VER=2.8 need-wxwidgets unicode } src_compile() { #we set the datarootdir because we uses it to install the desktop files egamesconf --datadir=/usr/share --with-wx-config=${WX_CONFIG} || die emake || die "emake failed" } src_install() { emake DESTDIR="${D}" install || die "emake install failed" dodoc README prepgamesdirs }