summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Fisette <ribosome@gentoo.org>2008-08-26 19:29:53 +0000
committerOlivier Fisette <ribosome@gentoo.org>2008-08-26 19:29:53 +0000
commit334693b001e62170beae895d9dddadeb128a04d8 (patch)
tree977aea53f0dab9193baf9886c2ec254e2528c3ab /sci-biology/phylip
parentStable for HPPA because I like it. (diff)
downloadgentoo-2-334693b001e62170beae895d9dddadeb128a04d8.tar.gz
gentoo-2-334693b001e62170beae895d9dddadeb128a04d8.tar.bz2
gentoo-2-334693b001e62170beae895d9dddadeb128a04d8.zip
New upstream version.
(Portage version: 2.1.4.4)
Diffstat (limited to 'sci-biology/phylip')
-rw-r--r--sci-biology/phylip/ChangeLog7
-rw-r--r--sci-biology/phylip/phylip-3.68.ebuild47
2 files changed, 53 insertions, 1 deletions
diff --git a/sci-biology/phylip/ChangeLog b/sci-biology/phylip/ChangeLog
index 0fd45fd6959f..c075402ce31b 100644
--- a/sci-biology/phylip/ChangeLog
+++ b/sci-biology/phylip/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-biology/phylip
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/phylip/ChangeLog,v 1.32 2008/06/29 08:24:01 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/phylip/ChangeLog,v 1.33 2008/08/26 19:29:53 ribosome Exp $
+
+*phylip-3.68 (26 Aug 2008)
+
+ 26 Aug 2008; Olivier Fisette <ribosome@gentoo.org> +phylip-3.68.ebuild:
+ New upstream version.
29 Jun 2008; Torsten Veller <tove@gentoo.org> phylip-3.65-r1.ebuild,
phylip-3.66.ebuild, phylip-3.67.ebuild:
diff --git a/sci-biology/phylip/phylip-3.68.ebuild b/sci-biology/phylip/phylip-3.68.ebuild
new file mode 100644
index 000000000000..c86b739564b4
--- /dev/null
+++ b/sci-biology/phylip/phylip-3.68.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/phylip/phylip-3.68.ebuild,v 1.1 2008/08/26 19:29:53 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="~amd64 ~ppc ~x86"
+
+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/* || die "Failed to install programs."
+
+ dodoc "${FILESDIR}"/README.Gentoo || die "Failed to install Gentoo notes."
+
+ dohtml phylip.html || die "Failed to install HTML documentation index."
+ insinto /usr/share/doc/${PF}/html/doc
+ doins doc/* || die "Failed to install HTML documentation."
+
+ insinto /usr/share/${PN}/fonts
+ doins fonts/* || die "Fonts installation failed."
+}