summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTupone Alfredo <tupone@gentoo.org>2019-10-12 15:34:40 +0200
committerTupone Alfredo <tupone@gentoo.org>2019-10-12 15:34:40 +0200
commit292bc09b50155b90d56f0c085fda6a720a8a62c8 (patch)
tree19dc11833ab0d736c367acfce77115d0c6028ffa
parentnet-irc/telepathy-idle: fix LICENSE (diff)
downloadgentoo-292bc09b50155b90d56f0c085fda6a720a8a62c8.tar.gz
gentoo-292bc09b50155b90d56f0c085fda6a720a8a62c8.tar.bz2
gentoo-292bc09b50155b90d56f0c085fda6a720a8a62c8.zip
dev-tcltk/tkcon: EAPI 7
Bugs: https://bugs.gentoo.org/697338 Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
-rw-r--r--dev-tcltk/tkcon/tkcon-2.5-r1.ebuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-tcltk/tkcon/tkcon-2.5-r1.ebuild b/dev-tcltk/tkcon/tkcon-2.5-r1.ebuild
new file mode 100644
index 00000000000..cbc35d04420
--- /dev/null
+++ b/dev-tcltk/tkcon/tkcon-2.5-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils multilib
+
+DESCRIPTION="Tk GUI console"
+HOMEPAGE="http://tkcon.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~x86"
+SLOT="0"
+IUSE="doc"
+
+DEPEND="dev-lang/tk:*"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ default
+ mv docs/changes.txt CHANGES
+}
+
+src_install() {
+ local tclver="$(echo 'puts $tcl_version' | tclsh)"
+ local instdir=/usr/$(get_libdir)/tcl${tclver}/${PN}2.5
+ dodir ${instdir}
+ cp -pP pkgIndex.tcl tkcon.tcl "${D}"${instdir} || die
+ dodir /usr/bin
+ dosym ${instdir}/tkcon.tcl /usr/bin/tkcon
+ if use doc; then
+ HTML_DOCS=( docs/* )
+ fi
+ einstalldocs
+}