You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/games-board/cgoban2/cgoban2-2.6.12.ebuild

29 lines
774 B

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-board/cgoban2/cgoban2-2.6.12.ebuild,v 1.4 2007/03/13 22:49:46 nyhm Exp $
inherit games
DESCRIPTION="A Java client for the Kiseido Go Server, and a SGF editor"
HOMEPAGE="http://www.gokgs.com/"
SRC_URI="http://kgs.kiseido.com/cgoban-unix-${PV}.tar.bz2"
LICENSE="freedist"
SLOT="0"
KEYWORDS="~amd64 ~ppc x86"
IUSE=""
RDEPEND=">=virtual/jre-1.3"
S=${WORKDIR}/cgoban
src_install() {
dodir "${GAMES_BINDIR}"
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
}