aboutsummaryrefslogtreecommitdiff
path: root/biology/mothur/Makefile
blob: cd379b8b9e23bf23bceb0988fcec7f3390ea2c8e (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
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>