/[gentoo-x86]/sci-biology/phylip/phylip-3.65-r1.ebuild
Gentoo

Contents of /sci-biology/phylip/phylip-3.65-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Tue Sep 1 19:20:56 2009 UTC (9 years, 1 month ago) by ribosome
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +1 -1 lines
FILE REMOVED
Pruned old versions.
(Portage version: 2.2_rc40/cvs/Linux x86_64)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-biology/phylip/phylip-3.65-r1.ebuild,v 1.8 2008/06/29 08:24:01 tove Exp $
4
5 inherit toolchain-funcs
6
7 DESCRIPTION="PHYLIP - The PHYLogeny Inference Package"
8 LICENSE="freedist"
9 HOMEPAGE="http://evolution.genetics.washington.edu/phylip.html"
10 SRC_URI="ftp://evolution.genetics.washington.edu/pub/${PN}/${P}.tar.gz"
11
12 SLOT="0"
13 IUSE=""
14 KEYWORDS="ppc x86"
15
16 RDEPEND="x11-libs/libXaw"
17
18 DEPEND="${RDEPEND}
19 x11-proto/xproto"
20
21 S="${WORKDIR}/${PN}${PV}/src"
22
23 src_compile() {
24 sed -e "s/CFLAGS = -O3 -fomit-frame-pointer/CFLAGS = ${CFLAGS}/" \
25 -e "s/CC = cc/CC = $(tc-getCC)/" \
26 -e "s/DC = cc/DC = $(tc-getCC)/" \
27 -i Makefile || die "Patching Makefile failed."
28 mkdir ../fonts
29 emake -j1 all put || die "Compilation failed."
30 mv ../exe/font* ../fonts || die "Font move failed."
31 mv ../exe/factor ../exe/factor-${PN} || die "Renaming factor failed."
32 }
33
34 src_install() {
35 cd "${WORKDIR}/${PN}${PV}"
36
37 dobin exe/* || die "Failed to install programs."
38
39 dodoc "${FILESDIR}"/README.Gentoo || die "Failed to install Gentoo notes."
40
41 dohtml phylip.html || die "Failed to install HTML documentation index."
42 insinto /usr/share/doc/${PF}/html/doc
43 doins doc/* || die "Failed to install HTML documentation."
44
45 insinto /usr/share/${PN}/fonts
46 doins fonts/* || die "Fonts installation failed."
47 }

  ViewVC Help
Powered by ViewVC 1.1.20