From 9ae981877f10680847d0fc5624cae473c349c210 Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Mon, 3 Sep 2018 04:10:18 +0000 Subject: [PATCH] science/fleur: Add WANNIER option to use Wannier library --- science/fleur/Makefile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/science/fleur/Makefile b/science/fleur/Makefile index 832d544cde46..1a3a36ad2a5c 100644 --- a/science/fleur/Makefile +++ b/science/fleur/Makefile @@ -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