blob: 42805d86861b86436616039df48bd99cb6660d5b (
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
|
PORTNAME= CheMPS2
DISTVERSIONPREFIX= v
DISTVERSION= 1.8.10
CATEGORIES= science
MAINTAINER= yuri@FreeBSD.org
COMMENT= Spin-adapted implementation of DMRG for ab initio quantum chemistry
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libhdf5.so:science/hdf5 \
libsz.so:science/szip
USES= blaslapack:openblas cmake fortran
USE_GITHUB= yes
GH_ACCOUNT= SebWouters
USE_LDCONFIG= yes
CMAKE_ARGS+= -DSHARED_ONLY:BOOL=ON
CMAKE_ARGS+= -DENABLE_TESTS:BOOL=OFF
CMAKE_ARGS+= -DENABLE_XHOST:BOOL=OFF # shouldn't optimize the port in case of central build
CMAKE_ARGS+= -DENABLE_OPENMP:BOOL=OFF # find_package(OpenMP) is broken since the merge into cmake: bug#223678
CMAKE_ARGS+= -DLAPACK_LIBRARIES="-lopenblas" # can't find it using find_package for some reason
.include <bsd.port.mk>
|