diff options
Diffstat (limited to 'dev-tcltk/vtcl')
-rw-r--r-- | dev-tcltk/vtcl/Manifest | 3 | ||||
-rw-r--r-- | dev-tcltk/vtcl/metadata.xml | 11 | ||||
-rw-r--r-- | dev-tcltk/vtcl/vtcl-1.6.0-r1.ebuild | 29 |
3 files changed, 43 insertions, 0 deletions
diff --git a/dev-tcltk/vtcl/Manifest b/dev-tcltk/vtcl/Manifest new file mode 100644 index 000000000000..61d7d0fb91df --- /dev/null +++ b/dev-tcltk/vtcl/Manifest @@ -0,0 +1,3 @@ +DIST vtcl-1.6.0.tar.gz 554727 BLAKE2B abf5e9a9fbc42e8c9ab1c216f0d103fcd88c9894a73185d50b56e0c87c88e82e6f368dd3acd7339f3a1875c9cda22123e4df82f6852343da10abac330896c899 SHA512 bfc2ed114af4bee375e820e4b1e47d394a800541eb9917204ef42481a4033927c432d7d2b005d13edd086c7c91bd594908965aae512cc4af9e5654a2bfd296de +EBUILD vtcl-1.6.0-r1.ebuild 892 BLAKE2B 8bfc231abf18cf6d58d3ac9f68c14dd73b3ead2cf0ae970831a69b832935cde86624bcb9115c8a7734f4a4a8790948bc1a1c0817aab82c76a4cf7ade170aa858 SHA512 d5ed7977f7fc29bbbd0adc515f55f8157979fd80fe08c946b8d764b97d5f0b9a3b26e5a38ccd617f68b97bfe5419c24236f812dd741229a6109c47c8e109d54b +MISC metadata.xml 320 BLAKE2B fc4506f2388dd451c4b88073e6df61db8024feb95db4cd0641ab28e0264aacb2934980afa86da71304aeceaa0f5b3e7581f8351cd577efeb44718e381441334e SHA512 bc023971a766ee2e121d6f5d22bc0fe38437802957e021ef193770ba386169c344b238c79df9d5d7aa32c2bd1ac7b448c6d688580f8be4a67c1df95cc942b60c diff --git a/dev-tcltk/vtcl/metadata.xml b/dev-tcltk/vtcl/metadata.xml new file mode 100644 index 000000000000..d188e1513e7f --- /dev/null +++ b/dev-tcltk/vtcl/metadata.xml @@ -0,0 +1,11 @@ +<?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>TCL / TK herd</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">vtcl</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-tcltk/vtcl/vtcl-1.6.0-r1.ebuild b/dev-tcltk/vtcl/vtcl-1.6.0-r1.ebuild new file mode 100644 index 000000000000..596e52294e4e --- /dev/null +++ b/dev-tcltk/vtcl/vtcl-1.6.0-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=0 + +DESCRIPTION="Visual Tcl is a high-quality application development environment" +HOMEPAGE="http://vtcl.sf.net" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="doc" +DEPEND="dev-lang/tk" + +MY_DESTDIR=/usr/share/${PN} +src_compile() { + ./configure || die + 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} || die "Directory creation failed." + dobin vtcl || die + cp -r ./{demo,images,lib,sample,vtcl.tcl} "${D}/${MY_DESTDIR}" || die "Data installation failed." + dodoc ChangeLog README + use doc && dodoc doc/tutorial.txt + use doc && dohtml doc/*html +} |