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

EAPI=5

# 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=""
# tex for metapost
RDEPEND="
	dev-lang/tk
	dev-texlive/texlive-metapost"

src_install() {
	dobin finomaton.tcl
	dodoc ChangeLog TODO README
	if use examples ; then
		insinto /usr/share/${PN}
		doins -r examples
	fi
}