summaryrefslogtreecommitdiff
blob: 6e9722129e0f5e196aafbc0bab1fefdc6e78fe28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# 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.5 2004/12/28 17:07:20 josejx 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 ppc"
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
}