blob: 8e1bf3c0d127624ddd7013c2614bc4dcb616d753 (
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-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
# 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 -> ${P}.zip"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples"
# script only
BDEPEND="app-arch/unzip"
# 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
}
|