diff options
Diffstat (limited to 'sci-biology/phylip/phylip-3.64.ebuild')
-rw-r--r-- | sci-biology/phylip/phylip-3.64.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/sci-biology/phylip/phylip-3.64.ebuild b/sci-biology/phylip/phylip-3.64.ebuild new file mode 100644 index 000000000000..488cfa1d5df6 --- /dev/null +++ b/sci-biology/phylip/phylip-3.64.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/phylip/phylip-3.64.ebuild,v 1.1 2005/08/07 14:14:49 ribosome Exp $ + +inherit toolchain-funcs + +DESCRIPTION="PHYLIP - The PHYLogeny Inference Package" +HOMEPAGE="http://evolution.genetics.washington.edu/phylip.html" +SRC_URI="ftp://evolution.genetics.washington.edu/pub/${PN}/${P}.tar.gz" +LICENSE="freedist" + +SLOT="0" +KEYWORDS="~x86 ~ppc ~ppc-macos" +IUSE="" + +DEPEND="virtual/libc + virtual/x11" + +S=${WORKDIR}/${P}/src + +src_compile() { + sed -e "s/CFLAGS =/CFLAGS = ${CFLAGS}/" \ + -e "s/CC = cc/CC = $(tc-getCC)/" \ + -e "s/DC = cc/DC = $(tc-getCC)/" \ + -i Makefile || die + mkdir ../fonts + emake -j1 all put || die + mv ../exe/font* ../fonts +} + +src_install() +{ + cd ${WORKDIR}/${P} + + dobin exe/* + + dohtml phylip.html + insinto /usr/share/doc/${PF}/html/doc + doins doc/* + + insinto /usr/share/${PN}/fonts + doins fonts/* +} |