summaryrefslogtreecommitdiff
path: root/dev-tcltk/tklib/tklib-0.7.ebuild
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2021-01-06 16:58:48 +0100
committerAlfredo Tupone <tupone@gentoo.org>2021-01-06 16:58:48 +0100
commitaa35f0eae51340a2a906f70b3bd5a64880031d89 (patch)
tree4fde88b5e44a2593dc3039f5347887d87d1fd475 /dev-tcltk/tklib/tklib-0.7.ebuild
parent389b3d146db0951a7ed6bad911fc03c3c4519b3a (diff)
downloadgentoo-aa35f0eae51340a2a906f70b3bd5a64880031d89.tar.gz
gentoo-aa35f0eae51340a2a906f70b3bd5a64880031d89.tar.bz2
gentoo-aa35f0eae51340a2a906f70b3bd5a64880031d89.zip
dev-tcltk/tklib: bump to 0.7
Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-tcltk/tklib/tklib-0.7.ebuild')
-rw-r--r--dev-tcltk/tklib/tklib-0.7.ebuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-tcltk/tklib/tklib-0.7.ebuild b/dev-tcltk/tklib/tklib-0.7.ebuild
new file mode 100644
index 000000000000..98ab8fe6a033
--- /dev/null
+++ b/dev-tcltk/tklib/tklib-0.7.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CODE=7832035fb9249dce
+
+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/${PN}/raw/${P}.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}"
+
+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
+}