# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 DESCRIPTION="\ MODELTEST is program for the selection the model of nucleotide substitution that best fits the data. The program chooses among 56 models, and implements three different model selection frameworks: hierarchical likelihood ratio tests (hLRTs), Akaike information criterion (AIC), and Bayesian information criterion (BIC). The program also implements the assesment of model uncertainty and tools for model averaging and calculation of parameter importance, using the AIC or the BIC." HOMEPAGE="http://darwin.uvigo.es/software/modeltest.html" SRC_URI="${PN}${PV}.zip" LICENSE="GPL" IUSE="doc" SLOT="0" KEYWORDS="~x86" RESTRICT="fetch" DEPEND="" S=${WORKDIR}/Modeltest${PV}\ folder pkg_nofetch() { einfo "Please go to http://darwin.uvigo.es/software/modeltest.html" einfo "and fill out the registration. Download modeltest${PV}.zip and" einfo "place it in the /usr/portage/distfiles directory." } src_compile() { cd "${S}/source" || die emake || die } src_install() { cd "${S}/source" || die dobin "modeltest${PV}" || die cd "${S}/doc" if use doc; then dodoc Modeltest${PV}.pdf fi }