summaryrefslogtreecommitdiff
blob: 5bdf37ea32ae316ace5f10e5b57f0fe9fe2a1a95 (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-sci/phylip/phylip-3.61.ebuild,v 1.3 2004/09/29 21:39:58 ribosome Exp $

DESCRIPTION="The PHYLogeny Inference Package"
HOMEPAGE="http://evolution.genetics.washington.edu/${PN}.html"
SRC_URI="ftp://evolution.genetics.washington.edu/pub/${PN}/${P}.tar.gz"

LICENSE="freedist"
SLOT="0"
KEYWORDS="~ppc x86"
IUSE=""

DEPEND="virtual/libc
	virtual/x11"

src_compile() {
	cd src
	mkdir ../fonts
	emake -j1 -e all put || die
	mv ../exe/font* ../fonts
	mv ../doc/phylip.html ../phylip.html
}

src_install() {
	dobin exe/* || die

	dohtml phylip.html
	insinto /usr/share/doc/${PF}/html/doc
	doins doc/*

	insinto /usr/share/${PN}/fonts
	doins fonts/*
}