aboutsummaryrefslogtreecommitdiff
blob: 5f2d7cae6b4a7bb5ed3a62cc55573d198bbcfef3 (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
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

inherit eutils

DESCRIPTION="Whole genome shotgun assembler using phrap (for Sanger-based reads)"
HOMEPAGE="http://www.sanger.ac.uk/resources/software/phusion/"
SRC_URI="http://downloads.sourceforge.net/project/${PN}/${P}.tar.gz"

LICENSE="all-rights-reserved" # temporarily placed value
# from http://genome.cshlp.org/content/13/1/81.full
# Availability
# Phusion is undergoing a rewrite of the code to make this a portable package. It will be made available free of charge to academic sites, but requires licensing for commercial use. For more information please contact the authors.
SLOT="0"
KEYWORDS=""
IUSE=""

DEPEND="app-shells/tcsh
	sys-cluster/openmpi"
RDEPEND="${DEPEND}
	sci-biology/phrap
	dev-lang/perl"

# contains bundled ssaha
# file collision with sci-biology/shrimp on /usr/bin/fasta2fastq

S="${WORKDIR}"

src_prepare(){
	rm -f phusion2 *.o
	sed -e 's/^CFLAGS =/# CFLAGS =/' -i Makefile || die
}

src_install(){
	dobin ctgreads.pl phusion2
	dodoc how_to_make_mates
}