Lines 1-8
Link Here
|
1 |
PORTNAME= libgridxc |
1 |
PORTNAME= libgridxc |
2 |
DISTVERSION= 0.9.6 |
2 |
DISTVERSION= 0.10.1 |
3 |
CATEGORIES= science |
3 |
CATEGORIES= science |
4 |
MASTER_SITES= https://gitlab.com/siesta-project/libraries/${PORTNAME}/-/archive/${PORTNAME}-${DISTVERSION}/ |
4 |
MASTER_SITES= https://gitlab.com/siesta-project/libraries/${PORTNAME}/uploads/3c396bbafcbf20a38d34fb92bb90c211/ |
5 |
DISTNAME= ${PORTNAME}-${PORTNAME}-${DISTVERSION} |
|
|
6 |
|
5 |
|
7 |
MAINTAINER= yuri@FreeBSD.org |
6 |
MAINTAINER= yuri@FreeBSD.org |
8 |
COMMENT= Library to compute the exchange and correlation energy and potentials |
7 |
COMMENT= Library to compute the exchange and correlation energy and potentials |
Lines 11-17
WWW= https://gitlab.com/siesta-project/libraries/libgridxc
Link Here
|
11 |
LICENSE= BSD3CLAUSE |
10 |
LICENSE= BSD3CLAUSE |
12 |
LICENSE_FILE= ${WRKSRC}/COPYING |
11 |
LICENSE_FILE= ${WRKSRC}/COPYING |
13 |
|
12 |
|
14 |
USES= autoreconf fortran gmake libtool |
13 |
USES= fortran gmake libtool |
15 |
USE_LDCONFIG= yes |
14 |
USE_LDCONFIG= yes |
16 |
|
15 |
|
17 |
GNU_CONFIGURE= yes |
16 |
GNU_CONFIGURE= yes |
Lines 19-37
GNU_CONFIGURE= yes
Link Here
|
19 |
INSTALL_TARGET= install-strip |
18 |
INSTALL_TARGET= install-strip |
20 |
|
19 |
|
21 |
OPTIONS_DEFINE= MPI LIBXC |
20 |
OPTIONS_DEFINE= MPI LIBXC |
22 |
OPTIONS_DEFAULT= # MPI LIBXC |
21 |
OPTIONS_DEFAULT= MPI LIBXC |
|
|
22 |
OPTIONS_SUB= yes |
23 |
|
23 |
|
24 |
MPI_USES= localbase:ldflags |
24 |
MPI_USES= localbase:ldflags |
25 |
MPI_CONFIGURE_WITH= mpi=${LOCALBASE} |
25 |
MPI_CONFIGURE_WITH= mpi=${LOCALBASE} |
26 |
MPI_VARS= FCFLAGS+="-I${LOCALBASE}/include" LDFLAGS+="-L${LOCALBASE}/lib -lmpifort" |
26 |
MPI_VARS= FCFLAGS+="-I${LOCALBASE}/include -fallow-argument-mismatch" LDFLAGS+="-L${LOCALBASE}/lib -lmpifort" |
27 |
MPI_LDFLAGS= -lmpich |
27 |
MPI_LDFLAGS= -lmpich |
28 |
MPI_LIB_DEPENDS= libmpich.so:net/mpich |
28 |
MPI_LIB_DEPENDS= libmpich.so:net/mpich |
29 |
MPI_BROKEN= https://gitlab.com/siesta-project/libraries/libgridxc/-/issues/15 |
|
|
30 |
|
29 |
|
31 |
LIBXC_DESC= Use libxc for exchange-correlation functionals for DFT |
30 |
LIBXC_DESC= Use libxc for exchange-correlation functionals for DFT |
32 |
LIBXC_CONFIGURE_WITH= libxc=${LOCALBASE} |
31 |
LIBXC_CONFIGURE_WITH= libxc=${LOCALBASE} |
33 |
LIBXC_VARS= FCFLAGS+="-I${LOCALBASE}/include" LDFLAGS+="-L${LOCALBASE}/lib -lxcf90" |
32 |
LIBXC_VARS= FCFLAGS+="-I${LOCALBASE}/include" LDFLAGS+="-L${LOCALBASE}/lib -lxcf90" |
34 |
LIBXC_LIB_DEPENDS= libxc.so:science/libxc |
33 |
LIBXC_LIB_DEPENDS= libxc.so:science/libxc |
35 |
LIBXC_BROKEN= https://gitlab.com/siesta-project/libraries/libgridxc/-/issues/16 |
|
|
36 |
|
34 |
|
37 |
.include <bsd.port.mk> |
35 |
.include <bsd.port.mk> |