freebsd-ports/misc/quantum++/Makefile
2023-04-23 09:09:58 +00:00

29 lines
586 B
Makefile

PORTNAME= quantum++
DISTVERSIONPREFIX= v
DISTVERSION= 4.0.1
PORTREVISION= 1
CATEGORIES= misc devel
MAINTAINER= yuri@FreeBSD.org
COMMENT= C++ header-only general purpose quantum computing library
WWW= https://github.com/softwareQinc/qpp
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cmake:testing compiler:c++17-lang eigen:3,build,run
USE_GITHUB= yes
GH_ACCOUNT= softwareQinc
GH_PROJECT= qpp
CMAKE_TESTING_ON= WITH_UNIT_TESTS
CMAKE_TESTING_TARGET= unit_tests
NO_BUILD= yes
NO_ARCH= yes
post-test: # run tests
@${BUILD_WRKSRC}/unit_tests/unit_tests
.include <bsd.port.mk>