summaryrefslogtreecommitdiff
blob: 4c36abf4926dc35745fd6cbf7b520ad174523c65 (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
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-sci/seaview/seaview-1.ebuild,v 1.1 2004/06/23 17:13:35 ribosome Exp $

DESCRIPTION="A graphical multiple sequence alignment editor"
HOMEPAGE="http://pbil.univ-lyon1.fr/software/seaview.html"
SRC_URI="ftp://pbil.univ-lyon1.fr/pub/mol_phylogeny/seaview/seaview.tar"
LICENSE="public-domain"

SLOT="0"
KEYWORDS="~x86"
IUSE="clustalw"

DEPEND="x11-libs/fltk"

RDEPEND="${DEPEND}
	clustalw? app-sci/clustalw"

S=${WORKDIR}

src_compile() {
	# Corrects location of libfltk.
	CFLAGS="${CFLAGS} -c -I/usr/include/fltk-1.1"
	sed -ie 's:-L$(FLTK)/lib:-L/usr/lib/fltk-1.1:' Makefile

	emake -e || die
}

src_install() {
	dobin seaview
	use clustalw && dobin seaview_align.sh
	insinto /usr/share/${PN}
	doins protein.mase seaview.help

	# Sets the path for the package's help file.
	insinto /etc/env.d
	doins ${FILESDIR}/29seaview
}