blob: ca776463fff136fed565e2ed4b6f80b43ab0cc24 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/tkcvs/tkcvs-7.2.2-r1.ebuild,v 1.1 2005/04/03 14:46:05 matsuu Exp $
inherit eutils
MY_P=${PN}_${PV//./_}
DESCRIPTION="TkCVS is a Tcl/Tk-based graphical interface to CVS."
SRC_URI="http://www.twobarleycorns.net/${MY_P}.tar.gz"
HOMEPAGE="http://www.twobarleycorns.net/tkcvs.html"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86 ~amd64 ~sparc ~ppc"
IUSE=""
DEPEND=">=dev-lang/tk-8.4"
RDEPEND="${DEPEND}
dev-util/cvs
sys-apps/diffutils
dev-tcltk/tkdiff"
S=${WORKDIR}/${MY_P}
src_unpack() {
unpack ${A}
cd ${S}
sed -e "/set MANDIR/s/man man1/share man man1/" \
-e "/set LIBDIR/s/lib/$(get_libdir)/" \
-i doinstall.tcl || die
}
src_install() {
# bug 66030
unset DISPLAY
./doinstall.tcl -nox ${D}/usr || die
# dev-tcktk/tkdiff
rm ${D}/usr/bin/tkdiff
# Add docs...this is important
dodoc CHANGELOG FAQ
}
|