summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Mokrejš <mmokrejs@gmail.com>2017-02-02 15:35:38 +0100
committerDavid Seifert <soap@gentoo.org>2017-02-02 20:18:51 +0100
commit2e9f162bea114cf4cdf1b1f37d539592b499032c (patch)
tree53f3a61a510cc9d81beae31e88778d239b80e626 /sci-biology/infernal/infernal-1.0.2-r1.ebuild
parentsci-libs/linux-gpib: Remove old (diff)
downloadgentoo-2e9f162bea114cf4cdf1b1f37d539592b499032c.tar.gz
gentoo-2e9f162bea114cf4cdf1b1f37d539592b499032c.tar.bz2
gentoo-2e9f162bea114cf4cdf1b1f37d539592b499032c.zip
sci-biology/infernal: respect EPREFIX
Closes: https://github.com/gentoo/gentoo/pull/3774
Diffstat (limited to 'sci-biology/infernal/infernal-1.0.2-r1.ebuild')
-rw-r--r--sci-biology/infernal/infernal-1.0.2-r1.ebuild39
1 files changed, 18 insertions, 21 deletions
diff --git a/sci-biology/infernal/infernal-1.0.2-r1.ebuild b/sci-biology/infernal/infernal-1.0.2-r1.ebuild
index 3c0ca9aa7b12..ad87152391e8 100644
--- a/sci-biology/infernal/infernal-1.0.2-r1.ebuild
+++ b/sci-biology/infernal/infernal-1.0.2-r1.ebuild
@@ -1,10 +1,8 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=4
-
-inherit eutils
+EAPI=6
DESCRIPTION="Inference of RNA alignments"
HOMEPAGE="http://infernal.janelia.org/"
@@ -15,33 +13,32 @@ SLOT="0"
IUSE="mpi"
KEYWORDS="amd64 x86"
-DEPEND="mpi? ( virtual/mpi )"
-RDEPEND="${DEPEND}"
+RDEPEND="mpi? ( virtual/mpi )"
+DEPEND="${RDEPEND}"
-src_prepare() {
- epatch \
- "${FILESDIR}"/${P}-parallel-build.patch \
- "${FILESDIR}"/${P}-overflows.patch \
- "${FILESDIR}"/${P}-perl-5.16-2.patch \
- "${FILESDIR}"/${P}-ldflags.patch
-}
+PATCHES=(
+ "${FILESDIR}"/${P}-parallel-build.patch
+ "${FILESDIR}"/${P}-overflows.patch
+ "${FILESDIR}"/${P}-perl-5.16-2.patch
+ "${FILESDIR}"/${P}-ldflags.patch
+ "${FILESDIR}"/${P}-respect-DESTDIR.patch
+)
src_configure() {
- econf \
- --prefix="${D}/usr" \
- $(use_enable mpi)
+ econf $(use_enable mpi)
}
src_install() {
+ DOCS=( 00README* Userguide.pdf documentation/release-notes )
default
- pushd documentation/manpages > /dev/null
- for i in *;
- do newman ${i} ${i/.man/.1}
+ pushd documentation/manpages >/dev/null || die
+ local i
+ for i in *.man; do
+ newman "${i}" "${i/.man/.1}"
done
- popd > /dev/null
+ pushd >/dev/null || die
insinto /usr/share/${PN}
doins -r benchmarks tutorial intro matrices
- dodoc 00README* Userguide.pdf documentation/release-notes/*
}