Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-biology/njplot/
Date: Sat, 25 Feb 2017 21:39:38
Message-Id: 1488058755.670461840c80b391afef997e0f0e94000894584d.soap@gentoo
1 commit: 670461840c80b391afef997e0f0e94000894584d
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 25 21:32:53 2017 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 25 21:39:15 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67046184
7
8 sci-biology/njplot: Modernise to EAPI 6
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 sci-biology/njplot/njplot-2.3-r2.ebuild | 39 +++++++++++++++++++++++++++++++++
13 1 file changed, 39 insertions(+)
14
15 diff --git a/sci-biology/njplot/njplot-2.3-r2.ebuild b/sci-biology/njplot/njplot-2.3-r2.ebuild
16 new file mode 100644
17 index 0000000000..ac857840c1
18 --- /dev/null
19 +++ b/sci-biology/njplot/njplot-2.3-r2.ebuild
20 @@ -0,0 +1,39 @@
21 +# Copyright 1999-2017 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +# $Id$
24 +
25 +EAPI=6
26 +
27 +inherit toolchain-funcs
28 +
29 +DESCRIPTION="A phylogenetic tree drawing program which supports tree rooting"
30 +HOMEPAGE="http://pbil.univ-lyon1.fr/software/njplot.html"
31 +SRC_URI="ftp://pbil.univ-lyon1.fr/pub/mol_phylogeny/njplot/archive/njplot-${PV}.tar.gz"
32 +
33 +LICENSE="public-domain"
34 +SLOT="0"
35 +KEYWORDS="~amd64 ~x86"
36 +IUSE=""
37 +
38 +RDEPEND="
39 + sci-biology/ncbi-tools[X,static-libs]
40 + x11-libs/libXmu"
41 +DEPEND="${RDEPEND}"
42 +
43 +PATCHES=(
44 + "${FILESDIR}"/${P}-format-security.patch
45 + "${FILESDIR}"/${P}-buildsystem.patch
46 +)
47 +
48 +src_prepare() {
49 + default
50 + sed -i -e "s:njplot.help:${EPREFIX}/usr/share/doc/${PF}/njplot.help:" njplot-vib.c || die
51 +
52 + tc-export CC
53 +}
54 +
55 +src_install() {
56 + dobin newicktops newicktotxt njplot unrooted
57 + doman *.1
58 + dodoc README njplot.help
59 +}