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

EAPI=5

DESCRIPTION="Order and orientate contigs, design primers for gap closing"
HOMEPAGE="http://abacas.sourceforge.net"
SRC_URI="http://downloads.sourceforge.net/project/abacas/abacas.1.3.1.pl"

LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

DEPEND=""
RDEPEND="${DEPEND}
	dev-lang/perl
	sci-biology/mummer"

S="${WORKDIR}"

src_prepare(){
	cp -p "${DISTDIR}"/abacas.1.3.1.pl abacas.pl || die
	sed -i 's#/usr/local/bin/perl#/usr/bin/perl#' -i abacas.pl || die
}
src_install(){
	dobin abacas.pl
}

pkg_postinst(){
	einfo "To view the results use Artemis ACT (sci-biology/artemis)"
}