diff --git a/science/mpb/Makefile b/science/mpb/Makefile index 556983af2503..74104a94cb6d 100644 --- a/science/mpb/Makefile +++ b/science/mpb/Makefile @@ -1,52 +1,52 @@ PORTNAME= mpb -DISTVERSION= 1.11.1 -PORTREVISION= 11 +DISTVERSION= 1.12.0 CATEGORIES= science MASTER_SITES= https://github.com/NanoComp/mpb/releases/download/v${DISTVERSION}/ MAINTAINER= rhurlin@FreeBSD.org COMMENT= MIT Photonic-Bands WWW= https://mpb.readthedocs.io/en/latest/ LICENSE= GPLv2 BUILD_DEPENDS= bash:shells/bash # NLOPT should be enabled in science/libctl LIB_DEPENDS= libctl.so:science/libctl \ libfftw3.so:math/fftw3 \ libhdf5.so:science/hdf5 \ libnlopt.so:math/nlopt USES= fortran guile:2.2,alias libtool pkgconfig readline USE_GCC= yes USE_LDCONFIG= yes # Do not use --with-mpi, because it is not guaranted -# that science/hdf5 also built with option PARALLEL +# that science/hdf5 also built with option PARALLEL. +# TODO: if bin/h5pcc exists, hdf5 is built with PARALLEL GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS= --enable-shared MAKE_JOBS_UNSAFE= yes INSTALL_TARGET= install-strip TEST_TARGET= check CPPFLAGS+= -I${LOCALBASE}/include -fpermissive LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= ATLAS OPENMP ATLAS_DESC= Use math/atlas instead of math/openblas OPENMP_DESC= Use OpenMP (enable also in math/fftw3) ATLAS_LIB_DEPENDS= libatlas.so:math/atlas ATLAS_USES_OFF= blaslapack:openblas ATLAS_CONFIGURE_ON= --with-lapack=-lalapack ATLAS_CONFIGURE_OFF= --with-blas=openblas --with-lapack=-lopenblas OPENMP_CONFIGURE_ON= --with-openmp post-install: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC}/examples && \ ${COPYTREE_SHARE} "*.ctl *.scm" ${STAGEDIR}${EXAMPLESDIR}) .include diff --git a/science/mpb/distinfo b/science/mpb/distinfo index f64ee3c25203..f4bce5558292 100644 --- a/science/mpb/distinfo +++ b/science/mpb/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1603732678 -SHA256 (mpb-1.11.1.tar.gz) = dc55b081c56079727dac92d309f8e4ea84ca6eea9122ec24b7955f8c258608e1 -SIZE (mpb-1.11.1.tar.gz) = 636154 +TIMESTAMP = 1744484384 +SHA256 (mpb-1.12.0.tar.gz) = 8d2b206254b217f66a53c1ad20cc0c369b93b0e71ee671d68e333a583eaaeda4 +SIZE (mpb-1.12.0.tar.gz) = 667392 diff --git a/science/mpb/pkg-plist b/science/mpb/pkg-plist index 37ecbcca430c..4efcd1a1c8d2 100644 --- a/science/mpb/pkg-plist +++ b/science/mpb/pkg-plist @@ -1,31 +1,31 @@ bin/mpb bin/mpb-data bin/mpb-split include/mpb.h include/mpb/eigensolver.h include/mpb/matrices.h include/mpb/maxwell.h include/mpb/scalar.h include/mpb/verbosity.h lib/libmpb.a lib/libmpb.so -lib/libmpb.so.1 -lib/libmpb.so.1.4.1 +lib/libmpb.so.6 +lib/libmpb.so.6.0.0 %%EXAMPLESDIR%%/bragg-sine.ctl %%EXAMPLESDIR%%/bragg.ctl %%EXAMPLESDIR%%/check.ctl %%EXAMPLESDIR%%/diamond.ctl %%EXAMPLESDIR%%/dos.scm %%EXAMPLESDIR%%/hole-slab.ctl %%EXAMPLESDIR%%/honey-rods.ctl %%EXAMPLESDIR%%/line-defect.ctl %%EXAMPLESDIR%%/sq-rods.ctl %%EXAMPLESDIR%%/strip.ctl %%EXAMPLESDIR%%/tri-holes.ctl %%EXAMPLESDIR%%/tri-rods.ctl %%EXAMPLESDIR%%/tutorial.ctl %%EXAMPLESDIR%%/wavevector.scm share/man/man1/mpb-data.1.gz share/man/man1/mpb-split.1.gz share/man/man1/mpb.1.gz %%DATADIR%%/mpb.scm