summaryrefslogtreecommitdiff
path: root/math/ambit/Makefile
blob: 6685e57aa34e90bbd21e4d1f59450031357485f2 (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
29
30
PORTNAME=	ambit
DISTVERSIONPREFIX=	v
DISTVERSION=	0.6
PORTREVISION=	2
CATEGORIES=	math
PKGNAMESUFFIX=	-tensor # avoid clash with shells/ambit

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	C++ library for tensor product calculations
WWW=		https://github.com/jturney/ambit

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libhdf5.so:science/hdf5 \
		libopenblas.so:math/openblas \
		libsz.so:science/libaec

USES=		cmake:testing compiler:c++11-lang python:build
USE_LDCONFIG=	yes

USE_GITHUB=	yes
GH_ACCOUNT=	jturney

# some declared cmake options do nothing: see https://github.com/jturney/ambit/issues/25 and the patch
CMAKE_ON=		SHARED_ONLY ENABLE_OPENMP
CMAKE_OFF=		ENABLE_TESTS # https://github.com/jturney/ambit/issues/24
CMAKE_TESTING_ON=	ENABLE_TESTS

.include <bsd.port.mk>