freebsd-ports/math/minorminer/Makefile
Yuri Victorovich 21463da359 math/minorminer: update 0.2.11 → 0.2.12
Reported by:	portscout
2023-08-31 00:06:38 -07:00

29 lines
722 B
Makefile

PORTNAME= minorminer
DISTVERSION= 0.2.12
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>