blob: 6c38468692faf9c3215f0f21779b376ceffbb63b (
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
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/tkman/tkman-2.2.ebuild,v 1.6 2004/06/24 22:53:37 agriffis Exp $
inherit eutils
DESCRIPTION="TkMan man and info page browser"
HOMEPAGE="http://tkman.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="Artistic"
SLOT="0"
KEYWORDS="~x86 ~ppc ~sparc"
IUSE=""
DEPEND=">=app-text/rman-3.1
>=dev-lang/tcl-8.4
>=dev-lang/tk-8.4"
src_unpack() {
unpack ${A}
cd ${WORKDIR}
epatch ${FILESDIR}/${PF}-gentoo.diff
}
src_compile() {
emake || die
}
src_install() {
dodir /usr/bin
make DESTDIR=${D} install || die
dodoc ANNOUNCE-tkman.txt CHANGES README-tkman manual.html
insinto /usr/share/icons
doins contrib/TkMan.gif
insinto /usr/share/applications
doins ${FILESDIR}/tkman.desktop
}
|