summaryrefslogtreecommitdiff
path: root/biology/biosoup/Makefile
blob: ff570145cf6ae8a1daa0cdd8acda2ecbdf631094 (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

PORTNAME=	biosoup
DISTVERSION=	g20201216
CATEGORIES=	biology devel

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Collection of C++ header-only data structures for bioinformatics

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

TEST_DEPENDS=	googletest>0:devel/googletest

USES=		cmake

USE_GITHUB=	yes
GH_ACCOUNT=	rvaser
GH_TAGNAME=	e2b39f1

NO_ARCH=	yes

PLIST_FILES=	include/biosoup/nucleic_acid.hpp \
		include/biosoup/overlap.hpp \
		include/biosoup/progress_bar.hpp \
		include/biosoup/sequence.hpp \
		include/biosoup/timer.hpp

do-install:
	cd ${WRKSRC}/include && ${COPYTREE_SHARE} ${PORTNAME} ${STAGEDIR}${PREFIX}/include

do-test:
	@cd ${BUILD_WRKSRC} && \
		${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -D${PORTNAME}_build_tests:BOOL=ON ${CMAKE_SOURCE_PATH} && \
		${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
		${BUILD_WRKSRC}/bin/${PORTNAME}_test

.include <bsd.port.mk>