blob: 33c5a146e73b0d48c8064b97bd3be90eaf849f42 (
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
|
PORTNAME= minorminer
DISTVERSION= 0.2.16
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org
COMMENT= Heuristic tool for minor graph embedding (C++ headers-only library)
WWW= https://github.com/dwavesystems/minorminer
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cmake:testing
USE_GITHUB= yes
GH_ACCOUNT= dwavesystems
CMAKE_TESTING_ON= MINORMINER_BUILD_TESTS
CMAKE_TESTING_TARGET= ${ALL_TARGET}
NO_ARCH= yes
do-install: # workaround for https://github.com/dwavesystems/minorminer/issues/220
@${MKDIR} ${STAGEDIR}${PREFIX}/include/${PORTNAME}
@cd ${WRKSRC}/include && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/include/${PORTNAME}
post-test:
@cd ${BUILD_WRKSRC}/tests && ./run_tests
.include <bsd.port.mk>
|