2017-11-18 22:57:55 +01:00
|
|
|
PORTNAME= ambit
|
|
|
|
DISTVERSIONPREFIX= v
|
2020-07-20 17:53:16 +02:00
|
|
|
DISTVERSION= 0.5.1
|
2017-11-18 22:57:55 +01:00
|
|
|
CATEGORIES= math
|
2017-11-19 22:22:24 +01:00
|
|
|
PKGNAMESUFFIX= -tensor # avoid clash with shells/ambit
|
2017-11-18 22:57:55 +01:00
|
|
|
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
|
|
COMMENT= C++ library for tensor product calculations
|
|
|
|
|
|
|
|
LICENSE= GPLv3
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
|
|
|
LIB_DEPENDS= libhdf5.so:science/hdf5 \
|
2019-04-28 10:42:56 +02:00
|
|
|
libopenblas.so:math/openblas \
|
2017-11-18 22:57:55 +01:00
|
|
|
libsz.so:science/szip
|
|
|
|
|
2021-04-07 05:27:57 +02:00
|
|
|
USES= cmake compiler:c++11-lang python:build
|
2017-11-18 22:57:55 +01:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= jturney
|
2020-05-07 03:05:29 +02:00
|
|
|
USE_LDCONFIG= yes
|
2017-11-18 22:57:55 +01:00
|
|
|
|
|
|
|
# some declared cmake options do nothing: see https://github.com/jturney/ambit/issues/25 and the patch
|
|
|
|
CMAKE_ARGS+= -DSHARED_ONLY:BOOL=ON
|
2019-04-28 10:42:56 +02:00
|
|
|
CMAKE_ARGS+= -DENABLE_OPENMP:BOOL=ON
|
2017-11-18 22:57:55 +01:00
|
|
|
CMAKE_ARGS+= -DENABLE_TESTS:BOOL=OFF # https://github.com/jturney/ambit/issues/24
|
|
|
|
|
2018-11-02 14:32:34 +01:00
|
|
|
.include <bsd.port.mk>
|