blob: aa566e9f04c11aa17e1e2aa5b7306bcf86d6efe5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
|
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PERL_EXPORT_PHASE_FUNCTIONS=no
inherit eutils perl-module
DESCRIPTION="A genome annotation viewer and pipeline for small eukaryota and prokaryota"
HOMEPAGE="http://www.yandell-lab.org/software/maker.html"
SRC_URI="maker-"${PV}".tgz"
RESTRICT="fetch"
# for academia: GPL-v2 or Artistic-2
# for commercial: ask
LICENSE="|| ( GPL-2 Artistic-2 )"
SLOT="0"
KEYWORDS=""
IUSE="mpi"
# http://search.cpan.org/~rybskej/forks-0.36/lib/forks.pm # bug #566360
# http://search.cpan.org/~rybskej/forks-0.36/lib/forks/shared.pm
DEPEND="
mpi? ( sys-cluster/mpich2 || ( sys-cluster/openmpi ) )
dev-perl/DBI
dev-perl/DBD-SQLite
dev-perl/File-Which
dev-perl/Bit-Vector
dev-perl/Inline-C
dev-perl/IO-All
dev-perl/libwww-perl
dev-perl/DBD-Pg
dev-perl/Module-Build
dev-perl/Want
dev-perl/IO-Prompt
dev-perl/Perl-Unsafe-Signals
dev-perl/forks
>=sci-biology/GAL-0.2.1
>=sci-biology/bioperl-1.6
sci-biology/ncbi-tools || ( sci-biology/ncbi-tools++ )
sci-biology/snap
sci-biology/exonerate
>=sci-biology/augustus-2.0
sci-biology/repeatmasker"
#sci-biology/GeneMark_ES-bin
#sci-biology/GeneMark_S-bin
#>=sci-biology/FGENESH-bin-2.4 (not in gentoo yet)
RDEPEND="${DEPEND}"
# dev-perl/forks-shared ?
# ==============================================================================
# STATUS MAKER v2.31.8
# ==============================================================================
# PERL Dependencies: MISSING
# ! Perl::Unsafe::Signals
# ! Want
# ! forks
# ! forks::shared
#
# External Programs: MISSING
# ! RepeatMasker
#
# External C Libraries: VERIFIED
# MPI SUPPORT: DISABLED
# MWAS Web Interface: DISABLED
# MAKER PACKAGE: MISSING PREREQUISITES
#
#
# Important Commands:
# ./Build installdeps #installs missing PERL dependencies
# ./Build installexes #installs all missing external programs
# ./Build install #installs MAKER
# ./Build status #Shows this status menu
#
# Other Commands:
# ./Build repeatmasker #installs RepeatMasker (asks for RepBase)
# ./Build blast #installs BLAST (NCBI BLAST+)
# ./Build exonerate #installs Exonerate (v2 on UNIX / v1 on Mac OSX)
# ./Build snap #installs SNAP
# ./Build augustus #installs Augustus
# ./Build apollo #installs Apollo
# ./Build gbrowse #installs GBrowse (must be root)
# ./Build jbrowse #installs JBrowse (MAKER copy, not web accecible)
# ./Build webapollo #installs WebApollo (use maker2wap to create DBs)
# ./Build mpich2 #installs MPICH2 (but manual install recommended)
# Building MAKER
#
# * MISSING MAKER PREREQUISITES - CANNOT CONTINUE!!
S="${WORKDIR}"/maker/src
pkg_nofetch() {
einfo "Please visit ${HOMEPAGE} and obtain the file"
einfo "maker-"${PV}".tgz and place it into ${DISTDIR}"
einfo "You must also install sci-biology/repeatmasker otherwise"
einfo "MAKER install process will stop."
einfo "That in turn requires you to register at http://www.girinst.org/server/RepBase"
einfo "to obtain sci-biology/repeatmasker-libraries data file"
einfo "For execution through openmpi or mpich please read INSTALL file"
einfo "Customization typically go into maker_opts.ctl file"
}
src_compile(){
perl Build.PL || die
./Build install || die
}
# If you move it, then the executables won’t be able to locate dependencies in the …/maker/data,
# …/maker/lib, and …/maker/perl directories. You should really either add the location of
# …/maker/bin to you PATH environmental variable or at most soft link the executables somewhere
# else using the ‘ln -s’ command.
src_install(){
cd "${WORKDIR}"/maker || die
rm -f bin/fasta_tool # is part of sci-biology/GAL
# drop development related accessory script requiring Parallel/MPIcar.pm
find . -name mpi_evaluator | xargs rm || die
mv bin/compare bin/compare_gff3_to_chado # rename as agreed by upstream, will be in maker-3 as well
dobin bin/*
perl_set_version
insinto "${VENDOR_LIB}"/MAKER # uppercase, not "${PN}"
doins perl/lib/MAKER/*.pm
doman perl/man/*.3pm
insinto "${VENDOR_LIB}"/Parallel/Application
doins perl/lib/Parallel/Application/*.pm
insinto /usr/share/"${PN}"/data
doins data/*
# FIXME: find equivalent perl packages for lib/* contents, for example lib/GI.pm
dodoc README INSTALL
insinto /usr/share/"${PN}"/GMOD/Apollo
doins GMOD/Apollo/gff3.tiers
insinto /usr/share/"${PN}"/GMOD/JBrowse
doins GMOD/JBrowse/maker.css
}
|