summaryrefslogtreecommitdiff
blob: d42656d39f993cc4e7b55024801cec8f7dbca8a7 (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-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-biology/njplot/njplot-20050109.ebuild,v 1.1 2005/01/09 18:34:14 ribosome Exp $

DESCRIPTION="A phylogenetic tree drawing program which supports tree rooting"
HOMEPAGE="http://pbil.univ-lyon1.fr/software/njplot.html"
SRC_URI="mirror://gentoo/${P}.tar.bz2"
LICENSE="public-domain"

SLOT="0"
KEYWORDS="~x86"
IUSE=""

DEPEND="sci-biology/ncbi-tools
	virtual/x11"

src_unpack() {
	unpack ${A}
	cd ${S}
	sed -i -e "s%njplot.help%/usr/share/doc/${PF}/njplot.help%" njplot-vib.c
}

src_compile() {
	make all -e || die
}

src_install() {
	dobin add_root newicktops newicktotxt njplot unrooted
	insinto /usr/share/doc/${PF}
	doins njplot.help
	insinto /usr/share/${PN}
	doins test.ph
}