blob: 97962d3b0ba5bc3cd41580919a63bbaaddca738c (
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
|
# Copyright 1999-2015 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="https://www.ctan.org/pkg/finomaton"
SRC_URI="http://mirrors.ctan.org/graphics/finomaton.zip"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples"
# script only
DEPEND=""
# tex for metapost
RDEPEND="
dev-lang/tk:0
dev-texlive/texlive-metapost"
S="${WORKDIR}"/${PN}
src_install() {
dobin finomaton.tcl
dodoc ChangeLog TODO README
if use examples ; then
insinto /usr/share/${PN}
doins -r examples
fi
}
|