summaryrefslogtreecommitdiff
blob: bff5686e6c96652ce2e6189d25ceb8dbbdfa8f79 (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
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6

DESCRIPTION="Info Browser in TK"
HOMEPAGE="http://math-www.uni-paderborn.de/~axel/tkinfo/"
SRC_URI="http://math-www.uni-paderborn.de/~axel/${PN}/${P}.tar.gz"

LICENSE="Old-MIT GPL-1+"
SLOT="0"
KEYWORDS="~alpha amd64 hppa ia64 ppc sparc x86"

RDEPEND="dev-lang/tk"
DEPEND="sys-apps/sed"

DOCS=( README )

src_prepare() {
	default
	sed -i \
		-e "1 s:^.*:#!/usr/bin/wish:" tkinfo || \
			die "sed tkinfo failed"
}

src_install() {
	dobin "${PN}"
	doman "${PN}.1"
}