summaryrefslogtreecommitdiffstats
path: root/biology/fasttree/Makefile
blob: 1dcc0db615bac311c9eb05eea726f8904beed17b (plain)
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
34
# Created by: Jason Bacon <bacon4000@gmail.com>
# $FreeBSD$

PORTNAME=	FastTree
PORTVERSION=	2.1.8
PORTREVISION=	2
CATEGORIES=	biology
MASTER_SITES=	http://www.microbesonline.org/fasttree/
EXTRACT_SUFX=	.c

MAINTAINER=	bacon4000@gmail.com
COMMENT=	Approximately-maximum-likelihood phylogenetic trees from alignments

# LICENSE=	unspecified open source

USES=		compiler:openmp

CFLAGS+=	-DOPENMP -fopenmp -O3 -finline-functions -funroll-loops
LDFLAGS+=	-lm

PLIST_FILES=	bin/FastTree

do-extract:
	${MKDIR} ${WRKSRC}
	${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}

do-build:
	cd ${WRKSRC} && ${CC} ${CFLAGS} -o FastTree ${DISTFILES} ${LDFLAGS}

do-install:
	${MKDIR} ${STAGEDIR}${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/FastTree ${STAGEDIR}${PREFIX}/bin

.include <bsd.port.mk>
OpenPOWER on IntegriCloud