summaryrefslogtreecommitdiff
blob: 5018339d318fb5516ccbd058c1d0d6f47891f4c7 (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
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-board/cgoban2/cgoban2-2.5.6.ebuild,v 1.1 2004/02/20 07:48:49 mr_bones_ Exp $

inherit games

S="${WORKDIR}/cgoban"
DESCRIPTION="A Java client for the Kiseido Go Server, and a SGF editor"
HOMEPAGE="http://kgs.kiseido.com/"
SRC_URI="http://kgs.kiseido.com/cgoban-unix-${PV}.tar.bz2"

LICENSE="freedist"
SLOT="0"
KEYWORDS="x86"
IUSE=""

RDEPEND=">=virtual/jre-1.3
	virtual/x11"

src_install() {
	dodir ${GAMES_BINDIR} || die "dodir failed"
	sed -e "s:INSTALL_DIR:${GAMES_DATADIR}/${PN}:" \
		${FILESDIR}/${PN} > ${D}${GAMES_BINDIR}/${PN} || \
			die "sed failed"
	insinto ${GAMES_DATADIR}/${PN}
	doins cgoban.jar || die "doins failed"
	prepgamesdirs
}