Lines 1-6
Link Here
|
1 |
PORTNAME= mpb |
1 |
PORTNAME= mpb |
2 |
DISTVERSION= 1.11.1 |
2 |
DISTVERSION= 1.11.1 |
3 |
PORTREVISION= 1 |
3 |
PORTREVISION= 2 |
4 |
CATEGORIES= science |
4 |
CATEGORIES= science |
5 |
MASTER_SITES= https://github.com/NanoComp/mpb/releases/download/v${DISTVERSION}/ |
5 |
MASTER_SITES= https://github.com/NanoComp/mpb/releases/download/v${DISTVERSION}/ |
6 |
|
6 |
|
Lines 15-44
LIB_DEPENDS= libctl.so:science/libctl \
Link Here
|
15 |
libfftw3.so:math/fftw3 \ |
15 |
libfftw3.so:math/fftw3 \ |
16 |
libgc-threaded.so:devel/boehm-gc-threaded \ |
16 |
libgc-threaded.so:devel/boehm-gc-threaded \ |
17 |
libguile-2.2.so:lang/guile2 \ |
17 |
libguile-2.2.so:lang/guile2 \ |
18 |
libhdf5.so:science/hdf5 |
18 |
libhdf5.so:science/hdf5 \ |
|
|
19 |
libnlopt.so:math/nlopt |
19 |
|
20 |
|
20 |
USES= fortran libtool pkgconfig readline |
21 |
USES= fortran libtool pkgconfig readline |
21 |
GNU_CONFIGURE= yes |
22 |
GNU_CONFIGURE= yes |
22 |
USE_GCC= yes |
23 |
USE_LDCONFIG= yes |
23 |
# Do not use --with-mpi, because it is not guaranted |
24 |
# Do not use --with-mpi, because it is not guaranted |
24 |
# that science/hdf5 also built with option PARALLEL |
25 |
# that science/hdf5 also built with option PARALLEL |
|
|
26 |
CONFIGURE_ARGS= --enable-shared |
25 |
CPPFLAGS+= -I${LOCALBASE}/include |
27 |
CPPFLAGS+= -I${LOCALBASE}/include |
26 |
LDFLAGS+= -L${LOCALBASE}/lib |
28 |
LDFLAGS+= -L${LOCALBASE}/lib |
27 |
|
29 |
|
28 |
MAKE_JOBS_UNSAFE= yes |
30 |
MAKE_JOBS_UNSAFE= yes |
29 |
|
31 |
|
30 |
OPTIONS_DEFINE= ATLAS NLOPT OPENMP |
32 |
INSTALL_TARGET= install-strip |
31 |
OPTIONS_DEFAULT= NLOPT |
33 |
TEST_TARGET= check |
|
|
34 |
|
35 |
OPTIONS_DEFINE= ATLAS OPENMP |
32 |
|
36 |
|
33 |
ATLAS_DESC= Use math/atlas instead of math/openblas |
37 |
ATLAS_DESC= Use math/atlas instead of math/openblas |
34 |
NLOPT_DESC= Use math/nlopt (enable also in science/libctl) |
|
|
35 |
OPENMP_DESC= Use OpenMP (enable also in math/fftw3) |
38 |
OPENMP_DESC= Use OpenMP (enable also in math/fftw3) |
36 |
|
39 |
|
37 |
ATLAS_LIB_DEPENDS= libatlas.so:math/atlas |
40 |
ATLAS_LIB_DEPENDS= libatlas.so:math/atlas |
38 |
ATLAS_USES_OFF= blaslapack:openblas |
41 |
ATLAS_USES_OFF= blaslapack:openblas |
39 |
ATLAS_CONFIGURE_ON= --with-lapack=-lalapack |
42 |
ATLAS_CONFIGURE_ON= --with-lapack=-lalapack |
40 |
ATLAS_CONFIGURE_OFF= --with-blas=openblas --with-lapack=-lopenblas |
43 |
ATLAS_CONFIGURE_OFF= --with-blas=openblas --with-lapack=-lopenblas |
41 |
NLOPT_LIB_DEPENDS= libnlopt.so:math/nlopt |
|
|
42 |
OPENMP_CONFIGURE_ON= --with-openmp |
44 |
OPENMP_CONFIGURE_ON= --with-openmp |
43 |
|
45 |
|
44 |
post-install: |
46 |
post-install: |