summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-02-25 16:16:26 +0100
committerDavid Seifert <soap@gentoo.org>2017-02-25 16:23:58 +0100
commitee8afc8624d23ec0bd41a5b63ca03ab40973af00 (patch)
tree18fb37b1e77d9f97c143a22e9b54305843e1ce25 /sci-biology
parentsci-biology/clustalw: Modernise to EAPI 6 (diff)
downloadgentoo-ee8afc8624d23ec0bd41a5b63ca03ab40973af00.tar.gz
gentoo-ee8afc8624d23ec0bd41a5b63ca03ab40973af00.tar.bz2
gentoo-ee8afc8624d23ec0bd41a5b63ca03ab40973af00.zip
sci-biology/clustalw: Modernise to EAPI 6
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'sci-biology')
-rw-r--r--sci-biology/clustalw/clustalw-1.83-r4.ebuild (renamed from sci-biology/clustalw/clustalw-1.83-r3.ebuild)14
-rw-r--r--sci-biology/clustalw/files/1.83-as-needed.patch4
2 files changed, 9 insertions, 9 deletions
diff --git a/sci-biology/clustalw/clustalw-1.83-r3.ebuild b/sci-biology/clustalw/clustalw-1.83-r4.ebuild
index 6047a08ed466..bf6e6a9c28c3 100644
--- a/sci-biology/clustalw/clustalw-1.83-r3.ebuild
+++ b/sci-biology/clustalw/clustalw-1.83-r4.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
-inherit eutils toolchain-funcs
+inherit toolchain-funcs
DESCRIPTION="General purpose multiple alignment program for DNA and proteins"
HOMEPAGE="http://www.embl-heidelberg.de/~seqanal/"
@@ -17,8 +17,10 @@ IUSE=""
S="${WORKDIR}"/${PN}${PV}
+PATCHES=( "${FILESDIR}"/${PV}-as-needed.patch )
+
src_prepare() {
- epatch "${FILESDIR}"/${PV}-as-needed.patch
+ default
sed \
-e "/^CC/s:cc:$(tc-getCC):g" \
@@ -30,7 +32,5 @@ src_prepare() {
src_install() {
dobin clustalw
- dodoc README clustalv.doc clustalw.doc clustalw.ms
- insinto /usr/share/doc/${PF}
- doins clustalw_help
+ dodoc README clustalv.doc clustalw{.doc,.ms,_help}
}
diff --git a/sci-biology/clustalw/files/1.83-as-needed.patch b/sci-biology/clustalw/files/1.83-as-needed.patch
index 62b4654cddea..9bb35b43f24a 100644
--- a/sci-biology/clustalw/files/1.83-as-needed.patch
+++ b/sci-biology/clustalw/files/1.83-as-needed.patch
@@ -1,5 +1,5 @@
---- makefile 2003-01-29 09:53:45.000000000 +0100
-+++ makefile.new 2009-08-17 08:33:16.000000000 +0200
+--- a/makefile
++++ b/makefile
@@ -11,11 +11,11 @@
HEADERS = general.h clustalw.h