Skip to content

Commit

Permalink
sci-biology/njplot: Modernise to EAPI 6
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.3, Repoman-2.3.1
  • Loading branch information
SoapGentoo committed Feb 25, 2017
1 parent 381d18e commit 6704618
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions sci-biology/njplot/njplot-2.3-r2.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=6

inherit toolchain-funcs

DESCRIPTION="A phylogenetic tree drawing program which supports tree rooting"
HOMEPAGE="http://pbil.univ-lyon1.fr/software/njplot.html"
SRC_URI="ftp://pbil.univ-lyon1.fr/pub/mol_phylogeny/njplot/archive/njplot-${PV}.tar.gz"

LICENSE="public-domain"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND="
sci-biology/ncbi-tools[X,static-libs]
x11-libs/libXmu"
DEPEND="${RDEPEND}"

PATCHES=(
"${FILESDIR}"/${P}-format-security.patch
"${FILESDIR}"/${P}-buildsystem.patch
)

src_prepare() {
default
sed -i -e "s:njplot.help:${EPREFIX}/usr/share/doc/${PF}/njplot.help:" njplot-vib.c || die

tc-export CC
}

src_install() {
dobin newicktops newicktotxt njplot unrooted
doman *.1
dodoc README njplot.help
}

0 comments on commit 6704618

Please sign in to comment.