Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Sep 2018 04:10:18 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r478842 - head/science/fleur
Message-ID:  <201809030410.w834AIJl049715@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Mon Sep  3 04:10:18 2018
New Revision: 478842
URL: https://svnweb.freebsd.org/changeset/ports/478842

Log:
  science/fleur: Add WANNIER option to use Wannier library

Modified:
  head/science/fleur/Makefile

Modified: head/science/fleur/Makefile
==============================================================================
--- head/science/fleur/Makefile	Mon Sep  3 04:09:00 2018	(r478841)
+++ head/science/fleur/Makefile	Mon Sep  3 04:10:18 2018	(r478842)
@@ -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
@@ -50,6 +50,12 @@ ELPA_VARS=		FFLAGS+=-I${LOCALBASE}/include/elpa-2018.0
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809030410.w834AIJl049715>