commit:     89b91efb19621ed16be8bf20cb05670120ec431d
Author:     Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Wed Mar 30 14:23:32 2016 +0000
Commit:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Wed Mar 30 14:23:32 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=89b91efb

sci-biology/artemis: install docs, cleanup ebuild and bring it in sync with 
sci-biology/act-bin and sci-biology/artemis-9999

Package-Manager: portage-2.2.28

 sci-biology/artemis/artemis-9999.ebuild | 19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)

diff --git a/sci-biology/artemis/artemis-9999.ebuild 
b/sci-biology/artemis/artemis-9999.ebuild
index 81da9cb..d9e915d 100644
--- a/sci-biology/artemis/artemis-9999.ebuild
+++ b/sci-biology/artemis/artemis-9999.ebuild
@@ -1,14 +1,15 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
 inherit java-pkg-2 java-ant-2 git-r3
 
 DESCRIPTION="DNA sequence viewer/annotation (Artemis) and comparison (ACT) 
tool"
 HOMEPAGE="http://www.sanger.ac.uk/resources/software/artemis";
-SRC_URI="ftp://ftp.sanger.ac.uk/pub/resources/software/artemis/artemis.pdf";
+SRC_URI="ftp://ftp.sanger.ac.uk/pub/resources/software/artemis/artemis.pdf -> 
${P}.manual.pdf
+       
ftp://ftp.sanger.ac.uk/pub/resources/software/artemis/v16/art_html_build.zip -> 
${P}.html_build.zip"
 EGIT_REPO_URI="https://github.com/sanger-pathogens/Artemis";
 
 LICENSE="GPL-2"
@@ -41,6 +42,10 @@ DEPEND="${RDEPEND}
 
 # BamView is at http://bamview.sourceforge.net/
 
+src_unpack(){
+       unzip "${DISTDIR}"/art_html_build.zip || die
+}
+
 src_compile(){
        ant || die
 }
@@ -48,7 +53,9 @@ src_compile(){
 src_install(){
        dobin act act.command art dnaplotter gff2embl
        java-pkg_dojar ant-build/artemis.jar
-       dodoc "${DISTDIR}"/artemis.pdf README
+       dodoc "${DISTDIR}"/"${P}".manual.pdf README
+       insinto /usr/share/doc/"${PN}"/html
+       doins art_html_build/*
 }
 
 # artemis_compiled_v16.0.11.tar.gz contains compiled binaries but also java 
*.class files
@@ -57,5 +64,7 @@ src_install(){
 
 pkg_postinst(){
        einfo "For BAM file support please install sci-biology/BamView"
-       einfo "         from http://bamview.sourceforge.net";
+       einfo "You may find interesting the additional web resources:"
+       einfo "http://www.webact.org/WebACT";
+       einfo "http://www.hpa-bioinfotools.org.uk/pise/double_act.html";
 }

Reply via email to