blob: b8b7f41408e1c0f317606931792724fca2eefc5d (
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
37
38
39
40
41
42
43
|
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit multilib
CODE=6a397dec6188148cf6a6fe290cf2bd92a9190c42
DESCRIPTION="Collection of utility modules for Tk, and a companion to Tcllib"
HOMEPAGE="http://www.tcl.tk/software/tklib"
SRC_URI="http://core.tcl.tk/tklib/raw/tklib-0.6.tar.bz2?name=${CODE} -> ${P}.tar.bz2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
LICENSE="BSD"
IUSE="doc"
RDEPEND="
dev-lang/tk:0
dev-tcltk/tcllib"
DEPEND="${RDEPEND}"
PATCHES=( "${FILESDIR}"/${P}-doc.patch )
src_compile() {
default
use doc && emake doc
}
src_install() {
HTML_DOCS=
if use doc; then
HTML_DOCS=doc/html/*
fi
default
dodoc DESCRIPTION.txt
dosym ${PN}${PV} /usr/$(get_libdir)/${PN}
mv "${ED}"/usr/share/man/mann/datefield{,-${PN}}.n || die
mv "${ED}"/usr/share/man/mann/menubar{,-${PN}}.n || die
mv "${ED}"/usr/bin/dia{,-${PN}} || die
}
|