aboutsummaryrefslogtreecommitdiff
blob: f77ae61aa3c6c867245d0a2b7b7c153146b38dd0 (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
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="Distance-based probabilistic multiple sequence alignment algo for DNA/RNA/prot"
HOMEPAGE="https://fsa.sourceforge.net"
SRC_URI="https://downloads.sourceforge.net/project/fsa/${P}.tar.gz"

LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64"

DEPEND="dev-java/java-config"
RDEPEND="${DEPEND}"

# needs java for fsa-1.15.9/display/ processing:
# jar cmf mad/manifest.mf mad.jar \
#         -C . mad \
#         -C . JMF-2.1.1e/lib/jmf.jar \
#         -C . jai-1_1_3/lib/jai_core.jar \
#         -C . jai-1_1_3/lib/jai_codec.jar
# * Home for VM '' does not exist:
# * Invalid System VM:

src_install(){
	default
	# avoid file collision with sci-biology/ESTate-0.5
	mv "${D}"/"${EPREFIX}"/usr/bin/translate "${D}"/"${EPREFIX}"/usr/bin/fsa_translate || die
}

pkg_postinst(){
	einfo "Optionally you may want to install sci-biology/mummer and"
	einfo "sci-biology/exonerate"
}