1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/biology/paml/Makefile
Joseph Mingrone 110a0bfa20 biology/paml: Update to version 4.9j
- Remove BROKEN=. Version 4.9i became unfetchable when the author pulled
  the tarball to prevent users from downloading a version with new, serious
  bugs.

Upstream changes described by the author:

  - mcmctree: Initial values have ages that are too old, exceeding max
    bounds.  In theory bounds in mcmctree are always soft so that the node
    ages will move to the area of posterior mode when burnin is long enough.
    In practice the poor starting values are problematic and requires long
    burn-in.  I have rewritten the code for generating initial values to
    respect the min and max bounds specified in the fossil calibrations.

  - codeml: A bug introduced in 4.9i caused the clade labels ($) to be
    ignored.  This affects the branch, branch-site and clade models.  If
    your tree has branch labels (#) only and no clade models, everything
    will be fine.  If you have used the clade label ($) in the tree with or
    without the branch label (#), either the program will abort or the
    results will be incorrect.  The clade label ($) is supposed to label
    all branches in the clade as well as the branch itself, but all clade
    labels in the tree are ignored in 4.9i.  Earlier versions are correct.
2019-11-22 15:32:40 +00:00

55 lines
1.5 KiB
Makefile

# Created by: dbader@eece.unm.edu
# $FreeBSD$
PORTNAME= paml
PORTVERSION= 4.9j
CATEGORIES= biology
MASTER_SITES= http://abacus.gene.ucl.ac.uk/software/
DISTNAME= ${PORTNAME}${DISTVERSION}
MAINTAINER= jrm@FreeBSD.org
COMMENT= Phylogenetic Analysis by Maximum Likelihood (PAML)
LICENSE= GPLv3
USES= dos2unix gmake tar:tgz
DOS2UNIX_GLOB= *.HKYG5 *.aa *.c *.ctl *.dat *.nexus *.nuc *.phy *.result *.tre \
*.trees *.txt *.xml paupblock paupend
BINARIES= baseml basemlg chi2 codeml evolver evolverNSbranches \
evolverNSbranchsites evolverNSsites pamp yn00
OPTIONS_DEFINE= DOCS EXAMPLES
post-extract:
@${FIND} ${WRKSRC}/Technical -name "*.exe" -delete
do-build:
@cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} ${MAKE_CMD}
.for f in NSbranches NSsites NSbranchsites
@cd ${WRKSRC}/src && \
${CC} ${CFLAGS} -DCodon${f} -o evolver${f} evolver.c tools.c -lm
.endfor
do-install:
.for f in ${BINARIES}
${INSTALL_PROGRAM} ${WRKSRC}/src/${f} ${STAGEDIR}${PREFIX}/bin
.endfor
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}
do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} "dat Technical" \
${STAGEDIR}${EXAMPLESDIR})
(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
.for f in *.aa *.ctl *.dat *.nuc *.trees *.txt paup*
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${EXAMPLESDIR}
.endfor
.include <bsd.port.mk>