diff --git a/cad/tochnog/Makefile b/cad/tochnog/Makefile index ec0b4dc2543c..217becaff5e9 100644 --- a/cad/tochnog/Makefile +++ b/cad/tochnog/Makefile @@ -1,88 +1,88 @@ PORTNAME= tochnog PORTVERSION= 20140100 -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= cad MASTER_SITES= SF/${PORTNAME}/Tochnog%20Latest%20January%202014 DISTFILES= Sources${EXTRACT_SUFX} gid${EXTRACT_SUFX} \ tools${EXTRACT_SUFX} test${EXTRACT_SUFX} DIST_SUBDIR= ${DISTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= Free explicit/implicit Finite Element Program WWW= https://tochnog.sourceforge.net/ LICENSE= GPLv2 BUILD_DEPENDS= ${LOCALBASE}/lib/libf2c.a:lang/f2c OPTIONS_DEFINE= ATLAS EXAMPLES ATLAS_DESC= Use ATLAS instead of BLAS/LAPACK WRKSRC= ${WRKDIR}/Sources/Tochnog-Latest-jan-2014 MAKEFILE= makefile USES= fortran zip dos2unix DOS2UNIX_FILES= time.cc time.h tnlapack.h tnsuplu.h # You can set GIDDIR to share/gid to install the scripts to be used # with the cad/linux-gid port, otherwise they can be linked to the data # directory to avoid polluting the port space. GIDDIR?= share/${PORTNAME} PLIST_SUB+= GIDDIR=${GIDDIR} GID_PTYPES= ${PREFIX}/${GIDDIR}/problemtypes .include .if ${PORT_OPTIONS:MATLAS} LIB_DEPENDS+= libatlas.so:math/atlas BLAS_LIBS= -lf77blas .else LIB_DEPENDS+= libblas.so:math/blas \ liblapack.so:math/lapack BLAS_LIBS= -llapack -lblas .endif ALL_TARGET= freebsd_old LIB_DEPENDS+= libsuperlu.so:math/superlu SUPERLU= superlu .if ${OPSYS} == FreeBSD CPPFLAGS+= -Dregister= .endif post-extract: .for sup in gid tools test ${MV} ${WRKDIR}/${sup} ${WRKDIR}/Sources/ .endfor pre-configure: .for hd in pthread.h ${MV} ${WRKSRC}/${hd} ${WRKSRC}/${hd}.orig .endfor ${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},g ; \ s,%%SUPERLU%%,${SUPERLU},g ; \ s,%%BLAS_LIBS%%,-L${LOCALBASE}/lib ${BLAS_LIBS},g' \ ${WRKSRC}/makefile ${REINPLACE_CMD} -e 's,SUPERLU_USE 0,SUPERLU_USE 1,' \ ${WRKSRC}/tnsuplu.h post-build: (cd ${WRKDIR}/Sources/tools && ${CXX} ${CXXFLAGS} -o aba2tn aba2tn.cc) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/tochnog ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKDIR}/Sources/tools/aba2tn ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKDIR}/Sources/tools/*.awk ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${GID_PTYPES}/tochnog.gid ${INSTALL_DATA} ${WRKDIR}/Sources/gid/tochnog.gid/tochnog.cnd \ ${STAGEDIR}${GID_PTYPES}/tochnog.gid ${INSTALL_DATA} ${WRKDIR}/Sources/gid/tochnog.gid/tochnog.mat \ ${STAGEDIR}${GID_PTYPES}/tochnog.gid ${INSTALL_SCRIPT} ${WRKDIR}/Sources/gid/tochnog.gid/tochnog.ba* \ ${STAGEDIR}${GID_PTYPES}/tochnog.gid do-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${RM} ${WRKDIR}/Sources/test/*.orig ${INSTALL_DATA} ${WRKDIR}/Sources/test/* ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/math/armadillo/Makefile b/math/armadillo/Makefile index 17eb1f689968..02ee57d23f66 100644 --- a/math/armadillo/Makefile +++ b/math/armadillo/Makefile @@ -1,36 +1,37 @@ PORTNAME= armadillo PORTVERSION= 14.6.1 +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 \ libsuperlu.so:math/superlu USES= blaslapack:openblas cmake:testing compiler:c++11-lang pathfix 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 27babdb98e52..3c216ceddc83 100644 --- a/math/arpack++/Makefile +++ b/math/arpack++/Makefile @@ -1,65 +1,65 @@ PORTNAME= arpack++ PORTVERSION= 2.4.0 -PORTREVISION= 12 +PORTREVISION= 13 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 \ 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/dune-fem/Makefile b/math/dune-fem/Makefile index 5f8f277ec38d..e04b8e5d07c6 100644 --- a/math/dune-fem/Makefile +++ b/math/dune-fem/Makefile @@ -1,68 +1,68 @@ PORTNAME= dune-fem DISTVERSION= 2.8.0.5 -PORTREVISION= 28 +PORTREVISION= 29 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 \ 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 223439e1af16..da798a4dc5fb 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= 29 +PORTREVISION= 30 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 \ 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 493c1ac55101..6c5bc55a6a7a 100644 --- a/math/dune-vtk/Makefile +++ b/math/dune-vtk/Makefile @@ -1,63 +1,63 @@ PORTNAME= dune-vtk DISTVERSION= 2.8.0 -PORTREVISION= 27 +PORTREVISION= 28 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 \ 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 722888c52516..f5c7bbb93b5f 100644 --- a/math/freefem++/Makefile +++ b/math/freefem++/Makefile @@ -1,80 +1,80 @@ PORTNAME= freefem++ DISTVERSIONPREFIX= v DISTVERSION= 4.14 -PORTREVISION= 9 +PORTREVISION= 10 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 \ 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/gmm++/Makefile b/math/gmm++/Makefile index a4a675a83741..a505e911fead 100644 --- a/math/gmm++/Makefile +++ b/math/gmm++/Makefile @@ -1,38 +1,38 @@ PORTNAME= gmm++ DISTVERSION= 5.4.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math MASTER_SITES= http://download-mirror.savannah.gnu.org/releases/getfem/stable/ DISTNAME= ${PORTNAME:S/+//g}-${DISTVERSION} MAINTAINER= atanubiswas484@gmail.com COMMENT= Generic matrix template library WWW= https://getfem.org/gmm/ # Note: even though the port's COPYING file mentions gmm++ is licensed under # the LGPL version 2.1 with the GCC runtime exception, # mentions # v4.2 is licensed under the LGPL version 3 with the GCC runtime exception, and # so say the headers which are installed. LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/COPYING GNU_CONFIGURE= yes NO_ARCH= yes NO_BUILD= yes OPTIONS_DEFAULT= SUPERLU OPTIONS_SINGLE= SOLVER OPTIONS_SINGLE_SOLVER= MUMPS SUPERLU SOLVER_DESC= Simultaneous equations solver MUMPS_DESC= Use MUMPS (math/mumps) SUPERLU_DESC= Use SuperLU (math/superlu) MUMPS_RUN_DEPENDS= ${LOCALBASE}/include/cmumps_c.h:math/mumps MUMPS_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-mumps SUPERLU_RUN_DEPENDS= ${LOCALBASE}/include/superlu/supermatrix.h:math/superlu SUPERLU_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-superlu .include diff --git a/multimedia/opentoonz/Makefile b/multimedia/opentoonz/Makefile index 2b12ae75e8e6..a05442018393 100644 --- a/multimedia/opentoonz/Makefile +++ b/multimedia/opentoonz/Makefile @@ -1,66 +1,66 @@ PORTNAME= opentoonz DISTVERSIONPREFIX= v DISTVERSION= 1.5.0 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= multimedia MAINTAINER= rozhuk.im@gmail.com COMMENT= Open-source full-featured 2D animation creation software WWW= https://opentoonz.github.io/e/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= boost-libs>0:devel/boost-libs LIB_DEPENDS= libfreetype.so:print/freetype2 \ liblz4.so:archivers/liblz4 \ liblzo2.so:archivers/lzo2 \ libmypaint.so:graphics/libmypaint \ libopencv_core.so:graphics/opencv \ libpng.so:graphics/png \ libsuperlu.so:math/superlu \ libturbojpeg.so:graphics/libjpeg-turbo RUN_DEPENDS= ${LOCALBASE}/bin/ffprobe:multimedia/ffmpeg USES= cmake:noninja compiler:c++11-lang gl \ gnome jpeg pkgconfig qt:5 USE_GITHUB= yes USE_GL= gl glew glu glut USE_QT= core gui multimedia network opengl printsupport \ script serialport svg widgets xml \ buildtools:build linguisttools:build qmake:build CMAKE_ARGS= -DWITH_SYSTEM_LZO:BOOL=ON \ -DWITH_SYSTEM_SUPERLU:BOOL=ON CMAKE_SOURCE_PATH= ${WRKSRC}/toonz/sources OPTIONS_SINGLE= BLASLIB OPTIONS_SINGLE_BLASLIB= CBLAS GSLCBLAS NETLIB OPENBLAS OPTIONS_DEFAULT= OPENBLAS CBLAS_LIB_DEPENDS= libcblas.so:math/cblas CBLAS_VARS= BLASLIBS="cblas" CBLAS_DESC= C interface to the legacy Fortran BLAS GSLCBLAS_LIB_DEPENDS= libgslcblas.so:math/gsl GSLCBLAS_VARS= BLASLIBS="gslcblas" GSLCBLAS_DESC= The GNU Scientific Library - mathematical libs NETLIB_USES= blaslapack:netlib NETLIB_VARS= BLASLIBS="blas" OPENBLAS_USES= blaslapack:openblas OPENBLAS_VARS= BLASLIBS="openblas" .include .if defined(WITH_DEBUG) CXXFLAGS+= -DDEBUG -g3 -ggdb .else CXXFLAGS+= -DNDEBUG .endif post-extract: ${FIND} ${WRKSRC} -name '*.gitkeep' -delete post-patch: @${REINPLACE_CMD} -e "s|find_library(OPENBLAS_LIB NAMES.*|find_library(OPENBLAS_LIB NAMES ${BLASLIBS})|g" \ ${WRKSRC}/toonz/sources/CMakeLists.txt .include diff --git a/science/hypre/Makefile b/science/hypre/Makefile index d5df638850a3..a439de1d4f3c 100644 --- a/science/hypre/Makefile +++ b/science/hypre/Makefile @@ -1,73 +1,74 @@ PORTNAME= hypre DISTVERSIONPREFIX= v DISTVERSION= 2.33.0 +PORTREVISION= 1 CATEGORIES= science MAINTAINER= yuri@FreeBSD.org COMMENT= Scalable Linear Solvers and Multigrid Methods WWW= https://computing.llnl.gov/projects/hypre-scalable-linear-solvers-multigrid-methods \ https://github.com/hypre-space/hypre LICENSE= APACHE20 MIT LICENSE_COMB= dual LICENSE_FILE_APACHE20= ${WRKSRC}/../LICENSE-APACHE LICENSE_FILE_MIT= ${WRKSRC}/../LICENSE-MIT .if !exists(/usr/include/omp.h) BROKEN= requires OpenMP support that is missing on this architecture .endif LIB_DEPENDS= libsuperlu.so:math/superlu USES= blaslapack:openblas cmake:testing fortran localbase USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= hypre-space WRKSRC_SUBDIR= src CMAKE_ON= BUILD_SHARED_LIBS HYPRE_ENABLE_OPENMP HYPRE_ENABLE_SUPERLU CMAKE_OFF= HYPRE_ENABLE_HYPRE_BLAS HYPRE_ENABLE_HYPRE_LAPACK CMAKE_ARGS= -DTPL_BLAS_LIBRARIES="${_BLASLIB}" \ -DTPL_SUPERLU_LIBRARIES="${LOCALBASE}/lib/libsuperlu.so" \ -DTPL_SUPERLU_INCLUDE_DIRS="${LOCALBASE}/include/superlu" CMAKE_TESTING_ON= HYPRE_BUILD_TESTS # tests are only built and not run, see https://github.com/hypre-space/hypre/issues/502 OPTIONS_DEFINE= DOCS OPTIONS_SINGLE= MPI OPTIONS_SINGLE_MPI= NOMPI MPICH OPENMPI OPTIONS_DEFAULT= MPICH NOMPI_DESC= Build without parallel processing support NOMPI_CMAKE_ON= -DHYPRE_ENABLE_MPI=OFF MPICH_USES= mpi:mpich MPICH_CMAKE_ON= -DHYPRE_ENABLE_MPI=ON OPENMPI_USES= mpi:openmpi OPENMPI_CMAKE_ON= -DHYPRE_ENABLE_MPI=ON OPENMPI_BROKEN= doesn't switch to openmpi in cmake build, see https://github.com/hypre-space/hypre/issues/720 PORTDOCS= * xpost-install: ${MV} ${STAGEDIR}${PREFIX}/lib/libHYPRE.so \ ${STAGEDIR}${PREFIX}/lib/libHYPRE.so.0 ${RLN} ${STAGEDIR}${PREFIX}/lib/libHYPRE.so.0 \ ${STAGEDIR}${PREFIX}/lib/libHYPRE.so post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/docs && ${COPYTREE_SHARE} usr-manual ${STAGEDIR}${DOCSDIR} post-test: # run tests; unclear how to to run tests, see https://github.com/hypre-space/hypre/issues/502 .for t in ij ij_assembly ij_mv maxwell_unscaled @cd ${WRKSRC}/test && \ ${ECHO} "==> running test ${t}" && \ ${BUILD_WRKSRC}/test/${t} .endfor # the test ij_mv fails, see https://github.com/hypre-space/hypre/issues/1161 .include