summaryrefslogtreecommitdiff
path: root/biology/mothur/Makefile
blob: 75ab1338598984786afdf36c65c1a19607ef8baf (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

PORTNAME=	mothur
DISTVERSIONPREFIX=	v
DISTVERSION=	1.43.0
CATEGORIES=	biology

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Software for bioinformatics of the microbial ecology community

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/LICENSE.md

BUILD_DEPENDS=	bash:shells/bash

USES=		compiler:c++11-lang gmake localbase readline shebangfix
SHEBANG_FILES=	source/uchime_src/mk
USE_GITHUB=	yes
ALL_TARGET=	${PORTNAME}

BINARY_ALIAS=	g++=${CXX}

EXES=		${PORTNAME} uchime

PLIST_FILES=	${EXES:S/^/bin\//}

do-install: # https://github.com/mothur/mothur/issues/615
.for e in ${EXES}
	${INSTALL_PROGRAM} ${WRKSRC}/${e} ${STAGEDIR}${PREFIX}/bin
.endfor

.include <bsd.port.mk>