summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFederico Ferri <mescalinum@gentoo.org>2009-01-17 02:02:05 +0000
committerFederico Ferri <mescalinum@gentoo.org>2009-01-17 02:02:05 +0000
commit98b2b65509e1a843d1468d0f669904eeac0784ca (patch)
tree5f79784550c26a00ccebb0de0879b507243cb9b1 /dev-tcltk
parentupstream dead, bug #177912, p-masked for a year (diff)
downloadgentoo-2-98b2b65509e1a843d1468d0f669904eeac0784ca.tar.gz
gentoo-2-98b2b65509e1a843d1468d0f669904eeac0784ca.tar.bz2
gentoo-2-98b2b65509e1a843d1468d0f669904eeac0784ca.zip
fix bug #250368
(Portage version: 2.2_rc20/cvs/Linux 2.6.28-gentoo x86_64)
Diffstat (limited to 'dev-tcltk')
-rw-r--r--dev-tcltk/vtcl/ChangeLog8
-rw-r--r--dev-tcltk/vtcl/vtcl-1.6.0-r1.ebuild28
2 files changed, 34 insertions, 2 deletions
diff --git a/dev-tcltk/vtcl/ChangeLog b/dev-tcltk/vtcl/ChangeLog
index 8aea2c5b26a9..b3f9999f4cd1 100644
--- a/dev-tcltk/vtcl/ChangeLog
+++ b/dev-tcltk/vtcl/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-tcltk/vtcl
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/vtcl/ChangeLog,v 1.5 2007/02/09 02:58:32 flameeyes Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/vtcl/ChangeLog,v 1.6 2009/01/17 02:02:05 mescalinum Exp $
+
+ 17 Jan 2009; Federico Ferri <mescalinum@gentoo.org> ChangeLog,
+ +vtcl-1.6.0-r1.ebuild:
+ fix bug #250368
09 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
Regenerate digest in Manifest2 format.
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..419a97d463c9
--- /dev/null
+++ b/dev-tcltk/vtcl/vtcl-1.6.0-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/vtcl/vtcl-1.6.0-r1.ebuild,v 1.1 2009/01/17 02:02:05 mescalinum Exp $
+
+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
+}