commit:     fb4ef931e8f0177f06753635416595180b789995
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 10 14:17:58 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Jan 10 14:17:58 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=fb4ef931

sci-biology/ESTate: Soma QA and polishing

Package-Manager: portage-2.2.15

---
 sci-biology/ESTate/ChangeLog         |  3 +++
 sci-biology/ESTate/ESTate-0.5.ebuild | 28 +++++++++++++++++++---------
 2 files changed, 22 insertions(+), 9 deletions(-)

diff --git a/sci-biology/ESTate/ChangeLog b/sci-biology/ESTate/ChangeLog
index 0e86bdb..879e7b4 100644
--- a/sci-biology/ESTate/ChangeLog
+++ b/sci-biology/ESTate/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  10 Jan 2015; Justin Lecher <[email protected]> ESTate-0.5.ebuild:
+  Soma QA and polishing
+
   09 Jan 2015; Martin Mokrejs <[email protected]> ESTate-0.5.ebuild:
   improve description and emphasize the ORF finder can overcome frameshifts in
   CDS

diff --git a/sci-biology/ESTate/ESTate-0.5.ebuild 
b/sci-biology/ESTate/ESTate-0.5.ebuild
index 3e459b0..1622516 100644
--- a/sci-biology/ESTate/ESTate-0.5.ebuild
+++ b/sci-biology/ESTate/ESTate-0.5.ebuild
@@ -4,9 +4,12 @@
 
 EAPI=5
 
-DESCRIPTION="ORF finding despite frameshifts, EST clustering (framefinder, 
estcluster, usage counter, revcomp and translate)"
+inherit eutils
+
+DESCRIPTION="ORF finding despite frameshifts, EST clustering"
 HOMEPAGE="http://www.ebi.ac.uk/~guy/estate";
-SRC_URI="http://www.ebi.ac.uk/~guy/estate/estate.tar.gz
+SRC_URI="
+       http://www.ebi.ac.uk/~guy/estate/estate.tar.gz
        http://www.ebi.ac.uk/~guy/estate/thesis.ps.gz";
 
 LICENSE="GPL-2"
@@ -14,23 +17,30 @@ SLOT="0"
 KEYWORDS="~amd64"
 IUSE=""
 
-DEPEND=""
-RDEPEND="${DEPEND}"
-
 S="${WORKDIR}"/estate
 
 src_prepare(){
-       sed -e "s/^CC/#CC/" -e "s/^LDFLAGS/#LDFLAGS/" -e "s/^CFLAGS/#CFLAGS/" 
-e "s/LDFLAGS/CFLAGS/" -i src/Makefile || die
+       sed \
+               -e "s/^CC/#CC/" \
+               -e "s/^LDFLAGS/#LDFLAGS/" \
+               -e "s/^CFLAGS/#CFLAGS/" \
+               -e "s/LDFLAGS/CFLAGS/" \
+               -i src/Makefile || die
 }
 
 src_install(){
        dobin bin/*
        doman doc/man/man1/*.1 doc/man/man7/*.7
+
        insinto /usr/share/ESTate/etc
        doins etc/ESTaterc
+
        insinto /usr/share/ESTate/example
        doins example/embl59* example/drosophila*
-       dodoc ANNOUNCE.txt README.txt
-       dodoc "${DISTDIR}"/thesis.ps.gz
-       einfo "Additionally you may want to install sci-biology/wcd which can 
be used by ESTate"
+
+       dodoc ANNOUNCE.txt README.txt "${DISTDIR}"/thesis.ps.gz
+}
+
+pkg_postinst() {
+       optfeature "additional features" sci-biology/wcd
 }

Reply via email to