/[gentoo-x86]/dev-tcltk/vtcl/vtcl-1.6.0-r1.ebuild
Gentoo

Contents of /dev-tcltk/vtcl/vtcl-1.6.0-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Tue Sep 22 13:15:45 2009 UTC (4 years, 11 months ago) by maekke
Branch: MAIN
Changes since 1.3: +2 -2 lines
amd64 stable, bug #281410
(Portage version: 2.2_rc41/cvs/Linux x86_64)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-tcltk/vtcl/vtcl-1.6.0-r1.ebuild,v 1.3 2009/08/29 19:21:03 nixnut Exp $
4
5 DESCRIPTION="Visual Tcl is a high-quality application development environment."
6 HOMEPAGE="http://vtcl.sf.net"
7 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
8 LICENSE="GPL-2"
9 SLOT="0"
10 KEYWORDS="amd64 ppc x86"
11 IUSE="doc"
12 DEPEND="dev-lang/tk"
13
14 MY_DESTDIR=/usr/share/${PN}
15 src_compile() {
16 ./configure || die
17 sed -i 's,^\(VTCL_HOME=\).*,\1'${MY_DESTDIR}',g' vtcl || die "Path fixing failed."
18 sed -i 's,package require -exact Tk ,package require Tk ,' lib/tkcon.tcl || die "Tcl8.5 patch failed"
19 }
20
21 src_install() {
22 dodir ${MY_DESTDIR} || die "Directory creation failed."
23 dobin vtcl || die
24 cp -r ./{demo,images,lib,sample,vtcl.tcl} "${D}/${MY_DESTDIR}" || die "Data installation failed."
25 dodoc ChangeLog README
26 use doc && dodoc doc/tutorial.txt
27 use doc && dohtml doc/*html
28 }

  ViewVC Help
Powered by ViewVC 1.1.20