aboutsummaryrefslogtreecommitdiff
blob: e51d488baec867801916b999630d89a7cc8aa778 (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
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

# N.B. this is from CTAN

DESCRIPTION="Simple tcl/tk script to draw finite state automata"
HOMEPAGE="http://stud4.tuwien.ac.at/~e0225855/finomaton/finomaton.html"
SRC_URI="http://stud4.tuwien.ac.at/~e0225855/finomaton/${P}.tar.gz"

LICENSE="GPL-2"

SLOT="0"

KEYWORDS="~x86"

IUSE="examples"

# script only
DEPEND=""
# tetex for metapost
RDEPEND="app-text/tetex
	>=dev-lang/tcl-8.3
	>=dev-lang/tk-8.3"

src_install() {
	dobin finomaton.tcl
	dodoc ChangeLog TODO README
	if use examples ; then
		dodir /usr/share/${PN}
		insinto /usr/share/${PN}
		for f in examples ; do
			doins ${f}
		done
	fi
}