summaryrefslogtreecommitdiff
blob: 580149898a7b5a9345f6bcfedf3a7efed2820198 (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-rpg/openrpg/openrpg-1.4.1.ebuild,v 1.6 2004/07/03 12:00:18 kloeri Exp $

inherit games

DESCRIPTION="Open RPG Client"
HOMEPAGE="http://www.openrpg.com/"
SRC_URI="mirror://sourceforge/openrpg/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
IUSE=""

DEPEND=">=dev-python/wxpython-2.3.3.1
	>=dev-lang/python-2.2.1"

S="${WORKDIR}/${PN}1"

src_install() {
	dodir ${GAMES_DATADIR}/${PN}
	dodoc readme.txt
	rm readme.txt license.txt
	cp -r * ${D}/${GAMES_DATADIR}/${PN}

	dogamesbin ${FILESDIR}/openrpg
	dosed "s:GENTOO_DIR:${GAMES_DATADIR}/${PN}:" ${GAMES_BINDIR}/openrpg
	dogamesbin ${FILESDIR}/openrpg-server
	dosed "s:GENTOO_DIR:${GAMES_DATADIR}/${PN}:" ${GAMES_BINDIR}/openrpg-server

	prepgamesdirs
}