diff --git a/biology/biosig/Makefile b/biology/biosig/Makefile index 2dc119fd9a1a..5bd42557aa57 100644 --- a/biology/biosig/Makefile +++ b/biology/biosig/Makefile @@ -1,42 +1,42 @@ PORTNAME= biosig DISTVERSION= 2.5.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= biology MASTER_SITES= SF/${PORTNAME}/BioSig%20for%20C_C%2B%2B/src/ DISTNAME= ${PORTNAME}-${PORTVERSION}.src MAINTAINER= yuri@FreeBSD.org COMMENT= Library for reading and writing different biosignal data format WWW= http://biosig.sourceforge.net/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libb64.so:converters/libb64 \ libcholmod.so:math/suitesparse-cholmod \ libiconv.so:converters/libiconv \ libtinyxml.so:textproc/tinyxml USES= gmake iconv localbase:ldflags tar:xz USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} GNU_CONFIGURE= yes CFLAGS+= -D__BYTE_ORDER=BYTE_ORDER -D__LITTLE_ENDIAN=LITTLE_ENDIAN -D__BIG_ENDIAN=BIG_ENDIAN \ -Dbswap_16=bswap16 -Dbswap_32=bswap32 -Dbswap_64=bswap64 LDFLAGS+= -liconv .include .if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=int-conversion .endif post-install: .for f in bin/biosig_fhir bin/biosig2gdf bin/physicalunits bin/save2gdf lib/libbiosig.so.3 @${STRIP_CMD} ${STAGEDIR}${PREFIX}/${f} .endfor .include diff --git a/cad/xyce/Makefile b/cad/xyce/Makefile index e45caec188e9..92cae6bb70b1 100644 --- a/cad/xyce/Makefile +++ b/cad/xyce/Makefile @@ -1,75 +1,75 @@ PORTNAME= xyce DISTVERSIONPREFIX= Release- DISTVERSION= 7.7.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= cad MAINTAINER= yuri@FreeBSD.org COMMENT= Xyce electronic simulator WWW= https://xyce.sandia.gov/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libblas.so:math/blas \ libfftw3.so:math/fftw3 \ liblapack.so:math/lapack \ libtpetra.so:science/trilinos \ \ libamd.so:math/suitesparse-amd \ libcholmod.so:math/suitesparse-cholmod \ libcolamd.so:math/suitesparse-colamd \ libsuitesparseconfig.so:math/suitesparse-config \ libumfpack.so:math/suitesparse-umfpack TEST_DEPENDS= git:devel/git \ ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} USES= autoreconf bison gmake fortran libtool localbase perl5 python:test # GNU tools should be used for 7.5 and on until the cmake build is declared stable USE_CXXSTD= c++14 # otherwise configure fails because of c++14 features like std::conditional_t USE_LDCONFIG= yes USE_PERL5= test USE_GITHUB= yes GH_ACCOUNT= Xyce GH_PROJECT= Xyce GNU_CONFIGURE= yes CONFIGURE_ARGS= LEX=/usr/bin/flex \ --enable-stokhos \ --enable-amesos \ --enable-shared \ --disable-static INSTALL_TARGET= install-strip BINARY_ALIAS= python=${PYTHON_CMD} # only for tests do-test: # one test is known to fail, see https://github.com/Xyce/Xyce/issues/67#issuecomment-1179857728 # checkout tests @cd ${WRKDIR} && \ ${ECHO} "cloning git repository ..." && \ ${RM} -rf Xyce_Regression && \ git clone -q https://github.com/Xyce/Xyce_Regression.git && \ cd Xyce_Regression && \ git checkout -q Release-${DISTVERSION} # run tests @cd ${TEST_WRKSRC} && ( \ ${ECHO} "running tests ..."; \ eval `${WRKDIR}/Xyce_Regression/TestScripts/suggestXyceTagList.sh ${STAGEDIR}${PREFIX}/bin/Xyce` ; \ ${SETENV} ${TEST_ENV} ${WRKDIR}/Xyce_Regression/TestScripts/run_xyce_regression \ --output=${WRKDIR}/Xyce_Test \ --xyce_test="${WRKDIR}/Xyce_Regression" \ --resultfile=${WRKDIR}/serial_results \ --taglist="$$TAGLIST" \ ${STAGEDIR}${PREFIX}/bin/Xyce \ ) # Testssuite doesn't stop when Ctrl-C is pressed: https://github.com/Xyce/Xyce_Regression/issues/1 # Trilinos build instructions for Xyce: https://xyce.sandia.gov/documentation-tutorials/building-guide/#instTrilinos # Xyce build instructions: https://xyce.sandia.gov/documentation-tutorials/building-guide/ # Xyce regression suite instructions: https://xyce.sandia.gov/documentation-tutorials/running-the-xyce-regression-suite/ # docs are in https://xyce.sandia.gov/files/xyce/Xyce_Docs-7.5.tar.gz .include diff --git a/games/naev/Makefile b/games/naev/Makefile index 0e3029a0fbd5..39ca2bc48690 100644 --- a/games/naev/Makefile +++ b/games/naev/Makefile @@ -1,53 +1,53 @@ PORTNAME= naev PORTVERSION= 0.10.6 DISTVERSIONSUFFIX= -source -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= games MASTER_SITES= https://github.com/naev/naev/releases/download/v${PORTVERSION}/ MAINTAINER= acm@FreeBSD.org COMMENT= 2D action/RPG space game WWW= https://naev.org/ LICENSE= GPLv2 GPLv3 CC-BY-3.0 CC-BY-SA-3.0 PD LICENSE_COMB= multi BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mutagen>0:audio/py-mutagen@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} LIB_DEPENDS= libamd.so:math/suitesparse-amd \ libbacktrace.so:devel/libbacktrace \ libblas.so:math/blas \ libcholmod.so:math/suitesparse-cholmod \ libcolamd.so:math/suitesparse-colamd \ libcxsparse.so:math/suitesparse-cxsparse \ libenet.so:net/enet \ libfreetype.so:print/freetype2 \ libglpk.so:math/glpk \ libopenblas.so:math/openblas \ libpcre2-8.so:devel/pcre2 \ libphysfs.so:devel/physfs \ libpng.so:graphics/png \ libunibreak.so:textproc/libunibreak \ libvorbisfile.so:audio/libvorbis \ libwebp.so:graphics/webp \ libzip.so:archivers/libzip RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mutagen>0:audio/py-mutagen@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} USES= desktop-file-utils gettext gl gnome localbase:ldflags \ luajit:luajit-openresty meson openal pkgconfig python sdl \ shebangfix tar:xz USE_GL= gl glu USE_GNOME= intltool libxml2 USE_SDL= sdl2 image2 SHEBANG_GLOB= *.py SHEBANG_LANG= python MESON_ARGS= -Ddocs_c=disabled -Ddocs_lua=disabled BINARY_ALIAS= python3=${PYTHON_CMD} WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} .include diff --git a/graphics/libpano13/Makefile b/graphics/libpano13/Makefile index 81c66b25cd40..ca1c84e94a45 100644 --- a/graphics/libpano13/Makefile +++ b/graphics/libpano13/Makefile @@ -1,36 +1,36 @@ PORTNAME= libpano13 DISTVERSION= 2.9.22 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics java MASTER_SITES= SF/panotools/${PORTNAME}/${PORTNAME}-${DISTVERSION} MAINTAINER= fuz@FreeBSD.org COMMENT= Cross-platform library behind Panorama Tools and other photo stitchers WWW= http://panotools.sourceforge.net/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff USES= cmake:testing cpe jpeg libtool pathfix perl5 pkgconfig CPE_VENDOR= ${PORTNAME}_project USE_LDCONFIG= yes USE_PERL5= build # for pod2man WRKSRC= ${WRKDIR}/libpano13-${DISTVERSION} OPTIONS_DEFINE= DOCS JAVA SUITESPARSE OPTIONS_DEFAULT= SUITESPARSE SUITESPARSE_DESC= Use math/suitesparse for faster operation OPTIONS_SUB= yes JAVA_USE= java=yes JAVA_CMAKE_BOOL= SUPPORT_JAVA_PROGRAMS JAVA_VARS= JAVA_OS=native SUITESPARSE_LIB_DEPENDS= \ libcholmod.so:math/suitesparse-cholmod \ libspqr.so:math/suitesparse-spqr SUITESPARSE_CMAKE_BOOL= USE_SPARSE_LEVMAR .include diff --git a/math/arpack++/Makefile b/math/arpack++/Makefile index d74f5689aef4..8c9b728ce834 100644 --- a/math/arpack++/Makefile +++ b/math/arpack++/Makefile @@ -1,64 +1,65 @@ PORTNAME= arpack++ PORTVERSION= 2.4.0 +PORTREVISION= 1 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/ceres-solver/Makefile b/math/ceres-solver/Makefile index 2c526b649fdc..194940ce5135 100644 --- a/math/ceres-solver/Makefile +++ b/math/ceres-solver/Makefile @@ -1,113 +1,114 @@ PORTNAME= ceres-solver DISTVERSION= 2.2.0 +PORTREVISION= 1 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= Nonlinear least squares minimizer WWW= http://ceres-solver.org/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= glog>=0.5.0:devel/glog LIB_DEPENDS= libglog.so:devel/glog RUN_DEPENDS:= ${BUILD_DEPENDS:Meigen*} USES= cmake:testing compiler:${OPENMP}c++11-lib eigen:3 localbase shebangfix USE_GITHUB= yes USE_LDCONFIG= yes SHEBANG_FILES= examples/slam/pose_graph_*/plot_results.py \ scripts/make_docs.py CMAKE_ON= BUILD_SHARED_LIBS CMAKE_OFF= BUILD_BENCHMARKS BUILD_TESTING LDFLAGS+= -Wl,--as-needed # -lccolamd -lcholmod -lrt from suitesparse PLIST_SUB= VERSION=${DISTVERSION:C/rc.*//} EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME:S/-solver//} DOCSDIR= ${PREFIX}/share/doc/Ceres PORTDOCS= * PORTEXAMPLES= * OPTIONS_DEFINE= CUSTOM_BLAS EXAMPLES DOCS GFLAGS LAPACK OPENMP SCHUR OPTIONS_DEFAULT= CUSTOM_BLAS CXSPARSE GFLAGS OPENBLAS OPENMP SCHUR SUITESPARSE OPTIONS_RADIO= LAPACK THREADS OPTIONS_RADIO_LAPACK= ATLAS GOTOBLAS NETLIB OPENBLAS OPTIONS_GROUP= SPARSE OPTIONS_GROUP_SPARSE= CXSPARSE EIGENSPARSE SUITESPARSE CUSTOM_BLAS_DESC= Handcoded BLAS routines instead of Eigen CUSTOM_BLAS_CMAKE_BOOL= CUSTOM_BLAS DOCS_BUILD_DEPENDS= sphinx-build:textproc/py-sphinx \ ${PYTHON_PKGNAMEPREFIX}sphinx_rtd_theme>0:textproc/py-sphinx_rtd_theme@${PY_FLAVOR} DOCS_USES= python:build DOCS_CMAKE_BOOL= BUILD_DOCUMENTATION EXAMPLES_CMAKE_BOOL= BUILD_EXAMPLES EXAMPLES_IMPLIES= GFLAGS GFLAGS_DESC= Google Flags support GFLAGS_LIB_DEPENDS= libgflags.so:devel/gflags GFLAGS_CMAKE_BOOL= GFLAGS OPENMP_CMAKE_ON= -DCERES_THREADING_MODEL:STRING="OPENMP" .if !exists(/usr/include/omp.h) # XXX ports/199603: LLVM openmp in base doesn't support armv6, armv7 yet OPENMP_VARS= OPENMP=gcc- .endif SCHUR_DESC= Fixed-size schur specializations SCHUR_CMAKE_BOOL= SCHUR_SPECIALIZATIONS # XXX Unbundle googletest/googlemock LAPACK_DESC= Linear Algebra PACKage LAPACK_CMAKE_BOOL= LAPACK ATLAS_USES= blaslapack:atlas ATLAS_CMAKE_ON= -DBLA_VENDOR:STRING="ATLAS" \ -DBLAS_LIBRARIES:FILEPATH="${LOCALBASE}/lib/libcblas.so" \ -DLAPACK_LIBRARIES:FILEPATH="${LOCALBASE}/lib/libalapack.so" ATLAS_IMPLIES= LAPACK GOTOBLAS_DESC= Goto blas implementation GOTOBLAS_USES= blaslapack:gotoblas GOTOBLAS_CMAKE_ON= -DBLA_VENDOR:STRING="Goto" GOTOBLAS_IMPLIES= LAPACK NETLIB_USES= blaslapack:netlib NETLIB_CMAKE_ON= -DBLA_VENDOR:STRING="Generic" NETLIB_IMPLIES= LAPACK OPENBLAS_USES= blaslapack:openblas OPENBLAS_CMAKE_ON= -DBLA_VENDOR:STRING="OpenBLAS" OPENBLAS_IMPLIES= LAPACK SPARSE_DESC= Sparse linear algebra library CXSPARSE_DESC= CXSparse support CXSPARSE_LIB_DEPENDS= libcxsparse.so:math/suitesparse-cxsparse CXSPARSE_CMAKE_ON= -DCXSPARSE_INCLUDE_DIR:PATH="${LOCALBASE}/include/suitesparse" CXSPARSE_CMAKE_BOOL= CXSPARSE EIGENSPARSE_DESC= Simplicial Cholesky factorization in Eigen EIGENSPARSE_CMAKE_BOOL= EIGENSPARSE EIGENSPARSE_VARS= LICENSE+=LGPL21+ LICENSE_COMB=multi \ LICENSE_FILE_BSD3CLAUSE="${LICENSE_FILE}" SUITESPARSE_DESC= SuiteSparse support SUITESPARSE_LIB_DEPENDS=libspqr.so:math/suitesparse-spqr \ libcholmod.so:math/suitesparse-cholmod SUITESPARSE_CMAKE_BOOL= SUITESPARSE post-patch-DOCS-on: @${REINPLACE_CMD} -e 's,python,${PYTHON_CMD:T},' \ ${WRKSRC}/docs/source/CMakeLists.txt pre-install-TEST-on: do-test post-install-EXAMPLES-on: # Copy examples (stripped), their source and sample data but not tests programs (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) (cd ${WRKSRC} && ${COPYTREE_SHARE} data ${STAGEDIR}${EXAMPLESDIR}) (cd ${BUILD_WRKSRC} && ${COPYTREE_SHARE} bin ${STAGEDIR}${EXAMPLESDIR}) @${RM} -r ${STAGEDIR}${EXAMPLESDIR}/bin/*_test -@${STRIP_CMD} ${STAGEDIR}${EXAMPLESDIR}/bin/* # may fail for non-root .include diff --git a/math/dune-fem/Makefile b/math/dune-fem/Makefile index 974d9717edf1..3df52b75ab6c 100644 --- a/math/dune-fem/Makefile +++ b/math/dune-fem/Makefile @@ -1,68 +1,68 @@ PORTNAME= dune-fem DISTVERSION= 2.8.0.5 -PORTREVISION= 12 +PORTREVISION= 13 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 \ ${LOCALBASE}/mpi/openmpi/lib/libmpi.so:net/openmpi 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 \ ${LOCALBASE}/mpi/openmpi/lib/libmpi.so:net/openmpi 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 06a63815e8e3..6741d7e3bd90 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= 13 +PORTREVISION= 14 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 \ ${LOCALBASE}/mpi/openmpi/lib/libmpi.so:net/openmpi 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 \ ${LOCALBASE}/mpi/openmpi/lib/libmpi.so:net/openmpi 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 668e2485e587..c28c5d7c5434 100644 --- a/math/dune-vtk/Makefile +++ b/math/dune-vtk/Makefile @@ -1,63 +1,63 @@ PORTNAME= dune-vtk DISTVERSION= 2.8.0 -PORTREVISION= 11 +PORTREVISION= 12 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 \ ${LOCALBASE}/mpi/openmpi/lib/libmpi.so:net/openmpi 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 \ ${LOCALBASE}/mpi/openmpi/lib/libmpi.so:net/openmpi 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 1bc0bd19d808..ee11de88e3b2 100644 --- a/math/freefem++/Makefile +++ b/math/freefem++/Makefile @@ -1,75 +1,75 @@ PORTNAME= freefem++ DISTVERSIONPREFIX= v DISTVERSION= 4.13 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= math science MAINTAINER= yuri@FreeBSD.org COMMENT= Partial differential equation solver WWW= https://freefem.org/index.html LICENSE= LGPL3 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 \ libsz.so:science/libaec 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 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/g2o/Makefile b/math/g2o/Makefile index cc1e93d45d97..5fb0c35b0f6d 100644 --- a/math/g2o/Makefile +++ b/math/g2o/Makefile @@ -1,74 +1,74 @@ PORTNAME= g2o DISTVERSION= 20230806 -PORTREVISION= 2 +PORTREVISION= 3 DISTVERSIONSUFFIX= _git CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= General framework for graph optimization WWW= https://openslam-org.github.io/g2o.html LICENSE= LGPL3 GPLv3 LICENSE_COMB= dual LIB_DEPENDS= 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 \ libcxsparse.so:math/suitesparse-cxsparse \ libQGLViewer-qt5.so:graphics/libQGLViewer \ libmetis.so:math/metis \ libopenblas.so:math/openblas \ libsuitesparseconfig.so:math/suitesparse-config TEST_DEPENDS= googletest>0:devel/googletest USES= cmake:testing compiler:c++14-lang gl eigen:3 blaslapack:netlib localbase qt:5 USE_GL= gl glu USE_QT= core gui opengl xml widgets buildtools:build qmake:build USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= RainerKuemmerle CMAKE_OFF= DO_SSE_AUTODETECT CMAKE_TESTING_ON= BUILD_UNITTESTS OPTIONS_DEFINE= FAST_MATH OPTIONS_SINGLE= SIMD_${ARCH:tu} OPTIONS_SINGLE_SIMD_AMD64= NOSSE SSE2 SSE3 SSE41 SSE42 SSE4A OPTIONS_SINGLE_SIMD_I386= ${OPTIONS_SINGLE_SIMD_AMD64} OPTIONS_DEFAULT_amd64= SSE2 OPTIONS_DEFAULT_i386= SSE2 SIMD_AMD64_DESC= Use SSE SIMD optimizations SIMD_I386_DESC= ${SIMD_AMD64_DESC} FAST_MATH_DESC= Enable fast math operations NOSSE_DESC= Do not use SIMD optimization SSE2_DESC= SSE2 optimization SSE3_DESC= SSE3 optimization SSE41_DESC= SSE41 optimization SSE42_DESC= SSE42 optimization SSE4A_DESC= SSE4a optimization FAST_MATH_CMAKE_BOOL= G2O_FAST_MATH NOSSE_CMAKE_ON= -DDISABLE_SSE2:BOOL=ON -DDISABLE_SSE3:BOOL=ON -DDISABLE_SSE4_1:BOOL=ON -DDISABLE_SSE4_2:BOOL=ON -DDISABLE_SSE4_A:BOOL=ON SSE2_CMAKE_ON= -DDISABLE_SSE3:BOOL=ON -DDISABLE_SSE4_1:BOOL=ON -DDISABLE_SSE4_2:BOOL=ON -DDISABLE_SSE4_A:BOOL=ON SSE3_CMAKE_ON= -DDISABLE_SSE4_1:BOOL=ON -DDISABLE_SSE4_2:BOOL=ON -DDISABLE_SSE4_A:BOOL=ON SSE41_CMAKE_ON= -DDISABLE_SSE4_2:BOOL=ON -DDISABLE_SSE4_A:BOOL=ON SSE42_CMAKE_ON= -DDISABLE_SSE4_A:BOOL=ON SSE4A_CMAKE_ON= # empty to make portlint happy .include .if ${ARCH} != amd64 && ${ARCH} != i386 CMAKE_ARGS+= -DDISABLE_SSE2:BOOL=ON -DDISABLE_SSE3:BOOL=ON -DDISABLE_SSE4_1:BOOL=ON -DDISABLE_SSE4_2:BOOL=ON -DDISABLE_SSE4_A:BOOL=ON .endif post-patch: @${REINPLACE_CMD} -e 's|/usr/include|${LOCALBASE}/include|' \ ${WRKSRC}/cmake_modules/*.cmake # tests fail to compile, see https://github.com/RainerKuemmerle/g2o/issues/711 .include diff --git a/math/octave/Makefile b/math/octave/Makefile index 2710d16b9025..89dc616b1063 100644 --- a/math/octave/Makefile +++ b/math/octave/Makefile @@ -1,136 +1,136 @@ PORTNAME= octave PORTVERSION= ${OCTAVE_VERSION} -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= math 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 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 \ 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++14-lang desktop-file-utils fortran gl \ gmake iconv libtool localbase:ldflags ncurses octave:env perl5 \ pkgconfig readline tar:xz xorg USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME}/${PORTVERSION} USE_PERL5= build GNU_CONFIGURE= yes USE_QT= core gui help network opengl printsupport sql widgets xml \ buildtools:build linguist:build qmake:build 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/qt5 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} 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 QT5 OPTIONS_RADIO= BLAS OPTIONS_RADIO_BLAS= ATLAS NETLIB OPENBLAS OPTIONS_DEFAULT= JAVA OPENBLAS QT5 OPTIONS_SUB= yes DOCS_CONFIGURE_ENABLE= docs JAVA_CONFIGURE_ENABLE= java QT5_CONFIGURE_WITH= qscintilla qt=5 QT5_LIB_DEPENDS= libqscintilla2_qt5.so:devel/qscintilla2-qt5 DOCS_USES= tex DOCS_USE= TEX=dvipsk:build,formats:build JAVA_USE= JAVA=yes JAVA_CFLAGS= -I${JAVA_HOME}/include/${OPSYS:tl} QT5_USES= qt:5 OPENBLAS_USES= blaslapack:openblas NETLIB_USES= blaslapack:netlib ATLAS_USES= blaslapack:atlas pre-configure: ${REINPLACE_CMD} 's+"makeinfo"+"${LOCALBASE}/bin/makeinfo"+' ${WRKSRC}/libinterp/corefcn/help.cc ${REINPLACE_CMD} 's/"-qt=$$qt_version"/"-qt=qt$$qt_version"/' ${WRKSRC}/configure #post-install: # (cd ${STAGEDIR}${DATADIR} && ${LN} -s ${PORTVERSION}/imagelib .) # ${RM} -r ${STAGEDIR}${DATADIR}/${PORTVERSION}/etc/tests/fixed/${WRKDIR:C+/++:C+/.*++} 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/openturns/Makefile b/math/openturns/Makefile index 5ec15f00dfab..6e74ed9c2de1 100644 --- a/math/openturns/Makefile +++ b/math/openturns/Makefile @@ -1,101 +1,101 @@ PORTNAME= openturns DISTVERSIONPREFIX= v DISTVERSION= 1.20 -PORTREVISION= 15 +PORTREVISION= 16 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= Uncertainty treatment library WWW= https://openturns.github.io/www/ LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/COPYING.LESSER BUILD_DEPENDS= boost-libs>0:devel/boost-libs \ flex:textproc/flex \ spectra>0:math/spectra LIB_DEPENDS= libamd.so:math/suitesparse-amd \ libblas.so:math/blas \ libbonmin.so:math/bonmin \ libboost_serialization.so:devel/boost-libs \ libcamd.so:math/suitesparse-camd \ libceres.so:math/ceres-solver \ libCbc.so:math/cbc \ libccolamd.so:math/suitesparse-ccolamd \ libCgl.so:math/cgl \ libcholmod.so:math/suitesparse-cholmod \ libClp.so:math/clp \ libcminpack.so:math/cminpack \ libcoinasl.so:math/asl \ libCoinUtils.so:math/coinutils \ libcolamd.so:math/suitesparse-colamd \ libcxsparse.so:math/suitesparse-cxsparse \ libdlib.so:science/dlib-cpp \ libgif.so:graphics/giflib \ libgflags.so:devel/gflags \ libglog.so:devel/glog \ libgmp.so:math/gmp \ libhdf5_cpp.so:science/hdf5 \ libipopt.so:math/ipopt \ liblapack.so:math/lapack \ libmetis.so:math/metis \ libmpc.so:math/mpc \ libmpfr.so:math/mpfr \ libnauty.so:math/nauty \ libnlopt.so:math/nlopt \ libOsi.so:math/osi \ libpagmo.so:science/pagmo2 \ libpng16.so:graphics/png \ libprimesieve.so:math/primesieve \ libspqr.so:math/suitesparse-spqr \ libsuitesparseconfig.so:math/suitesparse-config \ libsz.so:science/libaec \ libtbb.so:devel/onetbb \ libunwind.so:devel/libunwind USES= bison blaslapack:openblas cmake eigen:3 gnome jpeg localbase:ldflags pkgconfig sqlite xorg # compiler:c++17-lang USE_GITHUB= yes USE_GNOME= libxml2 USE_XORG= ice sm x11 xau xcb xdmcp xext USE_LDCONFIG= yes CMAKE_ARGS= -DBLAS_LIBRARIES=${LOCALBASE}/lib/libopenblas.so -DLAPACK_LIBRARIES=${LOCALBASE}/lib/libopenblas.so \ -DOPENTURNS_EXAMPLE_PATH:STRING=share/examples/openturns \ -DOPENTURNS_DOC_PATH:STRING=share/doc/openturns CMAKE_OFF= USE_DOXYGEN USE_SPHINX CMAKE_OFF+= USE_HMAT # broken with hmat-oss-1.7.1: https://github.com/openturns/openturns/issues/1868 TEST_TARGET= check # 10 tests are known to fail: https://github.com/openturns/openturns/issues/1919 OPTIONS_DEFINE= PYTHON EXAMPLES OPTIONS_DEFAULT= PYTHON OPTIONS_SUB= yes PYTHON_USES= python PYTHON_CMAKE_BOOL= BUILD_PYTHON PYTHON_CMAKE_ON= -DSWIG_EXECUTABLE=${LOCALBASE}/bin/swig PYTHON_PY_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}chaospy>0:math/py-chaospy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dill>0:devel/py-dill@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pandas>0:math/py-pandas@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} PYTHON_BUILD_DEPENDS= swig:devel/swig \ ${PYTHON_PY_DEPENDS} PYTHON_RUN_DEPENDS= ${PYTHON_PY_DEPENDS} PORTEXAMPLES= * LLVM_VERSION= 12 # workaround for clang-13 crash: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261341 # use clang from ports because cmake can't find base llvm for JIT BUILD_DEPENDS+= clang${LLVM_VERSION}:devel/llvm${LLVM_VERSION} RUN_DEPENDS+= clang${LLVM_VERSION}:devel/llvm${LLVM_VERSION} CPP= clang-cpp${LLVM_VERSION} CC= clang${LLVM_VERSION} CXX= clang++${LLVM_VERSION} post-install: @${RM} -r ${STAGEDIR}${DOCSDIR} .include diff --git a/math/py-cvxopt/Makefile b/math/py-cvxopt/Makefile index 5c82f18988d1..a0dd9169b6fd 100644 --- a/math/py-cvxopt/Makefile +++ b/math/py-cvxopt/Makefile @@ -1,60 +1,60 @@ PORTNAME= cvxopt DISTVERSION= 1.3.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= math python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Python software for convex optimization WWW= https://github.com/cvxopt/cvxopt LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=6.2:devel/py-setuptools_scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} LIB_DEPENDS= libamd.so:math/suitesparse-amd \ libblas.so:math/blas \ libcholmod.so:math/suitesparse-cholmod \ libcolamd.so:math/suitesparse-colamd \ liblapack.so:math/lapack \ libsuitesparseconfig.so:math/suitesparse-config \ libumfpack.so:math/suitesparse-umfpack TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} USES= python localbase:ldflags cpe #USE_GITHUB= yes USE_PYTHON= pep517 autoplist CPE_VENDOR= cvxopt_project CFLAGS+= -I${LOCALBASE}/include/suitesparse OPTIONS_DEFINE= GSL FFTW GLPK DSDP OPTIONS_DEFAULT= GSL FFTW GLPK DSDP GSL_DESC= Build with GSL, the GNU scientific library GSL_MAKE_ENV= CVXOPT_BUILD_GSL=1 GSL_LIB_DEPENDS= libgsl.so:math/gsl FFTW_MAKE_ENV= CVXOPT_BUILD_FFTW=1 FFTW_LIB_DEPENDS= libfftw3.so:math/fftw3 GLPK_DESC= Build with GLPK, the linear programming solver GLPK_MAKE_ENV= CVXOPT_BUILD_GLPK=1 GLPK_LIB_DEPENDS= libglpk.so:math/glpk DSDP_DESC= Build with DSDP, the interior-point method DSDP_MAKE_ENV= CVXOPT_BUILD_DSDP=1 DSDP_CFLAGS= -I${LOCALBASE}/include/dsdp DSDP_LIB_DEPENDS= libdsdp.so:math/dsdp post-install: @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/cvxopt/*.so do-test: install @cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest .include diff --git a/science/py-scikit-sparse/Makefile b/science/py-scikit-sparse/Makefile index 26c372508ca0..1198684c80d4 100644 --- a/science/py-scikit-sparse/Makefile +++ b/science/py-scikit-sparse/Makefile @@ -1,30 +1,30 @@ PORTNAME= scikit-sparse DISTVERSION= 0.4.8 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= science python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Sparse matrix package WWW= https://github.com/scikit-sparse/scikit-sparse LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${RUN_DEPENDS} LIB_DEPENDS= libumfpack.so:math/suitesparse-umfpack \ libcholmod.so:math/suitesparse-cholmod RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} USES= fortran python USE_PYTHON= distutils cython autoplist CFLAGS+= -I${LOCALBASE}/include/suitesparse LDFLAGS+= -shared post-install: @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/sksparse/cholmod*.so .include