diff options
author | 2007-09-19 18:32:04 +0000 | |
---|---|---|
committer | 2007-09-19 18:32:04 +0000 | |
commit | 0cb1e845cd5ab25ce3a8e36beead0ac57c35ca32 (patch) | |
tree | 787513fa2a3993673fac351f2dc3825b76ea1fdb /sci-biology/phylip/phylip-3.67.ebuild | |
parent | Stable on ppc; bug #192445. (diff) | |
download | gentoo-2-0cb1e845cd5ab25ce3a8e36beead0ac57c35ca32.tar.gz gentoo-2-0cb1e845cd5ab25ce3a8e36beead0ac57c35ca32.tar.bz2 gentoo-2-0cb1e845cd5ab25ce3a8e36beead0ac57c35ca32.zip |
New upstream version.
(Portage version: 2.1.3.9)
Diffstat (limited to 'sci-biology/phylip/phylip-3.67.ebuild')
-rw-r--r-- | sci-biology/phylip/phylip-3.67.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/sci-biology/phylip/phylip-3.67.ebuild b/sci-biology/phylip/phylip-3.67.ebuild new file mode 100644 index 000000000000..aa146eb00325 --- /dev/null +++ b/sci-biology/phylip/phylip-3.67.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/phylip/phylip-3.67.ebuild,v 1.1 2007/09/19 18:32:04 ribosome Exp $ + +inherit toolchain-funcs + +DESCRIPTION="PHYLIP - The PHYLogeny Inference Package" +LICENSE="freedist" +HOMEPAGE="http://evolution.genetics.washington.edu/phylip.html" +SRC_URI="http://evolution.gs.washington.edu/${PN}/download/${P}.tar.gz" + +SLOT="0" +IUSE="" +KEYWORDS="~ppc ~ppc-macos ~x86 ~amd64" + +RDEPEND="x11-libs/libXaw" + +DEPEND="${RDEPEND} + x11-proto/xproto" + +S="${WORKDIR}/${P}/src" + +src_compile() { + sed -e "s/CFLAGS = -O3 -fomit-frame-pointer/CFLAGS = ${CFLAGS}/" \ + -e "s/CC = cc/CC = $(tc-getCC)/" \ + -e "s/DC = cc/DC = $(tc-getCC)/" \ + -i Makefile || die "Patching Makefile failed." + mkdir ../fonts + emake -j1 all put || die "Compilation failed." + mv ../exe/font* ../fonts || die "Font move failed." + mv ../exe/factor ../exe/factor-${PN} || die "Renaming factor failed." +} + +src_install() { + cd "${WORKDIR}/${P}" + + dobin exe/* || "Failed to install programs." + + dodoc "${FILESDIR}"/README.Gentoo || die "Failed to install Gentoo notes." + + dohtml phylip.html || "Failed to install HTML documentation index." + insinto /usr/share/doc/${PF}/html/doc + doins doc/* || "Failed to install HTML documentation." + + insinto /usr/share/${PN}/fonts + doins fonts/* || die "Fonts installation failed." +} |