aboutsummaryrefslogtreecommitdiffstats
path: root/biology/paml/Makefile
blob: c4b3181ba84d776c415acb822a39641cfce7a409 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Created by: dbader@eece.unm.edu
# $FreeBSD$

PORTNAME=   paml
PORTVERSION=    4.9a
CATEGORIES= biology
MASTER_SITES=   http://abacus.gene.ucl.ac.uk/software/
DISTNAME=   ${PORTNAME}${PORTVERSION}

MAINTAINER= jrm@ftfl.ca
COMMENT=    Phylogenetic Analysis by Maximum Likelihood (PAML)

USES=       gmake tar:tgz
WRKSRC=     ${WRKDIR}/${DISTNAME}/src
MAKE_ARGS=  CC="${CC}" CFLAGS="${CFLAGS}"

BINARIES=   baseml basemlg chi2 codeml evolver pamp yn00
DOC_FILES=  pamlDOC.pdf pamlFAQs.pdf pamlHistory.txt

OPTIONS_DEFINE= DOCS

do-install:
.for f in ${BINARIES}
    ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin
.endfor

do-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${DOC_FILES}
    ${INSTALL_DATA} ${WRKSRC}/../doc/${f} ${STAGEDIR}${DOCSDIR}
.endfor

.include <bsd.port.mk>