mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-04 12:18:08 -07:00
dev-tcltk/vtcl: Drop EAPI 0 ebuild
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# 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"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user