summaryrefslogtreecommitdiff
path: root/misc/quantum++/Makefile
blob: f9fb63cfa1082f179fcb4ce32d6f7faeb6532249 (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

PORTNAME=	quantum++
DISTVERSIONPREFIX=	v
DISTVERSION=	2.6-42
DISTVERSIONSUFFIX=	-g9c3933eca
CATEGORIES=	misc devel

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	C++ header-only general purpose quantum computing library

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		cmake compiler:c++11-lang eigen:3,build,run

USE_GITHUB=	yes
GH_ACCOUNT=	softwareQinc
GH_PROJECT=	qpp

NO_BUILD=	yes
NO_ARCH=	yes

do-test:
	@cd ${BUILD_WRKSRC} && \
		${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} unit_tests && \
		ctest

.include <bsd.port.mk>