summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-tcltk/bwidget/bwidget-1.9.14.ebuild')
-rw-r--r--dev-tcltk/bwidget/bwidget-1.9.14.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-tcltk/bwidget/bwidget-1.9.14.ebuild b/dev-tcltk/bwidget/bwidget-1.9.14.ebuild
new file mode 100644
index 00000000000..663c258b9db
--- /dev/null
+++ b/dev-tcltk/bwidget/bwidget-1.9.14.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils multilib virtualx
+
+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_PN}/${PV}/${P}.tar.gz"
+
+LICENSE="tcltk"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="doc"
+RESTRICT="!test? ( test )"
+
+DEPEND="dev-lang/tk:0"
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}"/${PN}-1.9.8-test.patch )
+
+src_test() {
+ TCLLIBPATH=${S} virtx tclsh tests/entry.test
+}
+
+src_install() {
+ insinto /usr/$(get_libdir)/${P}
+ doins *.tcl
+ doins -r images lang
+
+ dodoc -r demo
+ dodoc ChangeLog README.txt
+
+ docinto html
+ use doc && dodoc -r BWman/*
+}