diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2021-01-06 11:13:38 +0100 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2021-01-06 11:13:38 +0100 |
commit | 33a798932599312d9936073c988a9956e9525f65 (patch) | |
tree | 61564cbd4da563e01d48378629c7e4d5f98be0cc /dev-tcltk/tkcon/tkcon-2.7.3.ebuild | |
parent | net-misc/openntpd: Revert "Re-added ~mips to KEYWORDS" (diff) | |
download | gentoo-33a798932599312d9936073c988a9956e9525f65.tar.gz gentoo-33a798932599312d9936073c988a9956e9525f65.tar.bz2 gentoo-33a798932599312d9936073c988a9956e9525f65.zip |
dev-tcltk/tkcon: version bump to 2.7.3
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-tcltk/tkcon/tkcon-2.7.3.ebuild')
-rw-r--r-- | dev-tcltk/tkcon/tkcon-2.7.3.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-tcltk/tkcon/tkcon-2.7.3.ebuild b/dev-tcltk/tkcon/tkcon-2.7.3.ebuild new file mode 100644 index 000000000000..d0d15951af1d --- /dev/null +++ b/dev-tcltk/tkcon/tkcon-2.7.3.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Tk GUI console" +HOMEPAGE="http://tkcon.sourceforge.net/" +SRC_URI="https://github.com/wjoye/${PN}/archive/v${PV}.tar.gz -> + ${P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~x86" +SLOT="0" +IUSE="doc" + +DEPEND="dev-lang/tk:*" +RDEPEND="${DEPEND}" + +RESTRICT="test" + +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}$(ver_cut 1-2) + 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 +} |