# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header:$ DESCRIPTION="PHYLIP (the PHYLogeny Inference Package) is a package of programs for inferring phylogenies." HOMEPAGE="http://evolution.genetics.washington.edu/phylip.html" SRC_URI="ftp://evolution.genetics.washington.edu/pub/phylip/phylip36/${PN}.tar.gz" LICENSE="freedist" SLOT="3.6" KEYWORDS="~x86" IUSE="" DEPEND="virtual/glibc virtual/x11" S=${WORKDIR}/${PN}/src src_compile() { EXTRA_EMAKE="-e ${CFLAGS}" emake -j1 install || die } src_install() { insinto /etc/env.d newins ${FILESDIR}/24phylip-${PV} 24phylip DESTTREE=/usr/phylip/${PV} cd ${WORKDIR}/${PN}/exe dobin clique consense contml contrast dnacomp dnadist dnainvar dobin dnaml dnamlk dnamove dnapars dnapenny dollop dolmove dobin dolpenny drawgram drawtree factor fitch gendist kitsch dobin mix move neighbor pars penny proml promlk protdist protpars dobin restdist restml retree seqboot treedist dohtml ${WORKDIR}/${PN}/doc/* }