Diff vtcl-1.6.0-r2 with a vtcl-1.6.1_alpha1
/usr/portage/dev-tcltk/vtcl/vtcl-1.6.1_alpha1.ebuild 2023-10-09 14:52:30.908368386 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2019 Gentoo Authors |
|
1 |
# Copyright 1999-2023 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=7 |
5 | 5 | |
6 |
inherit edos2unix |
|
7 | ||
8 |
MYP=${PN}-${PV/_alpha/a} |
|
9 | ||
6 | 10 |
DESCRIPTION="Visual Tcl is a high-quality application development environment" |
7 | 11 |
HOMEPAGE="http://vtcl.sf.net" |
8 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
|
12 |
SRC_URI="mirror://sourceforge/${PN}/${MYP}.tar.gz" |
|
9 | 13 |
LICENSE="GPL-2" |
10 | 14 |
SLOT="0" |
11 |
KEYWORDS="amd64 ppc x86" |
|
15 |
KEYWORDS="amd64 ~ppc x86" |
|
12 | 16 |
IUSE="doc" |
13 | 17 |
DEPEND="dev-lang/tk:*" |
14 | 18 |
RDEPEND="${DEPEND}" |
15 | 19 | |
20 |
S="${WORKDIR}"/${MYP} |
|
21 | ||
16 | 22 |
MY_DESTDIR=/usr/share/${PN} |
17 | 23 | |
24 |
PATCHES=( "${FILESDIR}"/${P}-tk86.patch ) |
|
25 | ||
26 |
src_prepare() { |
|
27 |
edos2unix configure |
|
28 |
default |
|
29 |
} |
|
30 | ||
18 | 31 |
src_compile() { |
19 | 32 |
sed -i 's,^\(VTCL_HOME=\).*,\1'${MY_DESTDIR}',g' vtcl || die "Path fixing failed." |
20 | 33 |
sed -i 's,package require -exact Tk ,package require Tk ,' lib/tkcon.tcl || die "Tcl8.5 patch failed" |