summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-tcltk/bwidget/bwidget-1.9.0.ebuild')
-rw-r--r--dev-tcltk/bwidget/bwidget-1.9.0.ebuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-tcltk/bwidget/bwidget-1.9.0.ebuild b/dev-tcltk/bwidget/bwidget-1.9.0.ebuild
new file mode 100644
index 000000000000..e644c70c5582
--- /dev/null
+++ b/dev-tcltk/bwidget/bwidget-1.9.0.ebuild
@@ -0,0 +1,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.1 2012/07/17 11:42:08 jlec 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="BWidget"
+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/*
+}