1 |
commit: 89b91efb19621ed16be8bf20cb05670120ec431d |
2 |
Author: Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> |
3 |
AuthorDate: Wed Mar 30 14:23:32 2016 +0000 |
4 |
Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> |
5 |
CommitDate: Wed Mar 30 14:23:32 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=89b91efb |
7 |
|
8 |
sci-biology/artemis: install docs, cleanup ebuild and bring it in sync with sci-biology/act-bin and sci-biology/artemis-9999 |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
|
12 |
sci-biology/artemis/artemis-9999.ebuild | 19 ++++++++++++++----- |
13 |
1 file changed, 14 insertions(+), 5 deletions(-) |
14 |
|
15 |
diff --git a/sci-biology/artemis/artemis-9999.ebuild b/sci-biology/artemis/artemis-9999.ebuild |
16 |
index 81da9cb..d9e915d 100644 |
17 |
--- a/sci-biology/artemis/artemis-9999.ebuild |
18 |
+++ b/sci-biology/artemis/artemis-9999.ebuild |
19 |
@@ -1,14 +1,15 @@ |
20 |
-# Copyright 1999-2015 Gentoo Foundation |
21 |
+# Copyright 1999-2016 Gentoo Foundation |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
# $Id$ |
24 |
|
25 |
-EAPI=5 |
26 |
+EAPI=6 |
27 |
|
28 |
inherit java-pkg-2 java-ant-2 git-r3 |
29 |
|
30 |
DESCRIPTION="DNA sequence viewer/annotation (Artemis) and comparison (ACT) tool" |
31 |
HOMEPAGE="http://www.sanger.ac.uk/resources/software/artemis" |
32 |
-SRC_URI="ftp://ftp.sanger.ac.uk/pub/resources/software/artemis/artemis.pdf" |
33 |
+SRC_URI="ftp://ftp.sanger.ac.uk/pub/resources/software/artemis/artemis.pdf -> ${P}.manual.pdf |
34 |
+ ftp://ftp.sanger.ac.uk/pub/resources/software/artemis/v16/art_html_build.zip -> ${P}.html_build.zip" |
35 |
EGIT_REPO_URI="https://github.com/sanger-pathogens/Artemis" |
36 |
|
37 |
LICENSE="GPL-2" |
38 |
@@ -41,6 +42,10 @@ DEPEND="${RDEPEND} |
39 |
|
40 |
# BamView is at http://bamview.sourceforge.net/ |
41 |
|
42 |
+src_unpack(){ |
43 |
+ unzip "${DISTDIR}"/art_html_build.zip || die |
44 |
+} |
45 |
+ |
46 |
src_compile(){ |
47 |
ant || die |
48 |
} |
49 |
@@ -48,7 +53,9 @@ src_compile(){ |
50 |
src_install(){ |
51 |
dobin act act.command art dnaplotter gff2embl |
52 |
java-pkg_dojar ant-build/artemis.jar |
53 |
- dodoc "${DISTDIR}"/artemis.pdf README |
54 |
+ dodoc "${DISTDIR}"/"${P}".manual.pdf README |
55 |
+ insinto /usr/share/doc/"${PN}"/html |
56 |
+ doins art_html_build/* |
57 |
} |
58 |
|
59 |
# artemis_compiled_v16.0.11.tar.gz contains compiled binaries but also java *.class files |
60 |
@@ -57,5 +64,7 @@ src_install(){ |
61 |
|
62 |
pkg_postinst(){ |
63 |
einfo "For BAM file support please install sci-biology/BamView" |
64 |
- einfo " from http://bamview.sourceforge.net" |
65 |
+ einfo "You may find interesting the additional web resources:" |
66 |
+ einfo "http://www.webact.org/WebACT" |
67 |
+ einfo "http://www.hpa-bioinfotools.org.uk/pise/double_act.html" |
68 |
} |