freebsd-ports/science/gdma/Makefile
2023-04-23 09:09:58 +00:00

27 lines
555 B
Makefile

PORTNAME= gdma
DISTVERSIONPREFIX= v
DISTVERSION= 2.2.6
PORTREVISION= 6
CATEGORIES= science
MAINTAINER= yuri@FreeBSD.org
COMMENT= Anthony Stone's Gaussian Distributed Multipole Analysis
WWW= https://github.com/psi4/gdma
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cmake fortran
USE_GITHUB= yes
GH_ACCOUNT= psi4
USE_LDCONFIG= yes
CMAKE_ARGS= -DBUILD_SHARED_LIBS:BOOL=ON \
-DENABLE_XHOST:BOOL=OFF
.if !exists(/usr/include/omp.h)
CMAKE_ARGS+= -DENABLE_OPENMP:BOOL=OFF
.else
CMAKE_ARGS+= -DENABLE_OPENMP:BOOL=ON
.endif
.include <bsd.port.mk>