forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sci-biology/njplot: Modernise to EAPI 6
Package-Manager: Portage-2.3.3, Repoman-2.3.1
- Loading branch information
1 parent
381d18e
commit 6704618
Showing
1 changed file
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |