summaryrefslogtreecommitdiff
blob: a0258c7ee00e3c93c94a547f3162a47269e580d9 (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
45
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/tkcvs/tkcvs-7.2.1.ebuild,v 1.3 2004/11/25 11:12:04 dragonheart Exp $

MY_P=${PN}_${PV//./_}
S=${WORKDIR}/${MY_P}
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=""

RDEPEND=">=dev-lang/tk-8.4
	dev-util/cvs
	sys-apps/diffutils"

src_compile() {
	echo "It's tcl, you don't need to compile.  ;)"
}

src_install() {
	dodir /usr/lib /usr/bin /usr/lib/tkcvs/ /usr/lib/tkcvs/bitmaps

	./doinstall.tcl -nox -finallib /usr/lib ${D}/usr || die

	# Move man pages to FHS compliant locations
	dodir /usr/share/man/man1
	mv ${D}/usr/man/man1/* ${D}/usr/share/man/man1
	rm -rf ${D}/usr/man

	insinto /usr/lib/tkcvs/bitmaps
	doins tkdiff/tkdiff.xbm

	# Add docs...this is important
	dodoc CHANGELOG FAQ README.tkcvs README.windows

	docinto tkdiff
	dodoc tkdiff/COPYING

	docinto tkcvs
	dodoc tkcvs/vendor.readme
}