diff options
Diffstat (limited to 'dev-tcltk/tkcon')
-rw-r--r-- | dev-tcltk/tkcon/Manifest | 3 | ||||
-rw-r--r-- | dev-tcltk/tkcon/metadata.xml | 18 | ||||
-rw-r--r-- | dev-tcltk/tkcon/tkcon-2.5.ebuild | 31 |
3 files changed, 52 insertions, 0 deletions
diff --git a/dev-tcltk/tkcon/Manifest b/dev-tcltk/tkcon/Manifest new file mode 100644 index 000000000000..2d389433c341 --- /dev/null +++ b/dev-tcltk/tkcon/Manifest @@ -0,0 +1,3 @@ +DIST tkcon-2.5.tar.gz 139834 BLAKE2B 95d0d0fe856b9ed287d1b2af6132845e047d269991fda8fd0ac88b06b200e1e75d9ac5b3ad4bac7daf08d52ebd2a4ec5697c841565cf290980288b0ecf0449a6 SHA512 f53d21dbf281112b761970b05aa643d598819789644445a0e01f6eddcf98709c4b7ef635bc69ec40fc14b5c78397b240b86d8b6ed63aac48f656242c19fd7851 +EBUILD tkcon-2.5.ebuild 681 BLAKE2B 01bb36105f4171fef0b304e7ffdaa7232cdcf42864d65c8de5039ea3f6965114484943a3dbeb2fecc4b37af0929d2fc87a915dd99b297513e8f87259d285c369 SHA512 71a3d592b49e86562499923f6b0087dc31e6a293ace3fca72afacf0528e68739e4efa3f063191e8e4914b21c73b274b30578c195b4367de7f1988c64e292fdad +MISC metadata.xml 695 BLAKE2B cb5dc622e2500fdac5984ac2e8578acc747b1f7904acddc4419658a767b9c55ce29fdaca7f56dea5496d68f815724bba106b56edaceaf422ef6ccfbc5326081e SHA512 f28fdbee5350ce1169b00081cfd326a2ed108b3f7347d5bef7365adbd6f098ea40cfb2088a3aa20d9cbd9c0bd650318119ef03db0a0a2e8bdf2aee6259544817 diff --git a/dev-tcltk/tkcon/metadata.xml b/dev-tcltk/tkcon/metadata.xml new file mode 100644 index 000000000000..06799c8ae04f --- /dev/null +++ b/dev-tcltk/tkcon/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>tcltk@gentoo.org</email> + <name>Gentoo Tcltk Project</name> + </maintainer> + <longdescription lang="en"> + tkcon is a replacement for the standard console that comes with + Tk. The console itself provides more features than the standard + console. It is meant primarily to aid one when working with the + little details inside tcl and tk, giving UNIX users the GUI console + provided by default in the Mac and Windows Tk. + </longdescription> + <upstream> + <remote-id type="sourceforge">tkcon</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-tcltk/tkcon/tkcon-2.5.ebuild b/dev-tcltk/tkcon/tkcon-2.5.ebuild new file mode 100644 index 000000000000..dcf14a871f2d --- /dev/null +++ b/dev-tcltk/tkcon/tkcon-2.5.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=0 + +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_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 + dodoc README.txt + if use doc; then + dohtml doc/* + fi +} |