diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2021-01-06 17:44:37 +0100 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2021-01-06 17:44:37 +0100 |
commit | 150126b1b268264ce8c607fefc23a0972f834f0f (patch) | |
tree | dddc2e1c5126a6c70efc7c21679e86d0899f3208 /dev-tcltk | |
parent | net-im/profanity: Remove old (diff) | |
download | gentoo-150126b1b268264ce8c607fefc23a0972f834f0f.tar.gz gentoo-150126b1b268264ce8c607fefc23a0972f834f0f.tar.bz2 gentoo-150126b1b268264ce8c607fefc23a0972f834f0f.zip |
dev-tcltk/vtcl: bump to 1.6.1a1
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-tcltk')
-rw-r--r-- | dev-tcltk/vtcl/Manifest | 1 | ||||
-rw-r--r-- | dev-tcltk/vtcl/files/vtcl-1.6.1_alpha1-tk86.patch | 10 | ||||
-rw-r--r-- | dev-tcltk/vtcl/vtcl-1.6.1_alpha1.ebuild | 45 |
3 files changed, 56 insertions, 0 deletions
diff --git a/dev-tcltk/vtcl/Manifest b/dev-tcltk/vtcl/Manifest index b8d60283483f..3316ddb89973 100644 --- a/dev-tcltk/vtcl/Manifest +++ b/dev-tcltk/vtcl/Manifest @@ -1 +1,2 @@ DIST vtcl-1.6.0.tar.gz 554727 BLAKE2B abf5e9a9fbc42e8c9ab1c216f0d103fcd88c9894a73185d50b56e0c87c88e82e6f368dd3acd7339f3a1875c9cda22123e4df82f6852343da10abac330896c899 SHA512 bfc2ed114af4bee375e820e4b1e47d394a800541eb9917204ef42481a4033927c432d7d2b005d13edd086c7c91bd594908965aae512cc4af9e5654a2bfd296de +DIST vtcl-1.6.1a1.tar.gz 599864 BLAKE2B 59c3b503cad053de5110d4a46a92803c2e513ddee300ca525382bf76f523e09f01f2680b9ca7ad8b647350c609cedea691b0e40fe028da3ecb7475d95338d60a SHA512 8c7fa1a036d9e30aff322dff2a740ca473b4fe28689b3832304ab29832162967edaf7b6e67f641f2b298c24a9ed9cd911dc6d13277cc8e20fefcacd4268b71ad diff --git a/dev-tcltk/vtcl/files/vtcl-1.6.1_alpha1-tk86.patch b/dev-tcltk/vtcl/files/vtcl-1.6.1_alpha1-tk86.patch new file mode 100644 index 000000000000..ae09fe671408 --- /dev/null +++ b/dev-tcltk/vtcl/files/vtcl-1.6.1_alpha1-tk86.patch @@ -0,0 +1,10 @@ +--- a/configure 2021-01-06 17:35:58.921365193 +0100 ++++ b/configure 2021-01-06 17:34:44.859618414 +0100 +@@ -11,6 +11,7 @@ + ## + findwish( ) { + WISHES=" \ ++ wish8.6 \ + wish8.5 \ + wish8.4 \ + wish8.3 \ diff --git a/dev-tcltk/vtcl/vtcl-1.6.1_alpha1.ebuild b/dev-tcltk/vtcl/vtcl-1.6.1_alpha1.ebuild new file mode 100644 index 000000000000..7d1e4a5eb8f8 --- /dev/null +++ b/dev-tcltk/vtcl/vtcl-1.6.1_alpha1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit edos2unix + +MYP=${PN}-${PV/_alpha/a} + +DESCRIPTION="Visual Tcl is a high-quality application development environment" +HOMEPAGE="http://vtcl.sf.net" +SRC_URI="mirror://sourceforge/${PN}/${MYP}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc" +DEPEND="dev-lang/tk:*" +RDEPEND="${DEPEND}" + +S="${WORKDIR}"/${MYP} + +MY_DESTDIR=/usr/share/${PN} + +PATCHES=( "${FILESDIR}"/${P}-tk86.patch ) + +src_prepare() { + edos2unix configure + default +} + +src_compile() { + sed -i 's,^\(VTCL_HOME=\).*,\1'${MY_DESTDIR}',g' vtcl || die "Path fixing failed." + sed -i 's,package require -exact Tk ,package require Tk ,' lib/tkcon.tcl || die "Tcl8.5 patch failed" +} + +src_install() { + dodir ${MY_DESTDIR} + dobin vtcl + cp -r ./{demo,images,lib,sample,vtcl.tcl} "${D}/${MY_DESTDIR}" || die "Data installation failed." + if use doc; then + DOCS=( ChangeLog README doc/tutorial.txt ) + HTML_DOCS=( doc/*html ) + fi + einstalldocs +} |