Files
ports/math/cimod/Makefile
T
2026-06-10 11:13:37 -07:00

35 lines
931 B
Makefile

PORTNAME= cimod
DISTVERSIONPREFIX= v
DISTVERSION= 1.7.4
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org
COMMENT= C++ header-only library for a binary quadratic models
WWW= https://www.openjij.org/ \
https://github.com/Jij-Inc/cimod
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= nlohmann-json>0:devel/nlohmann-json
RUN_DEPENDS= nlohmann-json>0:devel/nlohmann-json
TEST_DEPENDS= googletest>0:devel/googletest
USES= cmake:testing compiler:c++17-lang eigen:3,build,run
USE_GITHUB= yes
GH_ACCOUNT= Jij-Inc
CMAKE_ON= CIMOD_INSTALL # doesn't do anything, see https://github.com/OpenJij/cimod/issues/103
CMAKE_OFF= CIMOD_TEST CIMOD_DOCS
CMAKE_TESTING_ON= CIMOD_TEST
NO_ARCH= yes
do-install: # see https://github.com/OpenJij/cimod/issues/103
cd ${WRKSRC}/include && ${COPYTREE_SHARE} ${PORTNAME} ${STAGEDIR}${PREFIX}/include
# tests as of 1.7.4: 100% tests passed, 0 tests failed out of 79
.include <bsd.port.mk>