diff --git a/cad/calculix-ccx/Makefile b/cad/calculix-ccx/Makefile index 34987fdb43a0..e0d3c5b5c77a 100644 --- a/cad/calculix-ccx/Makefile +++ b/cad/calculix-ccx/Makefile @@ -1,74 +1,74 @@ PORTNAME= ccx DISTVERSION= 2.22 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= cad MASTER_SITES= http://www.dhondt.de/ PKGNAMEPREFIX= CalculiX- DISTFILES= ${DIST_SOURCES} DIST_SUBDIR= calculix EXTRACT_ONLY= ${DIST_SOURCES} MAINTAINER= rsmith@xs4all.nl COMMENT= Three-Dimensional Structural Finite Element Program WWW= http://www.calculix.de/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/gpl-2.0.txt -LIB_DEPENDS= libarpack.so:math/arpack-ng \ +LIB_DEPENDS= libarpack.so:math/arpack-ng@mpich \ libspooles.so:math/spooles USES= blaslapack fortran gmake perl5 tar:bzip2 USE_PERL5= build DIST_SOURCES= ccx_${DISTVERSION}.src${EXTRACT_SUFX} DIST_HTM= ccx_${DISTVERSION}.htm${EXTRACT_SUFX} DIST_PDF= ccx_${DISTVERSION}.pdf DIST_EXAMPLES= ccx_${DISTVERSION}.test${EXTRACT_SUFX} ALL_TARGET= CFLAGS+= -fpic FFLAGS+= -fpic CCX_VER= ccx_${PORTVERSION} DOCSDIR= ${PREFIX}/share/doc/CalculiX TEST_WRKSRC= ${WRKDIR}/CalculiX/${CCX_VER}/test WRKSRC= ${WRKDIR}/CalculiX/${CCX_VER}/src OPTIONS_DEFINE= DOCS EXAMPLES DOCS_DISTFILES= ${DIST_HTM} ${DIST_PDF} DOCS_EXTRACT_ONLY= ${DIST_HTM} EXAMPLES_DISTFILES= ${DIST_EXAMPLES} EXAMPLES_EXTRACT_ONLY= ${DIST_EXAMPLES} pre-build: @${REINPLACE_CMD} -e 's+%%FC%%+${FC}+g ; s+%%CC%%+${CC}+g ; \ s+%%BLAS_LIBS%%+${BLASLIB}+ ; \ s+%%LAPACK_LIBS%%+${LAPACKLIB}+ ; \ s+%%LOCALBASE%%+${LOCALBASE}+g;' \ ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${CCX_VER} \ ${STAGEDIR}${PREFIX}/bin/ccx do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} @(cd ${WRKDIR}/CalculiX/${CCX_VER}/doc/ccx && ${COPYTREE_SHARE} . \ ${STAGEDIR}${DOCSDIR}/ccx) ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${DIST_PDF} \ ${STAGEDIR}${DOCSDIR} do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @(cd ${WRKDIR}/CalculiX/${CCX_VER}/test && ${COPYTREE_SHARE} . \ ${STAGEDIR}${EXAMPLESDIR}) do-test: @cd ${TEST_WRKSRC} && ( \ ${SH} compare \ ) .include diff --git a/math/armadillo/Makefile b/math/armadillo/Makefile index 9e396d3ff985..e67003e794c2 100644 --- a/math/armadillo/Makefile +++ b/math/armadillo/Makefile @@ -1,36 +1,37 @@ PORTNAME= armadillo PORTVERSION= 15.2.3 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= SF/arma MAINTAINER= sunpoet@FreeBSD.org COMMENT= C++ linear algebra library WWW= https://arma.sourceforge.net/ \ https://gitlab.com/conradsnicta/armadillo-code LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt -LIB_DEPENDS= libarpack.so:math/arpack-ng \ +LIB_DEPENDS= libarpack.so:math/arpack-ng@mpich \ libsuperlu.so:math/superlu USES= blaslapack:openblas cmake:testing compiler:c++11-lang pkgconfig tar:xz CMAKE_OFF= ALLOW_BLAS_LAPACK_MACOS \ ALLOW_FLEXIBLAS_LINUX \ ALLOW_OPENBLAS_MACOS \ BUILD_SMOKE_TEST \ HEADER_ONLY CMAKE_ON= BUILD_SHARED_LIBS CMAKE_TESTING_ON= BUILD_SMOKE_TEST USE_LDCONFIG= yes PLIST_SUB= PORTVERSION=${PORTVERSION} OPTIONS_DEFINE= OPENBLAS_LAPACK OPENBLAS_LAPACK_DESC= Use LAPACK function from OpenBLAS OPENBLAS_LAPACK_CMAKE_BOOL= OPENBLAS_PROVIDES_LAPACK OPENBLAS_LAPACK_LIB_DEPENDS_OFF=liblapack.so:math/lapack .include diff --git a/math/arpack++/Makefile b/math/arpack++/Makefile index 3c216ceddc83..ee5954aad657 100644 --- a/math/arpack++/Makefile +++ b/math/arpack++/Makefile @@ -1,65 +1,65 @@ PORTNAME= arpack++ PORTVERSION= 2.4.0 -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= math MAINTAINER= ports@FreeBSD.org COMMENT= Object-oriented version of the ARPACK package WWW= https://www.ime.unicamp.br/~chico/arpack++/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -LIB_DEPENDS= libarpack.so:math/arpack-ng \ +LIB_DEPENDS= libarpack.so:math/arpack-ng@mpich \ libsuperlu.so:math/superlu \ libcholmod.so:math/suitesparse-cholmod \ libumfpack.so:math/suitesparse-umfpack USES= cmake:testing compiler:c++17-lang fortran USE_CXXSTD= c++17 USE_GITHUB= yes GH_ACCOUNT= m-reuter GH_PROJECT= arpackpp CMAKE_ARGS= -DENABLE_FORTRAN:BOOL=ON \ -DENABLE_SUPERLU:BOOL=ON \ -DENABLE_UMFPACK:BOOL=ON \ -DENABLE_CHOLMOD:BOOL=ON \ -DENABLE_SUITESPARSE_STATIC:BOOL=OFF NO_ARCH= yes REINPLACE_ARGS= -i "" DOCS= README.md doc/README doc/arpackpp.pdf doc/structure.txt OPTIONS_DEFINE= DOCS EXAMPLES OPTIONS_RADIO= BLAS OPTIONS_RADIO_BLAS= ATLAS NETLIB OPENBLAS OPTIONS_DEFAULT= OPENBLAS EXAMPLES_CMAKE_ON= -DENABLE_TESTS:BOOL=ON EXAMPLES_CMAKE_OFF= -DENABLE_TESTS:BOOL=OFF EXAMPLES_VARS_OFF= NO_BUILD=yes ATLAS_USES= blaslapack:atlas NETLIB_USES= blaslapack:netlib OPENBLAS_USES= blaslapack:openblas PORTDOCS= * PORTEXAMPLES= * do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for doc in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR} .endfor @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${CP} -R ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} @${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}." .include diff --git a/math/arpack-ng/Makefile b/math/arpack-ng/Makefile index 6c6ae2ea1cc0..630623ccba10 100644 --- a/math/arpack-ng/Makefile +++ b/math/arpack-ng/Makefile @@ -1,57 +1,109 @@ PORTNAME= arpack-ng DISTVERSION= 3.9.1 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= Revised Argand library for solving large-scale eigenvalue problems -WWW= https://forge.scilab.org/index.php/p/arpack-ng/ +WWW= https://github.com/opencollab/arpack-ng LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING -LIB_DEPENDS= libmpich.so:net/mpich # MPI is incremental: it adds the libparpack.so lib, it is a candidate for a sub-package +FLAVORS= mpich openmpi nompi +FLAVOR?= ${FLAVORS:[1]} +mpich_PKGNAMESUFFIX= -mpich +openmpi_PKGNAMESUFFIX= -openmpi +nompi_PKGNAMESUFFIX= -nompi + +USES= autoreconf eigen:3 fortran libtool localbase pkgconfig +USE_LDCONFIG= yes -USES= autoreconf fortran libtool localbase pkgconfig USE_GITHUB= yes GH_ACCOUNT= opencollab + GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-blas="${BLASLIB}" \ --with-lapack="${LAPACKLIB}" \ - --enable-mpi \ --disable-static \ --enable-icb + +.if ${FLAVOR} == mpich +USES+= mpi:mpich +CONFIGURE_ARGS+= --enable-mpi \ + --with-mpi=${MPI_PREFIX} \ + --with-mpi-lib="${MPI_LIBS}" \ + --with-mpi-include="${MPI_INCLUDES}" # these are not respected, see https://github.com/opencollab/arpack-ng/issues/479 +CFLAGS+= ${MPI_CFLAGS} +FFLAGS+= ${MPI_CFLAGS} +FCFLAGS+= ${MPI_CFLAGS} +LDFLAGS+= ${MPI_LIBS} +PATH= "${MPI_HOME}/bin::/sbin:/bin:/usr/sbin:/usr/bin:${PREFIX}/bin" +PLIST_FILES= include/arpack/parpack.h \ + include/arpack/parpack.hpp \ + lib/libparpack.so \ + lib/libparpack.so.2 \ + lib/libparpack.so.2.1.0 +.endif + +.if ${FLAVOR} == openmpi +USES+= mpi:openmpi +CONFIGURE_ARGS+= --enable-mpi \ + --with-mpi=${MPI_PREFIX} \ + --with-mpi-lib="${MPI_LIBS}" \ + --with-mpi-include="${MPI_INCLUDES}" # these are not respected, see https://github.com/opencollab/arpack-ng/issues/479 +CFLAGS+= ${MPI_CFLAGS} +FFLAGS+= ${MPI_CFLAGS} +FCFLAGS+= ${MPI_CFLAGS} +LDFLAGS+= ${MPI_LIBS} +PATH= "${MPI_HOME}/bin::/sbin:/bin:/usr/sbin:/usr/bin:${PREFIX}/bin" +PLIST_FILES= include/arpack/parpack.h \ + include/arpack/parpack.hpp \ + lib/libparpack.so \ + lib/libparpack.so.2 \ + lib/libparpack.so.2.1.0 +CONFLICTS_BUILD= mpich +.endif + TEST_TARGET= check -USE_LDCONFIG= yes PIE_UNSAFE= yes PORTDOCS= * PORTEXAMPLES= * CONFLICTS_INSTALL= arpack OPTIONS_DEFINE= DOCS EXAMPLES OPTIONS_SINGLE= BLASLIB OPTIONS_SINGLE_BLASLIB= ATLAS NETLIB OPENBLAS OPTIONS_DEFAULT= NETLIB ATLAS_USES= blaslapack:atlas NETLIB_USES= blaslapack:netlib OPENBLAS_USES= blaslapack:openblas pre-configure: cd ${WRKSRC} && ./bootstrap post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*arpack.so.*.* post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/DOCUMENTS && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/EXAMPLES && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} +# tests as of 3.9.1: +# TOTAL: 8 +# PASS: 8 +# SKIP: 0 +# XFAIL: 0 +# FAIL: 0 +# XPASS: 0 +# ERROR: 0 + .include diff --git a/math/arpack-ng/pkg-plist b/math/arpack-ng/pkg-plist index 4e566a75cdbe..6026c6062419 100644 --- a/math/arpack-ng/pkg-plist +++ b/math/arpack-ng/pkg-plist @@ -1,22 +1,17 @@ include/arpack/arpack.h include/arpack/arpack.hpp include/arpack/arpackdef.h include/arpack/arpackicb.h include/arpack/debug.h include/arpack/debugF90.h include/arpack/debug_c.h include/arpack/debug_c.hpp -include/arpack/parpack.h -include/arpack/parpack.hpp include/arpack/stat.h include/arpack/statF90.h include/arpack/stat_c.h include/arpack/stat_c.hpp lib/libarpack.so lib/libarpack.so.2 lib/libarpack.so.2.1.0 -lib/libparpack.so -lib/libparpack.so.2 -lib/libparpack.so.2.1.0 libdata/pkgconfig/arpack.pc libdata/pkgconfig/parpack.pc diff --git a/math/deal.ii/Makefile b/math/deal.ii/Makefile index 1023331319ba..0dc9900cd712 100644 --- a/math/deal.ii/Makefile +++ b/math/deal.ii/Makefile @@ -1,118 +1,118 @@ PORTNAME= deal.II DISTVERSION= 9.6.2 -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= math MASTER_SITES= https://github.com/dealii/dealii/releases/download/v${DISTVERSION}/ DISTNAME= dealii-${DISTVERSION} MAINTAINER= yuri@FreeBSD.org COMMENT= Finite element Differential Equations Analysis Library (DEAL) WWW= https://www.dealii.org/ \ https://github.com/dealii/dealii LICENSE= APACHE20 LGPL21 LICENSE_COMB= dual LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE.md LICENSE_FILE_LGPL21= ${WRKSRC}/LICENSE.md BROKEN_aarch64= error: use of undeclared identifier '__TBB_machine_fetchadd4' BROKEN_armv7= clang runs out of memory BROKEN_i386= compilation fails: Kokkos assumes 64-bit build; i.e., 8-byte pointers BUILD_DEPENDS= ${LOCALBASE}/include/boost/config.hpp:devel/boost-libs LIB_DEPENDS= libblis.so:math/blis \ libboost_serialization.so:devel/boost-libs \ libhdf5.so:science/hdf5 \ libmetis.so:math/metis \ libvtkCommonCore-${VTK_VER}.so:math/vtk${VTK_VER:R} # libkokkoscore.so:devel/kokkos TMP commented out for bundled kokkos, tests fail for non-bundled kokkos, see https://github.com/dealii/dealii/issues/15692 USES= blaslapack cmake:testing compiler:c++17-lang localbase:ldflags xorg USE_LDCONFIG= yes CMAKE_OFF= DEAL_II_ALLOW_BUNDLED DEAL_II_COMPONENT_EXAMPLES \ DEAL_II_WITH_P4EST DEAL_II_WITH_TRILINOS DEAL_II_WITH_UMFPACK \ DEAL_II_WITH_NANOFLANN DEAL_II_WITH_MUPARSER DEAL_II_WITH_ASSIMP \ DEAL_II_WITH_HDF5 CMAKE_ON= DEAL_II_FORCE_BUNDLED_TBB # instead of LIB_DEPENDS+=libtbb.so:devel/onetbb, pending https://github.com/dealii/dealii/issues/11561 CMAKE_ON+= FORCE_BUNDLED_KOKKOS # TMP turn on bundled kokkos CMAKE_TESTING_ON= FREEBSD_ENABLE_TESTS LDFLAGS+= -lomp LDFLAGS+= -lexecinfo # TMP for bundled kokkos XARCH!= uname -p OPTIONS_DEFINE= ADOLC ARPACK GSL LAPACK MPI OPENCASCADE PETSC SCALAPACK SLEPC SUNDIALS # for all options see contrib/docker/Dockerfile, TODO some of them need to be enabled here OPTIONS_DEFAULT= GSL LAPACK MPI OPENCASCADE PETSC SCALAPACK SLEPC SUNDIALS ADOLC_DESC= Compile with ADOL-C ADOLC_CMAKE_BOOL= DEAL_II_WITH_ADOLC ADOLC_LIB_DEPENDS= libadolc.so:math/adol-c ADOLC_BROKEN= requires the development version: see https://github.com/dealii/dealii/issues/7293 ARPACK_DESC= Compile with Arpack and PArpack (only with MPI, LAPACK) ARPACK_CMAKE_BOOL= DEAL_II_WITH_ARPACK ARPACK_CMAKE_ON= -DARPACK_LINKER_FLAGS:STRING="${LDFLAGS}" -ARPACK_BUILD_DEPENDS= arpack-ng>0:math/arpack-ng -ARPACK_RUN_DEPENDS= arpack-ng>0:math/arpack-ng # itself doesn't link to arpack, but makes depending project link to it +ARPACK_BUILD_DEPENDS= arpack-ng@mpich>0:math/arpack-ng@mpich +ARPACK_RUN_DEPENDS= arpack-ng@mpich>0:math/arpack-ng@mpich # itself doesn't link to arpack, but makes depending project link to it ARPACK_IMPLIES= LAPACK GSL_DESC= Compile with gsl GSL_CMAKE_BOOL= DEAL_II_WITH_GSL GSL_LIB_DEPENDS= libgsl.so:math/gsl LAPACK_DESC= Compile with LAPACK for matrix operations LAPACK_USES= fortran LAPACK_CMAKE_BOOL= DEAL_II_WITH_LAPACK LAPACK_CMAKE_ON= -DLAPACK_LINKER_FLAGS:STRING="${LDFLAGS}" LAPACK_LIB_DEPENDS= libopenblas.so:math/openblas MPI_DESC= MPI support (math/sundials must be compiled with MPI) MPI_USES= fortran MPI_CMAKE_BOOL= DEAL_II_WITH_MPI MPI_CMAKE_ON= -DMPI_LINKER_FLAGS:STRING="${LDFLAGS}" MPI_LIB_DEPENDS= libboost_iostreams.so:devel/boost-libs \ libmpich.so:net/mpich OPENCASCADE_DESC= Compile with OpenCascade OPENCASCADE_CMAKE_BOOL= DEAL_II_WITH_OPENCASCADE OPENCASCADE_CMAKE_ON= -DOPENCASCADE_INCLUDE_DIR:STRING=${LOCALBASE}/include/OpenCASCADE OPENCASCADE_LIB_DEPENDS= libTKernel.so:cad/opencascade PETSC_DESC= Compile with Petsc (only with MPI) PETSC_USES= xorg PETSC_USE= XORG=x11 # PETSc adds x11 through interface libraries PETSC_CMAKE_BOOL= DEAL_II_WITH_PETSC PETSC_LIB_DEPENDS= libpetsc.so:science/PETSc PETSC_IMPLIES= MPI # has to use the same MPI as PETSc uses .if ${XARCH:M*64*} # match index size width being set to 64 in science/PETSc and math/metis PETSC_CMAKE_BOOL+= DEAL_II_WITH_64BIT_INDICES # as opposed to 32-bit indices that are default in deal.II .endif SCALAPACK_DESC= Compile with ScaLAPACK (only with MPI) SCALAPACK_CMAKE_BOOL= DEAL_II_WITH_SCALAPACK SCALAPACK_IMPLIES= MPI LAPACK SCALAPACK_LIB_DEPENDS= libscalapack.so:math/scalapack SLEPC_DESC= Compile with Slepc (only with MPI) SLEPC_USES= xorg SLEPC_USE= XORG=x11 # SLEPc adds x11 through interface libraries SLEPC_CMAKE_BOOL= DEAL_II_WITH_SLEPC SLEPC_LIB_DEPENDS= libslepc.so:math/slepc SLEPC_IMPLIES= MPI # has to use the same MPI as PETSc uses SUNDIALS_DESC= Compile with SUNDIALS SUNDIALS_CMAKE_BOOL= DEAL_II_WITH_SUNDIALS SUNDIALS_LIB_DEPENDS= libsundials_arkode.so:math/sundials post-patch: # unbundle boost @${RM} -r ${WRKSRC}/dealii/bundled/boost-* post-stage: @${RM} ${STAGEDIR}${PREFIX}/*.log # the testsuite is excluded from the tarball: https://github.com/dealii/dealii/issues/17951 .include <../../math/vtk9/Makefile.version> .include diff --git a/math/dune-fem/Makefile b/math/dune-fem/Makefile index e04b8e5d07c6..01a9bc37ea1b 100644 --- a/math/dune-fem/Makefile +++ b/math/dune-fem/Makefile @@ -1,68 +1,68 @@ PORTNAME= dune-fem DISTVERSION= 2.8.0.5 -PORTREVISION= 29 +PORTREVISION= 30 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= DUNE framework: Finite Element Methods, Finite Volume Methods, etc WWW= https://www.dune-project.org/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.md BUILD_DEPENDS= arpack++>0:math/arpack++ \ dune-istl>=2.6:math/dune-istl \ dune-localfunctions>=2.6:math/dune-localfunctions \ dune-spgrid>0:math/dune-spgrid \ vc>0:devel/vc \ openmpi4>0:net/openmpi4 LIB_DEPENDS= libpsurface.so:math/psurface \ - libarpack.so:math/arpack-ng \ + libarpack.so:math/arpack-ng@mpich \ libdunealugrid.so:math/dune-alugrid \ libdunecommon.so:math/dune-common \ libdunegeometry.so:math/dune-geometry \ libdunegrid.so:math/dune-grid \ libdunepolygongrid.so:math/dune-polygongrid \ libduneuggrid.so:math/dune-uggrid \ libgmp.so:math/gmp \ libmetis.so:math/metis \ libopenblas.so:math/openblas \ libsuitesparseconfig.so:math/suitesparse-config \ libsuperlu.so:math/superlu \ libamd.so:math/suitesparse-amd \ libcamd.so:math/suitesparse-camd \ libccolamd.so:math/suitesparse-ccolamd \ libcholmod.so:math/suitesparse-cholmod \ libcolamd.so:math/suitesparse-colamd \ libldl.so:math/suitesparse-ldl \ libspqr.so:math/suitesparse-spqr \ libumfpack.so:math/suitesparse-umfpack \ libtbb.so:devel/onetbb RUN_DEPENDS= dune-istl>=2.6:math/dune-istl \ dune-localfunctions>=2.6:math/dune-localfunctions \ dune-spgrid>0:math/dune-spgrid \ openmpi4>0:net/openmpi4 USES= cmake compiler:c++17-lang eigen:3 fortran pkgconfig USE_GITLAB= yes USE_LDCONFIG= yes GL_SITE= https://gitlab.dune-project.org GL_ACCOUNT= dune-fem GL_TAGNAME= 30e278aa744c908fbf4bbd8b237eb26c0475d16e CMAKE_ON= BUILD_SHARED_LIBS OPTIONS_DEFINE= DOCS DOCS_CMAKE_BOOL= FREEBSD_INSTALL_DOCS DOCS_BUILD_DEPENDS= doxygen:devel/doxygen \ sphinx-build:textproc/py-sphinx PORTDOCS= * post-install: # https://gitlab.dune-project.org/dune-fem/dune-fem/-/issues/111 ${RM} ${STAGEDIR}${PREFIX}/share/dune/cmake/modules/FindPThreads.cmake ${RM} ${STAGEDIR}${PREFIX}/share/dune/cmake/modules/FindSIONlib.cmake .include diff --git a/math/dune-pdelab/Makefile b/math/dune-pdelab/Makefile index da798a4dc5fb..df34e5f7fcfe 100644 --- a/math/dune-pdelab/Makefile +++ b/math/dune-pdelab/Makefile @@ -1,66 +1,66 @@ PORTNAME= dune-pdelab DISTVERSIONPREFIX= v DISTVERSION= 2.7.0.20210824 -PORTREVISION= 30 +PORTREVISION= 31 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= DUNE framework: PDE solver toolbox WWW= https://www.dune-project.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING DUNE_DEPENDS= dune-common>0:math/dune-common \ dune-functions>0:math/dune-functions \ dune-grid>0:math/dune-grid \ dune-istl>0:math/dune-istl \ dune-geometry>0:math/dune-geometry \ dune-localfunctions>0:math/dune-localfunctions \ dune-typetree>0:math/dune-typetree BUILD_DEPENDS= ${DUNE_DEPENDS} \ suitesparse>0:math/suitesparse \ openmpi4>0:net/openmpi4 -LIB_DEPENDS= libarpack.so:math/arpack-ng \ +LIB_DEPENDS= libarpack.so:math/arpack-ng@mpich \ libdunealugrid.so:math/dune-alugrid \ libduneuggrid.so:math/dune-uggrid \ libgmp.so:math/gmp \ libmetis.so:math/metis \ libpsurface.so:math/psurface \ libopenblas.so:math/openblas \ libamd.so:math/suitesparse-amd \ libcamd.so:math/suitesparse-camd \ libccolamd.so:math/suitesparse-ccolamd \ libcholmod.so:math/suitesparse-cholmod \ libcolamd.so:math/suitesparse-colamd \ libsuitesparseconfig.so:math/suitesparse-config \ libldl.so:math/suitesparse-ldl \ libspqr.so:math/suitesparse-spqr \ libumfpack.so:math/suitesparse-umfpack \ libsuperlu.so:math/superlu \ libtbb.so:devel/onetbb RUN_DEPENDS= ${DUNE_DEPENDS} \ suitesparse>0:math/suitesparse \ openmpi4>0:net/openmpi4 USES= cmake compiler:c++17-lang fortran pkgconfig USE_GITLAB= yes USE_LDCONFIG= yes GL_SITE= https://gitlab.dune-project.org GL_ACCOUNT= pdelab GL_TAGNAME= 20c7085389d3eb4f8ca99e1bc60f7fa6036536c8 CMAKE_ON= BUILD_SHARED_LIBS CMAKE_ARGS= -DTBB_INCLUDE_DIR=${LOCALBASE}/include -DTBB_LIBRARIES=${LOCALBASE}/lib/libtbb.so OPTIONS_DEFINE= DOCS OPTIONS_SUB= yes DOCS_CMAKE_BOOL= FREEBSD_INSTALL_DOCS DOCS_BUILD_DEPENDS= doxygen:devel/doxygen \ sphinx-build:textproc/py-sphinx PORTDOCS= * .include diff --git a/math/dune-vtk/Makefile b/math/dune-vtk/Makefile index 6c5bc55a6a7a..e2074be02d9e 100644 --- a/math/dune-vtk/Makefile +++ b/math/dune-vtk/Makefile @@ -1,63 +1,63 @@ PORTNAME= dune-vtk DISTVERSION= 2.8.0 -PORTREVISION= 28 +PORTREVISION= 29 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= DUNE framework: File reader and writer for the VTK XML format WWW= https://www.dune-project.org/ LICENSE= GPLv2+ HPP_DEPENDS= ${LOCALBASE}/include/dune/foamgrid/foamgrid.hh:math/dune-foamgrid \ dune-localfunctions>0:math/dune-localfunctions \ dune-spgrid>0:math/dune-spgrid BUILD_DEPENDS= ${HPP_DEPENDS} \ dune-functions>0:math/dune-functions \ suitesparse>0:math/suitesparse \ openmpi4>0:net/openmpi4 -LIB_DEPENDS= libarpack.so:math/arpack-ng \ +LIB_DEPENDS= libarpack.so:math/arpack-ng@mpich \ libdunealugrid.so:math/dune-alugrid \ libdunecommon.so:math/dune-common \ libdunegeometry.so:math/dune-geometry \ libdunegrid.so:math/dune-grid \ libdunepolygongrid.so:math/dune-polygongrid \ libduneuggrid.so:math/dune-uggrid \ libgmp.so:math/gmp \ libmetis.so:math/metis \ libopenblas.so:math/openblas \ libpsurface.so:math/psurface \ libamd.so:math/suitesparse-amd \ libcamd.so:math/suitesparse-camd \ libccolamd.so:math/suitesparse-ccolamd \ libcholmod.so:math/suitesparse-cholmod \ libcolamd.so:math/suitesparse-colamd \ libsuitesparseconfig.so:math/suitesparse-config \ libldl.so:math/suitesparse-ldl \ libspqr.so:math/suitesparse-spqr \ libumfpack.so:math/suitesparse-umfpack \ libsuperlu.so:math/superlu \ libtbb.so:devel/onetbb RUN_DEPENDS= ${HPP_DEPENDS} \ suitesparse>0:math/suitesparse \ openmpi4>0:net/openmpi4 USES= cmake compiler:c++17-lang fortran pkgconfig USE_GITLAB= yes USE_LDCONFIG= yes GL_SITE= https://gitlab.dune-project.org GL_ACCOUNT= extensions GL_TAGNAME= 467838cde3bbea3d27d2bd117570a3215240dcd1 CMAKE_ON= BUILD_SHARED_LIBS OPTIONS_DEFINE= DOCS DOCS_CMAKE_BOOL= FREEBSD_INSTALL_DOCS DOCS_BUILD_DEPENDS= doxygen:devel/doxygen \ sphinx-build:textproc/py-sphinx PORTDOCS= * .include diff --git a/math/freefem++/Makefile b/math/freefem++/Makefile index 928ae503d7f0..cd7e2f833b2e 100644 --- a/math/freefem++/Makefile +++ b/math/freefem++/Makefile @@ -1,80 +1,80 @@ PORTNAME= freefem++ DISTVERSIONPREFIX= v DISTVERSION= 4.14 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= math science MAINTAINER= yuri@FreeBSD.org COMMENT= Partial differential equation solver WWW= https://freefem.org/ \ https://github.com/FreeFem/FreeFem-sources LICENSE= LGPL3 BROKEN= fails to compile with nlopt-2.9.0, see https://github.com/FreeFem/FreeFem-sources/issues/324 BROKEN_FreeBSD_15= compilation fails with clang-19, see https://github.com/FreeFem/FreeFem-sources/issues/323 BUILD_DEPENDS= bash:shells/bash \ gmm++>0:math/gmm++ \ pipe:misc/pipe \ tetgen:math/tetgen LIB_DEPENDS= libhdf5.so:science/hdf5 \ libamd.so:math/suitesparse-amd \ libcholmod.so:math/suitesparse-cholmod \ libcolamd.so:math/suitesparse-colamd \ libumfpack.so:math/suitesparse-umfpack \ - libarpack.so:math/arpack-ng \ + libarpack.so:math/arpack-ng@mpich \ libfftw3.so:math/fftw3 \ libgsl.so:math/gsl \ libipopt.so:math/ipopt \ libmetis.so:math/metis \ libscotch.so:cad/scotch \ libcmumps.so:math/mumps \ libnlopt.so:math/nlopt \ libsuperlu.so:math/superlu RUN_DEPENDS= bash:shells/bash \ pipe:misc/pipe USES= autoreconf bison blaslapack:openblas compiler:c++14-lang fortran \ gl gmake localbase perl5 pkgconfig shebangfix xorg USE_GITHUB= yes GH_ACCOUNT= FreeFem GH_PROJECT= FreeFem-sources SHEBANG_GLOB= ff-pkg-download.in SHEBANG_FILES= examples/CheckAllEdp ./examples/misc/speedtest.sh CPPFLAGS+= -I${LOCALBASE}/include/superlu .if !defined{WITH_DEBUG} LDFLAGS+= -s .endif LDFLAGS+= -pthread # workaround for https://github.com/FreeFem/FreeFem-sources/issues/296#issuecomment-1839198380 GNU_CONFIGURE= yes CONFIGURE_ENV= CNOFLAGS="${CFLAGS}" LIBS=-lz CONFIGURE_ARGS= --disable-download \ --without-mpi \ --with-blas=${BLASLIB} \ --with-lapack=${LAPACKLIB} USE_GL= gl glu glut OPTIONS_DEFINE= EXAMPLES OPTIONS_DEFAULT=EXAMPLES PORTEXAMPLES= * PLIST_SUB= VER=${PORTVERSION} DATADIR= ${PREFIX}/share/FreeFEM/${PORTVERSION} TEST_TARGET= check # 1 test fails, see https://github.com/FreeFem/FreeFem-sources/issues/281 pre-configure: @${REINPLACE_CMD} -e 's|-llapack|${LAPACKLIB}|' ${WRKSRC}/configure.ac post-install: @${MV} ${STAGEDIR}${DATADIR}/examples ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/math/igraph/Makefile b/math/igraph/Makefile index e03c1c38a9a3..4c5dc682e4d7 100644 --- a/math/igraph/Makefile +++ b/math/igraph/Makefile @@ -1,33 +1,34 @@ PORTNAME= igraph DISTVERSION= 1.0.1 +PORTREVISION= 1 CATEGORIES= math MAINTAINER= wen@FreeBSD.org COMMENT= Package For Manipulating Undirected And Directed Graphs WWW= https://igraph.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/bin/flex:textproc/flex -LIB_DEPENDS= libarpack.so:math/arpack-ng \ +LIB_DEPENDS= libarpack.so:math/arpack-ng@mpich \ libcxsparse.so:math/suitesparse-cxsparse \ libglpk.so:math/glpk \ libgmp.so:math/gmp \ libopenblas.so:math/openblas USES= bison cmake cpe gnome pathfix USE_GNOME= libxml2 USE_LDCONFIG= yes USE_GITHUB= yes CMAKE_ON= BUILD_SHARED_LIBS CMAKE_OFF= BUILD_TESTING CMAKE_ARGS= -DCMAKE_DISABLE_FIND_PACKAGE_Git:BOOL=True \ -DFLEX_EXECUTABLE:FILEPATH=${LOCALBASE}/bin/flex pre-configure: @${ECHO} ${DISTVERSION} > ${WRKSRC}/IGRAPH_VERSION .include diff --git a/math/octave/Makefile b/math/octave/Makefile index 9600faa835ab..18ceab63c834 100644 --- a/math/octave/Makefile +++ b/math/octave/Makefile @@ -1,135 +1,135 @@ PORTNAME= octave PORTVERSION= ${OCTAVE_VERSION} -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= math java MASTER_SITES= GNU MAINTAINER= stephen@FreeBSD.org COMMENT= High-level interactive language for numerical computations WWW= https://www.octave.org/ LICENSE= GPLv3 BUILD_DEPENDS= ${LOCALBASE}/bin/gperf:devel/gperf \ ${LOCALBASE}/bin/makeinfo:print/texinfo \ gnuplot:math/gnuplot \ gsed:textproc/gsed \ ${LOCALBASE}/include/rapidjson/rapidjson.h:devel/rapidjson \ ${LOCALBASE}/include/fast_float/fast_float.h:math/fast_float RUN_DEPENDS= ${LOCALBASE}/bin/makeinfo:print/texinfo \ gnuplot:math/gnuplot \ gsed:textproc/gsed LIB_DEPENDS= libamd.so:math/suitesparse-amd \ - libarpack.so:math/arpack-ng \ + libarpack.so:math/arpack-ng@mpich \ libcamd.so:math/suitesparse-camd \ libccolamd.so:math/suitesparse-ccolamd \ libcholmod.so:math/suitesparse-cholmod \ libcolamd.so:math/suitesparse-colamd \ libcurl.so:ftp/curl \ libcxsparse.so:math/suitesparse-cxsparse \ libdrm.so:graphics/libdrm \ libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float \ libfltk.so:x11-toolkits/fltk \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libftgl.so:graphics/ftgl \ libgl2ps.so:print/gl2ps \ libglpk.so:math/glpk \ libGraphicsMagick.so:graphics/GraphicsMagick \ libhdf5.so:science/hdf5 \ libklu.so:math/suitesparse-klu \ libOSMesa.so:graphics/libosmesa \ libpcre.so:devel/pcre \ libportaudio.so:audio/portaudio \ libqhull_r.so:math/qhull \ libqrupdate.so:math/qrupdate \ libspqr.so:math/suitesparse-spqr \ libsuitesparseconfig.so:math/suitesparse-config \ libsundials_arkode.so:math/sundials \ libumfpack.so:math/suitesparse-umfpack USES= charsetfix compiler:c++17-lang desktop-file-utils fortran gl \ gmake iconv libtool localbase:ldflags ncurses octave:env perl5 \ pkgconfig readline tar:xz xorg python:3.0+ USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME}/${PORTVERSION} USE_PERL5= build GNU_CONFIGURE= yes USE_QT= base 5compat tools sqldriver-sqlite USE_XORG= x11 xcursor xext xfixes xft xinerama xrender USE_GL= gl glu GNU_HOST= ${ARCH}-portbld-freebsd${OSREL} PLIST_SUB= GNU_HOST=${GNU_HOST} \ OCTAVE_VERSION=${OCTAVE_VERSION} LDFLAGS+= -L${LOCALBASE}/lib/qt6 CONFIGURE_ENV= ac_cv_path_SED=${LOCALBASE}/bin/gsed \ ac_cv_type_max_align_t=yes \ GPERF="${LOCALBASE}/bin/gperf" \ JAVA_HOME=${JAVA_HOME} \ LRELEASE_QTVER=${LRELEASE} \ MAKEINFO=${LOCALBASE}/bin/makeinfo \ MKINFO=${LOCALBASE}/bin/makeinfo \ MOC_QTVER=${MOC} \ QCOLLECTIONGENERATOR_QTVER=${QCOLLECTIONGENERATOR} \ QHELPGENERATOR_QTVER=${QHELPGENERATOR} \ RCC_QTVER=${RCC} \ UIC_QTVER=${UIC} \ man1dir=${PREFIX}/share/man/man1 CONFIGURE_ARGS= --disable-jit \ --disable-openmp \ --enable-shared \ --host=${GNU_HOST} \ --with-blas="-L${LOCALBASE}/lib ${BLASLIB}" \ --with-lapack="${LAPACKLIB}" \ --with-osmesa INFO= octave liboctave INSTALL_TARGET= install-strip TEST_TARGET= check OPTIONS_DEFINE= DOCS JAVA QT6 OPTIONS_RADIO= BLAS OPTIONS_RADIO_BLAS= ATLAS NETLIB OPENBLAS OPTIONS_DEFAULT= JAVA OPENBLAS QT6 OPTIONS_SUB= yes DOCS_CONFIGURE_ENABLE= docs JAVA_CONFIGURE_ENABLE= java QT6_CONFIGURE_WITH= qscintilla qt=6 QT6_LIB_DEPENDS= libqscintilla2_qt6.so:devel/qscintilla2@qt6 DOCS_USES= tex DOCS_USE= TEX=dvipsk:build,formats:build JAVA_USES= java JAVA_CFLAGS= -I${JAVA_HOME}/include/${OPSYS:tl} JAVA_VARS= JAVA_VERSION=11+ QT6_USES= qt:6 OPENBLAS_USES= blaslapack:openblas NETLIB_USES= blaslapack:netlib ATLAS_USES= blaslapack:atlas BINARY_ALIAS= sed=gsed post-patch: ${REINPLACE_CMD} -e s+python3+${PYTHON_CMD}+g ${WRKSRC}/scripts/miscellaneous/python.m post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in liboctave/liboctave.ps refcard/refcard-a4.ps \ refcard/refcard-legal.ps refcard/refcard-letter.ps interpreter/octave.ps ${INSTALL_DATA} ${WRKSRC}/doc/${file} ${STAGEDIR}${DOCSDIR} .endfor @${MKDIR} ${STAGEDIR}${PREFIX}/${INFO_PATH} .for file in interpreter/octave.info liboctave/liboctave.info ${INSTALL_DATA} ${WRKSRC}/doc/${file} ${STAGEDIR}${PREFIX}/${INFO_PATH} .endfor check regression-test: build @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} check) .include diff --git a/math/py-igraph/Makefile b/math/py-igraph/Makefile index 59e9aed6bfd8..3428bd41c294 100644 --- a/math/py-igraph/Makefile +++ b/math/py-igraph/Makefile @@ -1,39 +1,40 @@ PORTNAME= igraph DISTVERSION= 0.11.9 +PORTREVISION= 1 CATEGORIES= math python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DIST_SUBDIR= python-igraph MAINTAINER= lwhsu@FreeBSD.org COMMENT= High performance graph data structures and algorithms WWW= https://igraph.org/python/ LICENSE= GPLv2 BUILD_DEPENDS= cmake:devel/cmake-core \ ${LOCALBASE}/bin/flex:textproc/flex -LIB_DEPENDS= libarpack.so:math/arpack-ng \ +LIB_DEPENDS= libarpack.so:math/arpack-ng@mpich \ libblas.so:math/blas \ libglpk.so:math/glpk \ libgmp.so:math/gmp \ liblapack.so:math/lapack RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}texttable>=1.6.2:textproc/py-texttable@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cairocffi>0:graphics/py-cairocffi@${PY_FLAVOR} TEST_DEPENDS= py.test:devel/py-pytest@${PY_FLAVOR} USES= bison gnome pkgconfig python USE_PYTHON= distutils concurrent autoplist USE_GNOME= libxml2 post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${PATCH_WRKSRC}/setup.py post-install: @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/igraph/_igraph*.so do-test: install (cd ${WRKSRC} && py.test) .include diff --git a/math/scilab/Makefile b/math/scilab/Makefile index 01af6df8fa9b..de130c37890c 100644 --- a/math/scilab/Makefile +++ b/math/scilab/Makefile @@ -1,196 +1,196 @@ PORTNAME= scilab DISTVERSION= 6.1.1 -PORTREVISION= 26 +PORTREVISION= 27 CATEGORIES= math cad java MASTER_SITES= https://www.scilab.org/download/${DISTVERSION}/ DISTFILES= ${DISTNAME}-src${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= Scientific software package for numerical computations WWW= https://www.scilab.org LICENSE= GPLv2 BSD3CLAUSE LICENSE_COMB= dual LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/COPYING-BSD LIB_DEPENDS= libpcre.so:devel/pcre \ libcurl.so:ftp/curl \ libhdf5.so:science/hdf5 \ - libarpack.so:math/arpack-ng \ + libarpack.so:math/arpack-ng@mpich \ libfftw3.so:math/fftw3 \ libmatio.so:math/matio \ libamd.so:math/suitesparse-amd \ libumfpack.so:math/suitesparse-umfpack RUN_DEPENDS= xdg-open:devel/xdg-utils USES= compiler:c++17-lang cpe desktop-file-utils eigen:3,build \ fortran gettext gmake gnome iconv:wchar_t libtool \ localbase ncurses pathfix pkgconfig shared-mime-info USE_GNOME= libxml2 JAVA_VERSION= 8 USE_LOCALE= en_US.UTF-8 GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-gfortran \ --without-emf \ --with-eigen-include=${LOCALBASE}/include/eigen3 \ ${ICONV_CONFIGURE_ARG} LDFLAGS+= ${ICONV_LIB} CONFIGURE_ENV= BLAS_LIBS="${BLASLIB}" LAPACK_LIBS="${LAPACKLIB}" INSTALL_TARGET= install-strip PLIST_SUB= SHLIB_VER=${DISTVERSION} OPTIONS_DEFINE= GUI OCAML TK OPTIONS_RADIO= BLAS OPTIONS_RADIO_BLAS= ATLAS NETLIB OPENBLAS OPTIONS_DEFAULT= GUI NETLIB OCAML TK OPTIONS_EXCLUDE_powerpc64= GUI OPTIONS_EXCLUDE_powerpc64le= GUI OPTIONS_SUB= yes ATLAS_USES= blaslapack:atlas NETLIB_USES= blaslapack:netlib OPENBLAS_USES= blaslapack:openblas GUI_DESC= Java-based Graphical User Interface OCAML_DESC= Scicos - dynamical system simulator (requires GUI) _JAVADIR= ${LOCALBASE}/share/java # Java dependencies: _GUI_DEPENDS+= ${JAVALIBDIR}/flexdock.jar:devel/flexdock \ ${JAVALIBDIR}/jogl2.jar:graphics/jogamp-jogl \ foprep:math/jeuclid \ ${JAVALIBDIR}/jhall.jar:java/javahelp \ ${JAVALIBDIR}/jrosetta-api.jar:java/jrosetta \ ${JAVALIBDIR}/commons-logging.jar:java/apache-commons-logging \ ${JAVALIBDIR}/jgraphx.jar:java/jgraphx \ ${JAVALIBDIR}/jlatexmath.jar:math/jlatexmath \ ${JAVALIBDIR}/ecj-4.4.2.jar:java/eclipse-ecj \ ${JAVALIBDIR}/lucene-core-5.5.5.jar:textproc/lucene5 # Documentation, graphic export: _GUI_DEPENDS+= ${_JAVADIR}/fop/build/fop.jar:textproc/fop \ ${JAVALIBDIR}/jlatexmath-fop.jar:math/jlatexmath \ ${_JAVADIR}/batik/lib/batik-all.jar:graphics/batik \ ${JAVALIBDIR}/avalon-framework.jar:devel/avalon-framework \ ${JAVALIBDIR}/commons-io.jar:devel/apache-commons-io \ ${JAVALIBDIR}/xmlgraphics-commons.jar:graphics/xmlgraphics-commons # Code quality: _GUI_DEPENDS+= ${JAVALIBDIR}/commons-beanutils.jar:java/apache-commons-beanutils \ ${JAVALIBDIR}/antlr.jar:devel/antlr \ ${JAVALIBDIR}/junit4.jar:java/junit \ ${LOCALBASE}/bin/splint:devel/splint # Documentation building: _GUI_DEPENDS+= ${LOCALBASE}/share/xsl/docbook/javahelp/javahelp.xsl:textproc/docbook-xsl \ saxon-he>=12.8:textproc/saxon-he \ ${_JAVADIR}/xml-commons/xml-apis-ext.jar:textproc/xml-commons \ xsltproc:textproc/libxslt # Other gui deps: _GUI_DEPENDS+= ${JAVALIBDIR}/looks.jar:devel/jgoodies-looks \ ${JAVALIBDIR}/skinlf.jar:x11-toolkits/skinlf # Can't use USE_ANT because it overrides do-build target GUI_BUILD_DEPENDS= ${_GUI_DEPENDS} \ ant:devel/apache-ant GUI_RUN_DEPENDS= ${_GUI_DEPENDS} GUI_ALL_TARGET= all doc GUI_USES= gl java GUI_USE= GL=gl GUI_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-bin-JAVA_HOME GUI_CONFIGURE_ON= --with-jdk=${JAVA_HOME} \ --with-docbook=${LOCALBASE}/share/xsl/docbook \ --enable-build-help GUI_CONFIGURE_OFF= --without-gui \ --without-javasci \ --without-xcos \ --disable-build-help OCAML_IMPLIES= GUI OCAML_CONFIGURE_WITH= modelica OCAML_BUILD_DEPENDS= ocaml:lang/ocaml \ ${LOCALBASE}/lib/ocaml/site-lib/num/META:math/ocaml-num OCAML_RUN_DEPENDS= ocaml:lang/ocaml TK_CONFIGURE_OFF= --without-tk TK_CONFIGURE_ON= --with-tk-library=${LOCALBASE}/lib \ --with-tk-include=${TK_INCLUDEDIR} \ --with-tcl-library=${LOCALBASE}/lib \ --with-tcl-include=${TCL_INCLUDEDIR} TK_USES= tk xorg TK_USE= XORG=x11 TK_RUN_DEPENDS= ${LOCALBASE}/lib/bwidget/init.tcl:x11-toolkits/bwidget .if !exists(/usr/include/omp.h) CONFIGURE_ARGS+= --without-openmp .endif .if defined(WITH_DEBUG) CONFIGURE_ARGS+= --enable-debug .endif .include .if ${COMPILER_TYPE} == clang CFLAGS+= -Wno-error=int-conversion CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif .if ${GCC_DEFAULT} >= 10 # workaround for Rank mismatch between actual argument at (1) and actual argument at (2) (rank-1 and scalar) FFLAGS+= -fallow-argument-mismatch .endif post-patch: @${REINPLACE_CMD} 's,/usr/local,${LOCALBASE},' ${WRKSRC}/etc/librarypath.xml @${REINPLACE_CMD} -e 's, gfortran, ${FC},' ${WRKSRC}/modules/dynamic_link/src/scripts/configure @${REINPLACE_CMD} -e 's,valgrind,X_X_NONEXIST_X_X,' ${WRKSRC}/configure .if ${COMPILER_TYPE} == clang @${REINPLACE_CMD} -e 's|std::filesystem|std::__fs::filesystem|g' \ ${WRKSRC}/modules/fileio/src/cpp/fullpath.cpp \ ${WRKSRC}/modules/fileio/sci_gateway/cpp/sci_get_absolute_file_path.cpp @${REINPLACE_CMD} -e 's|std::binary_function|std::__binary_function|' \ ${WRKSRC}/modules/ast/includes/types/sparseOp.hxx @${REINPLACE_CMD} -e 's|std::unary_function|std::__unary_function|' \ ${WRKSRC}/modules/ast/src/cpp/types/sparse.cpp .endif post-patch-GUI-on: # scilab segfaults on FreeBSD with C locale @${REINPLACE_CMD} 's,LC_ALL=C,,' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} '/ac_java_jvm_jni_lib_flags/s,\(ljvm\),\1 -pthread,' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|/usr/lib/java|${JAVALIBDIR}|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|/usr/lib64/jni|${LOCALBASE}/lib/|g' ${WRKSRC}/configure @${REINPLACE_CMD} 's,\(DEFAULT_JAR_DIR="\),\1 \ ${JAVALIBDIR} \ ${_JAVADIR} \ ${_JAVADIR}/batik/lib \ ${_JAVADIR}/fop/build \ ${_JAVADIR}/jeuclid/repo \ ${_JAVADIR}/xml-commons \ ,' ${WRKSRC}/configure # Prefer non-versioned files to avoid excessive rebuilds. This also fixes detection of fop. @${REINPLACE_CMD} 's|batik-all\*\.jar|batik-all.jar|g; \ s|commons-io\*\.jar|commons-io.jar|g; \ s|commons-logging\*\.jar|commons-logging.jar|g; \ s|fop\*\.jar|fop.jar|g; \ s|jlatexmath\*\.jar|jlatexmath.jar|g; \ s|jrosetta-API.jar|jrosetta-api.jar|g; \ s|saxon9he.jar|saxon-he-*.jar|g; \ s|xmlgraphics-commons\*\.jar|xmlgraphics-commons.jar|g' \ ${WRKSRC}/configure # Part of the jogamp-jogl-2.3 patch: @${REINPLACE_CMD} -e 's|javax.media.opengl.glu.GLUnurbs|com.jogamp.opengl.glu.GLUnurbs|' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|jogamp.common.os.MachineDescriptionRuntime|jogamp.common.os.MachineDataInfoRuntime|' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|%%JAVA_HOME%%|${JAVA_HOME}|' ${WRKSRC}/bin/scilab pre-install: ${MKDIR} ${STAGEDIR}${DATADIR}/.atoms post-install: @${FIND} ${STAGEDIR}${DATADIR}/modules -type d -empty -delete .include diff --git a/science/dftbplus/Makefile b/science/dftbplus/Makefile index 3a409e022613..f97174af05a4 100644 --- a/science/dftbplus/Makefile +++ b/science/dftbplus/Makefile @@ -1,110 +1,110 @@ PORTNAME= dftbplus DISTVERSION= 24.1 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= science MAINTAINER= yuri@FreeBSD.org COMMENT= DFTB+: Package for performing fast atomistic simulations WWW= https://dftbplus.org/ LICENSE= GPLv3 # main code is under LGPL3+, the bundled dftd3-lib is under GPLv1+, this makes the result GPLv3 (based on https://www.gnu.org/licenses/gpl-faq.html#AllCompatibility) BROKEN_aarch64= Lack of IEEE754 support in gcc causes "Cannot find an intrinsic module named 'ieee_arithmetic'", see bug\#255890 LIB_DEPENDS= libblas.so:math/blas \ liblapack.so:math/lapack \ libopenblas.so:math/openblas RUN_DEPENDS= ${PYNUMPY} TEST_DEPENDS= bash:shells/bash USES= cmake compiler:gcc-c++11-lib fortran pkgconfig python:build shebangfix USE_LDCONFIG= yes SHEBANG_FILES= tools/dptools/bin/* tools/misc/* utils/srcmanip/* utils/build/* external/fypp/bin/* utils/get_opt_externals \ external/fypp/bin/fypp utils/test/testlist_to_fypp SHEBANG_GLOB= *.py *.sh USE_GITHUB= yes GH_TUPLE= \ aradi:fytest:94e05ac:aradi_fytest/external/fytest/origin \ dftbplus:testparams:cd7536f:testparams/external/slakos/origin \ dftd4:dftd4:056491b:dftd4_dftd4/external/dftd4/origin TEST_TARGET= test BINARY_ALIAS= git=false CMAKE_ON= BLAS_DETECTION BUILD_SHARED_LIBS WITH_API ENABLE_DYNAMIC_LOADING CMAKE_ARGS= -DLAPACK_LIBRARY=lapack -DSCALAPACK_LIBRARY=scalapack BINARY_ALIAS= git=false python=${PYTHON_CMD} python3=${PYTHON_CMD} OPTIONS_DEFINE= ARPACK CHIMES DFTD3 MBD MPIX PLUMED POISSON PYTHON SOCKETS TBLITE TRANSPORT # see config.cmake for a complete list OPTIONS_DEFAULT= CHIMES DFTD3 MBD MPIX PLUMED POISSON TRANSPORT SOCKETS # PYTHON TBLITE OPTIONS_SUB= yes ARPACK_DESC= Build with ARPACK for large eigenvalue problems ARPACK_CMAKE_BOOL= WITH_ARPACK -ARPACK_LIB_DEPENDS= libarpack.so:math/arpack-ng +ARPACK_LIB_DEPENDS= libarpack.so:math/arpack-ng@mpich ARPACK_PREVENTS= MPIX # ARPACK is only used in a single-core application CHIMES_DESC= Build with ChIMES CHIMES_CMAKE_BOOL= WITH_CHIMES CHIMES_LIB_DEPENDS= libchimescalc.so:science/chimes-calculator DFTD3_DESC= Build with s-dft3 DFTD3_CMAKE_BOOL= WITH_SDFTD3 DFTD3_LIB_DEPENDS= libs-dftd3.so:science/simple-dftd3 \ libmctc-lib.so:science/mctc-lib \ libmstore.so:science/mstore \ libtoml-f.so:textproc/toml-f # binaries not linked with libtoml-f.so, see https://github.com/dftbplus/dftbplus/issues/1040 MBD_DESC= Build with many-body-dispersion support MBD_CMAKE_BOOL= WITH_MBD MBD_LIB_DEPENDS= libmbd.so:science/libmbd MPIX_DESC= MPI (Message Passing Interface) support # the MPI option name causes failure in MPI_USES=mpi:openmpi MPIX_CMAKE_BOOL= WITH_MPI MPIX_USES= mpi:mpich MPIX_LIB_DEPENDS= libmpich.so:net/mpich \ libmpifx.so:net/mpifx \ libscalapack.so:math/scalapack \ libscalapackfx.so:math/scalapackfx MPIX_LDFLAGS= ${LOCALBASE}/lib/libmpich.so ${LOCALBASE}/lib/libmpifort.so ${LOCALBASE}/lib/libmpi.so PLUMED_DESC= Do metadynamics via the PLUMED2 library PLUMED_CMAKE_BOOL= WITH_PLUMED PLUMED_LIB_DEPENDS= libplumed.so:science/plumed POISSON_DESC= Include Poisson-solver POISSON_CMAKE_BOOL= WITH_POISSON PYTHON_USES= python PYTHON_CMAKE_BOOL= WITH_PYTHON PYTHON_BROKEN= fails to install into stage directory: https://github.com/dftbplus/dftbplus/issues/931 SOCKETS_DESC= Build with sockets library SOCKETS_CMAKE_BOOL= WITH_SOCKETS SOCKETS_BINARY_ALIAS= gcc=${CC} TBLITE_DESC= Include xTB support via tblite TBLITE_CMAKE_BOOL= WITH_TBLITE TBLITE_BROKEN= fails to build, see https://github.com/dftbplus/dftbplus/issues/1041 TRANSPORT_DESC= Transport via libNEGF TRANSPORT_CMAKE_BOOL= WITH_TRANSPORT TRANSPORT_LIB_DEPENDS= libnegf.so:science/libnegf \ libmpi.so:net/mpich \ libmpifx.so:net/mpifx .include .if ${GCC_DEFAULT} >= 10 # workaround for Type mismatch between actual argument at (1) and actual argument at (2) (COMPLEX(8)/CHARACTER(*)). # in theory, this should set FCFLAGS, but the port does not conform FFLAGS+= -fallow-argument-mismatch .endif # 5 tests fail, see https://github.com/dftbplus/dftbplus/issues/1474 .include diff --git a/science/elmerfem/Makefile b/science/elmerfem/Makefile index dd95c15940be..ecc20d9461ec 100644 --- a/science/elmerfem/Makefile +++ b/science/elmerfem/Makefile @@ -1,130 +1,130 @@ PORTNAME= elmerfem DISTVERSIONPREFIX= release- DISTVERSION= 26.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= science MAINTAINER= thierry@FreeBSD.org COMMENT= Multiphysical simulation software WWW= https://www.elmerfem.org/blog/ LICENSE= GPLv2 LIB_DEPENDS= libhdf5.so:science/hdf5 \ libmetis.so:math/metis \ libnetcdf.so:science/netcdf \ - libparpack.so:math/arpack-ng \ + libparpack.so:math/arpack-ng@mpich \ libcholmod.so:math/suitesparse-cholmod \ libumfpack.so:math/suitesparse-umfpack USES= blaslapack:openblas cmake compiler:c++11-lang fortran localbase mpi USE_CXXSTD= c++14 USE_GITHUB= yes GH_ACCOUNT= ElmerCSC USE_LDCONFIG= ${PREFIX}/lib/elmersolver CMAKE_ARGS= -DELMER_FEM_REVISION:STRING=${GH_TAGNAME} ALL_TARGET= # empty CMAKE_ARGS+= -DHAVE_INTTYPES_H:BOOL=ON \ -DEXTERNAL_ARPACK:BOOL=ON \ -DEXTERNAL_PARPACK:BOOL=ON \ -DEXTERNAL_UMFPACK:BOOL=ON .if !defined(MAINTAINER_MODE) CMAKE_ARGS+= -Wno-dev .endif OPTIONS_DEFINE= DOCS GUI OCC OPTIONS_DEFAULT= GUI OCC OPTIONS_SUB= yes GUI_DESC= Build with ElmerGUI (Graphical User Interface) OCC_DESC= Use OpenCASCADE for CAD import in ElmerGUI DOCS_USES= tex DOCS_USE= tex=pdftex:build GUI_LIB_DEPENDS= libqwt.so:x11-toolkits/qwt6@qt5 GUI_USES= gl jpeg qt:5 xorg GUI_USE= gl=gl,glu xorg=ice,sm,x11,xext,xt qt=${_QT5_LIBS:ts,} GUI_CMAKE_BOOL= WITH_ELMERGUI WITH_PARAVIEW GUI_CMAKE_ON= -DQWT_LIBRARY=${QT_LIBDIR}/libqwt.so \ -DQWT_INCLUDE_DIR=${QT_INCDIR}/qwt6 \ -DDESIRED_QT_VERSION=5 \ -DWITH_QT5:BOOL=TRUE \ -DQT_FOUND:BOOL=TRUE OCC_IMPLIES= GUI OCC_LIB_DEPENDS= libexpat.so:textproc/expat2 \ libfreetype.so:print/freetype2 \ libpng.so:graphics/png \ libpython${_PYVERSION}.so:lang/python${PYTHON_SUFFIX} \ libboost_thread.so:devel/boost-libs \ libtiff.so:graphics/tiff \ libTKernel.so:cad/opencascade \ libvtksys-${VTK_VER}.so:math/vtk${VTK_VER:R} OCC_USES= python OCC_CMAKE_BOOL= WITH_OCC OCC_CMAKE_ON= -DVTK_DIR=${LOCALBASE}/lib/cmake/vtk-9.0 \ -DPython3_EXECUTABLE=${PYTHON_CMD} _LIBSTAGEDIR= ${STAGEDIR}/${PREFIX}/lib/elmersolver _PYVERSION= ${PYTHON_VER}${PYTHON_ABIVER} _QT5_LIBS= buildtools:build core declarative gui network opengl \ printsupport qmake:build script sql svg widgets xml .include <../../math/vtk9/Makefile.version> .include .if ${ARCH} == "amd64" CFLAGS_${ARCH}= -fPIC CXXFLAGS_${ARCH}= -fPIC FCFLAGS+= -fPIC FFLAGS+= -fPIC .endif PDFS= elmerice/Solvers/Documentation/m1qn3.pdf \ elmerice/Solvers/Documentation/poroussolver.pdf \ elmerice/Solvers/Documentation/siasolver.pdf \ elmerice/UserFunctions/Documentation/usf_damage.pdf \ fem/src/modules/contrib/ShellMultiSolver/ShellMutiSolverUserGuide.pdf PORTDOCS= * .if ${GCC_DEFAULT} >= 10 # workaround for Type mismatch between actual argument at (1) and actual argument at (2) (REAL(8)/COMPLEX(8)). # in theory, this should set FCFLAGS, but the port does not conform FFLAGS+= -fallow-argument-mismatch .endif pre-configure: ${RM} ${WRKSRC}/cmake/Modules/CMakeParseArguments.cmake ${RM} -r ${WRKSRC}/elmergrid/src/metis-5.1.0 ${REINPLACE_CMD} -e 's,"metis.*/metis\.h",,' \ ${WRKSRC}/elmergrid/src/egparallel.c pre-configure-DOCS-off: ${REINPLACE_CMD} -e '/doc/s|ADD_SUB|#ADD_SUB|' ${WRKSRC}/fhutiter/CMakeLists.txt pre-configure-OCC-on: ${REINPLACE_CMD} -e "s|\$${VERSION}|`${PKG_QUERY} '%v' opencascade`|" \ "${WRKSRC}/cmake/Modules/FindOCE.cmake" ${REINPLACE_CMD} -e 's|$${INCLUDE}|${LOCALBASE}/include/OpenCASCADE|' \ "${WRKSRC}/cmake/Modules/FindOCE.cmake" post-install: ${LN} -sf ElmerSolver_mpi ${STAGEDIR}${PREFIX}/bin/ElmerSolver ${LN} -sf libelmersolver.so ${_LIBSTAGEDIR}/libelmersolver.so.0 ${LN} -sf libfhuti.so ${_LIBSTAGEDIR}/libfhuti.so.0 ${LN} -sf libmatc.so ${_LIBSTAGEDIR}/libmatc.so.0 ${LN} -sf libmpi_stubs.so ${_LIBSTAGEDIR}/libmpi_stubs.so.0 @${STRIP_CMD} ${STAGEDIR}/${PREFIX}/bin/ElmerGrid post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PDFS:C|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} do-test: @cd ${TEST_WRKSRC} && ctest -C ${CMAKE_BUILD_TYPE} ${_MAKE_JOBS} .include diff --git a/science/mbdyn/Makefile b/science/mbdyn/Makefile index 4ac211eda4e6..30660544cc89 100644 --- a/science/mbdyn/Makefile +++ b/science/mbdyn/Makefile @@ -1,72 +1,72 @@ PORTNAME= mbdyn DISTVERSION= 1.7.3 -PORTREVISION= 19 +PORTREVISION= 20 CATEGORIES= science MASTER_SITES= https://www.mbdyn.org/userfiles/downloads/ MAINTAINER= yuri@FreeBSD.org COMMENT= MultiBody Dynamics analysis system WWW= https://www.mbdyn.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_powerpc= does not compile on powerpc BUILD_DEPENDS= libatomic_ops>0:devel/libatomic_ops LIB_DEPENDS= libltdl.so:devel/libltdl \ - libarpack.so:math/arpack-ng \ + libarpack.so:math/arpack-ng@mpich \ libumfpack.so:math/suitesparse-umfpack USES= compiler:c++11-lib fortran gmake libtool:build localbase USE_LDCONFIG= yes USE_CXXSTD= c++14 # fix build breakage with clang16 due to use of deprecated feature 'dynamic exception specifications', see https://public.gitlab.polimi.it/DAER/mbdyn/-/issues/339 CPPFLAGS+= -fpermissive -I${LOCALBASE}/include/suitesparse GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS= --program-prefix='' --enable-multithread --with-mpi=no \ --with-ginac=no INSTALL_TARGET= install-strip OPTIONS_DEFINE= METIS CHACO OPTIONS_RADIO= BLAS OPTIONS_RADIO_BLAS= REFERENCE ATLAS OPTIONS_DEFAULT= REFERENCE ATLAS_DESC= ATLAS CHACO_DESC= Enable chaco-support METIS_DESC= Enable metis-support REFERENCE_DESC= Blas / Lapack ATLAS_CONFIGURE_ON= --with-blas=atlas ATLAS_USES= blaslapack:atlas CHACO_BUILD_DEPENDS= ${LOCALBASE}/lib/libchaco.a:math/chaco CHACO_CONFIGURE_ON= --with-chaco=yes CHACO_CONFIGURE_OFF= --with-chaco=no METIS_CONFIGURE_ON= --with-metis=yes METIS_CONFIGURE_OFF= --with-metis=no METIS_CPPFLAGS= -I${LOCALBASE}/include/metis METIS_LIB_DEPENDS= libmetis.so:math/metis REFERENCE_CONFIGURE_ON= --with-blas=blas REFERENCE_USES= blaslapack:netlib .include .if ${GCC_DEFAULT} >= 10 # workaround for Type mismatch in argument 't' at (1); passed REAL(4) to INTEGER(4) # in theory, this should set FCFLAGS, but the port does not conform FFLAGS+= -fallow-argument-mismatch .endif pre-configure: ${REINPLACE_CMD} -e '/try_lapack_LIBS=/s/-llapack/${LAPACKLIB}/' \ -e 's/ -lxerbla//; s/-lcholmod/-lcholmod ${BLASLIB} ${LAPACKLIB} -lsuitesparseconfig/' \ ${WRKSRC}/configure .include diff --git a/science/octopus/Makefile b/science/octopus/Makefile index 22441bbe7d82..d77e6e61612f 100644 --- a/science/octopus/Makefile +++ b/science/octopus/Makefile @@ -1,67 +1,67 @@ PORTNAME= octopus DISTVERSION= 16.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= science # chemistry MASTER_SITES= https://octopus-code.org/download/${DISTVERSION}/ MAINTAINER= yuri@FreeBSD.org COMMENT= Scientific program aimed at the ab initio virtual experimentation WWW= https://octopus-code.org/documentation/15/ LICENSE= GPLv2 BROKEN_aarch64= fails to build: Cannot find an intrinsic module named 'ieee_arithmetic' BUILD_DEPENDS= bash:shells/bash -LIB_DEPENDS= libarpack.so:math/arpack-ng \ +LIB_DEPENDS= libarpack.so:math/arpack-ng@mpich \ libblas.so:math/blas \ libfftw3.so:math/fftw3 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgd.so:graphics/gd \ libgmp.so:math/gmp \ libgsl.so:math/gsl \ liblapack.so:math/lapack \ libmpfr.so:math/mpfr \ libnlopt.so:math/nlopt \ libpng.so:graphics/png \ libsymspg.so:science/spglib \ libtiff.so:graphics/tiff \ libvdwxcfort.so:science/libvdwxc \ libwebp.so:graphics/webp \ libxc.so:science/libxc \ libyaml.so:textproc/libyaml USES= compiler:c++14-lang fortran gmake jpeg libtool localbase:ldflags perl5 pkgconfig python shebangfix USE_LDCONFIG= yes SHEBANG_FILES= src/fdep/fortran_dependencies.pl testsuite/performance/create_combinations.py GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_SHELL= ${PREFIX}/bin/bash CONFIGURE_ARGS= --enable-shared --disable-static LDFLAGS+= -lsymspg FCFLAGS+= -I${LOCALBASE}/include -ffree-line-length-none FCFLAGS+= -fallow-argument-mismatch # fix build on i386: Error: Type mismatch in argument 'dims' at (1); passed INTEGER(8) to INTEGER(4) INSTALL_TARGET= install-strip TEST_TARGET= check-short # some tests fail, see https://gitlab.com/octopus-code/octopus/-/issues/805 OPTIONS_DEFINE= OPENMP OPTIONS_DEFAULT= OPENMP OPENMP_CONFIGURE_ENABLE= openmp .include # workaround for: # Error: BOZ literal constant at (1) is neither a data-stmt-constant nor an actual argument to INT, REAL, DBLE, or CMPLX intrinsic function [see '-fno-allow-invalid-boz'] .if ${GCC_DEFAULT} >= 10 FCFLAGS+= -fallow-argument-mismatch -fallow-invalid-boz .endif post-stage: # https://gitlab.com/octopus-code/octopus/issues/108 @${RM} ${STAGEDIR}${PREFIX}/include/yaml.h .include