/[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 - (hide annotations) (download)
Tue Sep 1 19:20:56 2009 UTC (9 years, 2 months 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 grobian 1.7 # Copyright 1999-2008 Gentoo Foundation
2 ribosome 1.1 # Distributed under the terms of the GNU General Public License v2
3 ribosome 1.9 # $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 ribosome 1.1
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 grobian 1.7 KEYWORDS="ppc x86"
15 ribosome 1.1
16 dberkholz 1.6 RDEPEND="x11-libs/libXaw"
17 ribosome 1.5
18     DEPEND="${RDEPEND}
19 dberkholz 1.6 x11-proto/xproto"
20 ribosome 1.1
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 tove 1.8 dobin exe/* || die "Failed to install programs."
38 ribosome 1.1
39     dodoc "${FILESDIR}"/README.Gentoo || die "Failed to install Gentoo notes."
40    
41 tove 1.8 dohtml phylip.html || die "Failed to install HTML documentation index."
42 ribosome 1.1 insinto /usr/share/doc/${PF}/html/doc
43 tove 1.8 doins doc/* || die "Failed to install HTML documentation."
44 ribosome 1.1
45     insinto /usr/share/${PN}/fonts
46     doins fonts/* || die "Fonts installation failed."
47     }

  ViewVC Help
Powered by ViewVC 1.1.20