blob: 45117ea75a548548d7182adfd2b226e6a154dd3d (
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
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tkcon/tkcon-20081103.ebuild,v 1.1 2008/11/05 21:32:54 bicatali Exp $
inherit eutils
DESCRIPTION="Tk GUI console"
HOMEPAGE="http://tkcon.sourceforge.net/"
SRC_URI="mirror://gentoo/${P}.tar.bz2"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
SLOT="0"
IUSE="doc"
DEPEND="dev-lang/tk"
src_install() {
local tclver="$(echo 'puts $tcl_version' | tclsh)"
local instdir=/usr/$(get_libdir)/tcl${tclver}/${PN}2.5
dodir ${instdir}
cp -pP pkgIndex.tcl tkcon.tcl "${D}"${instdir} || die
dodir /usr/bin
dosym ${instdir}/tkcon.tcl /usr/bin/tkcon
dodoc README.txt
if use doc; then
dohtml doc/*
fi
}
|