1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/math/ambit/Makefile
Yuri Victorovich 8106e8aa5d math/ambit: Update 0.4.1 -> 0.5.1
Reported by:	portscout
2020-07-20 15:53:16 +00:00

30 lines
739 B
Makefile

# $FreeBSD$
PORTNAME= ambit
DISTVERSIONPREFIX= v
DISTVERSION= 0.5.1
CATEGORIES= math
PKGNAMESUFFIX= -tensor # avoid clash with shells/ambit
MAINTAINER= yuri@FreeBSD.org
COMMENT= C++ library for tensor product calculations
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libhdf5.so:science/hdf5 \
libopenblas.so:math/openblas \
libsz.so:science/szip
USES= cmake compiler:c++11-lang
USE_GITHUB= yes
GH_ACCOUNT= jturney
USE_LDCONFIG= yes
# some declared cmake options do nothing: see https://github.com/jturney/ambit/issues/25 and the patch
CMAKE_ARGS+= -DSHARED_ONLY:BOOL=ON
CMAKE_ARGS+= -DENABLE_OPENMP:BOOL=ON
CMAKE_ARGS+= -DENABLE_TESTS:BOOL=OFF # https://github.com/jturney/ambit/issues/24
.include <bsd.port.mk>