blob: eeaba87612fd4a3db5b206adb27bbba51a37d253 (
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
34
35
36
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/bwidget/bwidget-1.9.0.ebuild,v 1.4 2012/12/05 08:06:33 ulm Exp $
EAPI=4
inherit eutils multilib
MY_PN=${PN/bw/BW}
MY_P=${MY_PN}-${PV}
DESCRIPTION="High-level widget set for Tcl/Tk"
HOMEPAGE="http://tcllib.sourceforge.net/"
SRC_URI="mirror://sourceforge/tcllib/${MY_P}.tar.gz"
LICENSE="tcltk"
SLOT="0"
KEYWORDS="~alpha amd64 ~ppc ~ppc64 ~sparc x86"
IUSE="doc"
DEPEND="dev-lang/tk"
RDEPEND="${DEPEND}"
S=${WORKDIR}/${MY_P}
src_install() {
insinto /usr/$(get_libdir)/${P}
doins *.tcl
doins -r images lang
insinto /usr/share/doc/${PF}/
doins -r demo
dodoc ChangeLog README.txt
use doc && dohtml BWman/*
}
|