blob: 2c285b7a1696699a2e5d10baf31ab37c7e2b32f4 (
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
35
36
37
38
|
# $FreeBSD$
PORTNAME= gemma
DISTVERSION= 0.98.1
CATEGORIES= biology
MAINTAINER= jwb@FreeBSD.org
COMMENT= Genome-wide Efficient Mixed Model Association
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libcblas.so:math/cblas \
libgsl.so:math/gsl
USES= blaslapack:openblas compiler:c++11-lang eigen:3 gmake \
localbase:ldflags
USE_GITHUB= yes
GH_ACCOUNT= genetics-statistics
GH_PROJECT= GEMMA
MAKEFILE= ${FILESDIR}/Makefile
CXXFLAGS+= -I${LOCALBASE}/include/eigen3 -DOPENBLAS -DOPENBLAS_LEGACY
LDFLAGS+= -lopenblas
OPTIONS_DEFINE= EXAMPLES
pre-configure:
@${REINPLACE_CMD} -e 's|../bin/gemma|../gemma|' ${WRKSRC}/test/*.sh
do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC}/example && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
do-test:
(cd ${WRKSRC}/test && ${SH} test_suite.sh)
.include <bsd.port.mk>
|