summaryrefslogtreecommitdiff
blob: 86f30c70eceac49e5ec011a93fa6c3692b6551b1 (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
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="create and update 2D or 3D pie charts in a Tcl/Tk application"
HOMEPAGE="http://jfontain.free.fr/piechart6.htm"
SRC_URI="http://jfontain.free.fr/${P}.tar.bz2"

LICENSE="jfontain"
KEYWORDS="amd64 ~ppc x86"
SLOT="0"

DEPEND="dev-lang/tk:*
	dev-tcltk/tcllib"
RDEPEND="${DEPEND}"

src_install() {
	dodir /usr/$(get_libdir)/tkpiechart
	./instapkg.tcl "${D}"/usr/$(get_libdir)/tkpiechart || die

	HTML_DOCS=( *.gif *.htm )
	einstalldocs
	docinto demo
	dodoc demo*
	docompress -x /usr/share/doc/${PF}/demo
}