# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/games-puzzle/xtris/xtris-1.15.ebuild,v 1.3 2004/06/24 23:11:32 agriffis Exp $ inherit games S="${WORKDIR}/${PN}" DESCRIPTION="a networked Tetris-like game" HOMEPAGE="http://www.iagora.com/~espel/xtris/xtris.html" SRC_URI="http://www.iagora.com/~espel/xtris/${P}.tar.gz" KEYWORDS="x86 amd64" LICENSE="GPL-2" SLOT="0" IUSE="" DEPEND="virtual/x11" src_compile() { emake \ BINDIR="${GAMES_BINDIR}" \ MANDIR=/usr/share/man \ XLIBDIR=-L/usr/X11R6/lib \ CFLAGS="${CFLAGS}" \ || die "emake failed" } src_install() { dogamesbin xtris xtserv xtbot || die "dogamesbin failed" doman xtris.6 xtserv.6 xtbot.6 || die "doman failed" dodoc ChangeLog PROTOCOL README || die "dodoc failed" prepgamesdirs }