summaryrefslogtreecommitdiff
blob: dd1a8aa7409a410402753702466dc51cfd0e2fc9 (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/tkinfo/tkinfo-2.5-r1.ebuild,v 1.11 2003/09/05 22:37:22 msterret Exp $

S=${WORKDIR}/${P}
DESCRIPTION="Info Browser in TK"
SRC_URI="http://math-www.uni-paderborn.de/~axel/tkinfo/${P}.tar.gz"
HOMEPAGE="http://math-www.uni-paderborn.de/~axel/tkinfo/"
KEYWORDS="x86 sparc ppc"
SLOT="0"
LICENSE="freedist"

DEPEND=">=dev-lang/tk-8.0.5"


src_install () {
	dobin tkinfo
	doman tkinfo.1
	dodoc README
}

pkg_postinst () {
	# Let's check to see if info has been setup completely
	cd /usr/share/info
	if [ -f dir ]; then
		exit 0;
	else
		mkinfodir . > dir
	fi
}