blob: d66268e4a484cc8910c22b62086f70a5800c0288 (
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
34
35
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-sports/ski/ski-6.5.ebuild,v 1.10 2010/04/07 13:24:49 tupone Exp $
EAPI=2
PYTHON_DEPEND="2"
inherit python games
DESCRIPTION="A simple text-mode skiing game"
HOMEPAGE="http://www.catb.org/~esr/ski/"
SRC_URI="http://www.catb.org/~esr/ski/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 ppc x86"
IUSE=""
DEPEND=""
RDEPEND=""
src_prepare() {
python_convert_shebangs -r 2 .
}
src_install() {
dogamesbin ski || die "dogamesbin failed"
doman ski.6 || die "doman failed"
dodoc README
prepgamesdirs
}
pkg_setup() {
python_set_active_version 2
games_pkg_setup
}
|