1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

science/fleur: Add WANNIER option to use Wannier library

This commit is contained in:
Yuri Victorovich 2018-09-03 04:10:18 +00:00
parent cf616d766d
commit 9ae981877f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=478842

View File

@ -2,7 +2,7 @@
PORTNAME= fleur
DISTVERSION= 0.27-3 # Release 3 of Version 0.27
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= science
MASTER_SITES= http://www.flapw.de/pm/uploads/FLEUR/
DISTNAME= fleurMaXR${DISTVERSION:C/.*-//}
@ -22,8 +22,8 @@ FFLAGS= -I${LOCALBASE}/include
WRKSRC= ${WRKDIR}/${PORTNAME}
OPTIONS_DEFINE= HDF5 MPI SCALAPACK ELPA
OPTIONS_DEFAULT= MPI SCALAPACK ELPA
OPTIONS_DEFINE= HDF5 MPI SCALAPACK ELPA WANNIER
OPTIONS_DEFAULT= MPI SCALAPACK ELPA WANNIER
HDF5_CONFIGURE_ENV= FLEUR_USE_HDF5=1 HDF5_ROOT=${LOCALBASE}/lib
HDF5_CONFIGURE_ENV_OFF= FLEUR_USE_HDF5=0
@ -51,6 +51,12 @@ ELPA_LDFLAGS= -lelpa
ELPA_LIB_DEPENDS= libelpa.so:math/elpa
ELPA_IMPLIES= MPI
WANNIER_DESC= Use Wannier library
WANNIER_CONFIGURE_ENV= FLEUR_USE_WANNIER=1
WANNIER_CONFIGURE_ENV_OFF= FLEUR_USE_WANNIER=0
WANNIER_LDFLAGS= -lwannier
WANNIER_LIB_DEPENDS= libwannier.so:science/wannier90
PLIST_FILES= bin/fleur \
bin/inpgen