blob: 1e8677fe26022fe758e47e2ffb17a4cdb6360cd2 (
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
|
# Copyright 1999-2014 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=""
# tex for metapost
RDEPEND="
dev-lang/tk
dev-texlive/texlive-metapost"
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
}
|