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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Dec 14 16:28:55 2005 UTC (12 years, 8 months ago) by ribosome
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
 Fixed file collision with "sys-apps/coreutils" (bug #115482)
(Portage version: 2.0.51.22-r3)

1 # Copyright 1999-2005 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.ebuild,v 1.1 2005/10/18 01:03:07 ribosome 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 ~ppc-macos ~x86"
15
16 DEPEND="virtual/libc
17 virtual/x11"
18
19 S="${WORKDIR}/${PN}${PV}/src"
20
21 src_compile() {
22 sed -e "s/CFLAGS = -O3 -fomit-frame-pointer/CFLAGS = ${CFLAGS}/" \
23 -e "s/CC = cc/CC = $(tc-getCC)/" \
24 -e "s/DC = cc/DC = $(tc-getCC)/" \
25 -i Makefile || die "Patching Makefile failed."
26 mkdir ../fonts
27 emake -j1 all put || die "Compilation failed."
28 mv ../exe/font* ../fonts || die "Font move failed."
29 }
30
31 src_install() {
32 cd "${WORKDIR}/${PN}${PV}"
33
34 dobin exe/* || "Failed to install programs."
35
36 dohtml phylip.html || "Failed to install HTML documentation index."
37 insinto /usr/share/doc/${PF}/html/doc
38 doins doc/* || "Failed to install HTML documentation."
39
40 insinto /usr/share/${PN}/fonts
41 doins fonts/* || die "Fonts installation failed."
42 }

  ViewVC Help
Powered by ViewVC 1.1.20