summaryrefslogtreecommitdiff
blob: fe9dbe36441709d2d4a8a0b5f9a1c07495930481 (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 Technologies, Inc.
# 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.1 2004/01/29 06:43:21 mr_bones_ 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"
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
}