diff --git a/astro/stellarium/Makefile b/astro/stellarium/Makefile index 1ab3d37269db..2dd2fb0d5017 100644 --- a/astro/stellarium/Makefile +++ b/astro/stellarium/Makefile @@ -1,122 +1,123 @@ PORTNAME= stellarium PORTVERSION= 24.2 +PORTREVISION= 1 CATEGORIES= astro MASTER_SITES= https://github.com/Stellarium/stellarium/releases/download/v${PORTVERSION}/ \ https://mirrors.tuna.tsinghua.edu.cn/github-release/Stellarium/stellarium/v${PORTVERSION}/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} EXTRACT_ONLY= ${_DISTFILES:Nstars_*.cat:N*.pdf} MAINTAINER= danfe@FreeBSD.org COMMENT= 3D photo-realistic sky renderer (planetarium) WWW= https://stellarium.org/ LICENSE= GPLv2+ BUILD_DEPENDS= ${LOCALBASE}/include/fast_float/fast_float.h:math/fast_float LIB_DEPENDS= libexiv2.so:graphics/exiv2 \ libnlopt.so:math/nlopt@minimal USES= cmake compiler:c++11-lang desktop-file-utils \ perl5 qt:5 shared-mime-info tar:xz USE_PERL5= build USE_QT= qmake:build buildtools:build \ charts concurrent core gui network opengl widgets CMAKE_OFF= ENABLE_QT6 PORTDOCS= CREDITS.md ChangeLog README.md \ stellarium_user_guide-${PORTVERSION}-1.pdf OPTIONS_DEFINE= DOCS GPS MORE_STARS MULTIMEDIA NLS SCRIPTS \ SHOWMYSKY TELESCOPE TEST TEXTURES WEBENGINE XLSX OPTIONS_DEFAULT= GPS MULTIMEDIA SCRIPTS SHOWMYSKY TELESCOPE \ WEBENGINE XLSX OPTIONS_SUB= yes GPS_DESC= GPS (NMEA handling) support MORE_STARS_DESC= Install additional star catalogs (1.0GB) MULTIMEDIA_DESC= Sound and video support SCRIPTS_DESC= Remote control and scripting support SHOWMYSKY_DESC= Realistic atmosphere light scattering TELESCOPE_DESC= Build telescope control plugin TEXTURES_DESC= Install better quality textures WEBENGINE_DESC= Get and show extra object information XLSX_DESC= Data export to Excel files support DOCS_DISTFILES= stellarium_user_guide-${PORTVERSION}-1.pdf GPS_LIB_DEPENDS= libgps.so:astro/gpsd GPS_USE= QT=location,serialport GPS_CMAKE_OFF= -DENABLE_GPS:BOOL=OFF MULTIMEDIA_USE= QT=multimedia MULTIMEDIA_CMAKE_OFF= -DENABLE_MEDIA:BOOL=OFF NLS_USE= QT=linguisttools:build NLS_CMAKE_OFF= -DENABLE_NLS:BOOL=OFF SCRIPTS_USE= QT=script SCRIPTS_CMAKE_OFF= -DENABLE_SCRIPTING:BOOL=OFF SHOWMYSKY_BUILD_DEPENDS= ${LOCALBASE}/include/ShowMySky/AtmosphereRenderer.hpp:astro/calcmysky SHOWMYSKY_RUN_DEPENDS= ${LOCALBASE}/lib/libShowMySky-Qt5.so:astro/calcmysky SHOWMYSKY_CMAKE_OFF= -DENABLE_SHOWMYSKY:BOOL=OFF TELESCOPE_BUILD_DEPENDS= ${LOCALBASE}/lib/libindiclient.a:devel/indi TELESCOPE_USE= QT=serialport TELESCOPE_CMAKE_OFF= -DUSE_PLUGIN_TELESCOPECONTROL:BOOL=OFF TEST_USE= QT=testlib:build TEST_CMAKE_ON= -DENABLE_TESTING:BOOL=ON TEXTURES_MASTER_SITES= SF/${PORTNAME}/Extra-data-files/textures:gfx TEXTURES_DISTFILES= textures-1K.zip:gfx WEBENGINE_USE= QT=declarative,webchannel,webengine WEBENGINE_CMAKE_OFF= -DENABLE_QTWEBENGINE:BOOL=OFF XLSX_LIB_DEPENDS= libQXlsxQt5.so:devel/qxlsx@qt5 XLSX_CMAKE_OFF= -DENABLE_XLSX:BOOL=OFF .include .if ${PORT_OPTIONS:MMORE_STARS} . for i in 4 5 6 7 8 MASTER_SITES+= SF/${PORTNAME}/Extra-data-files/stars${i}:stars${i} . endfor DISTFILES+= stars_4_1v0_2.cat:stars4 stars_5_2v0_1.cat:stars5 \ stars_6_2v0_1.cat:stars6 stars_7_2v0_1.cat:stars7 \ stars_8_2v0_1.cat:stars8 .endif post-extract-DOCS-on: @${LN} -sf ${_DISTDIR}/stellarium_user_guide-${PORTVERSION}-1.pdf \ ${WRKSRC} post-install: @${RMDIR} ${STAGEDIR}${DATADIR}/skycultures/greek_almagest/almstars post-install-MORE_STARS-on: ${INSTALL_DATA} ${DISTDIR}/stars_4_1v0_2.cat \ ${DISTDIR}/stars_[5678]_2v0_1.cat \ ${STAGEDIR}${DATADIR}/stars/default post-install-TEXTURES-on: (cd ${WRKDIR} && for f in *.png; do \ ${TEST} -z "$${f%neb*}" && continue ; \ new=`${STAT} -f '%z' $$f` ; \ existing=`${STAT} -f '%z' \ ${STAGEDIR}${DATADIR}/textures/$$f` ; \ ${TEST} $$new -gt $$existing || continue ; \ ${ECHO_CMD} "-- Replacing texture: $$f\ (has larger file size: $$new > $$existing)" ; \ ${INSTALL_DATA} $$f ${STAGEDIR}${DATADIR}/textures ; \ done) post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} do-test-TEST-on: @cd ${TEST_WRKSRC} && ctest -C ${CMAKE_BUILD_TYPE} ${_MAKE_JOBS} .include diff --git a/biology/bolt-lmm/Makefile b/biology/bolt-lmm/Makefile index a02f577aec50..8af9ea346bae 100644 --- a/biology/bolt-lmm/Makefile +++ b/biology/bolt-lmm/Makefile @@ -1,52 +1,52 @@ PORTNAME= bolt-lmm DISTVERSION= 2.3.6 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= biology MASTER_SITES= https://data.broadinstitute.org/alkesgroup/BOLT-LMM/downloads/ DISTNAME= BOLT-LMM_v${PORTVERSION} MAINTAINER= jwb@FreeBSD.org COMMENT= Mixed model association testing and variance component analysis WWW= https://data.broadinstitute.org/alkesgroup/BOLT-LMM/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/license.txt LIB_DEPENDS= libnlopt.so:math/nlopt \ libopenblas.so:math/openblas \ libboost_program_options.so:devel/boost-libs USES= gmake BUILD_WRKSRC= ${WRKDIR}/${DISTNAME}/src INSTALL_WRKSRC= ${WRKDIR}/${DISTNAME}/src CXXFLAGS_i386= -DUSE_SSE -msse -msse2 CXXFLAGS_amd64= -DUSE_SSE MAKE_ARGS= BOOST_INSTALL_DIR=${LOCALBASE} \ NLOPT_INSTALL_DIR=${LOCALBASE} \ ZLIB_STATIC_DIR=/usr/lib \ LIBSTDCXX_STATIC_DIR=/usr/lib \ GLIBC_STATIC_DIR=/usr/lib \ SSEFLAGS="" \ MEMCPY="" \ LLAPACK="-lopenblas" CONFLICTS_INSTALL= rubygem-bolt # bin/bolt PORTEXAMPLES= * OPTIONS_DEFINE= EXAMPLES pre-configure: @${RM} ${WRKSRC}/example/*.orig ${WRKSRC}/bolt @${REINPLACE_CMD} -e 's|tables/|${DATADIR}/tables/|g' \ ${BUILD_WRKSRC}/BoltParams.cpp @${REINPLACE_CMD} -e 's|../tables/|${DATADIR}/tables/|g' \ ${WRKSRC}/example/run_example.sh do-install: ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/bolt ${STAGEDIR}${PREFIX}/bin (cd ${WRKSRC}/example && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) (cd ${WRKSRC} && ${COPYTREE_SHARE} tables ${STAGEDIR}${DATADIR}) .include diff --git a/cad/PrusaSlicer/Makefile b/cad/PrusaSlicer/Makefile index c4421d01825e..782f9e0ecb52 100644 --- a/cad/PrusaSlicer/Makefile +++ b/cad/PrusaSlicer/Makefile @@ -1,62 +1,63 @@ PORTNAME= PrusaSlicer DISTVERSIONPREFIX=version_ DISTVERSION= 2.8.0 +PORTREVISION= 1 CATEGORIES= cad DIST_SUBDIR= PrusaSlicer MAINTAINER= teodorsigaev@gmail.com COMMENT= Slicing application for 3D printers WWW= https://www.prusa3d.com/prusaslicer/ LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= cereal>=1.3.0.10:devel/cereal \ cgal>=5.0.2:math/cgal \ opencascade>=7.7.0:cad/opencascade \ libbgcode>=0.2.0_1:cad/libbgcode LIB_DEPENDS+= libbgcode_convert.so:cad/libbgcode \ libbgcode_binarize.so:cad/libbgcode \ libbgcode_core.so:cad/libbgcode \ libtbb.so:devel/onetbb \ libboost_log.so:devel/boost-libs \ libImath.so:math/Imath \ libnlopt.so:math/nlopt \ libqhull_r.so:math/qhull \ libcurl.so:ftp/curl \ libexpat.so:textproc/expat2 \ libiconv.so:converters/libiconv \ libopenvdb.so:misc/openvdb \ libgmp.so:math/gmp \ libmpfr.so:math/mpfr \ libdbus-1.so:devel/dbus \ libpng.so:graphics/png \ libTKXSDRAWSTEP.so:cad/opencascade \ libtiff.so:graphics/tiff \ libfontconfig.so:x11-fonts/fontconfig \ libfreeimage.so:graphics/freeimage \ libfreetype.so:print/freetype2 \ libavcodec.so:multimedia/ffmpeg4 \ libharfbuzz.so:print/harfbuzz \ libwayland-egl.so:graphics/wayland USES= cmake cpe desktop-file-utils eigen:3 gettext gl gnome iconv \ jpeg pkgconfig xorg CPE_VENDOR= prusa3d USE_GITHUB= yes GH_ACCOUNT= prusa3d USE_GL= gl glu glew USE_GNOME= gtk30 pango atk cairo gdkpixbuf2 glib20 USE_WX= 3.2 USE_XORG= x11 CMAKE_ARGS+= -DwxWidgets_CONFIG_EXECUTABLE="${WX_CONFIG}" \ -DSLIC3R_GTK=3 \ -DSLIC3R_FHS=1 \ -DSLIC3R_PCH=OFF \ -DSLIC3R_BUILD_TESTS=OFF PORTDATA= * .include diff --git a/devel/libnest2d-ultimaker/Makefile b/devel/libnest2d-ultimaker/Makefile index 5c3067705704..389da1444cb4 100644 --- a/devel/libnest2d-ultimaker/Makefile +++ b/devel/libnest2d-ultimaker/Makefile @@ -1,26 +1,26 @@ PORTNAME= libnest2d-ultimaker # XXX there is no 4.13.1 # https://github.com/Ultimaker/libnest2d/tags DISTVERSION= 4.12.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel MAINTAINER= db@FreeBSD.org COMMENT= 2D irregular bin packaging and nesting library WWW= https://github.com/Ultimaker/libnest2d LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libpolyclipping.so:graphics/polyclipping \ libnlopt.so:math/nlopt USES= cmake USE_GITHUB= yes GH_ACCOUNT= Ultimaker GH_PROJECT= libnest2d NO_ARCH= yes .include diff --git a/devel/py-pynest2d/Makefile b/devel/py-pynest2d/Makefile index 7dd6ff12be9d..b0cc564a598a 100644 --- a/devel/py-pynest2d/Makefile +++ b/devel/py-pynest2d/Makefile @@ -1,33 +1,33 @@ PORTNAME= pynest2d # XXX there is no 4.13.1 DISTVERSION= 4.12.1 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= devel python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= db@FreeBSD.org COMMENT= CPython bindings for libnest2d by Ultimaker WWW= https://github.com/Ultimaker/libnest2d LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/LICENSE DEPRECATED= Fails to build with modern python EXPIRATION_DATE= 2024-06-29 RUN_DEPENDS= ${LOCALBASE}/include/libnest2d/libnest2d.hpp:devel/libnest2d-ultimaker BUILD_DEPENDS= ${LOCALBASE}/include/libnest2d/libnest2d.hpp:devel/libnest2d-ultimaker \ sip:devel/py-sip4 LIB_DEPENDS= libpolyclipping.so:graphics/polyclipping \ libboost_system.so:devel/boost-libs \ libnlopt.so:math/nlopt USES= python cmake compiler:c++11-lang pyqt:5 pkgconfig USE_PYTHON= flavors USE_GITHUB= yes GH_TUPLE= Ultimaker:pynest2d:baec470 CMAKE_ARGS= -DLIBNEST2D_INCLUDE_DIRS=${PREFIX}/include/libnest2d CONFIGURE_ENV= CLIPPER_PATH=${LOCALBASE} VERBOSE=y .include diff --git a/math/R-cran-nloptr/Makefile b/math/R-cran-nloptr/Makefile index a586d9a7f1eb..51ef76dcf6d3 100644 --- a/math/R-cran-nloptr/Makefile +++ b/math/R-cran-nloptr/Makefile @@ -1,16 +1,17 @@ PORTNAME= nloptr PORTVERSION= 2.1.1 +PORTREVISION= 1 CATEGORIES= math DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= tota@FreeBSD.org COMMENT= R interface to NLopt WWW= https://cran.r-project.org/web/packages/nloptr/ LICENSE= LGPL3 LIB_DEPENDS= libnlopt.so:math/nlopt USES= cran:auto-plist,compiles pkgconfig .include diff --git a/math/freefem++/Makefile b/math/freefem++/Makefile index ed121436eb53..7cd40f1edf55 100644 --- a/math/freefem++/Makefile +++ b/math/freefem++/Makefile @@ -1,76 +1,76 @@ PORTNAME= freefem++ DISTVERSIONPREFIX= v DISTVERSION= 4.14 -PORTREVISION= 7 +PORTREVISION= 8 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 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/libmesh/Makefile b/math/libmesh/Makefile index 4d11d7df7239..30dcac93fec3 100644 --- a/math/libmesh/Makefile +++ b/math/libmesh/Makefile @@ -1,93 +1,93 @@ PORTNAME= libmesh DISTVERSION= 1.7.0 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= math MASTER_SITES= https://github.com/libMesh/${PORTNAME}/releases/download/v${DISTVERSION}/ MAINTAINER= yuri@FreeBSD.org COMMENT= Numerical simulation of partial differential equations WWW= https://libmesh.github.io LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libnlopt.so:math/nlopt USES= compiler:c++17-lang eigen:3 gmake libtool localbase perl5 pkgconfig tar:xz GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-static \ --with-methods=opt \ --with-thread-model=pthread \ --datarootdir=${DATADIR} \ --enable-amr \ --enable-nlopt \ --disable-strict-lgpl \ --enable-tetgen \ --enable-triagle \ --with-boost=${LOCALBASE} \ --with-eigen-include=${LOCALBASE}/include/eigen3 \ --disable-netcdf --disable-netcdf-4 # https://github.com/libMesh/libmesh/issues/1542 CONFIGURE_ARGS+= --disable-metaphysicl # enabling this causes libmesh to install a bundled metaphysicl that would conflict with the metaphysicl package CONFIGURE_ARGS+= --with-nlopt-include=${LOCALBASE}/include --with-nlopt-lib=${LOCALBASE}/lib # workaround for https://github.com/libMesh/libmesh/issues/3314 MAKE_ARGS= LDFLAGS="-pthread -lexecinfo -L${LOCALBASE}/lib" USE_LDCONFIG= yes CXXFLAGS+= -I${WRKSRC}/contrib/parmetis/include # because parmetis.h isn't found for ./include/libmesh/parmetis_helper.h INSTALL_TARGET= install-strip TEST_TARGET= check OPTIONS_DEFINE= GLPK HDF5 MPI EXAMPLES OPTIONS_DEFAULT= MPI GLPK_DESC= Glpk linear programming solver library GLPK_CONFIGURE_ENABLE= glpk GLPK_LIB_DEPENDS= libglpk.so:math/glpk HDF5_CONFIGURE_ENABLE= hdf5 HDF5_LIB_DEPENDS= libhdf5.so:science/hdf5 MPI_CONFIGURE_ENABLE= mpi MPI_CONFIGURE_ON= --with-mpi=${LOCALBASE} --with-mpi-include=${LOCALBASE}/include --with-mpi-lib=${LOCALBASE}/lib MPI_LIB_DEPENDS= libmpi.so:net/mpich EXAMPLES_CONFIGURE_ENABLE= examples EXAMPLES_VARS= PKGMESSAGE=pkg-message-examples SUB_FILES= pkg-message-examples PORTEXAMPLES= * post-extract: @${FIND} ${WRKSRC} -name "*.orig" -delete post-install: @${MKDIR} ${STAGEDIR}${DATADIR} @${MV} ${STAGEDIR}${PREFIX}/etc/libmesh/Make.common ${STAGEDIR}${DATADIR} @cd ${STAGEDIR}${PREFIX} && ${RM} -r \ etc/libmesh \ Make.common \ contrib \ libdata/pkgconfig/Make.common # https://github.com/libMesh/libmesh/issues/1539 # delete metis.h, see https://github.com/libMesh/libmesh/issues/3317 ${RM} ${STAGEDIR}${PREFIX}/include/metis.h post-install-EXAMPLES-on: # https://github.com/libMesh/libmesh/issues/1541 @${MV} ${STAGEDIR}${PREFIX}/examples ${STAGEDIR}${EXAMPLESDIR} @${FIND} ${STAGEDIR}${EXAMPLESDIR} -name Makefile | ${XARGS} ${REINPLACE_CMD} -i '' -e ' \ s|LIBMESH_DIR ?= .*|LIBMESH_DIR ?= ${PREFIX}| ; \ s|$$(LIBMESH_DIR)/Make.common|${DATADIR}/Make.common| ; \ s|LIBMESH_DIR/examples|LIBMESH_DIR/share/examples/${PORTNAME}| ; \ s|$$(libmesh_LDFLAGS)|$$(libmesh_LDFLAGS) -pthread|' @${FIND} ${STAGEDIR}${EXAMPLESDIR} -name run.sh | ${XARGS} ${CHMOD} +x @${FIND} ${STAGEDIR}${EXAMPLESDIR} -name run.sh | ${XARGS} ${REINPLACE_CMD} -i '' -e ' \ s|#set -x|export LIBMESH_DIR=${PREFIX}| ; \ s|#!/bin/bash|#!${LOCALBASE}/bin/bash| ; \ s|LIBMESH_DIR/examples|LIBMESH_DIR/share/examples/${PORTNAME}| ; \ s|reference_elements|share/${PORTNAME}/reference_elements|' @${REINPLACE_CMD} -i '' -e 's|libmesh_LIBTOOL ?= /usr/local/contrib/bin/libtool|libmesh_LIBTOOL ?= libtool|' \ ${STAGEDIR}${DATADIR}/Make.common .include diff --git a/math/openturns/Makefile b/math/openturns/Makefile index 4cd6647f423b..77c595002237 100644 --- a/math/openturns/Makefile +++ b/math/openturns/Makefile @@ -1,99 +1,99 @@ PORTNAME= openturns DISTVERSIONPREFIX= v DISTVERSION= 1.23 -PORTREVISION= 2 +PORTREVISION= 3 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 \ libmpc.so:math/mpc \ libmpfr.so:math/mpfr \ 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 USES= bison blaslapack:openblas cmake eigen:3 gnome jpeg llvm:18 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 CMAKE_OFF+= USE_CERES # ceres-solver-2.2.0 fails to be found by cmake, see https://github.com/ceres-solver/ceres-solver/issues/1023 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>=1.3.1: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/misc/dartsim/Makefile b/misc/dartsim/Makefile index 9d5a97086e7d..1b6c36051b0f 100644 --- a/misc/dartsim/Makefile +++ b/misc/dartsim/Makefile @@ -1,73 +1,74 @@ PORTNAME= dartsim DISTVERSIONPREFIX= v DISTVERSION= 6.14.4 +PORTREVISION= 1 CATEGORIES= misc MAINTAINER= yuri@FreeBSD.org COMMENT= Dynamic Animation and Robotics Toolkit WWW= https://dartsim.github.io/ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_i386= clang failure: https://bugs.llvm.org/show_bug.cgi?id=41757 BUILD_DEPENDS= pagmo2>0:science/pagmo2 \ pybind11>0:devel/pybind11 BUILD_DEPENDS+= googletest>0:devel/googletest LIB_DEPENDS= libassimp.so:multimedia/assimp \ libBulletDynamics.so:devel/bullet \ libboost_system.so:devel/boost-libs \ libccd.so:math/libccd \ libconsole_bridge.so:devel/ros-console_bridge \ libfcl.so:math/fcl \ libflann_cpp.so:math/flann \ libfmt.so:devel/libfmt \ libipopt.so:math/ipopt \ liblz4.so:archivers/liblz4 \ liboctomap.so:math/octomap \ libode.so:devel/ode \ libosg.so:graphics/osg \ libnlopt.so:math/nlopt \ libpagmo.so:science/pagmo2 \ libtinyxml2.so:textproc/tinyxml2 \ liburdfdom_world.so:devel/ros-urdfdom USES= cmake:testing compiler:c++17-lang eigen:3,build,run gl localbase:ldflags \ pkgconfig python xorg USE_GL= gl glu glut USE_XORG= xi xmu USE_CXXSTD= c++17 # missing in the project, it uses std::void_t (through pagmo2) which is a c++17 feature USE_LDCONFIG= yes USE_GITHUB= yes GH_PROJECT= dart CXXFLAGS+= -I${LOCALBASE}/include/coin # because of pagmo2 headers include CMAKE_ON= BUILD_SHARED_LIBS # DART_VERBOSE CMAKE_OFF= DART_TREAT_WARNINGS_AS_ERRORS # workaround for https://github.com/dartsim/dart/issues/1799 CMAKE_ARGS= -DODE_DIR=${LOCALBASE} \ -DFREEBSD_PYTHON_VER=${PYTHON_VER} CMAKE_TESTING_TARGET= tests # only builds test DATADIR= share/dart DOCSDIR= ${PREFIX}/share/doc/dart BINARY_ALIAS= python3=${PYTHON_CMD} OPTIONS_DEFINE= DOCS PORTDOCS= * .include .if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=unused-but-set-variable .endif post-test: # run tests: 8 tests fail, see https://github.com/dartsim/dart/issues/1797#issuecomment-2191988407 @cd ${BUILD_WRKSRC} && \ ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test .include diff --git a/science/dakota/Makefile b/science/dakota/Makefile index 18ef563ca8ba..2abcb18ca286 100644 --- a/science/dakota/Makefile +++ b/science/dakota/Makefile @@ -1,100 +1,100 @@ PORTNAME= dakota DISTVERSION= 6.17.0 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= science MASTER_SITES= https://dakota.sandia.gov/sites/default/files/distributions/public/ DISTNAME= ${PORTNAME}-${DISTVERSION}-release-public-src-cli DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= yuri@FreeBSD.org COMMENT= Interface between analysis codes & iterative systems analysis methods WWW= https://dakota.sandia.gov/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= nanoflann>0:math/nanoflann LIB_DEPENDS= libblas.so:math/blas \ libboost_system.so:devel/boost-libs \ libexpat.so:textproc/expat2 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgsl.so:math/gsl \ libhdf5.so:science/hdf5 \ libicui18n.so:devel/icu \ liblapack.so:math/lapack \ libnlopt.so:math/nlopt \ libpng16.so:graphics/png \ libsz.so:science/libaec RUN_DEPENDS= bash:shells/bash USES= cmake compiler:c++11-lang fortran gettext-runtime jpeg motif perl5 pkgconfig python shebangfix xorg USE_XORG= ice sm x11 xau xcb xdmcp xext xft xmu xrender xt USE_LDCONFIG= yes USE_GITHUB= nodefault GH_TUPLE= stan-dev:math:v2.18.0:stanmath/stanmath SHEBANG_GLOB= *.sh *.py SHEBANG_FILES= interfaces/Python/mpitile \ scripts/pyprepro/dprepro \ scripts/pyprepro/pyprepro \ scripts/dprepro.perl \ test/dakota_test.perl CMAKE_ON= HAVE_X_GRAPHICS # always enable graphics because w/out it a lot of unrelated files aren't installed due to bugs in the project CMAKE_ON+= Boost_NO_BOOST_CMAKE \ DAKOTA_GIT_checkout #CMAKE_ON+= HAVE_C3 # causes "duplicate include" error #CMAKE_ON+= DAKOTA_DL_SOLVER # fails to compile: error: declaration of anonymous class must be a definition #CMAKE_ON+= HAVE_NOWPAC # installs files into $PORTSDIR CMAKE_ON+= HAVE_QUESO \ HAVE_MUQ MUQ_USE_PYTHON \ # enable some methods that aren't enabled by default, see the list @ src/DakotaIterator.cpp CMAKE_ON+= DAKOTA_HAVE_GSL DAKOTA_HAVE_HDF5 CMAKE_OFF= DAKOTA_ENABLE_TESTS CMAKE_ARGS= -DDakota_VERSION_SRC:STRING=${DISTVERSION} -DDakota_GIT_REVL:STRING=unknown -DDakota_RELEASE_DATE:${STRING}=20211115 \ -DPython_EXECUTABLE=${PYTHON_CMD} \ -DMUQ_STANMATH_DIR=${WRKSRC}/stanmath \ -DPython_EXECUTABLE=${PYTHON_CMD} CFLAGS+= -DH5_USE_110_API=1 FFLAGS+= -fallow-argument-mismatch LDFLAGS+= -lexecinfo CONFLICTS_BUILD= dakota # self: picks up some bundled packages from the pre-installed dakota package and then fails to install them post-extract: @${FIND} ${WRKSRC} -name "*.orig" -delete @${ECHO} ${DISTVERSION} > ${WRKSRC}/VERSION # expected by the 'install' target pre-configure: # MUQ_STANMATH_DIR is lost otherwise @${REINPLACE_CMD} 's|find_package(PkgConfig)|set(MUQ_STANMATH_DIR ${WRKSRC}/stanmath)|' ${WRKSRC}/packages/external/muq2/cmake/finds/FindSTANMATH.cmake post-install: # remove eigen3 that Dakota installs cd ${STAGEDIR}${PREFIX} && ${RM} -r include/eigen3 share/eigen3 # remove cblas.h that Dakota installs ${RM} ${STAGEDIR}${PREFIX}/include/cblas.h # remove *.orig files ${RM} ${STAGEDIR}${PREFIX}/include/colin/AppResponse.h.orig # install libraries that it fails to install .for l in libmuqSamplingAlgorithms.so libmuqModeling.so libmuqUtilities.so ${INSTALL_LIB} ${BUILD_WRKSRC}/packages/external/muq2/lib/${l} ${STAGEDIR}${PREFIX}/lib .endfor do-test: install # from Additional Test Suites @ https://dakota.sandia.gov/content/additional-test-suites (many tests are known to fail) ## minimal set of fast-running tests that should NOT FAIL (may DIFF, depending on platform / compiler) cd ${WRKSRC}/test && ./dakota_test.perl ## test suite that should PASS on any supported platform (NO DIFF or FAIL) #cd ${WRKSRC}/test && ./dakota_test.perl --label-regex=AcceptanceTest ## run all Dakota tests active in this build (should PASS or DIFF) #cd ${WRKSRC}/test && ./dakota_test.perl --label-regex=dakota_ # Tests should be this way, but this fails: #@cd ${BUILD_WRKSRC} && \ ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DDAKOTA_ENABLE_TESTS:BOOL=ON ${CMAKE_SOURCE_PATH} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ (cd ${WRKSRC} && ctest -j 4 -L FastTest -LE Diff) .include diff --git a/science/libctl/Makefile b/science/libctl/Makefile index 516cd86851d8..0857c7178368 100644 --- a/science/libctl/Makefile +++ b/science/libctl/Makefile @@ -1,35 +1,35 @@ PORTNAME= libctl DISTVERSION= 4.5.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= science math MASTER_SITES= https://github.com/NanoComp/libctl/releases/download/v${DISTVERSION}/ MAINTAINER= devel@stasyan.com COMMENT= Control Language Library WWW= https://libctl.readthedocs.io/en/latest/ LICENSE= GPLv2 USES= fortran guile:2.2 libtool pkgconfig GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --enable-shared USE_LDCONFIG= yes LDFLAGS+= -L${LOCALBASE}/lib -lm OPTIONS_DEFINE= NLOPT DOCS EXAMPLES OPTIONS_DEFAULT= NLOPT NLOPT_DESC= Use NLopt, an external NonLinear OPTimizer NLOPT_LIB_DEPENDS= libnlopt.so:math/nlopt post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${CP} -R ${WRKSRC}/doc/ ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${CP} -R ${WRKSRC}/examples/ ${STAGEDIR}${EXAMPLESDIR} @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libctl.so.7.3.0 @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libctlgeom.so.7.3.0 @${STRIP_CMD} ${STAGEDIR}${EXAMPLESDIR}/.libs/example .include diff --git a/science/mpb/Makefile b/science/mpb/Makefile index cd0c7e5a24e0..3ec5fcd8a425 100644 --- a/science/mpb/Makefile +++ b/science/mpb/Makefile @@ -1,52 +1,52 @@ PORTNAME= mpb DISTVERSION= 1.11.1 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= science MASTER_SITES= https://github.com/NanoComp/mpb/releases/download/v${DISTVERSION}/ MAINTAINER= rhurlin@FreeBSD.org COMMENT= MIT Photonic-Bands WWW= https://mpb.readthedocs.io/en/latest/ LICENSE= GPLv2 BUILD_DEPENDS= bash:shells/bash # NLOPT should be enabled in science/libctl LIB_DEPENDS= libctl.so:science/libctl \ libfftw3.so:math/fftw3 \ libhdf5.so:science/hdf5 \ libnlopt.so:math/nlopt USES= fortran guile:2.2,alias libtool pkgconfig readline USE_GCC= yes USE_LDCONFIG= yes # Do not use --with-mpi, because it is not guaranted # that science/hdf5 also built with option PARALLEL GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS= --enable-shared MAKE_JOBS_UNSAFE= yes INSTALL_TARGET= install-strip TEST_TARGET= check CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= ATLAS OPENMP ATLAS_DESC= Use math/atlas instead of math/openblas OPENMP_DESC= Use OpenMP (enable also in math/fftw3) ATLAS_LIB_DEPENDS= libatlas.so:math/atlas ATLAS_USES_OFF= blaslapack:openblas ATLAS_CONFIGURE_ON= --with-lapack=-lalapack ATLAS_CONFIGURE_OFF= --with-blas=openblas --with-lapack=-lopenblas OPENMP_CONFIGURE_ON= --with-openmp post-install: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC}/examples && \ ${COPYTREE_SHARE} "*.ctl *.scm" ${STAGEDIR}${EXAMPLESDIR}) .include diff --git a/science/octopus/Makefile b/science/octopus/Makefile index ff74c135fcbd..97ba3c607b31 100644 --- a/science/octopus/Makefile +++ b/science/octopus/Makefile @@ -1,68 +1,68 @@ PORTNAME= octopus DISTVERSION= 13.0 -PORTREVISION= 3 +PORTREVISION= 4 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/new-site/main/ LICENSE= GPLv2 BROKEN_aarch64= undefined reference to `__aarch64_cas8_acq_rel' #'` BUILD_DEPENDS= bash:shells/bash LIB_DEPENDS= libarpack.so:math/arpack-ng \ 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 python shebangfix USE_CXXSTD= c++14 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 diff --git a/science/pagmo2/Makefile b/science/pagmo2/Makefile index dddf44f322a2..cf9fc444b3e5 100644 --- a/science/pagmo2/Makefile +++ b/science/pagmo2/Makefile @@ -1,33 +1,34 @@ PORTNAME= pagmo2 DISTVERSIONPREFIX= v DISTVERSION= 2.19.1 +PORTREVISION= 1 CATEGORIES= science MAINTAINER= yuri@FreeBSD.org COMMENT= Platform to perform parallel computations of optimization tasks WWW= https://esa.github.io/pagmo2/ LICENSE= GPLv3 LGPL3 LICENSE_COMB= dual LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING.gpl3 LICENSE_FILE_LGPL3= ${WRKSRC}/COPYING.lgpl3 LIB_DEPENDS= libboost_serialization.so:devel/boost-libs \ libipopt.so:math/ipopt \ libnlopt.so:math/nlopt \ libtbb.so:devel/onetbb USES= cmake compiler:c++17-lang eigen:3,build,run USE_GITHUB= yes GH_ACCOUNT= esa USE_LDCONFIG= yes CMAKE_ON= PAGMO_WITH_EIGEN3 PAGMO_WITH_NLOPT PAGMO_WITH_IPOPT PAGMO_ENABLE_IPO do-test: # many tests fail, see https://github.com/esa/pagmo2/issues/579 @cd ${BUILD_WRKSRC} && \ ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DPAGMO_BUILD_TESTS:BOOL=ON ${CMAKE_SOURCE_PATH} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test .include diff --git a/science/py-pygmo2/Makefile b/science/py-pygmo2/Makefile index 9e80b7fd4850..776e3ec4b9a6 100644 --- a/science/py-pygmo2/Makefile +++ b/science/py-pygmo2/Makefile @@ -1,40 +1,41 @@ PORTNAME= pygmo2 DISTVERSIONPREFIX= v DISTVERSION= 2.19.7 +PORTREVISION= 1 CATEGORIES= science graphics PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Python platform to perform parallel computations of optimisation tasks WWW= https://esa.github.io/pygmo2/ LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= pybind11>0:devel/pybind11 LIB_DEPENDS= libpagmo.so:science/pagmo2 \ libboost_serialization.so:devel/boost-libs \ libnlopt.so:math/nlopt RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}cloudpickle>0:devel/py-cloudpickle@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dill>0:devel/py-dill@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ipython>0:devel/ipython@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}networkx>0:math/py-networkx@${PY_FLAVOR} USES= cmake compiler:c++17-lang python USE_PYTHON= flavors USE_GITHUB= yes GH_ACCOUNT= esa CMAKE_ON= PYGMO_ENABLE_IPO CMAKE_ARGS= -DFREEBSD_PYTHON_DISTVERSION=${PYTHON_DISTVERSION} CXXFLAGS+= -I${LOCALBASE}/include/coin # see https://github.com/esa/pygmo2/issues/58 do-test: install # tests require sysctl sudo sysctl kern.threads.max_threads_per_proc variable to be at least 15000 ; test taken from azure-pipelines.yml # some tests fail, see https://github.com/esa/pygmo2/issues/135 @${PYTHON_CMD} -c "import pygmo; pygmo.test.run_test_suite(1); pygmo.mp_island.shutdown_pool(); pygmo.mp_bfe.shutdown_pool()" .include