1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/science/chemps2/Makefile
Yuri Victorovich a23c352c24 science/chemps2: Update to 1.8.5
Submitted by:	myself
Reported by:	portscout
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D13908
2018-01-15 22:04:40 +00:00

28 lines
796 B
Makefile

# $FreeBSD$
PORTNAME= CheMPS2
DISTVERSIONPREFIX= v
DISTVERSION= 1.8.5
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:outsource fortran
USE_GITHUB= yes
GH_ACCOUNT= SebWouters
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>