# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="Czech national corpus manager interface bonito."
HOMEPAGE="http://ucnk.ff.cuni.cz/index.html"
SRC_URI="http://ucnk.ff.cuni.cz/bonito/bonito-linux-tcl85.tar.gz"

SLOT="0"
LICENSE="bonito"
KEYWORDS="x86"

IUSE=""

RDEPEND=">=dev-lang/tcl-8.5
		 dev-lang/tk"

S=""${WORKDIR}"/bonito-tcl85"

src_install() {
	dodir /usr/share/bonito-cnk
	dodir /usr/bin
	insinto /usr/share/bonito-cnk
	doins *
	dodoc license.txt doc/*.html
	dosym "$D"/usr/share/bonito-cnk/bonito.tcl usr/bin/bonito-cnk
	fperms 755 /usr/bin/bonito-cnk
}