aboutsummaryrefslogtreecommitdiffstats
path: root/biology/paml/Makefile
blob: c28a6a9be64afa8d16388f0ca754b3a2ce8e0b26 (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
# Created by: dbader@eece.unm.edu
# $FreeBSD$

PORTNAME=   paml
PORTVERSION=    4.8
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}/${PORTNAME}${PORTVERSION}/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
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${DOC_FILES}
    ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}${PORTVERSION}/doc/${f} ${STAGEDIR}${DOCSDIR}
.endfor

.include <bsd.port.mk>