diff --git a/astro/astrometry/Makefile b/astro/astrometry/Makefile index 680e9dd76a61..8d640e54286c 100644 --- a/astro/astrometry/Makefile +++ b/astro/astrometry/Makefile @@ -1,96 +1,96 @@ PORTNAME= astrometry PORTVERSION= 0.97 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= astro MASTER_SITES= https://github.com/dstndstn/${PORTNAME}.net/releases/download/${DISTVERSION}/ DISTNAME= ${PORTNAME}.net-${PORTVERSION} MAINTAINER= rhurlin@FreeBSD.org COMMENT= Astronomic calibration service WWW= https://astrometry.net/ LICENSE= GPLv3+ BROKEN_armv6= fails to link: os-features-test.c:10: undefined symbol 'canonicalize_file_name' BROKEN_armv7= fails to link: os-features-test.c:10: undefined symbol 'canonicalize_file_name' BUILD_DEPENDS= bash:shells/bash \ ${PY_SETUPTOOLS} \ ${PYNUMPY} LIB_DEPENDS= libcairo.so:graphics/cairo \ libcfitsio.so:astro/cfitsio \ libgsl.so:math/gsl \ libnetpbm.so:graphics/netpbm \ libpng16.so:graphics/png \ libwcs.so:astro/wcslib RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}astropy>0:astro/py-astropy@${PY_FLAVOR} \ ${PYNUMPY} #TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>=3.3.0:math/py-matplotlib@${PY_FLAVOR} USES= gmake jpeg localbase pkgconfig python shebangfix # solver/test_tweak_plots.py: No module named 'tt' #USE_PYTHON= pytest USE_LDCONFIG= yes SHEBANG_FILES= bin/* configure gsl-an/grab-gsl-sources.sh \ plot/plotann.py sdss/*.py solver/*.py util/[!c]*.py MAKE_ARGS= NETPBM_INC="-I${LOCALBASE}/include/netpbm" \ NETPBM_LIB="-L${LOCALBASE}/lib -lnetpbm" \ SYSTEM_GSL=yes MAKE_ENV= INSTALL_DIR=${STAGEDIR}${PREFIX} \ DATA_INSTALL_DIR=${STAGEDIR}${DATADIR} \ DOC_INSTALL_DIR=${STAGEDIR}${DOCSDIR} \ EXAMPLE_INSTALL_DIR=${STAGEDIR}${EXAMPLESDIR} \ MAN1_INSTALL_DIR=${STAGEDIR}${PREFIX}/share/man/man1 \ PY_BASE_INSTALL_DIR=${STAGEDIR}${PYTHON_LIBDIR}/astrometry \ PYTHON=${PYTHON_CMD} PYTHON_SCRIPT=${PYTHON_CMD} MAKE_JOBS_UNSAFE= yes ALL_TARGET= all py extra cfitsio-utils INSTALL_TARGET= install install-cfitsio-utils #TEST_TARGET= test LDFLAGS+= -lz CONFLICTS_INSTALL= afni p5-Text-RecordParser # bin/imstat bin/tabmerge SUB_FILES= pkg-message OPTIONS_DEFINE= DOCS EXAMPLES OPTIONS_DEFAULT= EXAMPLES # These files are taken from cfitsio and installed by cfitsio 4.5.0+. # fitscopy was slightly modified by astrometry team. CFITSIO_FILES= fitscopy fitsverify imcopy FILES= an-fitstopnm an-pnmtofits astrometry-engine augment-xylist \ build-astrometry-index downsample-fits fit-wcs \ fits-column-merge fitscopy fitsverify fits-flip-endian \ fits-guess-scale fitsgetext get-healpix get-wcs hpsplit \ image2xy imarith imcopy imstat listhead liststruc modhead \ new-wcs pad-file plot-constellations plotquad plotxy \ query-starkd solve-field startree subtable tablist \ tabmerge tabsort wcs-grab wcs-match wcs-pv2sip wcs-rd2xy \ wcs-resample wcs-to-tan wcs-xy2rd wcsinfo post-install: ${CP} -p ${WRKSRC}/solver/fitsverify ${STAGEDIR}${PREFIX}/bin/ .for file in ${FILES} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${file} .endfor .for file in ${CFITSIO_FILES} ${MV} ${STAGEDIR}${PREFIX}/bin/${file} ${STAGEDIR}${PREFIX}/bin/astrometry-${file} .endfor ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libastrometry.so ${STRIP_CMD} ${STAGEDIR}${PYTHON_LIBDIR}/astrometry/solver/_solver${PYTHON_TAG}.so @${REINPLACE_CMD} -i '' \ -e 's|${STAGEDIR}/usr/local/data|${DATADIR}|' \ ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.cfg @${RMDIR} ${STAGEDIR}${PREFIX}/data @${MKDIR} ${STAGEDIR}${DATADIR}/sdss @${MKDIR} ${STAGEDIR}${DATADIR}/solver @${MKDIR} ${STAGEDIR}${DATADIR}/catalogs ${INSTALL_DATA} ${WRKSRC}/sdss/testdata/*.fit* ${STAGEDIR}${DATADIR}/sdss ${INSTALL_DATA} ${WRKSRC}/solver/index-9918.fits ${STAGEDIR}${DATADIR}/solver ${INSTALL_DATA} ${WRKSRC}/catalogs/*.fit* ${STAGEDIR}${DATADIR}/catalogs .include diff --git a/astro/gnuastro/Makefile b/astro/gnuastro/Makefile index 922812bcb448..95a9fd1d6d84 100644 --- a/astro/gnuastro/Makefile +++ b/astro/gnuastro/Makefile @@ -1,48 +1,49 @@ PORTNAME= gnuastro DISTVERSION= 0.24 +PORTREVISION= 1 CATEGORIES= astro MASTER_SITES= GNU MAINTAINER= danfe@FreeBSD.org COMMENT= GNU astronomy utilities and library WWW= https://www.gnu.org/software/gnuastro/ LICENSE= GPLv3+ LIB_DEPENDS= libcfitsio.so:astro/cfitsio \ libwcs.so:astro/wcslib \ libcurl.so:ftp/curl \ libgsl.so:math/gsl \ libpng.so:graphics/png \ libtiff.so:graphics/tiff USES= ghostscript gmake jpeg libtool:build localbase pathfix tar:lz GNU_CONFIGURE= yes USE_LDCONFIG= yes INSTALL_TARGET= install-strip TEST_TARGET= check TEST_WRKSRC= ${WRKSRC}/tests INFO= ${PORTNAME} PORTDOCS= AUTHORS ChangeLog NEWS README THANKS OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's,cflags_add="-O3",:,' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e 's,gcc,$(CC),' \ ${WRKSRC}/bin/buildprog/ui.c @${REINPLACE_CMD} -e 's,^make -f,g&,' \ ${WRKSRC}/bin/script/pointing-simulate.sh \ ${WRKSRC}/bin/script/zeropoint.sh post-install: @${FIND} ${STAGEDIR}${PREFIX}/etc -name \*.conf \ -exec ${MV} '{}' '{}.sample' \; post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include diff --git a/astro/kstars/Makefile b/astro/kstars/Makefile index a50ff984743c..0483c7d1b4e2 100644 --- a/astro/kstars/Makefile +++ b/astro/kstars/Makefile @@ -1,42 +1,43 @@ PORTNAME= kstars DISTVERSION= 3.8.0 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= astro kde MASTER_SITES= KDE/stable/${PORTNAME}/${DISTVERSION}/ MAINTAINER= kde@FreeBSD.org COMMENT= KDE desktop planetarium WWW= https://edu.kde.org/kstars LICENSE= GPLv2 LIB_DEPENDS= libXISF.so:graphics/libxisf \ libcfitsio.so:astro/cfitsio \ libqt5keychain.so:security/qtkeychain@qt5 \ libraw.so:graphics/libraw \ libgsl.so:math/gsl \ libindiclient.so:devel/indi \ libopencv_core.so:graphics/opencv \ libsecret-1.so:security/libsecret \ libnova.so:astro/libnova \ libstellarsolver.so:astro/stellarsolver \ libwcs.so:astro/wcslib BUILD_DEPENDS= xplanet:astro/xplanet RUN_DEPENDS= xplanet:astro/xplanet USES= cmake compiler:c++11-lib desktop-file-utils eigen:3 \ gettext gnome kde:5 localbase:ldflags pkgconfig qt:5 tar:xz xorg USE_GNOME= glib20 USE_KDE= attica auth bookmarks codecs completion config configwidgets\ coreaddons crash dbusaddons guiaddons i18n \ iconthemes init itemviews jobwidgets kio newstuff notifications \ notifyconfig parts plotting service solid texteditor \ widgetsaddons windowsystem xmlgui \ doctools:build ecm:build USE_QT= concurrent core datavis3d dbus declarative gui multimedia \ network opengl printsupport sql svg testlib websockets widgets \ xml \ buildtools:build qmake:build USE_XORG= x11 .include diff --git a/astro/siril/Makefile b/astro/siril/Makefile index cc3573788912..1344621da493 100644 --- a/astro/siril/Makefile +++ b/astro/siril/Makefile @@ -1,54 +1,54 @@ PORTNAME= siril DISTVERSION= 1.2.6 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= astro graphics MASTER_SITES= https://free-astro.org/download/ MAINTAINER= yuri@FreeBSD.org COMMENT= Astronomical image processing software WWW= https://siril.org/ \ https://gitlab.com/free-astro/siril LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.md BROKEN_i386= undefined reference to '__atomic_load' and '__atomic_compare_exchange' .if !exists(/usr/include/omp.h) BROKEN= requires OpenMP support that is missing on this architecture .endif LIB_DEPENDS= libavformat.so:multimedia/ffmpeg \ libcfitsio.so:astro/cfitsio \ libconfig.so:devel/libconfig \ libexiv2.so:graphics/exiv2 \ libffms2.so:multimedia/ffms2 \ libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float \ libgsl.so:math/gsl \ libharfbuzz.so:print/harfbuzz \ libheif.so:graphics/libheif \ libjson-glib-1.0.so:devel/json-glib \ liblcms2.so:graphics/lcms2 \ libopencv_core.so:graphics/opencv \ libpng.so:graphics/png \ libraw.so:graphics/libraw \ librtprocess.so:graphics/librtprocess \ libtiff.so:graphics/tiff \ libwcs.so:astro/wcslib LIB_DEPENDS+= libopencv_photo.so:graphics/opencv # for some reason, configure fails without opencv, but executable only links to opencv-core USES= cmake:indirect compiler:c++11-lang desktop-file-utils gettext \ gnome meson pkgconfig jpeg shared-mime-info tar:bz2 USE_GNOME= atk cairo gdkpixbuf gtk30 intltool pango BINARY_ALIAS= git=false OPTIONS_DEFINE= CURL OPENMP OPTIONS_DEFAULT= CURL OPENMP OPENMP_MESON_OFF= -Dopenmp=false CURL_MESON_YES= enable-libcurl CURL_LIB_DEPENDS= libcurl.so:ftp/curl .include diff --git a/astro/stellarsolver/Makefile b/astro/stellarsolver/Makefile index ca0c989317fa..147ed6ac8470 100644 --- a/astro/stellarsolver/Makefile +++ b/astro/stellarsolver/Makefile @@ -1,25 +1,25 @@ PORTNAME= stellarsolver DISTVERSION= 2.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= astro MAINTAINER= acm@FreeBSD.org COMMENT= Astrometric Plate Solver built on Astrometry.net and SEP WWW= https://github.com/rlancaste/stellarsolver LICENSE= GPLv3 LIB_DEPENDS= libcfitsio.so:astro/cfitsio \ libgsl.so:math/gsl \ libwcs.so:astro/wcslib USES= cmake desktop-file-utils iconv ninja qt:5 pkgconfig USE_QT= buildtools concurrent core gui qmake:build network widgets USE_GITHUB= yes GH_ACCOUNT= rlancaste USE_LDCONFIG= yes CMAKE_ARGS+= -DBUILD_BATCH_SOLVER=on .include diff --git a/audio/snd/Makefile b/audio/snd/Makefile index d1fc96312a4c..b8786636c16b 100644 --- a/audio/snd/Makefile +++ b/audio/snd/Makefile @@ -1,78 +1,79 @@ PORTNAME= snd DISTVERSION= 25.7 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= https://ccrma.stanford.edu/software/snd/ \ SF MAINTAINER= portmaster@bsdforge.com COMMENT= Multitracking sound editor and utilities WWW= https://ccrma.stanford.edu/software/snd/ LICENSE= snd LICENSE_NAME= snd license LICENSE_FILE= ${WRKSRC}/COPYING LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept USES= localbase:ldflags pkgconfig GNU_CONFIGURE= yes MAKEFILE= makefile MAKE_JOBS_UNSAFE= yes ALL_TARGET= snd snd-info sndplay OPTIONS_DEFINE= DOCS EXAMPLES FFTW3 GSL LADSPA MOTIF S7 OPTIONS_DEFAULT= FFTW3 GSL LADSPA OPTIONS_SUB= yes FFTW3_DESC= Use FFTW GSL_DESC= Use GNU Scientific Library S7_DESC= Use S7 as the extension language FFTW3_LIB_DEPENDS= libfftw3.so:math/fftw3 FFTW3_CONFIGURE_WITH= fftw GSL_LIB_DEPENDS= libgsl.so:math/gsl GSL_CONFIGURE_WITH= gsl LADSPA_BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:audio/ladspa LADSPA_RUN_DEPENDS= ${LOCALBASE}/include/ladspa.h:audio/ladspa LADSPA_CONFIGURE_WITH= ladspa MOTIF_USES= motif xorg MOTIF_USE= XORG=ice,sm,x11,xext,xt MOTIF_CONFIGURE_WITH= motif S7_CONFIGURE_WITH= s7 post-patch: @${REINPLACE_CMD} -e 's|^ _Complex| Vaiolate _Complex|g ; \ s|-O2 -I|-I|g ; \ s|LDFLAGS -ldl|LDFLAGS|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|^sndinfo:|snd-info:|g ; \ s|-o sndinfo|-o snd-info|g' ${WRKSRC}/makefile.in do-install: .for i in snd snd-info sndplay ${INSTALL_PROGRAM} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/bin .endfor ${INSTALL_MAN} ${WRKSRC}/snd.1 ${STAGEDIR}${PREFIX}/share/man/man1/ do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/pix .for i in HISTORY.Snd README.Snd ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor ${INSTALL_DATA} ${WRKSRC}/*.html ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/pix/*.png ${STAGEDIR}${DOCSDIR}/pix do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/DotEmacs ${STAGEDIR}${EXAMPLESDIR} do-install-S7-on: @${MKDIR} ${STAGEDIR}${DATADIR}/tools \ ${STAGEDIR}${DATADIR}/sndins/samples ${INSTALL_DATA} ${WRKSRC}/*.scm ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/tools/*.scm ${STAGEDIR}${DATADIR}/tools ${INSTALL_DATA} ${WRKSRC}/sndins/samples/*.scm ${STAGEDIR}${DATADIR}/sndins/samples .include diff --git a/benchmarks/flowgrind/Makefile b/benchmarks/flowgrind/Makefile index 7610fc932a56..7e2bd2c599ae 100644 --- a/benchmarks/flowgrind/Makefile +++ b/benchmarks/flowgrind/Makefile @@ -1,29 +1,29 @@ PORTNAME= flowgrind PORTVERSION= 0.8.2 DISTVERSIONPREFIX= ${PORTNAME}- -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= benchmarks MAINTAINER= ports@FreeBSD.org COMMENT= Measure throughput and other metrics for TCP WWW= https://flowgrind.github.io LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgsl.so:math/gsl \ libxmlrpc.so:net/xmlrpc-c \ libcurl.so:ftp/curl \ libwwwxml.so:www/libwww \ libuuid.so:misc/libuuid \ libexpat.so:textproc/expat2 USES= autoreconf ssl USE_GITHUB= yes GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ENV= LIBS="${LIBS} -lpcap" .include diff --git a/benchmarks/sipp/Makefile b/benchmarks/sipp/Makefile index 9ae2aa3a8c37..67b2b0566ed9 100644 --- a/benchmarks/sipp/Makefile +++ b/benchmarks/sipp/Makefile @@ -1,63 +1,63 @@ PORTNAME= sipp PORTVERSION= 3.5.1 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= benchmarks net MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/v${PORTVERSION}/ MAINTAINER= farrokhi@FreeBSD.org COMMENT= SIP benchmarking and testing tool WWW= https://sipp.sourceforge.net/ LICENSE= GPLv2 BUILD_DEPENDS= help2man:misc/help2man USES= autoreconf compiler:c++11-lang gmake ncurses pkgconfig PLIST_FILES= bin/sipp share/man/man1/sipp.1.gz GNU_CONFIGURE= yes OPTIONS_DEFINE= OPENSSL GSL PCAP RTPSTREAM SCTP OPTIONS_DEFAULT= OPENSSL PCAP RTPSTREAM OPENSSL_DESC= OpenSSL support (for digest auth and SIP over TLS) GSL_DESC= GSL support (for statistical distributed pauses) PCAP_DESC= PCAP Support RTPSTREAM_DESC= RTP Streaming Support SCTP_DESC= SCTP Transport Protocol Support GSL_CONFIGURE_WITH= gsl SCTP_CONFIGURE_WITH= sctp RTPSTREAM_CONFIGURE_WITH= rtpstream OPENSSL_CONFIGURE_WITH= openssl OPENSSL_USES= ssl GSL_LIB_DEPENDS= libgsl.so:math/gsl PCAP_FILES= dtmf_2833_0.pcap dtmf_2833_1.pcap dtmf_2833_2.pcap \ dtmf_2833_3.pcap dtmf_2833_4.pcap dtmf_2833_5.pcap \ dtmf_2833_6.pcap dtmf_2833_7.pcap dtmf_2833_8.pcap \ dtmf_2833_9.pcap dtmf_2833_pound.pcap dtmf_2833_star.pcap \ g711a.pcap PCAP_PLIST_FILES= ${PCAP_FILES:S|^|${DATADIR}/pcap/|} post-patch: @${REINPLACE_CMD} -e 's|[[:<:]]curses|ncurses|' ${WRKSRC}/configure.ac post-patch-PCAP-on: @${REINPLACE_CMD} \ 's|\(\\"\)\(pcap/[^"]*\.pcap\\"\)|\1${DATADIR}/\2|' \ ${WRKSRC}/src/scenario.cpp do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/include/sipp.1 ${STAGEDIR}${PREFIX}/share/man/man1 do-install-PCAP-on: ${MKDIR} ${STAGEDIR}${DATADIR}/pcap .for f in ${PCAP_FILES} ${INSTALL_DATA} ${WRKSRC}/pcap/${f} ${STAGEDIR}${DATADIR}/pcap/${f} .endfor .include diff --git a/biology/andi/Makefile b/biology/andi/Makefile index ceb195bab1ca..aa0e0d920860 100644 --- a/biology/andi/Makefile +++ b/biology/andi/Makefile @@ -1,32 +1,33 @@ PORTNAME= andi DISTVERSIONPREFIX= v DISTVERSION= 0.14-3 DISTVERSIONSUFFIX= -g390af15 +PORTREVISION= 1 CATEGORIES= biology devel MAINTAINER= yuri@FreeBSD.org COMMENT= Efficient estimation of evolutionary distances WWW= https://github.com/EvolBioInf/andi LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libdivsufsort.so:math/libdivsufsort \ libgsl.so:math/gsl USES= autoreconf gmake localbase pkgconfig USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= EvolBioInf GNU_CONFIGURE= yes OPTIONS_DEFINE= DOCS PORTDOCS= * PLIST_FILES= bin/andi \ share/man/man1/andi.1.gz .include diff --git a/biology/augustus/Makefile b/biology/augustus/Makefile index 4d12bd7a3256..c60b77649a4c 100644 --- a/biology/augustus/Makefile +++ b/biology/augustus/Makefile @@ -1,48 +1,48 @@ PORTNAME= augustus DISTVERSIONPREFIX= v DISTVERSION= 3.5.0 -PORTREVISION= 16 +PORTREVISION= 17 CATEGORIES= biology science PKGNAMESUFFIX= -gene-prediction MAINTAINER= yuri@FreeBSD.org COMMENT= Genome annotation tool WWW= http://bioinf.uni-greifswald.de/webaugustus/ LICENSE= GPLv3 LIB_DEPENDS= libbamtools.so:biology/bamtools \ libboost_iostreams.so:devel/boost-libs \ libcolamd.so:math/suitesparse-colamd \ libgsl.so:math/gsl \ libhts.so:biology/htslib \ liblpsolve55.so:math/lp_solve \ libmysqlpp.so:databases/mysql++ RUN_DEPENDS= samtools:biology/samtools USES= gmake localbase:ldflags mysql perl5 python sqlite shebangfix USE_CXXSTD= c++14 USE_GITHUB= yes GH_ACCOUNT= Gaius-Augustus GH_PROJECT= Augustus SHEBANG_GLOB= *.pl *.py SHEBANG_FILES= scripts/checkUTR CXXFLAGS+= -I${LOCALBASE}/include/bamtools \ -I${LOCALBASE}/include/lpsolve \ -I${LOCALBASE}/include/mysql LDFLAGS+= -L${LOCALBASE}/lib/mysql MAKE_ARGS= INSTALLDIR=${LOCALBASE}/${PORTNAME} RLN="${RLN}" BINARY_ALIAS= make=${GMAKE} python3=${PYTHON_CMD} TEST_TARGET= test post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/${PORTNAME}/bin/* @${RM} ${STAGEDIR}${PREFIX}/${PORTNAME}/scripts/pasapolyA2hints.pl.orig .include diff --git a/biology/bcftools/Makefile b/biology/bcftools/Makefile index 3a1c7bc91002..c936d0b210fb 100644 --- a/biology/bcftools/Makefile +++ b/biology/bcftools/Makefile @@ -1,60 +1,61 @@ PORTNAME= bcftools PORTVERSION= 1.22 +PORTREVISION= 1 CATEGORIES= biology MAINTAINER= jwb@FreeBSD.org COMMENT= Tools for manipulating next-generation sequencing data WWW= https://www.htslib.org/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= htslib>=1.22:biology/htslib LIB_DEPENDS= libhts.so:biology/htslib TEST_DEPENDS= bash:shells/bash RUN_DEPENDS= bash:shells/bash USES= autoreconf gmake localbase perl5 python:env shebangfix USE_GITHUB= yes GH_ACCOUNT= samtools GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share SHEBANG_FILES= misc/* test/test.pl OPTIONS_DEFINE= GPL GPL_DESC= Enable modules that rely on GPL code OPTIONS_DEFAULT= GPL GPL_LIB_DEPENDS= libgsl.so:math/gsl .include .if ${PORT_OPTIONS:MGPL} MAKE_ENV+= USE_GPL=1 LICENSE+= GPLv3 LICENSE_COMB= multi .endif TEST_TARGET= test pre-configure: @${REINPLACE_CMD} -e 's|@PORTVERSION@|${PORTVERSION}|g' \ ${WRKSRC}/configure.ac post-install: ${MV} ${STAGEDIR}${PREFIX}/bin/color-chrs.pl \ ${STAGEDIR}${PREFIX}/bin/color-chrs ${MV} ${STAGEDIR}${PREFIX}/bin/guess-ploidy.py\ ${STAGEDIR}${PREFIX}/bin/guess-ploidy ${MV} /${STAGEDIR}${PREFIX}/bin/plot-roh.py \ ${STAGEDIR}${PREFIX}/bin/plot-roh ${MV} ${STAGEDIR}${PREFIX}/bin/run-roh.pl \ ${STAGEDIR}${PREFIX}/bin/run-roh ${MV} ${STAGEDIR}${PREFIX}/bin/vcfutils.pl \ ${STAGEDIR}${PREFIX}/bin/vcfutils ${MV} ${STAGEDIR}${PREFIX}/bin/plot-vcfstats \ ${STAGEDIR}${PREFIX}/bin/ .include diff --git a/biology/fastani/Makefile b/biology/fastani/Makefile index 2d77344aac34..51f5c3870690 100644 --- a/biology/fastani/Makefile +++ b/biology/fastani/Makefile @@ -1,31 +1,32 @@ PORTNAME= fastani DISTVERSIONPREFIX= v DISTVERSION= 1.34 +PORTREVISION= 1 CATEGORIES= biology MAINTAINER= yuri@FreeBSD.org COMMENT= Fast Whole-Genome Similarity (ANI) Estimation WWW= https://github.com/ParBLiSS/FastANI LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libgsl.so:math/gsl USES= cmake:testing .if !exists(/usr/include/omp.h) BROKEN= build w/out OpenMP support still attempts to use omp.h, see https://github.com/ParBLiSS/FastANI/issues/139 .endif USE_GITHUB= yes GH_ACCOUNT= ParBLiSS GH_PROJECT= FastANI GH_TUPLE= catchorg:Catch2:359542d:catch/ext/Catch2 CMAKE_OFF= BUILD_TESTING CMAKE_TESTING_ON= BUILD_TESTING # 6 tests fail, see https://github.com/ParBLiSS/FastANI/issues/138 PLIST_FILES= bin/fastANI .include diff --git a/biology/gcta/Makefile b/biology/gcta/Makefile index 8033253a3933..c11dbba0082c 100644 --- a/biology/gcta/Makefile +++ b/biology/gcta/Makefile @@ -1,52 +1,52 @@ PORTNAME= gcta DISTVERSIONPREFIX= v DISTVERSION= 1.94.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= biology MAINTAINER= jwb@FreeBSD.org COMMENT= Genome-wide Complex Trait Analysis WWW= https://cnsgenomics.com/software/gcta/index.html LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= boost-libs>0:devel/boost-libs \ spectra>0:math/spectra LIB_DEPENDS= libgsl.so:math/gsl \ libopenblas.so:math/openblas \ libsqlite3.so:databases/sqlite3 \ libzstd.so:archivers/zstd USES= cmake eigen:3 localbase:ldflags USE_GITHUB= yes GH_ACCOUNT= jianyangqt GH_TUPLE= zhilizheng:plink-ng:3744540:plink/submods/plink-ng CONFIGURE_ENV+= EIGEN3_INCLUDE_DIR=${LOCALBASE}/include/eigen3 \ BOOST_INCLUDE_DIR=${LOCALBASE}/include/boost \ OPENBLAS=${LOCALBASE} \ SPECTRA_INCLUDE_DIR=${LOCALBASE}/include/Spectra LDFLAGS+= -fopenmp PLIST_FILES= bin/gcta64 bin/gcta .include # Temporary hack for clang build errors: # /usr/ports/biology/gcta/work/gcta-1.94.1/submods/plink-ng/2.0/plink2_base.h:1008:23: error: argument to '__builtin_neon_vshrq_n_v' must be a constant integer # return R_CAST(VecW, _mm_srli_epi64(R_CAST(__m128i, vv), ct)); # /usr/lib/clang/14.0.5/include/arm_neon.h:25260:24: note: expanded from macro 'vshrq_n_u64' # __ret = (uint64x2_t) __builtin_neon_vshrq_n_v((int8x16_t)__s0, __p1, 51); .if ${ARCH} == aarch64 USE_GCC= yes .endif do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/gcta64 ${STAGEDIR}${PREFIX}/bin ${RLN} ${STAGEDIR}${PREFIX}/bin/gcta64 ${STAGEDIR}${PREFIX}/bin/gcta .include diff --git a/biology/gemma/Makefile b/biology/gemma/Makefile index f9956da28708..a7be9aca5c6d 100644 --- a/biology/gemma/Makefile +++ b/biology/gemma/Makefile @@ -1,40 +1,40 @@ PORTNAME= gemma DISTVERSIONPREFIX= v DISTVERSION= 0.98.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= biology MAINTAINER= jwb@FreeBSD.org COMMENT= Genome-wide Efficient Mixed Model Association WWW= https://xiangzhou.github.io/software/ \ https://github.com/genetics-statistics/GEMMA/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libgsl.so:math/gsl USES= blaslapack:openblas compiler:c++11-lang eigen:3 gmake \ localbase:ldflags USE_GITHUB= yes GH_ACCOUNT= genetics-statistics GH_PROJECT= GEMMA MAKEFILE= ${FILESDIR}/Makefile # Assuming openblas is built with pthreads, not openmp CXXFLAGS+= -I${LOCALBASE}/include/eigen3 -DOPENBLAS -pthread LDFLAGS+= -lopenblas -pthread OPTIONS_DEFINE= EXAMPLES pre-configure: @${REINPLACE_CMD} -e 's|../bin/gemma|../gemma|' ${WRKSRC}/test/*.sh do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC}/example && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) do-test: (cd ${WRKSRC}/test && ${SH} test_suite.sh) .include diff --git a/biology/locarna/Makefile b/biology/locarna/Makefile index a6c74fd931e6..7f77a818b5fe 100644 --- a/biology/locarna/Makefile +++ b/biology/locarna/Makefile @@ -1,39 +1,39 @@ PORTNAME= locarna DISTVERSION= 2.0.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= biology MASTER_SITES= https://github.com/s-will/LocARNA/releases/download/v${DISTVERSION}/ MAINTAINER= yuri@FreeBSD.org COMMENT= LocARNA provides several tools for the structural analysis of RNA WWW= https://github.com/s-will/LocARNA LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/lib/libRNA.a:biology/viennarna LIB_DEPENDS= libgmp.so:math/gmp \ libgsl.so:math/gsl \ libmpfr.so:math/mpfr TEST_DEPENDS= bash:shells/bash \ catch>0:devel/catch USES= autoreconf gmake libtool perl5 pkgconfig shebangfix USE_LDCONFIG= yes USE_CXXSTD= c++14 # workaround for https://github.com/s-will/LocARNA/issues/82 (LocARNA uses the removed STL method) CXXFLAGS+= -I${LOCALBASE}/include/catch2 # use external catch SHEBANG_FILES= src/Utils/locarna_mcc \ src/Tests/test_programs GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share INSTALL_TARGET= install-strip TEST_TARGET= check # one test fails, see https://github.com/s-will/LocARNA/issues/81 post-extract: # unbundle catch, see https://github.com/s-will/LocARNA/issues/80 @${RM} ${WRKSRC}/src/Tests/catch.hpp .include diff --git a/biology/mashmap/Makefile b/biology/mashmap/Makefile index 3ea631b2fb3f..3f188527c151 100644 --- a/biology/mashmap/Makefile +++ b/biology/mashmap/Makefile @@ -1,36 +1,37 @@ PORTNAME= mashmap DISTVERSIONPREFIX= v DISTVERSION= 3.1.3 +PORTREVISION= 1 CATEGORIES= biology MAINTAINER= yuri@FreeBSD.org COMMENT= Fast approximate aligner for long DNA sequences WWW= https://github.com/marbl/MashMap LICENSE= PD LICENSE_FILE= ${WRKSRC}/LICENSE.txt BROKEN_armv7= compilation fails: fatal error: unknown type name '__uint128_t' BROKEN_i386= compilation fails: fatal error: unknown type name '__uint128_t' BROKEN_powerpc= compilation fails: fatal error: unknown type name '__uint128_t' LIB_DEPENDS= libgsl.so:math/gsl \ libhts.so:biology/htslib USES= cmake compiler:c++17-lang localbase:ldflags pkgconfig USE_GITHUB= yes GH_ACCOUNT= marbl GH_PROJECT= MashMap CMAKE_ON= USE_HTSLIB CMAKE_OFF= OPTIMIZE_FOR_NATIVE OPTIONS_DEFINE= NATIVE NATIVE_CMAKE_BOOL= OPTIMIZE_FOR_NATIVE PLIST_FILES= bin/mashmap \ bin/mashmap-align .include diff --git a/biology/viennarna/Makefile b/biology/viennarna/Makefile index 7088761b767b..39f6458de40b 100644 --- a/biology/viennarna/Makefile +++ b/biology/viennarna/Makefile @@ -1,67 +1,67 @@ PORTNAME= viennarna DISTVERSION= 2.7.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= biology MASTER_SITES= https://www.tbi.univie.ac.at/RNA/download/sourcecode/2_7_x/ DISTNAME= ViennaRNA-${DISTVERSION} MAINTAINER= yuri@FreeBSD.org COMMENT= Alignment tools for the structural analysis of RNA WWW= https://www.tbi.univie.ac.at/RNA/ \ https://github.com/ViennaRNA/ViennaRNA LICENSE= ViennaRNALicense LICENSE_NAME= Vienna RNA License LICENSE_FILE= ${WRKSRC}/COPYING LICENSE_PERMS= auto-accept dist-mirror pkg-mirror BUILD_DEPENDS= bash:shells/bash \ lapacke>0:math/lapacke \ libgd>0:graphics/gd # for the static lib BUILD_DEPENDS+= swig:devel/swig \ xxd:sysutils/xxd LIB_DEPENDS= libdlib.so:science/dlib-cpp \ libgmp.so:math/gmp \ libgsl.so:math/gsl \ liblapack.so:math/lapack \ libmpfr.so:math/mpfr USES= autoreconf bison compiler:c++17-lang fortran gmake \ libtool localbase perl5 pkgconfig xorg # w/out autoreconf -lstdc++ is present in configure and Makefiles and this causes link failure USE_XORG= ice x11 xext # only for build GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_SHELL= ${PREFIX}/bin/bash CONFIGURE_ARGS= --enable-shared --disable-static --with-gsl --with-cluster --with-kinwalker --enable-mpfr --without-python --without-python3 --without-perl CXXFLAGS+= -Dregister= # workaround for https://github.com/ViennaRNA/ViennaRNA/issues/214 TEST_TARGET= check CONFLICTS_INSTALL= g2 # include/g2.h INFO= RNAlib DATASDIR= ${PREFIX}/share/ViennaRNA DOCSDIR= ${PREFIX}/share/doc/ViennaRNA EXAMPLESDIR= ${PREFIX}/share/examples/ViennaRNA OPTIONS_DEFINE= DOCS EXAMPLES PORTDOCS= * PORTEXAMPLES= * post-configure: # remove -lstdc++ from .pc file @${REINPLACE_CMD} -e 's| -lstdc++||' ${WRKSRC}/RNAlib2.pc post-extract: # remove bundled dlib to ensure we use system version @${RM} -rf ${WRKSRC}/src/dlib-19.24 post-install: # remove stray files @${RM} ${STAGEDIR}/RNA/RNAconsensus.py @${RMDIR} ${STAGEDIR}/RNA .include diff --git a/cad/graywolf/Makefile b/cad/graywolf/Makefile index a569d362b8b2..b2754b8be384 100644 --- a/cad/graywolf/Makefile +++ b/cad/graywolf/Makefile @@ -1,42 +1,42 @@ PORTNAME= graywolf DISTVERSION= 0.1.6-4 DISTVERSIONSUFFIX= -gf47937b -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= cad PATCH_SITES= https://github.com/${GH_ACCOUNT}/${PORTNAME}/commit/ PATCHFILES= af606a0e8c6f693448978a300e5603fd5a8f2aef.patch:-p1 # https://github.com/rubund/graywolf/pull/41 PATCHFILES+= 2b23616f26d8f9a9fa03010322fa967a2dc204e3.patch:-p1 \ b0692b44dfc21ded1ad61c8a2e47d262d14ebabe.patch:-p1 \ 9b6a45849ddf1d48b7d0bffa914919a785f6db44.patch:-p1 \ 56698bb3178b606dec6749cf1f893acceca4ca62.patch:-p1 \ 0740f436419a9cce323936e0dec2355dde59a97e.patch:-p1 \ a9a092d9c2dab31993bc2955c5ed730c9234df29.patch:-p1 # https://github.com/rubund/graywolf/pull/48 MAINTAINER= yuri@FreeBSD.org COMMENT= Fork of TimberWolf, a placement tool in VLSI design WWW= https://github.com/rubund/graywolf LICENSE= GPLv2 LIB_DEPENDS= libgsl.so:math/gsl TEST_DEPENDS= bash:shells/bash \ rsync:net/rsync USES= cmake compiler:c11 pkgconfig sbrk shebangfix xorg USE_XORG= ice sm x11 xext USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= rubund SHEBANG_GLOB= *.sh USE_GCC= yes # lots of obviously incorrect C where clang fails, which gcc nevertheless magically finds a way to compile CFLAGS+= -fcommon \ -fpermissive TEST_TARGET= test .include diff --git a/comms/gnuradio/Makefile b/comms/gnuradio/Makefile index 5f4e7a69efd9..509498b7554a 100644 --- a/comms/gnuradio/Makefile +++ b/comms/gnuradio/Makefile @@ -1,139 +1,139 @@ PORTNAME= gnuradio DISTVERSIONPREFIX= v DISTVERSION= 3.10.12.0 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= comms astro hamradio MAINTAINER= hamradio@FreeBSD.org COMMENT= Amateur Radio Software defined radio WWW= https://www.gnuradio.org/ LICENSE= GPLv3 BUILD_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}jsonschema>0:devel/py-jsonschema@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyqtgraph>0:graphics/py-pyqtgraph@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinx>=1.2.2,1:textproc/py-sphinx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>0:devel/py-pyyaml@${PY_FLAVOR} \ ${PYTHON_SITELIBDIR}/click/__init__.py:devel/py-click@${PY_FLAVOR} \ ${PYTHON_SITELIBDIR}/click_plugins/__init__.py:devel/py-click-plugins@${PY_FLAVOR} \ ${PYTHON_SITELIBDIR}/gi/__init__.py:devel/py-pygobject@${PY_FLAVOR} \ ${PYTHON_SITELIBDIR}/mako/__init__.py:textproc/py-mako@${PY_FLAVOR} \ ${PYTHON_SITELIBDIR}/pygccxml/__init__.py:textproc/py-pygccxml@${PY_FLAVOR} \ ${PYTHON_SITELIBDIR}/pytest/__init__.py:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_SITELIBDIR}/yaml/__init__.py:devel/py-pyyaml@${PY_FLAVOR} \ ${SCIPY} \ aconnect:audio/alsa-utils \ cheetah:devel/py-cheetah3@${PY_FLAVOR} \ cppzmq>0:net/cppzmq \ minixmlto:textproc/minixmlto \ mpir>0:math/mpir \ pybind11>0:devel/pybind11 \ pygobject-common>0:devel/pygobject-common \ sdl-config:devel/sdl12 \ volk>0:devel/volk \ xdg-open:devel/xdg-utils LIB_DEPENDS= libad9361.so:misc/libad9361-iio \ libasound.so:audio/alsa-lib \ libboost_thread.so:devel/boost-libs \ libcodec2.so:audio/codec2 \ libfftw3f.so:math/fftw3-float \ libfmt.so:devel/libfmt \ libgmpxx.so:math/gmp \ libgsl.so:math/gsl \ libgsm.so:audio/gsm \ libiio.so:misc/libiio \ libjack.so:audio/jack \ libportaudio.so:audio/portaudio \ libsndfile.so:audio/libsndfile \ libSoapySDR.so:misc/soapysdr \ libspdlog.so:devel/spdlog \ libunwind.so:devel/libunwind \ libqwt.so:x11-toolkits/qwt6@qt5 \ libzmq.so:net/libzmq4 RUN_DEPENDS:= ${BUILD_DEPENDS} USES= cmake compiler:c++14-lang desktop-file-utils fortran gnome \ iconv localbase:ldflags perl5 pkgconfig pyqt:5 python \ qt:5 shared-mime-info shebangfix SHEBANG_FILES= gnuradio-runtime/python/gnuradio/ctrlport/gr-ctrlport-monitor \ gnuradio-runtime/python/gnuradio/ctrlport/gr-perf-monitorx \ grc/scripts/freedesktop/grc_setup_freedesktop.in CMAKE_ARGS+= -DCMAKE_INSTALL_RPATH:STRING="${LOCALBASE}/lib/gcc${_GCC_VER}" \ -DENABLE_GR_CTRLPORT="YES" \ -DENABLE_GR_QTGUI="YES" \ -DENABLE_INTERNAL_VOLK:STRING="OFF" \ -DGR_PKG_DOC_DIR:STRING="${DOCSDIR}" \ -DICONV_LIB:STRING="X${ICONV_LIB}" \ -DICONV_PREFIX:STRING="${ICONV_PREFIX}" \ -DLOCALBASE:STRING="${LOCALBASE}" \ -DPYTHON_EXECUTABLE:STRING="${PYTHON_CMD}" \ -DXMLTO_EXECUTABLE:STRING=minixmlto # for detailed debugging uncomment the next line #CMAKE_ARGS+= --debug-output --trace CFLAGS+= -Wno-deprecated CXXFLAGS+= -Wno-deprecated USE_CXXSTD= c++14 USE_GNOME= gtk30 USE_GITHUB= yes USE_PYQT= pyqt5 USE_QT= buildtools core gui qmake widgets USE_LDCONFIG= yes LIBSTRIP_FILES= analog audio blocks channels digital dtv fec fft filter pmt \ qtgui runtime trellis video-sdl vocoder wavelet OPTIONS_DEFINE= DOCS UHD OPTIONS_SUB= yes UHD_DESC= Include UHD support from Ettus PLIST_SUB+= PORTMAINVER=${PORTVERSION:C|^([1-9]+)\.([0-9]+)\.([0-9]+).*|\1.\2.\3|} \ PORTVERSION=${PORTVERSION} DOCS_RUN_DEPEND= freefont-ttf>0:x11-fonts/freefont-ttf DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=1.2.2,1:textproc/py-sphinx@${PY_FLAVOR} \ dot:graphics/graphviz \ doxygen:devel/doxygen \ MathJax>0:www/mathjax \ xmlto:textproc/xmlto DOCS_CMAKE_ON= -DENABLE_DOCS:STRING="ON" \ -DENABLE_DOXYGEN:STRING="ON" \ -DMATHJAX2_USE_ROOT="${LOCALBASE}/www/MathJax" DOCS_CMAKE_OFF= -DENABLE_DOCS:STRING="OFF" \ -DENABLE_DOXYGEN:STRING="OFF" UHD_CMAKE_ON= -DENABLE_GR_UHD:STRING="ON" UHD_CMAKE_OFF= -DENABLE_GR_UHD:STRING="OFF" ICONDIR= ${PREFIX}/share/icons MIME= ${PREFIX}/share/mime/packages post-install: .for size in 16 24 32 48 64 128 256 ${MKDIR} ${STAGEDIR}${PREFIX}/share/mime/packages ${MKDIR} ${STAGEDIR}${ICONDIR}/gnome/${size}x${size}/apps ${MKDIR} ${STAGEDIR}${ICONDIR}/hicolor/${size}x${size}/apps ${MKDIR} ${STAGEDIR}/share/applications ${INSTALL_DATA} ${WRKSRC}/grc/scripts/freedesktop/grc-icon-${size}.png \ ${STAGEDIR}${ICONDIR}/gnome/${size}x${size}/apps/gnuradio-grc.png ${INSTALL_DATA} ${WRKSRC}/grc/scripts/freedesktop/grc-icon-${size}.png \ ${STAGEDIR}${ICONDIR}/hicolor/${size}x${size}/apps/gnuradio-grc.png ${INSTALL_DATA} ${WRKSRC}/grc/scripts/freedesktop/gnuradio-grc.xml \ ${STAGEDIR}${MIME}/gnuradio-grc.xml ${INSTALL_DATA} ${WRKSRC}/grc/scripts/freedesktop/gnuradio-grc.desktop \ ${STAGEDIR}${PREFIX}/share/applications/gnuradio-grc.desktop .endfor .include .if ${PORT_OPTIONS:MUHD} LIBSTRIP_FILES+= uhd LIB_DEPENDS+= libuhd.so:comms/uhd PLIST_SUB+= UHD="" .else PLIST_SUB+= UHD="@comment " .endif .include diff --git a/devel/indi/Makefile b/devel/indi/Makefile index 1a495e8f303a..691ba9e0b663 100644 --- a/devel/indi/Makefile +++ b/devel/indi/Makefile @@ -1,34 +1,34 @@ PORTNAME= indi DISTVERSIONPREFIX= v DISTVERSION= 2.1.7 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel astro MAINTAINER= acm@FreeBSD.org COMMENT= Implementation of the Instrument-Neutral-Device-Interface protocol WWW= https://indilib.org/ \ https://github.com/indilib/indi/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING.LGPL BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat LIB_DEPENDS= libcfitsio.so:astro/cfitsio \ libcurl.so:ftp/curl \ libev.so:devel/libev \ libfftw3.so:math/fftw3 \ libgsl.so:math/gsl \ libnova.so:astro/libnova \ libogg.so:audio/libogg \ libtheora.so:multimedia/libtheora \ libXISF.so:graphics/libxisf USES= cmake iconv jpeg ninja pkgconfig USE_GITHUB= yes GH_ACCOUNT= indilib USE_LDCONFIG= yes PLIST_SUB= SOVERSION=${DISTVERSION} .include diff --git a/devel/root/Makefile b/devel/root/Makefile index b307270d7081..864f296de111 100644 --- a/devel/root/Makefile +++ b/devel/root/Makefile @@ -1,258 +1,259 @@ PORTNAME= root DISTVERSION= 6.38.00 +PORTREVISION= 1 CATEGORIES= devel science math parallel python MASTER_SITES= https://root.cern/download/ DISTFILES= ${PORTNAME}_v${DISTVERSION}.source${EXTRACT_SUFX} MAINTAINER= erik@tenku.dk COMMENT= Data analysis framework made at CERN WWW= https://root.cern/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/LGPL2_1.txt BROKEN_i386= std::uint64_t to std::size_t narrowing conversion issue introduced in version 6.34.02 BUILD_AND_RUN_DEPENDS= bash:shells/bash \ nlohmann-json>=3:devel/nlohmann-json BUILD_DEPENDS= ${BUILD_AND_RUN_DEPENDS} LIB_DEPENDS= libfreetype.so:print/freetype2 \ liblz4.so:archivers/liblz4 \ libpcre2-8.so:devel/pcre2 \ libxxhash.so:devel/xxhash \ libzstd.so:archivers/zstd RUN_DEPENDS= ${BUILD_AND_RUN_DEPENDS} USES= cmake desktop-file-utils iconv shebangfix SHEBANG_FILES= main/python/rootcp.py \ main/python/rootdrawtree.py \ main/python/rooteventselector.py \ main/python/rootmkdir.py \ main/python/rootmv.py \ main/python/rootprint.py \ main/python/rootrm.py \ main/python/rootslimtree.py \ config/rootssh \ etc/dictpch/makepch.py \ etc/pdg_table_update.py \ etc/runfirefox.sh # add a port-specific shebang to be replaced python_OLD_CMD+= "/usr/bin/env @python@" # Flags and environment variables for building CMAKE_ON= builtin_civetweb builtin_clang builtin_cling builtin_llvm builtin_openui5 \ fail-on-missing gnuinstall shared soversion thisroot_scripts CMAKE_OFF= arrow builtin_cfitsio builtin_cppzmq builtin_davix builtin_fftw3 \ builtin_freetype builtin_ftgl builtin_gif builtin_gl2ps builtin_glew \ builtin_gsl builtin_gtest builtin_jpeg builtin_lz4 builtin_lzma \ builtin_nlohmannjson builtin_openssl builtin_pcre builtin_png builtin_tbb \ builtin_unuran builtin_vc builtin_vdt builtin_veccore builtin_xrootd \ builtin_xxhash builtin_zeromq builtin_zlib builtin_zstd cefweb check_connection \ clad cocoa cuda daos dcache experimental_adaptivecpp experimental_genvectorx \ fcgi geombuilder gviz libcxx llvm13_broken_tests macos_native memory_termination \ minuit2_mpi minuit2_omp mpi pythia8 r roofit_multiprocess runtime_cxxmodules \ shadowpw test_distrdf_dask test_distrdf_pyspark tmva-cudnn tmva-gpu tmva-rmva \ tmva-sofie unuran uring use_gsl_cblas vc veccore vecgeom win_broken_tests \ winrtdebug # See https://root.cern/install/build_from_source/#all-build-options OPTIONS_DEFINE= DOCS ASIMAGE DATAFRAME DAVIX FFTW3 FITSIO FORTRAN GDML GEOM \ HTTP IMT MATHMORE OPENGL PYROOT QT6WEB ROOFIT ROOT7 SPECTRUM \ SQLITE SSL MLP TMVA UNFOLD VDT WEBGUI X11 XML XROOTD OPTIONS_DEFAULT= ASIMAGE DATAFRAME DAVIX FITSIO GDML GEOM HTTP IMT OPENGL PYROOT \ ROOFIT ROOT7 SPECTRUM SQLITE SSL MLP TMVA UNFOLD VDT WEBGUI X11 XML XROOTD OPTIONS_SUB= yes ASIMAGE_CMAKE_BOOL= asimage asimage_tiff ASIMAGE_DESC= Enable support for image processing via libAfterImage ASIMAGE_IMPLIES= X11 ASIMAGE_LIB_DEPENDS= libgif.so:graphics/giflib \ libpng16.so:graphics/png \ libtiff.so:graphics/tiff ASIMAGE_USES= jpeg # TODO: clad can only be included in ROOT's configure stage # with network access, however, a port of clad is available -- patch #CLAD_CMAKE_BOOL= clad #CLAD_DESC= Build clad, the cling automatic differentiation plugin #CLAD_LIB_DEPENDS= libclad.so:math/clad #CLAD_CMAKE_ON= -DCLAD_SOURCE_DIR= DATAFRAME_CMAKE_BOOL= dataframe DATAFRAME_DESC= Enable ROOT RDataFrame DAVIX_CMAKE_BOOL= davix DAVIX_DESC= Enable support for Davix (HTTP/WebDAV access) DAVIX_LIB_DEPENDS= libdavix.so:www/davix DAVIX_USES= pkgconfig # TODO #EXPERIMENTALADAPTIVECPP_CMAKE_BOOL= experimental_adaptivecpp # TODO #EXPERIMENTALGENVECTORX_CMAKE_BOOL= experimental_genvectorx # TODO #FCGI_CMAKE_BOOL= fcgi FFTW3_CMAKE_BOOL= fftw3 FFTW3_DESC= Enable support for FFTW3 FFTW3_LIB_DEPENDS= libfftw3.so:math/fftw3 FITSIO_CMAKE_BOOL= fitsio FITSIO_DESC= Enable support for reading FITS images FITSIO_LIB_DEPENDS= libcfitsio.so:astro/cfitsio \ libcurl.so:ftp/curl FORTRAN_CMAKE_BOOL= fortran FORTRAN_DESC= Build Fortran components of ROOT FORTRAN_USES= fortran GDML_CMAKE_BOOL= gdml GDML_DESC= Enable support for GDML (Geometry Description Markup Language) GDML_IMPLIES= GEOM GEOM_CMAKE_BOOL= geom GEOM_DESC= Enable support for the geometry library # TODO: Missing include in TGeoParaEditor.cxx in upstream; wait for fix #GEOMBUILDER_CMAKE_BOOL= geombuilder #GEOMBUILDER_DESC= Enable support for the geombuilder library #GEOMBUILDER_IMPLIES= GEOM # TODO #GVIZ_CMAKE_BOOL= gviz HTTP_CMAKE_BOOL= http HTTP_DESC= Enable support for HTTP server HTTP_IMPLIES= ROOT7 WEBGUI IMT_CMAKE_BOOL= imt IMT_DESC= Enable support for implicit multi-threading via IntelĀ® Thread Building Blocks (TBB) IMT_LIB_DEPENDS= libtbb.so:devel/onetbb MATHMORE_CMAKE_BOOL= mathmore MATHMORE_DESC= Build libMathMore extended math library MATHMORE_LIB_DEPENDS= libgsl.so:math/gsl # TODO #MINUIT2MPI_CMAKE_BOOL= minuit2_mpi # TODO #MINUIT2OMP_CMAKE_BOOL= minuit2_omp MLP_CMAKE_BOOL= mlp MLP_DESC= Enable support for TMultilayerPerceptron classes' federation MLP_IMPLIES= TMVA MATHMORE # TODO #MPI_CMAKE_BOOL= mpi OPENGL_CMAKE_BOOL= opengl OPENGL_DESC= Enable support for OpenGL OPENGL_IMPLIES= X11 ASIMAGE OPENGL_LIB_DEPENDS= libftgl.so:graphics/ftgl \ libgl2ps.so:print/gl2ps OPENGL_USES= gl OPENGL_USE= gl=glew,glu,opengl PYROOT_CMAKE_BOOL= pyroot tpython tmva-pymva PYROOT_DESC= Enable bindings between Python and C++ with PyROOT PYROOT_BUILD_DEPENDS= ${PYNUMPY} PYROOT_USES= python:build,run PYROOT_USES_OFF= python:build QT6WEB_CMAKE_BOOL= qt6web QT6WEB_DESC= Enable support for Qt6 web-based display QT6WEB_IMPLIES= WEBGUI OPENGL QT6WEB_USES= qt:6 QT6WEB_USE= qt=base,declarative,positioning,webchannel,webengine ROOFIT_CMAKE_BOOL= roofit ROOFIT_DESC= Build the advanced fitting package RooFit, and RooStats for statistical tests ROOT7_CMAKE_BOOL= root7 ROOT7_DESC= Build ROOT 7 components of ROOT SPECTRUM_CMAKE_BOOL= spectrum SPECTRUM_DESC= Enable support for TSpectrum SQLITE_CMAKE_BOOL= sqlite SQLITE_DESC= Enable support for SQLite SQLITE_USES= sqlite SSL_CMAKE_BOOL= ssl SSL_DESC= Enable support for SSL encryption via OpenSSL SSL_USES= ssl TMVA_CMAKE_BOOL= tmva tmva-cpu TMVA_DESC= Build TMVA multi variate analysis library, including TMVA with CPU support for deep learning TMVA_IMPLIES= IMT MATHMORE TMVA_LIB_DEPENDS= libopenblas.so:math/openblas UNFOLD_CMAKE_BOOL= unfold UNFOLD_DESC= Enable the unfold package UNFOLD_IMPLIES= XML # TODO #UNURAN_CMAKE_BOOL= unuran VDT_CMAKE_BOOL= vdt VDT_DESC= Enable support for VDT (fast and vectorisable mathematical functions) VDT_LIB_DEPENDS= libvdt.so:math/vdt # TODO #VECCORE_CMAKE_BOOL= veccore # TODO #VECGEOM_CMAKE_BOOL= vecgeom WEBGUI_CMAKE_BOOL= webgui WEBGUI_DESC= Build Web-based UI components of ROOT WEBGUI_IMPLIES= HTTP ROOT7 X11_CMAKE_BOOL= x11 X11_DESC= Enable support for X11/Xft X11_USES= xorg X11_USE= xorg=ice,sm,x11,xau,xaw,xcb,xcomposite,xcursor,xdamage,xdmcp,xext \ xorg=xfixes,xfont,xfont2,xft,xi,xinerama,xkbfile,xmu,xpm,xrandr,xrender \ xorg=xres,xscrnsaver,xt,xv,xxf86vm XML_CMAKE_BOOL= xml XML_DESC= Enable support for XML XML_USES= gnome XML_USE= gnome=libxml2 XROOTD_CMAKE_BOOL= xrootd XROOTD_DESC= Enable support for XRootD file server and client XROOTD_LIB_DEPENDS= libXrdCl.so:databases/xrootd .include ROOT_CLANG_VER= 20 PLIST_SUB+= PYVER="${PYTHON_VER:S/./_/}" \ ROOT_CLANG_VER="${ROOT_CLANG_VER}" \ SHLIB_SHVER="${DISTVERSION:R}" \ SHLIB_VER="${DISTVERSION}" # A few headers are only installed on aarch64 .if ${OPSYS} == FreeBSD && ${ARCH} == "aarch64" PLIST_SUB+= ONLY_INSTALLED_ON_AARCH64="" .else PLIST_SUB+= ONLY_INSTALLED_ON_AARCH64="@comment " .endif # Files in ${PREFIX}/lib/root/__pycache__ have links into WRKDIR and should not be staged # Files in wrkdirs are generated during build of libAfterImage and should not be staged post-install: ${RM} -r ${STAGEDIR}${PREFIX}/lib/root/__pycache__ ${RM} -r ${STAGEDIR}/wrkdirs .if ${PORT_OPTIONS:MPYROOT} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/root/cppyy/libcppyy.so.${DISTVERSION} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/root/ROOT/libROOTPythonizations.so .endif .include diff --git a/editors/calligra/Makefile b/editors/calligra/Makefile index e6e18f94bff7..b71d696ab9c8 100644 --- a/editors/calligra/Makefile +++ b/editors/calligra/Makefile @@ -1,61 +1,62 @@ PORTNAME= calligra DISTVERSION= ${KDE_APPLICATIONS_VERSION} +PORTREVISION= 1 CATEGORIES= editors kde kde-applications MAINTAINER= kde@FreeBSD.org COMMENT= KDE office suite WWW= https://calligra.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING IGNORE_i386= is not supported on 32-bit systems LIB_DEPENDS= libImath.so:math/Imath \ libboost_thread.so:devel/boost-libs \ libgit2.so:devel/libgit2 \ libetonyek-0.1.so:graphics/libetonyek01 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgsl.so:math/gsl \ liblcms2.so:graphics/lcms2 \ libKChart6.so:graphics/kdiagram-qt6 \ libOkular6Core.so:graphics/okular \ libodfgen-0.1.so:textproc/libodfgen01 \ libpoppler-qt6.so:graphics/poppler-qt6 \ libpoppler.so:graphics/poppler \ libqca-qt6.so:devel/qca@qt6 \ libqt6keychain.so:security/qtkeychain@qt6 \ librevenge-0.0.so:textproc/librevenge \ libvisio-0.1.so:textproc/libvisio01 \ libwpd-0.10.so:textproc/libwpd010 \ libwpg-0.3.so:graphics/libwpg03 \ libwps-0.4.so:textproc/libwps RUN_DEPENDS= pstoedit:graphics/pstoedit USES= cmake compiler:c++17-lang cpe desktop-file-utils eigen:3 \ gettext gl iconv:translit jpeg kde:6 localbase:ldflags perl5 \ pkgconfig qt:6 shared-mime-info ssl tar:xz xorg USE_GL= gl opengl USE_LDCONFIG= yes USE_KDE= archive bookmarks colorscheme completion config configwidgets \ coreaddons crash dbusaddons guiaddons i18n iconthemes \ itemviews jobwidgets kcmutils kio notifications notifyconfig \ phonon service solid sonnet textwidgets widgetsaddons \ windowsystem xmlgui \ doctools:build ecm:build USE_QT= base declarative positioning svg webchannel webengine \ tools:build USE_XORG= ice sm x11 xext CMAKE_ARGS= -DCMAKE_INCLUDE_PATH:STRING="${QT_INCDIR} ${LOCALBASE}/include" \ -DPRODUCTSET:STRING="DESKTOP" # Requested by upstream, to not include unfinished modules CMAKE_ON= RELEASE_BUILD # Performance increase according to README.PACKAGERS CMAKE_ARGS+= -DCMAKE_CXX_FLAGS="-DKDE_NO_DEBUG_OUTPUT" PLIST_SUB= SHLIB_VER=40 .include diff --git a/graphics/enblend/Makefile b/graphics/enblend/Makefile index 0499ee25e5c6..718853a70d5c 100644 --- a/graphics/enblend/Makefile +++ b/graphics/enblend/Makefile @@ -1,52 +1,52 @@ PORTNAME= enblend PORTVERSION= 4.2 -PORTREVISION= 27 +PORTREVISION= 28 CATEGORIES= graphics MASTER_SITES= SF/enblend/enblend-enfuse/enblend-enfuse-${PORTVERSION} DISTNAME= enblend-enfuse-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Tool for image blending with multiresolution splines WWW= https://enblend.sourceforge.net/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= help2man:misc/help2man \ ${LOCALBASE}/include/boost/version.hpp:devel/boost-libs LIB_DEPENDS= liblcms2.so:graphics/lcms2 \ libtiff.so:graphics/tiff \ libvigraimpex.so:graphics/vigra \ libgsl.so:math/gsl \ libOpenEXR.so:graphics/openexr \ libpng.so:graphics/png USES= compiler:features gmake jpeg localbase pkgconfig USE_CXXSTD= c++14 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share PLIST_FILES= bin/enblend bin/enfuse share/man/man1/enblend.1.gz share/man/man1/enfuse.1.gz PORTDOCS= AUTHORS NEWS README OPTIONS_DEFINE= DOCS .include .if ${COMPILER_TYPE} == gcc # GCC 4.2 has some problems, see # http://groups.google.com/group/hugin-ptx/browse_thread/thread/725b1581c9889e37/50abe3387d61541a#50abe3387d61541a # Clang, on 10.0-RELEASE is fine. USE_GCC= yes .else CXXFLAGS+= -Wno-c++11-extensions .endif post-patch: @${REINPLACE_CMD} -e '/a LaTeX/d' ${WRKSRC}/configure post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/graphics/igt-gpu-tools/Makefile b/graphics/igt-gpu-tools/Makefile index 75b8a917032c..48024b3af3bb 100644 --- a/graphics/igt-gpu-tools/Makefile +++ b/graphics/igt-gpu-tools/Makefile @@ -1,78 +1,78 @@ PORTNAME= igt-gpu-tools DISTVERSION= 1.26.1266 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MAINTAINER= jfree@FreeBSD.org COMMENT= IGT gpu tools and tests WWW= https://drm.pages.freedesktop.org/igt-gpu-tools/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= rst2man:textproc/py-docutils@${PY_FLAVOR} LIB_DEPENDS= libdrm.so:graphics/libdrm \ libdw.so:devel/elfutils \ libpciaccess.so:devel/libpciaccess \ libudev.so:devel/libudev-devd USES= bison gnome meson pkgconfig python shebangfix xorg USE_GITLAB= yes GL_SITE= https://gitlab.freedesktop.org GL_ACCOUNT= drm GL_TAGNAME= 9338ab3ec085292817ab1e74d1f2fb90b6a98332 USE_GNOME= cairo glib20 USE_LDCONFIG= yes USE_XORG= pixman SHEBANG_FILES= scripts/code_cov_gather_on_test scripts/code_cov_parse_info PLIST_SUB+= DOCS="@comment " MESON_ARGS= -Ddocs=disabled -Dvalgrind=disabled #OPTIONS_DEFINE= CHAMELIUM DOCS RUNNER TEST OPTIONS_DEFINE= CHAMELIUM RUNNER TEST OPTIONS_DEFAULT= RUNNER TEST OPTIONS_SUB= yes CHAMELIUM_DESC= Build chamelium display tests RUNNER_DESC= Build test runner CHAMELIUM_IMPLIES= TEST CHAMELIUM_LIB_DEPENDS= libasound.so:audio/alsa-lib \ libcurl.so:ftp/curl \ libgsl.so:math/gsl \ libxmlrpc.so:net/xmlrpc-c CHAMELIUM_MESON_ENABLED= chamelium #DOCS_IMPLIES= TEST #DOCS_BUILD_DEPENDS= gtkdoc-mkhtml:textproc/gtk-doc #DOCS_MESON_ENABLED= docs RUNNER_IMPLIES= TEST RUNNER_LIB_DEPENDS= libjson-c.so:devel/json-c \ liboping.so:net/liboping RUNNER_MESON_ENABLED= runner TEST_LIB_DEPENDS= libunwind.so:devel/libunwind TEST_MESON_ENABLED= tests .include .if ${ARCH} == "amd64" PLIST_SUB+= AMD64="" .else PLIST_SUB+= AMD64="@comment " .endif .include .if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=int-conversion .endif .include diff --git a/graphics/inkscape/Makefile b/graphics/inkscape/Makefile index 9cdeb1973984..ad6f1bfdce19 100644 --- a/graphics/inkscape/Makefile +++ b/graphics/inkscape/Makefile @@ -1,120 +1,121 @@ PORTNAME= inkscape DISTVERSION= 1.4.3 +PORTREVISION= 1 CATEGORIES= graphics gnome MASTER_SITES= https://media.inkscape.org/dl/resources/file/ MAINTAINER= gnome@FreeBSD.org COMMENT= Full featured open source SVG editor WWW= https://inkscape.org LICENSE= GPLv2 GPLv2+ GPLv3 GPLv3+ LGPL21 LGPL3 LGPL3+ MPL11 LICENSE_COMB= multi LICENSE_FILE_GPLv2 = ${WRKSRC}/LICENSES/GPL-2.0.txt LICENSE_FILE_GPLv2+ = ${WRKSRC}/LICENSES/GPL-2.0-or-later.txt LICENSE_FILE_GPLv3 = ${WRKSRC}/LICENSES/GPL-3.0.txt LICENSE_FILE_GPLv3+ = ${WRKSRC}/LICENSES/GPL-3.0-or-later.txt LICENSE_FILE_LGPL21 = ${WRKSRC}/LICENSES/LGPL-2.1.txt LICENSE_FILE_LGPL3 = ${WRKSRC}/LICENSES/LGPL-3.0.txt LICENSE_FILE_LGPL3+ = ${WRKSRC}/LICENSES/LGPL-3.0-or-later.txt LICENSE_FILE_MPL11 = ${WRKSRC}/LICENSES/MPL-1.1.txt BUILD_DEPENDS= ragel:devel/ragel LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs \ libgc.so:devel/boehm-gc \ libgsl.so:math/gsl \ liblcms2.so:graphics/lcms2 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libpotrace.so:graphics/libpotrace \ libpng.so:graphics/png \ libenchant-2.so:textproc/enchant2 \ libepoxy.so:graphics/libepoxy \ lib2geom.so:math/lib2geom RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}appdirs>0:devel/py-appdirs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cachecontrol>0:www/py-cachecontrol@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cssselect>0:www/py-cssselect@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}filelock>=3.7.1:sysutils/py-filelock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scour>0:textproc/py-scour@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tinycss2>0:textproc/py-tinycss2@${PY_FLAVOR} \ fig2dev:print/fig2dev TEST_DEPENDS= googletest>0:devel/googletest \ bash:shells/bash USES= compiler:c++20-lang cmake:testing cpe desktop-file-utils ghostscript:run \ gnome jpeg pathfix pkgconfig python \ readline shebangfix tar:xz xorg USE_GNOME= cairo gdkpixbuf glibmm gtkmm30 gtksourceview4 libxml2 libxslt USE_PYTHON= cython USE_XORG= sm ice x11 xext USE_LDCONFIG= yes DATETAG= 2025-12-25_0d15f75042 WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}_${DATETAG} BINARY_ALIAS= python3=${PYTHON_CMD} SHEBANG_FILES= share/extensions/*.py share/extensions/genpofiles.sh \ share/templates/*.py man/fix-roff-punct OPTIONS_DEFINE= OPENMP POPPLER SCRIBUS VISIO CDR WPG GVFS NLS GSPELL OPTIONS_DEFAULT= POPPLER VISIO CDR WPG GM GSPELL OPTIONS_DEFAULT_amd64= OPENMP OPTIONS_DEFAULT_powerpc64= OPENMP OPTIONS_DEFAULT_powerpc64le= OPENMP OPTIONS_RADIO= IMAGICK OPTIONS_RADIO_IMAGICK= IMAGICK6 GM OPTIONS_SUB= yes CDR_DESC= Support for CorelDRAW graphics CDR_CMAKE_BOOL= WITH_LIBCDR CDR_LIB_DEPENDS= librevenge-stream-0.0.so:textproc/librevenge \ libcdr-0.1.so:graphics/libcdr01 GVFS_USE= GNOME=gvfs OPENMP_CMAKE_BOOL= WITH_OPENMP POPPLER_DESC= PDF preview rendering POPPLER_CMAKE_BOOL= ENABLE_POPPLER ENABLE_POPPLER_CAIRO POPPLER_LIB_DEPENDS= libpoppler.so:graphics/poppler \ libpoppler-glib.so:graphics/poppler-glib SCRIBUS_DESC= Support color-managed PDF export using Scribus (experimental) SCRIBUS_RUN_DEPENDS= scribus:print/scribus VISIO_DESC= Support for Microsoft Visio diagrams VISIO_CMAKE_BOOL= WITH_LIBVISIO VISIO_LIB_DEPENDS= librevenge-stream-0.0.so:textproc/librevenge \ libvisio-0.1.so:textproc/libvisio01 WPG_DESC= Support for WordPerfect graphics WPG_CMAKE_BOOL= WITH_LIBWPG WPG_LIB_DEPENDS= libwpg-0.3.so:graphics/libwpg03 IMAGICK_DESC= Raster image format library IMAGICK6_DESC= Use ImageMagick6 IMAGICK6_USES= magick:6 IMAGICK6_CMAKE_BOOL= WITH_IMAGE_MAGICK GM_DESC= Use GraphicsMagick GM_LIB_DEPENDS= libGraphicsMagick.so:graphics/GraphicsMagick GM_CMAKE_BOOL= WITH_GRAPHICS_MAGICK NLS_CMAKE_BOOL= WITH_NLS NLS_USES= gettext GSPELL_DESC= Support for spell checking through gspell GSPELL_CMAKE_BOOL= WITH_GSPELL GSPELL_LIB_DEPENDS= libgspell-1.so:textproc/gspell post-patch: @${REINPLACE_CMD} -e 's|COMMAND python3|COMMAND ${PYTHON_VERSION}|g' \ ${WRKSRC}/share/*/CMakeLists.txt # Third entry in the table of interpreters is basename of executable @${REINPLACE_CMD} -e 's|"python3"|"${PYTHON_VERSION}"|g' \ ${WRKSRC}/src/extension/implementation/script.cpp @${TOUCH} ${WRKSRC}/share/extensions/gcodetools_check_for_updates.inx.h .include diff --git a/graphics/ipe/Makefile b/graphics/ipe/Makefile index 64157dfc7e34..d5013fe1f32a 100644 --- a/graphics/ipe/Makefile +++ b/graphics/ipe/Makefile @@ -1,97 +1,98 @@ PORTNAME= ipe DISTVERSION= 7.2.27 DISTVERSIONSUFFIX= -src +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= https://github.com/otfried/ipe/releases/download/v${DISTVERSION}/ MAINTAINER= bofh@FreeBSD.org COMMENT= Extensible vector graphics editor with LaTeX support WWW= https://ipe.otfried.org/ LICENSE= GPLv3+ LIB_DEPENDS= libcurl.so:ftp/curl \ libfreetype.so:print/freetype2 \ libgsl.so:math/gsl \ libpng.so:graphics/png \ libspiro.so:graphics/libspiro RUN_DEPENDS= xdg-open:devel/xdg-utils USES= compiler:c++11-lib gmake gnome jpeg lua:54 pkgconfig shebangfix qt:6 tex USE_GNOME= cairo USE_LDCONFIG= yes USE_QT= base USE_TEX= pdftex SHEBANG_FILES= ${WRKSRC}/ipecurl/ipecurl.sh MAKE_ENV= DL_LIBS="" \ INSTALL_DIR="${MKDIR}" \ INSTALL_FILES="${INSTALL_DATA}" \ INSTALL_SCRIPTS="${INSTALL_SCRIPT}" \ INSTALL_PROGRAMS="${INSTALL_PROGRAM}" \ INSTALL_ROOT="${STAGEDIR}" \ IPEDOCDIR="${DOCSDIR}" \ IPEMANDIR="${PREFIX}/share/man/man1" \ IPEPREFIX="${PREFIX}" \ JPEG_CFLAGS="-I${LOCALBASE}/include" \ JPEG_LIBS="-L${LOCALBASE}/lib -ljpeg" \ LUA_PACKAGE="lua-${LUA_VER}" \ MOC="${MOC}" \ IPE_NO_SPELLCHECK="1" CPPFLAGS+= -I${LOCALBASE}/${QT_INCDIR_REL} \ -I${LOCALBASE}/include/cairo \ -I${LUA_INCDIR} \ -I${WRKSRC}/include \ -I${WRKSRC}/ipecairo \ -I${WRKSRC}/ipecanvas DESKTOP_ENTRIES="Ipe" "" "ipe" "ipe" "" "" WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}/src PLIST_SUB= VERSION="${DISTVERSION}" PORTDOCS= * OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e \ 's|\([[:blank:]]\)=|\1?=|' ${WRKSRC}/config.mak @${REINPLACE_CMD} -e 's|||' \ ${WRKSRC}/ipeui/ipeui_common.h \ ${WRKSRC}/ipecanvas/ipepdfview_qt.h @${REINPLACE_CMD} -e 's|||; \ s|||; \ s|||; \ s|||; \ s|||' \ ${WRKSRC}/ipeui/ipeui_qt.h @${REINPLACE_CMD} -e 's|||; \ s|||; \ s|||; \ s|||; \ s|||' \ ${WRKSRC}/ipeui/ipeui_qt.cpp @${REINPLACE_CMD} -e 's|||' \ ${WRKSRC}/ipecanvas/ipeselector_qt.h @${REINPLACE_CMD} -e 's|||; \ s|||; \ s|||' \ ${WRKSRC}/ipepresenter/timelabel_qt.h @${REINPLACE_CMD} -e 's|||' \ ${WRKSRC}/ipepresenter/timelabel_qt.cpp @${REINPLACE_CMD} -e 's|||; \ s|||' \ ${WRKSRC}/ipepresenter/ipepresenter_qt.h post-install: @${LN} -sf ${DATADIR}/${PORTVERSION}/ipe.png \ ${STAGEDIR}${PREFIX}/share/pixmaps @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libipe* .for filename in ipe6upgrade iperender ipeextract ipescript ipetoipe ipepresenter ipe @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${filename} .endfor .include diff --git a/graphics/krita/Makefile b/graphics/krita/Makefile index 2faf09f1ac26..7a67e9c105bb 100644 --- a/graphics/krita/Makefile +++ b/graphics/krita/Makefile @@ -1,80 +1,81 @@ PORTNAME= krita DISTVERSION= 5.2.14 +PORTREVISION= 1 CATEGORIES= graphics kde MASTER_SITES= KDE/stable/${PORTNAME}/${DISTVERSION} DIST_SUBDIR= KDE/${PORTNAME} MAINTAINER= kde@FreeBSD.org COMMENT= Sketching and painting program WWW= https://krita.org LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= boost-libs>=1.65:devel/boost-libs \ immer>=0:devel/immer \ lager>=0:devel/lager \ zug>=0:devel/zug BUILD_DEPENDS+= ${BUILD_DEPENDS_${ARCH}} BUILD_DEPENDS_aarch64= xsimd>=8.1:devel/xsimd BUILD_DEPENDS_amd64= xsimd>=8.1:devel/xsimd LIB_DEPENDS= libImath.so:math/Imath \ libOpenColorIO.so:graphics/opencolorio \ libX11.so:x11/libX11 \ libexiv2.so:graphics/exiv2 \ libfftw3.so:math/fftw3 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libfribidi.so:converters/fribidi \ libgif.so:graphics/giflib \ libgsl.so:math/gsl \ libharfbuzz.so:print/harfbuzz \ libheif.so:graphics/libheif \ libjson-c.so:devel/json-c \ libjxl.so:graphics/libjxl \ liblcms2.so:graphics/lcms2 \ libmypaint.so:graphics/libmypaint \ libopenjp2.so:graphics/openjpeg \ libpng16.so:graphics/png \ libpoppler.so:graphics/poppler \ libpoppler-qt5.so:graphics/poppler-qt5 \ libquazip1-qt5.so:archivers/quazip@qt5 \ libtiff.so:graphics/tiff \ libturbojpeg.so:graphics/libjpeg-turbo \ libunibreak.so:textproc/libunibreak \ libwebp.so:graphics/webp USES= cmake compiler:c++11-lib desktop-file-utils eigen:3 gettext \ gnome jpeg kde:5 localbase:ldflags mlt:7 pkgconfig python qt:5 \ sdl shared-mime-info tar:xz xorg USE_GNOME= glib20 USE_KDE= completion config coreaddons crash guiaddons i18n \ itemmodels itemviews libkdcraw service widgetsaddons \ windowsystem ecm:build USE_QT= concurrent core dbus gui network \ printsupport sql svg widgets x11extras xml \ buildtools:build qmake:build testlib:build \ sql-sqlite3:run USE_SDL= sdl2 USE_XORG= ice sm xcb xext xi # Make Cmake use the python we installed dependencies for. CMAKE_ARGS= -DPython_EXECUTABLE:STRING=${PYTHON_CMD} PLIST_SUB= SHLIB_VER=19.0.0 \ SHLIB_SHVER=19 OPTIONS_DEFINE= PYTHON OPENEXR OPTIONS_DEFAULT= PYTHON OPENEXR OPTIONS_SUB= yes OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr \ libKSeExpr.so:graphics/kseexpr OPENEXR_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_OpenEXR PYTHON_BUILD_DEPENDS= ${PY_SETUPTOOLS} PYTHON_USES= pyqt:5 PYTHON_USE= PYQT=pyqt5,pysip,sip:build PYTHON_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_PyQt5 .include diff --git a/graphics/luminance-qt5/Makefile b/graphics/luminance-qt5/Makefile index 079759907c22..d9bb035edd2a 100644 --- a/graphics/luminance-qt5/Makefile +++ b/graphics/luminance-qt5/Makefile @@ -1,72 +1,72 @@ PORTNAME= luminance-hdr DISTVERSION= 2.6.1.1 -PORTREVISION= 33 +PORTREVISION= 34 CATEGORIES= graphics MASTER_SITES= SF/qtpfsgui/luminance/${DISTVERSION} MAINTAINER= h2+fbsdports@fsfe.org COMMENT= Complete open source solution for HDR photography WWW= https://qtpfsgui.sourceforge.net/ LICENSE= GPLv2 BROKEN= fails to build with Boost>=1.87 BUILD_DEPENDS= ${LOCALBASE}/include/fftw3.h:math/fftw3 LIB_DEPENDS= libImath.so:math/Imath \ libtiff.so:graphics/tiff \ libraw_r.so:graphics/libraw \ libfftw3f.so:math/fftw3-float \ libgsl.so:math/gsl \ libexiv2.so:graphics/exiv2 \ liblcms2.so:graphics/lcms2 \ libpng.so:graphics/png \ libOpenEXR.so:graphics/openexr \ libboost_date_time.so:devel/boost-libs CFLAGS+= -I${LOCALBASE}/include/Imath USES= cmake desktop-file-utils eigen:3 jpeg pkgconfig qt:5 tar:bzip2 USE_QT= concurrent core declarative gui location network \ printsupport sql svg widgets xml \ buildtools:build linguisttools:build qmake:build USE_CXXSTD= c++14 OPTIONS_DEFINE= CFITSIO DOCS HELPBROWSER OPTIONS_DEFAULT= CFITSIO OPTIONS_DEFAULT_aarch64= HELPBROWSER OPTIONS_DEFAULT_amd64= HELPBROWSER OPTIONS_DEFAULT_i386= HELPBROWSER CFITSIO_LIB_DEPENDS= libcfitsio.so:astro/cfitsio HELPBROWSER_DESC= Build help browser (requires QtWebEngine) HELPBROWSER_USE= QT=webchannel,webengine HELPBROWSER_CMAKE_BOOL= WITH_HELPBROWSER .if !exists(/usr/include/omp.h) USES+= compiler:gcc-c++11-lib .else USES+= compiler:c++14-lang .endif .include post-patch: # Do not install yet another copy of GPL (we use license framework instead) # and fix installation path for docs (but not for internal help files) @${REINPLACE_CMD} -e '/LICENSE/d ; \ /#info files/s,share/luminance-hdr/doc,${DOCSDIR_REL},' \ ${WRKSRC}/CMakeLists.txt # Point to the right location for program where to look for GPL text @${REINPLACE_CMD} -e 's,LICENSE,${LICENSE}, ; \ s,share/luminance-hdr/doc,share/licenses/${PKGNAME},' \ ${WRKSRC}/src/UI/UMessageBox.cpp post-patch-HELPBROWSER-off: @${REINPLACE_CMD} -e 's,name="documentationAction">,& \ false,' \ ${WRKSRC}/src/MainWindow/MainWindow.ui .include diff --git a/graphics/mandelbulber/Makefile b/graphics/mandelbulber/Makefile index 419521ba5fbb..2e8a9f0d05cd 100644 --- a/graphics/mandelbulber/Makefile +++ b/graphics/mandelbulber/Makefile @@ -1,58 +1,58 @@ PORTNAME= mandelbulber DISTVERSION= 2.33 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MAINTAINER= amdmi3@FreeBSD.org COMMENT= 3D Mandelbrot fractal renderer WWW= https://mandelbulber.com/ \ https://github.com/buddhi1980/mandelbulber2 LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libgsl.so:math/gsl \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ liblzo2.so:archivers/lzo2 \ libOpenEXR.so:graphics/openexr BUILD_DEPENDS= ${LOCALBASE}/include/stb/stb_image.h:devel/stb USE_GITHUB= yes GH_ACCOUNT= buddhi1980 GH_PROJECT= ${PORTNAME}2 USES= cmake compiler:c++11-lang gnome jpeg localbase:ldflags \ pkgconfig qt:5 USE_QT= core widgets network gui multimedia testlib concurrent \ declarative qmake:build buildtools:build uitools:build CMAKE_SOURCE_PATH= ${WRKSRC}/mandelbulber2/cmake PORTDOCS= CONTRIBUTING.md README.md RESOURCES.md PORTDATA= * DATADIR= ${PREFIX}/share/${PORTNAME}2 OPTIONS_DEFINE= OPENCL OPENMP DOCS OPTIONS_EXCLUDE= OPENMP # not properly supported yet OPENCL_BUILD_DEPENDS= opencl>=0:devel/opencl post-extract: @${RM} -rf ${WRKSRC}/mandelbulber2/third-party post-patch-OPENMP-off: @${REINPLACE_CMD} -e 's|-fopenmp||' \ ${CMAKE_SOURCE_PATH}/CMakeLists.txt post-patch-OPENCL-off: @${REINPLACE_CMD} -e '/find_package.*OpenCL/ d' \ ${CMAKE_SOURCE_PATH}/CMakeLists.txt post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/ .endfor .include diff --git a/graphics/nip2/Makefile b/graphics/nip2/Makefile index 0b4f571c9032..7221067dff14 100644 --- a/graphics/nip2/Makefile +++ b/graphics/nip2/Makefile @@ -1,63 +1,63 @@ PORTNAME= nip2 PORTVERSION= 8.7.1 -PORTREVISION= 16 +PORTREVISION= 17 CATEGORIES= graphics MASTER_SITES= https://github.com/libvips/${PORTNAME}/releases/download/v${PORTVERSION}/ PATCH_SITES= https://github.com/libvips/${PORTNAME}/commit/ PATCHFILES+= 8bdb1459bc2.patch:-p1 # https://github.com/libvips/nip2/pull/96 MAINTAINER= ports@FreeBSD.org COMMENT= Graphical user interface for VIPS WWW= https://github.com/jcupitt/nip2 LICENSE= GPLv2 BUILD_DEPENDS= xdg-open:devel/xdg-utils LIB_DEPENDS= libvips.so:graphics/vips \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 RUN_DEPENDS= xdg-open:devel/xdg-utils USES= bison cpe desktop-file-utils dos2unix gettext gmake gnome pkgconfig \ shared-mime-info CPE_VENDOR= ${PORTNAME}_project DOS2UNIX_GLOB= *.def USE_GNOME= cairo gdkpixbuf gtk20 libxml2 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS+= --disable-update-desktop LDFLAGS+= -lm SUB_FILES= run-nip2.sh OPTIONS_DEFINE= DOCS FFTW GRAPHVIZ GSF GSL OPTIONS_DEFAULT= FFTW GRAPHVIZ GSF GSL FFTW_LIB_DEPENDS= libfftw3.so:math/fftw3 FFTW_CONFIGURE_WITH= fftw3 GRAPHVIZ_DESC= Use libgvc to show workspace dependency graphs GRAPHVIZ_LIB_DEPENDS= libgvc.so:graphics/graphviz GRAPHVIZ_CONFIGURE_WITH= libgvc GSF_DESC= Use libgsf to save plots to files GSF_USE= gnome=libgsf GSF_CONFIGURE_WITH= libgsf GSL_DESC= Use gsl for numeric functions GSL_LIB_DEPENDS= libgsl.so:math/gsl GSL_CONFIGURE_WITH= gsl post-install: (cd ${WRKDIR} && ${INSTALL_SCRIPT} run-nip2.sh \ ${STAGEDIR}/${PREFIX}/bin) test check: build # # Checks currently require ImageMagick's convert to be available # and aren't enabled by default. They take a long time -- tail # the log-file: # ${WRKSRC}/test/test_all.sh.log # (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check) .include diff --git a/graphics/pfstools/Makefile b/graphics/pfstools/Makefile index e51272d543f2..d72697708ba0 100644 --- a/graphics/pfstools/Makefile +++ b/graphics/pfstools/Makefile @@ -1,112 +1,112 @@ PORTNAME= pfstools DISTVERSION= 2.1.0 -PORTREVISION= 25 +PORTREVISION= 26 CATEGORIES= graphics MASTER_SITES= SF MAINTAINER= fbsd@any.com.ru COMMENT= Tools for manipulating HDR images and video frames WWW= https://pfstools.sourceforge.net/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= bash:shells/bash CONFLICTS= pfstmo-1.* pfscalibration-1.* CFLAGS+= -I${LOCALBASE}/include/Imath LDFLAGS+= -lthr USES= cmake cpe tar:tgz dos2unix jpeg perl5 USE_CXXSTD= c++14 USE_PERL5= run USE_LDCONFIG= yes CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON \ -DWITH_MATLAB=OFF \ -DBASH_EXECUTABLE:STRING=${LOCALBASE}/bin/bash \ -DPERL_EXECUTABLE:STRING=${PERL} DOS2UNIX_GLOB= *.txt *.cmake \ *.h *.c *.cpp \ *.1 MANCOMPRESSED= yes OPTIONS_DEFINE= TIFF OPENEXR IMAGEMAGICK NETPBM \ OCTAVE FFTW GSL \ ALIGN GLVIEW VIEW \ OPENMP OPTIONS_DEFAULT= TIFF FFTW GSL NO_OPTIONS_SORT= yes OPTIONS_SUB= yes OCTAVE_DESC= Compile octave interface functions GSL_DESC= Use Gnu Scientific Libarary required for some TMOs ALIGN_DESC= Compile pfsalign, requires OpenCV w/NONFREE and libexif VIEW_DESC= Compile pfsview, requires QT5 GLVIEW_DESC= Compile pfsglview, requires GLUT TIFF_CMAKE_BOOL= WITH_TIFF TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff OPENEXR_CMAKE_BOOL= WITH_OpenEXR OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr \ libImath.so:math/Imath IMAGEMAGICK_CMAKE_BOOL= WITH_ImageMagick IMAGEMAGICK_USES= magick:6 NETPBM_CMAKE_BOOL= WITH_NetPBM NETPBM_LIB_DEPENDS= libnetpbm.so:graphics/netpbm NETPBM_IMPLIES= TIFF OCTAVE_CMAKE_BOOL= WITH_Octave OCTAVE_PATCH_DEPENDS= octave-config:math/octave OCTAVE_BUILD_DEPENDS= mkoctfile:math/octave OCTAVE_RUN_DEPENDS= octave:math/octave OCTAVE_USES= shebangfix OCTAVE_CXXFLAGS= -std=c++11 FFTW_CMAKE_BOOL= WITH_FFTW FFTW_CMAKE_ON= -DFFTW_INCLUDE_DIRS=${LOCALBASE}/include FFTW_LIB_DEPENDS= libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float GSL_CMAKE_BOOL= WITH_GSL GSL_LIB_DEPENDS= libgsl.so:math/gsl ALIGN_CMAKE_BOOL= WITH_OpenCV # requires NONFREE=on which isn't a default ALIGN_LIB_DEPENDS= libopencv_nonfree.so:graphics/opencv \ libexif.so:graphics/libexif GLVIEW_CMAKE_BOOL= WITH_pfsglview GLVIEW_CMAKE_ON= -DGLUT_INCLUDE_DIRS=${LOCALBASE}/include GLVIEW_USES= gl GLVIEW_USE= GL=glut GL=gl,glu VIEW_CMAKE_BOOL= WITH_QT VIEW_USES= gl qt:5 VIEW_USE= GL=glut GL=gl,glu QT=core,gui,widgets,buildtools:build,qmake:build .include .if ${PORT_OPTIONS:MIMAGEMAGICK} && !${PORT_OPTIONS:MOPENMP} USES+= compiler:c++11-lib .endif .if ${PORT_OPTIONS:MOCTAVE} OCTAVE_BASE?= ${LOCALBASE} OCTAVE_VERSION!=${OCTAVE_BASE}/bin/octave-config -v 2>&1 || ${ECHO} "0" OCTAVE_SITE_OCT!=${OCTAVE_BASE}/bin/octave-config --oct-site-dir 2>&1 || ${ECHO} "" OCTAVE_SITE_M!= ${OCTAVE_BASE}/bin/octave-config --m-site-dir 2>&1 || ${ECHO} "" PLIST_SUB= OCTAVE_BASE=${OCTAVE_BASE} \ OCTAVE_SITE_M=${OCTAVE_SITE_M:S|^${OCTAVE_BASE}/||} \ OCTAVE_SITE_OCT=${OCTAVE_SITE_OCT:S|^${OCTAVE_BASE}/||} SHEBANG_FILES= src/octave/pfs* SHEBANG_LANG= octave octave_OLD_CMD?=/usr/bin/octave octave_CMD?= ${OCTAVE_BASE}/bin/octave-cli .endif .include diff --git a/graphics/qgis-ltr/Makefile b/graphics/qgis-ltr/Makefile index 304a8aff657d..ea6fe443a88f 100644 --- a/graphics/qgis-ltr/Makefile +++ b/graphics/qgis-ltr/Makefile @@ -1,196 +1,197 @@ PORTNAME= qgis DISTVERSION= 3.40.15 +PORTREVISION= 1 CATEGORIES= graphics geography MASTER_SITES= https://qgis.org/downloads/ PKGNAMESUFFIX= -ltr MAINTAINER= rhurlin@FreeBSD.org COMMENT= Free and Open Source Geographic Information System WWW= https://qgis.org/en/site/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/doc/LICENSE BUILD_DEPENDS= gpsbabel>=1.7.0:astro/gpsbabel \ opencl>=0:devel/opencl \ ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}cycler>=0.11.0:devel/py-cycler@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-dateutil>=2.8.2:devel/py-python-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}future>=0.18.2:devel/py-future@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}httplib2>=0.20.2:www/py-httplib2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jedi>=0.18.1:devel/py-jedi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=3.1.2:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}markupsafe>=2.1.1:textproc/py-markupsafe@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>=3.4.3:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mock>=4.0.3:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}OWSLib>=0.27.2:graphics/py-OWSLib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pbr>=5.10.0:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pip>=22.2.2:devel/py-pip@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}plotly>=4.14.3:graphics/py-plotly@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pygments>=2.13.0:textproc/py-pygments@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyproj>=3.4.0:graphics/py-pyproj@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>=2020.5:devel/py-pytz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.28.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.16.0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=3.7.16:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=5.4.1:devel/py-pyyaml@${PY_FLAVOR} LIB_DEPENDS= libabsl_log_internal_check_op.so:devel/abseil \ libdraco.so:archivers/draco \ libexiv2.so:graphics/exiv2 \ libexpat.so:textproc/expat2 \ libfreexl.so:textproc/freexl \ libgdal.so:graphics/gdal \ libgeos.so:graphics/geos \ libgsl.so:math/gsl \ libhdf5.so:science/hdf5 \ libmdal.so:math/mdal \ libminizip.so:archivers/minizip \ libnetcdf.so:science/netcdf \ libOpenCL.so:devel/ocl-icd \ libpdalcpp.so:math/pdal \ libproj.so:graphics/proj \ libprotobuf-lite.so:devel/protobuf \ libqca-qt5.so:devel/qca@qt5 \ libqscintilla2_qt5.so:devel/qscintilla2@qt5 \ libqt5keychain.so:security/qtkeychain@qt5 \ libqwt.so:x11-toolkits/qwt6@qt5 \ librttopo.so:devel/librttopo \ libspatialite.so:databases/spatialite \ libsz.so:science/libaec \ libxerces-c.so:textproc/xerces-c3 \ libzip.so:archivers/libzip \ libzstd.so:archivers/zstd RUN_DEPENDS= astyle:devel/astyle \ opencl>=0:devel/opencl \ ${PYTHON_PKGNAMEPREFIX}black>=22.10:devel/py-black@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cycler>=0.11.0:devel/py-cycler@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-dateutil>=2.8.2:devel/py-python-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}fiona>=1.8.21:graphics/py-fiona@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}future>=0.18.2:devel/py-future@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}gdal>=3.5.2:graphics/py-gdal@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}geojson>=2.3.0:devel/py-geojson@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}geopandas>=0.11.1:graphics/py-geopandas@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}httplib2>=0.20.2:www/py-httplib2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jedi>=0.18.1:devel/py-jedi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=3.1.2:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}laspy>=2.5.1:misc/py-laspy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}markupsafe>=2.1.1:textproc/py-markupsafe@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>=3.4.3:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mock>=4.0.3:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}nbformat>=5.7.0:devel/py-nbformat@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}netCDF4>=1.6.2:science/py-netCDF4@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}networkx>=2.8.8:math/py-networkx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}nltk>=3.7:textproc/py-nltk@${PY_FLAVOR} \ ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}OWSLib>=0.27.2:graphics/py-OWSLib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pandas>=1.5.0:math/py-pandas@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pbr>=5.10.0:devel/py-pbr@${PY_FLAVOR} \ ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}pip>=22.2.2:devel/py-pip@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}plotly>=4.14.3:graphics/py-plotly@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}psutil>=5.9.2:sysutils/py-psutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}psycopg2>=2.9.4:databases/py-psycopg2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pygments>=2.13.0:textproc/py-pygments@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyproj>=3.4.0:graphics/py-pyproj@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyrsgis>=0.4.1:graphics/py-pyrsgis@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>=2020.5:devel/py-pytz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rasterio>=1.3.2:graphics/py-rasterio@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.28.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scikit-image>=0.19.3:graphics/py-scikit-image@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scikit-learn>=1.1.3:science/py-scikit-learn@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}shapely>=1.8.5:devel/py-shapely@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.16.0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=3.7.16:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}termcolor>=2.1.0:devel/py-termcolor@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}xcffib>=0.11.1:x11/py-xcffib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}xlrd>=2.0.1:textproc/py-xlrd@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=5.4.1:devel/py-pyyaml@${PY_FLAVOR} ### Fortran is needed by numpy, GRASS, etc. USES= bison cmake compiler:features desktop-file-utils \ fortran gl gmake gnome iconv pgsql pyqt:5 python qt:5 \ shebangfix sqlite:3 tar:bz2 USE_GL= gl USE_GNOME= libxml2 USE_LDCONFIG= yes USE_PYQT= pyqt5 pysip qscintilla2 qtbuilder:build sip:build webengine USE_QT= 3d buildtools:build core concurrent dbus declarative \ designer:build qdoc:build gamepad gui linguist:build location \ multimedia network printsupport qmake:build script serialport \ sql sql-pgsql sql-sqlite3 svg testlib uitools:build \ webchannel webengine widgets xml SHEBANG_FILES= src/plugins/grass/scripts/*.py # Python_EXECUTABLE: Use the default version if multiple Pythons are available CMAKE_ARGS+= -DCMAKE_BUILD_TYPE:STRING=Release \ -DHAVE_PGCONFIG=1 \ -DPYRCC_PROGRAM:FILEPATH=${LOCALBASE}/bin/pyrcc5-${PYTHON_VER} \ -DPYUIC_PROGRAM:FILEPATH=${LOCALBASE}/bin/pyuic5-${PYTHON_VER} \ -DPython_EXECUTABLE=${PYTHON_CMD} \ -DQSCI_SIP_DIR:PATH=${PYQT_SIPDIR}/Qsci \ -DQWT_INCLUDE_DIR:PATH=${LOCALBASE}/include/qt5/qwt6 \ -DQWT_LIBRARY:FILEPATH=${LOCALBASE}/lib/qt5/libqwt.so \ -DQGIS_MANUAL_SUBDIR:PATH=share/man # [2025-10-25] Use internal spatialindex, as the one in the ports is too new: # -- Found Spatialindex: /usr/local/lib/libspatialindex.so (2.1.0) # CMake Error at CMakeLists.txt:460 (message): # Cannot build QGIS using libspatialindex >= 2.1, see # https://github.com/libspatialindex/libspatialindex/issues/276 CMAKE_ON= USE_OPENCL WITH_3D WITH_ASTYLE WITH_BINDINGS WITH_COPC \ WITH_CUSTOM_WIDGETS WITH_DRACO WITH_EPT WITH_INTERNAL_LAZPERF \ WITH_POSTGRESQL WITH_QTWEBENGINE WITH_INTERNAL_SPATIALINDEX CMAKE_OFF= ENABLE_TESTS USE_CCACHE WITH_INTERNAL_MDAL WITH_QTWEBKIT WITH_QWTPOLAR CONFLICTS_INSTALL= qgis PLIST_SUB= DISTVERSION=${PORTVERSION} .if !defined(MAINTAINER_MODE) CMAKE_ARGS+= -Wno-dev CMAKE_OFF+= SUPPRESS_QT_WARNINGS .endif OPTIONS_DEFINE= SERVER GRASS OPTIONS_DEFAULT= SERVER GRASS NO_OPTIONS_SORT= yes OPTIONS_SUB= yes GRASS_DESC= Add GRASS GIS to processing tools SERVER_DESC= Enable QGIS server GRASS_BUILD_DEPENDS= grass8:databases/grass8 GRASS_RUN_DEPENDS= ${GRASS_BUILD_DEPENDS} GRASS_CMAKE_BOOL= WITH_GRASS8 SERVER_LIB_DEPENDS= libfcgi.so:www/fcgi SERVER_CMAKE_BOOL= WITH_SERVER WITH_SERVER_PLUGINS WITH_QSPATIALITE .include pre-patch: # Only PostgreSQL Client headers, not Server @${REINPLACE_CMD} -e 's|set(POSTGRES_INCLUDE_DIR \$${PostgreSQL_INCLUDE_DIRS})|set(POSTGRES_INCLUDE ${LOCALBASE}/include)|g' \ ${WRKSRC}/cmake/FindPostgres.cmake post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/cmake/FindGRASS.cmake # On i386, '-mllvm -inline-threshold=128' does not build under all circumstances # See bugs 242557 and 241687. .if ${OPSYS} == FreeBSD && ${ARCH} == "i386" @${REINPLACE_CMD} -e 's|"-mllvm -inline-threshold=128"|"-O1"|g' \ ${WRKSRC}/src/core/CMakeLists.txt .endif pre-configure: ${MKDIR} ${CONFIGURE_WRKSRC}/bin && ${LN} -s ${PYTHON_CMD} ${CONFIGURE_WRKSRC}/bin/python3 post-install: @${RM} ${STAGEDIR}${DATADIR}/python/pytz/tzfile.py.bak @${FIND} ${STAGEDIR}${LOCALBASE} -name "__pycache__" -delete @${RM} /tmp/srs.db check: @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check .include diff --git a/graphics/qgis/Makefile b/graphics/qgis/Makefile index d62c408a048b..5b9ce0a8f3a0 100644 --- a/graphics/qgis/Makefile +++ b/graphics/qgis/Makefile @@ -1,196 +1,197 @@ PORTNAME= qgis DISTVERSION= 3.44.7 +PORTREVISION= 1 CATEGORIES= graphics geography MASTER_SITES= https://qgis.org/downloads/ MAINTAINER= rhurlin@FreeBSD.org COMMENT= Free and Open Source Geographic Information System WWW= https://qgis.org/en/site/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/doc/LICENSE BUILD_DEPENDS= gpsbabel>=1.7.0:astro/gpsbabel \ opencl>=0:devel/opencl \ ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}cycler>=0.11.0:devel/py-cycler@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-dateutil>=2.8.2:devel/py-python-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}future>=0.18.2:devel/py-future@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}httplib2>=0.20.2:www/py-httplib2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jedi>=0.18.1:devel/py-jedi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=3.1.2:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}markupsafe>=2.1.1:textproc/py-markupsafe@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>=3.4.3:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mock>=4.0.3:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}OWSLib>=0.27.2:graphics/py-OWSLib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pbr>=5.10.0:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pip>=22.2.2:devel/py-pip@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}plotly>=4.14.3:graphics/py-plotly@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pygments>=2.13.0:textproc/py-pygments@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyproj>=3.4.0:graphics/py-pyproj@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>=2020.5:devel/py-pytz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.28.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.16.0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=3.7.16:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=5.4.1:devel/py-pyyaml@${PY_FLAVOR} LIB_DEPENDS= libabsl_log_internal_check_op.so:devel/abseil \ libdraco.so:archivers/draco \ libexiv2.so:graphics/exiv2 \ libexpat.so:textproc/expat2 \ libfreexl.so:textproc/freexl \ libgdal.so:graphics/gdal \ libgeos.so:graphics/geos \ libgsl.so:math/gsl \ libhdf5.so:science/hdf5 \ libminizip.so:archivers/minizip \ libnetcdf.so:science/netcdf \ libOpenCL.so:devel/ocl-icd \ libpdalcpp.so:math/pdal \ libproj.so:graphics/proj \ libprotobuf-lite.so:devel/protobuf \ libqca-qt5.so:devel/qca@qt5 \ libqscintilla2_qt5.so:devel/qscintilla2@qt5 \ libqt5keychain.so:security/qtkeychain@qt5 \ libqwt.so:x11-toolkits/qwt6@qt5 \ librttopo.so:devel/librttopo \ libspatialite.so:databases/spatialite \ libsz.so:science/libaec \ libxerces-c.so:textproc/xerces-c3 \ libzip.so:archivers/libzip \ libzstd.so:archivers/zstd RUN_DEPENDS= astyle:devel/astyle \ opencl>=0:devel/opencl \ ${PYTHON_PKGNAMEPREFIX}black>=22.10:devel/py-black@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cycler>=0.11.0:devel/py-cycler@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-dateutil>=2.8.2:devel/py-python-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}fiona>=1.8.21:graphics/py-fiona@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}future>=0.18.2:devel/py-future@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}gdal>=3.5.2:graphics/py-gdal@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}geojson>=2.3.0:devel/py-geojson@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}geopandas>=0.11.1:graphics/py-geopandas@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}httplib2>=0.20.2:www/py-httplib2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jedi>=0.18.1:devel/py-jedi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=3.1.2:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}laspy>=2.5.1:misc/py-laspy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}markupsafe>=2.1.1:textproc/py-markupsafe@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>=3.4.3:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mock>=4.0.3:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}nbformat>=5.7.0:devel/py-nbformat@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}netCDF4>=1.6.2:science/py-netCDF4@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}networkx>=2.8.8:math/py-networkx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}nltk>=3.7:textproc/py-nltk@${PY_FLAVOR} \ ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}OWSLib>=0.27.2:graphics/py-OWSLib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pandas>=1.5.0:math/py-pandas@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pbr>=5.10.0:devel/py-pbr@${PY_FLAVOR} \ ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}pip>=22.2.2:devel/py-pip@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}plotly>=4.14.3:graphics/py-plotly@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}psutil>=5.9.2:sysutils/py-psutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}psycopg2>=2.9.4:databases/py-psycopg2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pygments>=2.13.0:textproc/py-pygments@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyproj>=3.4.0:graphics/py-pyproj@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyrsgis>=0.4.1:graphics/py-pyrsgis@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>=2020.5:devel/py-pytz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rasterio>=1.3.2:graphics/py-rasterio@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.28.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scikit-image>=0.19.3:graphics/py-scikit-image@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scikit-learn>=1.1.3:science/py-scikit-learn@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}shapely>=1.8.5:devel/py-shapely@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.16.0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=3.7.16:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}termcolor>=2.1.0:devel/py-termcolor@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}xcffib>=0.11.1:x11/py-xcffib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}xlrd>=2.0.1:textproc/py-xlrd@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=5.4.1:devel/py-pyyaml@${PY_FLAVOR} ### Fortran is needed by numpy, GRASS, etc. USES= bison cmake compiler:features desktop-file-utils \ fortran gl gmake gnome iconv pgsql pyqt:5 python qt:5 \ shebangfix sqlite:3 tar:bz2 USE_GL= gl USE_GNOME= libxml2 USE_LDCONFIG= yes USE_PYQT= pyqt5 pysip qscintilla2 qtbuilder:build sip:build webengine USE_QT= 3d buildtools:build core concurrent dbus declarative \ designer:build qdoc:build gamepad gui linguist:build location \ multimedia network printsupport qmake:build script serialport \ sql sql-pgsql sql-sqlite3 svg testlib uitools:build \ webchannel webengine widgets xml SHEBANG_FILES= src/plugins/grass/scripts/*.py # Python_EXECUTABLE: Use the default version if multiple Pythons are available CMAKE_ARGS+= -DCMAKE_BUILD_TYPE:STRING=Release \ -DHAVE_PGCONFIG=1 \ -DPYRCC_PROGRAM:FILEPATH=${LOCALBASE}/bin/pyrcc5-${PYTHON_VER} \ -DPYUIC_PROGRAM:FILEPATH=${LOCALBASE}/bin/pyuic5-${PYTHON_VER} \ -DPython_EXECUTABLE=${PYTHON_CMD} \ -DQSCI_SIP_DIR:PATH=${PYQT_SIPDIR}/Qsci \ -DQWT_INCLUDE_DIR:PATH=${LOCALBASE}/include/qt5/qwt6 \ -DQWT_LIBRARY:FILEPATH=${LOCALBASE}/lib/qt5/libqwt.so \ -DQGIS_MANUAL_SUBDIR:PATH=share/man # [2025-10-25] Use internal spatialindex, as the one in the ports is too new: # -- Found Spatialindex: /usr/local/lib/libspatialindex.so (2.1.0) # CMake Error at CMakeLists.txt:460 (message): # Cannot build QGIS using libspatialindex >= 2.1, see # https://github.com/libspatialindex/libspatialindex/issues/276 CMAKE_ON= USE_OPENCL WITH_ASTYLE WITH_BINDINGS WITH_COPC \ WITH_CUSTOM_WIDGETS WITH_DRACO WITH_EPT \ WITH_INTERNAL_LAZPERF WITH_INTERNAL_MDAL \ WITH_POSTGRESQL WITH_QTWEBENGINE WITH_INTERNAL_SPATIALINDEX CMAKE_OFF= BUILD_WITH_QT6 ENABLE_TESTS USE_CCACHE WITH_QTWEBKIT \ WITH_QWTPOLAR CONFLICTS_INSTALL= qgis-ltr PLIST_SUB= DISTVERSION=${PORTVERSION} .if !defined(MAINTAINER_MODE) CMAKE_ARGS+= -Wno-dev CMAKE_OFF+= SUPPRESS_QT_WARNINGS .endif OPTIONS_DEFINE= SERVER GRASS OPTIONS_DEFAULT= SERVER GRASS NO_OPTIONS_SORT= yes OPTIONS_SUB= yes GRASS_DESC= Add GRASS GIS to processing tools SERVER_DESC= Enable QGIS server GRASS_BUILD_DEPENDS= grass8:databases/grass8 GRASS_RUN_DEPENDS= ${GRASS_BUILD_DEPENDS} GRASS_CMAKE_BOOL= WITH_GRASS8 SERVER_LIB_DEPENDS= libfcgi.so:www/fcgi SERVER_CMAKE_BOOL= WITH_SERVER WITH_SERVER_PLUGINS WITH_QSPATIALITE .include pre-patch: # Only PostgreSQL Client headers, not Server @${REINPLACE_CMD} -e 's|set(POSTGRES_INCLUDE_DIR \$${PostgreSQL_INCLUDE_DIRS})|set(POSTGRES_INCLUDE ${LOCALBASE}/include)|g' \ ${WRKSRC}/cmake/FindPostgres.cmake post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/cmake/FindGRASS.cmake # On i386, '-mllvm -inline-threshold=128' does not build under all circumstances # See bugs 242557 and 241687. .if ${OPSYS} == FreeBSD && ${ARCH} == "i386" @${REINPLACE_CMD} -e 's|"-mllvm -inline-threshold=128"|"-O1"|g' \ ${WRKSRC}/src/core/CMakeLists.txt .endif pre-configure: ${MKDIR} ${CONFIGURE_WRKSRC}/bin && ${LN} -s ${PYTHON_CMD} ${CONFIGURE_WRKSRC}/bin/python3 post-install: @${RM} ${STAGEDIR}${DATADIR}/python/pytz/tzfile.py.bak @${FIND} ${STAGEDIR}${LOCALBASE} -name "__pycache__" -delete @${RM} /tmp/srs.db check: @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check .include diff --git a/lang/algol68g/Makefile b/lang/algol68g/Makefile index 2dea051b15f1..ae30c05ff176 100644 --- a/lang/algol68g/Makefile +++ b/lang/algol68g/Makefile @@ -1,47 +1,48 @@ PORTNAME= algol68g PORTVERSION= 3.10.9 +PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= https://jmvdveer.home.xs4all.nl/ LOCAL/danfe MAINTAINER= danfe@FreeBSD.org COMMENT= Algol 68 Genie hybrid compiler-interpreter WWW= https://jmvdveer.home.xs4all.nl/algol.html LICENSE= GPLv3+ USES= readline GNU_CONFIGURE= yes TEST_TARGET= check PORTDOCS= AUTHORS NEWS README OPTIONS_DEFINE= CURL DOCS GSL PGSQL PLOTUTILS RMATH OPTIONS_DEFAULT= CURL GSL PGSQL PLOTUTILS RMATH CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_CONFIGURE_ENABLE= curl GSL_DESC= Bindings for GNU Scientific Library GSL_LIB_DEPENDS= libgsl.so:math/gsl GSL_CONFIGURE_ENABLE= gsl PLOTUTILS_DESC= Plotting support via plotutils PLOTUTILS_LIB_DEPENDS= libplot.so:graphics/plotutils PLOTUTILS_CONFIGURE_ENABLE=plotutils PGSQL_USES= pgsql PGSQL_CONFIGURE_ENABLE= postgresql RMATH_DESC= Bindings for GNU R's statistical routines RMATH_LIB_DEPENDS= libRmath.so:math/libRmath RMATH_CONFIGURE_ENABLE= mathlib post-patch: # Trim architecture constraints from the target triple to build properly # on every platform FreeBSD supports (now or in the future) @${REINPLACE_CMD} -e 's/.*\(\*-freebsd\)/\1/' ${WRKSRC}/configure # Do not install GPLv3 boilerplate and ChangeLog which redirects to NEWS @${REINPLACE_CMD} -e '/^doc_DATA/s/ COPYING ChangeLog//' \ ${WRKSRC}/Makefile.in .include diff --git a/lang/newlisp/Makefile b/lang/newlisp/Makefile index 8bbf350434c3..44385a1b6df3 100644 --- a/lang/newlisp/Makefile +++ b/lang/newlisp/Makefile @@ -1,75 +1,75 @@ PORTNAME= newlisp PORTVERSION= 10.7.5 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= lang MASTER_SITES= http://www.newlisp.org/downloads/ MAINTAINER= olgeni@FreeBSD.org COMMENT= LISP like scripting language WWW= http://www.newlisp.org/ LICENSE= GPLv3 LIB_DEPENDS= libffi.so:devel/libffi CONFLICTS= newlisp-devel USES= readline tar:tgz OPTIONS_SUB= yes HAS_CONFIGURE= yes ALL_TARGET= default REINPLACE_ARGS= -i "" MODULES= canvas cgi crypto ftp getopts infix odbc plot pop3 \ postscript smtp smtpx stat unix xmlrpc-client zlib DOCS= ANDROID.txt Android.html CHANGES COPYING CREDITS \ CodePatterns.html ExpressionEvaluation.html INSTALL \ LOCALIZATION License.html MemoryManagement.html \ manual_frame.html newLISP-${PORTVERSION}-Release.html \ newLISPdoc.html newlisp-man.txt newlisp_index.html \ newlisp_manual.html newlispdoc-man.txt OPTIONS_DEFINE= DOCS EXAMPLES GSL MYSQL PGSQL SQLITE GSL_DESC= GSL (GNU Scientific Library) .include CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib .if ${ARCH} == "amd64" CFLAGS+= -DNEWLISP64 .endif .if ${PORT_OPTIONS:MGSL} LIB_DEPENDS+= libgsl.so:math/gsl MODULES+= gsl .endif .if ${PORT_OPTIONS:MMYSQL} USES+= mysql MODULES+= mysql .endif .if ${PORT_OPTIONS:MPGSQL} USES+= pgsql MODULES+= postgres .endif .if ${PORT_OPTIONS:MSQLITE} USES+= sqlite MODULES+= sqlite3 .endif post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/doc/,} ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/mail/bogofilter-kc/Makefile b/mail/bogofilter-kc/Makefile index 5c4ca40aee65..982dc9b7a0a8 100644 --- a/mail/bogofilter-kc/Makefile +++ b/mail/bogofilter-kc/Makefile @@ -1,20 +1,20 @@ PORTNAME= bogofilter -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= mail PKGNAMESUFFIX= -kc MAINTAINER= mandree@FreeBSD.org COMMENT= Fast, teachable, learning spam detector (KyotoCabinet database) LIB_DEPENDS= libkyotocabinet.so:databases/kyotocabinet CONFLICTS_INSTALL= bogofilter bogofilter-bdb bogofilter-sqlite # bogofilter-bdb is historic, but let's keep this for a while CONFIGURE_ARGS= --with-database=kyotocabinet BF_CPPFLAGS= -I${LOCALBASE}/include BF_LIBS= DESCR= ${PKGDIR}/pkg-descr MASTERDIR= ${.CURDIR}/../bogofilter .include "${MASTERDIR}/Makefile" diff --git a/mail/bogofilter-sqlite/Makefile b/mail/bogofilter-sqlite/Makefile index 11e109b94c9d..99f852a38b5f 100644 --- a/mail/bogofilter-sqlite/Makefile +++ b/mail/bogofilter-sqlite/Makefile @@ -1,19 +1,19 @@ PORTNAME= bogofilter -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= mail PKGNAMESUFFIX= -sqlite MAINTAINER= mandree@FreeBSD.org COMMENT?= Fast, teachable, learning spam detector (SQLite3 database) USES= sqlite CONFLICTS_INSTALL= bogofilter bogofilter-bdb bogofilter-kc # bogofilter-bdb is historic, but let's keep this for a while CONFIGURE_ARGS= --with-database=sqlite BF_CPPFLAGS= -I${LOCALBASE}/include BF_LIBS= DESCR= ${PKGDIR}/pkg-descr MASTERDIR= ${.CURDIR}/../bogofilter .include "${MASTERDIR}/Makefile" diff --git a/mail/bogofilter/Makefile b/mail/bogofilter/Makefile index 71840682b8f6..972a136ae9af 100644 --- a/mail/bogofilter/Makefile +++ b/mail/bogofilter/Makefile @@ -1,96 +1,96 @@ PORTNAME= bogofilter DISTVERSION= 1.3.0.rc1 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES?= mail MASTER_SITES= SF/bogofilter/bogofilter-current/bogofilter-1.3.0.beta/ \ https://gitlab.com/-/project/12408342/uploads/647db3bd2f28a1f91bdd3bb1945d91fe/ PKGNAMESUFFIX?= # blank by default, and ?= so slave ports can override MAINTAINER?= mandree@FreeBSD.org COMMENT?= Fast, teachable, learning spam detector (LMDB database) WWW= https://bogofilter.sourceforge.io/ LICENSE= GPLv2 OPTIONS_DEFINE= GSL UNICODE DOCS OPTIONS_DEFAULT= GSL UNICODE GSL_DESC= Link with system-wide GSL dynamically (recommended) UNICODE_DESC= Normalize tokens to Unicode (UTF-8) (recommended) CONFLICTS_INSTALL?= bogofilter-bdb bogofilter-kc bogofilter-lmdb bogofilter-sqlite # bogofilter-bdb and -lmdb are historic, but let's keep them for a while USES+= cpe perl5 shebangfix tar:xz SHEBANG_FILES= contrib/randomtrain.sh contrib/scramble.sh \ src/tests/unsort.pl contrib/*.pl USE_PERL5= run GNU_CONFIGURE= yes CPE_VENDOR= bogofilter_project UNICODE_USES= iconv UNICODE_CONFIGURE_ENABLE= unicode GSL_LIB_DEPENDS= libgsl.so:math/gsl GSL_CONFIGURE_OFF= --with-included-gsl PORTDOCS= * TEST_TARGET= check .include BF_CPPFLAGS?= -I${LOCALBASE}/include BF_LIBS?= # empty, can be passed in by slave ports CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc .if !defined(MASTERDIR) || ${MASTERDIR} == ${.CURDIR} CONFIGURE_ARGS+= --with-database=lmdb LIB_DEPENDS= liblmdb.so:databases/lmdb .endif .if ${PORT_OPTIONS:MUNICODE} BF_LIBS+= ${ICONV_LIB} .endif CPPFLAGS+= ${BF_CPPFLAGS} LIBS+= -L${LOCALBASE}/lib ${BF_LIBS} CONFIGURE_ENV+= PERL="${PERL}" INSTALL_TARGET= install-strip prefix=${PREFIX} mandir=${PREFIX}/share/man post-patch: ${REINPLACE_CMD} -e 's/INTEGRITY_TESTS = t.lock1 t.lock3 t.valgrind/INTEGRITY_TESTS = t.lock1/' \ -e 's/ENVIRON_TESTS = t.abort/ENVIRON_TESTS =/' \ ${WRKSRC}/src/tests/Makefile.in post-build: cd ${WRKSRC}/src && ${SETENVI} SHELL=${SH} ${MAKE_CMD} ${TEST_TARGET} ${_MAKE_JOBS} SHELL=${SH} \ || { r=$$? ; head -n30000 ${WRKSRC}/src/tests/test-suite.log ; exit $$r ; } post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR}/contrib .for i in html programmer xml @${MKDIR} ${STAGEDIR}${DOCSDIR}/${i} .endfor .for i in AUTHORS COPYING INSTALL NEWS README README.git \ doc/README.validation TODO GETTING.STARTED \ RELEASE.NOTES doc/README.db doc/README.sqlite \ doc/integrating-with-postfix doc/integrating-with-qmail \ doc/bogofilter-tuning.HOWTO.html doc/bogofilter-SA-* \ doc/bogofilter-faq.html doc/bogofilter-faq-fr.html ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor .for i in README.randomtrain README.contrib ${INSTALL_DATA} ${WRKSRC}/contrib/${i} ${STAGEDIR}${DOCSDIR}/contrib/${i} .endfor ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR}/html ${INSTALL_DATA} ${WRKSRC}/doc/*.xml ${STAGEDIR}${DOCSDIR}/xml ${INSTALL_DATA} ${WRKSRC}/doc/programmer/README.freebsd ${STAGEDIR}${DOCSDIR}/programmer ${INSTALL_PROGRAM} ${WRKSRC}/bogogrep ${STAGEDIR}${PREFIX}/bin/ .for i in bfproxy.pl bogofilter-milter.pl bogo.R bogofilter-qfe.sh \ mime.get.rfc822.pl parmtest.sh printmaildir.pl \ bogominitrain.pl \ randomtrain.sh scramble.sh spamitarium.pl stripsearch.pl trainbogo.sh ${INSTALL_SCRIPT} ${WRKSRC}/contrib/${i} ${STAGEDIR}${DOCSDIR}/contrib/${i} .endfor .for i in dot-qmail-bogofilter-default \ mailfilter.example vm-bogofilter.el ${INSTALL_DATA} ${WRKSRC}/contrib/${i} ${STAGEDIR}${DOCSDIR}/contrib/${i} .endfor .include diff --git a/math/R-cran-gsl/Makefile b/math/R-cran-gsl/Makefile index 9073e693658c..abc5732d5e9e 100644 --- a/math/R-cran-gsl/Makefile +++ b/math/R-cran-gsl/Makefile @@ -1,16 +1,17 @@ PORTNAME= gsl DISTVERSION= 2.1-9 +PORTREVISION= 1 CATEGORIES= math DISTNAME= ${PORTNAME}_${DISTVERSION} MAINTAINER= eduardo@FreeBSD.org COMMENT= Wrapper for the Gnu Scientific Library WWW= https://cran.r-project.org/package=gsl LICENSE= GPLv3 LIB_DEPENDS= libgsl.so:math/gsl USES= cran:auto-plist,compiles .include diff --git a/math/asymptote/Makefile b/math/asymptote/Makefile index 91fcccee58b1..5ff530952e36 100644 --- a/math/asymptote/Makefile +++ b/math/asymptote/Makefile @@ -1,100 +1,100 @@ PORTNAME= asymptote PORTVERSION= 2.92 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= math MASTER_SITES= SF/${PORTNAME}/${PORTVERSION} DISTNAME= ${PORTNAME}-${PORTVERSION}.src MAINTAINER= nivit@FreeBSD.org COMMENT= Powerful script-based vector graphics language WWW= https://asymptote.sourceforge.io/ LICENSE= GPLv3 LGPL3 LICENSE_COMB= dual ONLY_FOR_ARCHS= amd64 i386 LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs \ libcurl.so:ftp/curl \ libsigsegv.so:devel/libsigsegv RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cson>=0.8:devel/py-cson@${PY_FLAVOR} \ ${PY_PILLOW} \ xdg-open:devel/xdg-utils USES= bison compiler:c++14-lang gettext-runtime ghostscript gl gmake gnome ncurses perl5 python \ pyqt:5 shebangfix tar:tgz tex SHEBANG_FILES= GUI/*.py USE_GL= gl glu glut USE_GNOME= librsvg2:run USE_PERL5= build USE_TEX= dvipsk formats USE_PYQT= pyqt5:run CPPFLAGS+= -I${LOCALBASE}/include GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --disable-lsp # disable the module with Boost-related errors MAKE_ENV= ASYMPTOTE_HOME=${WRKDIR} HOME=${WRKDIR} MAKE_JOBS_UNSAFE= yes # see https://github.com/vectorgraphics/asymptote/issues/331 ALL_TARGET= asy asy-keywords.el INSTALL_TARGET= install-asy SUB_FILES= pkg-message WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} OPTIONS_DEFAULT= FFTW GSL MANPAGES READLINE OPTIONS_DEFINE= BDWGC DOCS EXAMPLES FFTW GSL MANPAGES OFFSCREEN READLINE BDWGC_LIB_DEPENDS= libgc-threaded.so:devel/boehm-gc-threaded BDWGC_DESC= Enable Boehm-Demers-Weiser garbage collector BDWGC_CONFIGURE_ENABLE= gc=${LOCALBASE} DOCS_ALL_TARGET= html DOCS_BUILD_DEPENDS= texi2dvi:print/texinfo DOCS_CONFIGURE_WITH= docdir=${DOCSDIR} DOCS_INSTALL_TARGET= install-html FFTW_CONFIGURE_ENABLE= fftw FFTW_DESC= Use FFTW to compute the Discrete Fourier Transform FFTW_LIB_DEPENDS= libfftw3.so:math/fftw3 GSL_CONFIGURE_ENABLE= gsl GSL_DESC= Enable GNU Scientific library GSL_LIB_DEPENDS= libgsl.so:math/gsl MANPAGES_ALL_TARGET= man MANPAGES_BUILD_DEPENDS= texi2dvi:print/texinfo MANPAGES_INFO= asy-faq OFFSCREEN_CONFIGURE_ENABLE= offscreen OFFSCREEN_DESC= Enable offscreen rendering using OSMesa library OFFSCREEN_LIB_DEPENDS= libOSMesa.so:graphics/libosmesa READLINE_CONFIGURE_ENABLE= readline READLINE_USES= readline TEST_TARGET= test TEST_WRKSRC= ${WRKSRC}/tests PORTEXAMPLES= * .include .if ${OPSYS} == FreeBSD USES+= llvm:max=15 .endif post-patch: @${REINPLACE_CMD} 's/-lgc/-lgc-threaded/' ${WRKSRC}/configure @${REINPLACE_CMD} 's,makeinfo,${LOCALBASE}/bin/makeinfo,' \ ${WRKSRC}/doc/png/Makefile.in # Fix the python interpreter in the generated file share/asymptote/GUI/xasyVersion.py: @${REINPLACE_CMD} 's,/usr/bin/env python3,${PYTHON_CMD},' ${WRKSRC}/Makefile.in post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/asy .include diff --git a/math/cocoalib/Makefile b/math/cocoalib/Makefile index b3ba3b89459d..1d157add8e8c 100644 --- a/math/cocoalib/Makefile +++ b/math/cocoalib/Makefile @@ -1,116 +1,116 @@ PORTNAME= cocoalib DISTVERSION= 0.99800 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math MASTER_SITES= https://cocoa.dima.unige.it/cocoa/cocoalib/tgz/ DISTNAME= CoCoALib-${DISTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= C++ library for doing Computations in Commutative Algebra WWW= https://cocoa.dima.unige.it LICENSE= GPLv3+ GFDL PD LICENSE_COMB= multi LICENSE_FILE_GPLv3+ = ${WRKSRC}/COPYRIGHT-full-text LICENSE_FILE_GFDL= ${WRKSRC}/doc/COPYING BUILD_DEPENDS= bash:shells/bash LIB_DEPENDS= libgmp.so:math/gmp USES= compiler:c++11-lang localbase:ldflag shebangfix tar:tgz USE_CXXSTD= c++14 USE_LDCONFIG= yes SHEBANG_GLOB= *.sh CXXFLAGS+= -I${WRKSRC}/include \ -I${WRKSRC}/src/AlgebraicCore/TmpFactorDir \ -I${WRKSRC}/src/AlgebraicCore/TmpFactorDir/multivariate \ -I${WRKSRC}/src/AlgebraicCore/TmpFactorDir/linalg \ -DCoCoA_ULONG2LONG=1 \ -DCoCoA_ULONGLONG2LONGLONG=1 \ -fPIC LDFLAGS+= -L${BUILD_WRKSRC} -lcocoa -lgmp BUILD_WRKSRC= ${WRKSRC}/src/AlgebraicCore TEST_TARGET= all TEST_WRKSRC= ${WRKSRC}/src/tests PREPROCESSOR_DEFNS= ${WRKSRC}/include/CoCoA/PREPROCESSOR_DEFNS.H OPTIONS_DEFINE= BOOST DOCS EXAMPLES FROBBY GFAN \ GSL NORMALIZ SMALLDEG TEST FROBBY_DESC= Link with libfrobby.a GFAN_DESC= Link with libgfan.a GSL_DESC= Link with libgsl.a NORMALIZ_DESC= Link with libnormaliz.a (might cause circular dependency) SMALLDEG_DESC= Optimization for small degree polynomials BOOST_BUILD_DEPENDS= ${LOCALBASE}/include/boost/thread.hpp:devel/boost-libs BOOST_CXXFLAGS= -pthread FROBBY_BUILD_DEPENDS= ${LOCALBASE}/lib/libfrobby.a:math/frobby GFAN_BUILD_DEPENDS= ${LOCALBASE}/lib/libgfan.a:math/gfanlib GSL_BUILD_DEPENDS= ${LOCALBASE}/lib/libgsl.a:math/gsl NORMALIZ_BUILD_DEPENDS= ${LOCALBASE}/lib/libnormaliz.a:math/libnormaliz SMALLDEG_EXTRA_PATCHES= ${FILESDIR}/extra-patch-include-CoCoA_config.H pre-configure: ${REINPLACE_CMD} "s,%%DISTVERSION%%,${DISTVERSION},g" ${BUILD_WRKSRC}/Makefile do-configure-BOOST-on: ${ECHO_CMD} "#define COCOA_WITH_BOOST" >> ${PREPROCESSOR_DEFNS} do-configure-BOOST-off: ${ECHO_CMD} "#undef COCOA_WITH_BOOST" >> ${PREPROCESSOR_DEFNS} do-configure-FROBBY-on: ${ECHO_CMD} "#define COCOA_WITH_FROBBY" >> ${PREPROCESSOR_DEFNS} do-configure-FROBBY-off: ${ECHO_CMD} "#undef COCOA_WITH_FROBBY" >> ${PREPROCESSOR_DEFNS} do-configure-GFAN-on: ${ECHO_CMD} "#define COCOA_WITH_GFAN" >> ${PREPROCESSOR_DEFNS} do-configure-GFAN-off: ${ECHO_CMD} "#undef COCOA_WITH_GFAN" >> ${PREPROCESSOR_DEFNS} do-configure-GSL-on: ${ECHO_CMD} "#define COCOA_WITH_GSL" >> ${PREPROCESSOR_DEFNS} do-configure-GSL-off: ${ECHO_CMD} "#undef COCOA_WITH_GSL" >> ${PREPROCESSOR_DEFNS} do-configure-NORMALIZ-on: ${ECHO_CMD} "#define COCOA_WITH_NORMALIZ" >> ${PREPROCESSOR_DEFNS} do-configure-NORMALIZ-off: ${ECHO_CMD} "#undef COCOA_WITH_NORMALIZ" >> ${PREPROCESSOR_DEFNS} pre-build: cd ${WRKSRC}/include/CoCoA && ./MakeUnifiedHeader.sh --check post-build-TEST-on: do-test do-install: ${INSTALL_DATA} ${BUILD_WRKSRC}/libcocoa.a ${STAGEDIR}${PREFIX}/lib ${INSTALL_LIB} ${BUILD_WRKSRC}/libcocoa.so.0 ${STAGEDIR}${PREFIX}/lib cd ${STAGEDIR}${PREFIX}/lib && \ ${LN} -sf libcocoa.so.0 ${STAGEDIR}${PREFIX}/lib/libcocoa.so ${MKDIR} ${STAGEDIR}${PREFIX}/include/CoCoA cd ${WRKSRC}/include/CoCoA && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/include/CoCoA '-name *\.H -a ! -name \._*' post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${MKDIR} ${STAGEDIR}${DOCSDIR}/html ${INSTALL_MAN} ${WRKSRC}/doc/CoCoALib.pdf ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/doc/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/html '! -name \._*' post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_MAN} ${WRKSRC}/examples/index.html ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} '-name ex-*\.C' .include diff --git a/math/deal.ii/Makefile b/math/deal.ii/Makefile index 55357d6a6f5a..e58d1b01593f 100644 --- a/math/deal.ii/Makefile +++ b/math/deal.ii/Makefile @@ -1,118 +1,118 @@ PORTNAME= deal.II DISTVERSION= 9.6.2 -PORTREVISION= 10 +PORTREVISION= 11 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_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/dieharder/Makefile b/math/dieharder/Makefile index 04df9c67e902..757f329f464f 100644 --- a/math/dieharder/Makefile +++ b/math/dieharder/Makefile @@ -1,30 +1,30 @@ PORTNAME= dieharder PORTVERSION= 3.31.1 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= math MASTER_SITES= http://www.phy.duke.edu/~rgb/General/dieharder/ LOCAL/bf MAINTAINER= ports@FreeBSD.org COMMENT= Random number generator testsuite WWW= http://www.phy.duke.edu/~rgb/General/dieharder.php LICENSE= GPLv2 LIB_DEPENDS= libgsl.so:math/gsl MAKE_JOBS_UNSAFE= yes USES= dos2unix libtool tar:tgz GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib USE_LDCONFIG= yes # Fix build with clang11 CFLAGS+= -fcommon check test: build ${WRKSRC}/dieharder/dieharder -a .include diff --git a/math/freefem++/Makefile b/math/freefem++/Makefile index f5c7bbb93b5f..928ae503d7f0 100644 --- a/math/freefem++/Makefile +++ b/math/freefem++/Makefile @@ -1,80 +1,80 @@ PORTNAME= freefem++ DISTVERSIONPREFIX= v DISTVERSION= 4.14 -PORTREVISION= 10 +PORTREVISION= 11 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/giacxcas/Makefile b/math/giacxcas/Makefile index 23c6b5093bbb..f654b491da9a 100644 --- a/math/giacxcas/Makefile +++ b/math/giacxcas/Makefile @@ -1,161 +1,161 @@ PORTNAME= giacxcas DISTVERSION= 1.9.0-85 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= math MASTER_SITES= http://www-fourier.univ-grenoble-alpes.fr/~parisse/debian/dists/stable/main/source/:giac \ http://cocoa.dima.unige.it/cocoa/cocoalib/tgz/:cocoa \ http://www-fourier.ujf-grenoble.fr/~parisse/giac/freebsd/ DISTFILES= giac_${DISTVERSION}${EXTRACT_SUFX}:giac \ CoCoALib-${COCOA_LIB_VERSION}.tgz:cocoa \ fltk-giac.tar.gz DIST_SUBDIR= ${PORTNAME} MAINTAINER= yuri@FreeBSD.org COMMENT= Computer algebra system WWW= https://www-fourier.univ-grenoble-alpes.fr/~parisse/giac.html LICENSE= GPLv3 DOC LICENSE_COMB= multi LICENSE_NAME_DOC= French documentation LICENSE_TEXT_DOC= French documentation is for non-commercial use only LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING LICENSE_PERMS_DOC= dist-mirror pkg-mirror auto-accept LICENSE_DISTFILES_DOC= giac_${DISTVERSION}${EXTRACT_SUFX} BROKEN_armv7= compilation fails: constant expression evaluates to 61171872541 which cannot be narrowed to type 'long' [-Wc++11-narrowing] BROKEN_i386= compilation fails: constant expression evaluates to 61171872541 which cannot be narrowed to type 'long' [-Wc++11-narrowing] BROKEN_powerpc= compilation fails: constant expression evaluates to 61171872541 which cannot be narrowed to type 'long' [-Wc++11-narrowing] BUILD_DEPENDS= bash:shells/bash \ hevea:textproc/hevea LIB_DEPENDS= libao.so:audio/libao \ libboost_serialization.so:devel/boost-libs \ libcurl.so:ftp/curl \ libfontconfig.so:x11-fonts/fontconfig \ libgsl.so:math/gsl \ libglpk.so:math/glpk \ libgmp.so:math/gmp \ libecm.so:math/gmp-ecm \ libmpfr.so:math/mpfr \ libmpfi.so:math/mpfi \ libpari.so:math/pari \ libpng.so:graphics/png \ libnauty.so:math/nauty \ libcliquer.so:math/cliquer \ libsamplerate.so:audio/libsamplerate RUN_DEPENDS= xdg-open:devel/xdg-utils USES= autoreconf blaslapack compiler:c++14-lang desktop-file-utils fortran \ gettext gl gmake gnome jpeg libtool localbase ncurses perl5 \ python readline shebangfix tex xorg GNU_CONFIGURE= yes USE_CXXSTD= c++11 USE_GL= gl USE_XORG= x11 xcursor xext xfixes xft xi xinerama xrender USE_TEX= latex:build dvipsk:build USE_PERL5= run USE_LDCONFIG= yes # Warning: don't remove the USE_GCC without a runtime test *after* make install #USE_GCC= yes CONFIGURE_ENV= ac_cv_lib_X11_main=yes \ ac_cv_lib_cocoa_main=yes \ ac_cv_lib_fltk_gl_main=yes \ ac_cv_lib_fltk_main=yes \ ac_cv_lib_fltk_images_main=yes \ ac_cv_lib_jpeg_main=yes SHEBANG_FILES= src/pgiac micropython-1.12/docs/conf.py INSTALL_TARGET= install-strip COCOA_LIB_VERSION= 0.99818 CPPFLAGS+= -I${COCOALIB-GIAC}/include \ -I${FLTKDEV-GIAC} \ -Wno-narrowing LDFLAGS+= -L${COCOALIB-GIAC}/lib \ -L${FLTKDEV-GIAC}/lib \ -lintl WRKSRC= ${WRKDIR}/giac-${DISTVERSION:C/-[0-9]*//} FLTKDEV-GIAC= ${WRKDIR}/fltk-1.3.0 COCOALIB-GIAC= ${WRKDIR}/CoCoALib-${COCOA_LIB_VERSION} TEST_TARGET= check DATADIR= ${PREFIX}/share/giac DOCSDIR= ${PREFIX}/share/doc/giac EXAMPLESDIR= ${PREFIX}/share/examples/giac INFO= giac_es giac_us OPTIONS_DEFINE= DOCS EXAMPLES #NB: built of giacxcas with USE_GCC and nlt is successfull if the ntl port is also # installed with USE_GCC CONFIGURE_ARGS+= --disable-ntl CONFIGURE_ARGS+= --disable-micropy # it causes SEGV in xcas in the nlr_push call from execute_from_lexer@main.c PORTDOCS= * PORTEXAMPLES= * post-extract: @${FIND} ${WRKSRC}/examples/Exemples -name "._*" -delete post-patch: @${GREP} -Rl --null /bin/bash ${COCOALIB-GIAC} | ${XARGS} -0 \ ${REINPLACE_CMD} -e 's|/bin/bash|/usr/bin/env bash|' @${REINPLACE_CMD} -e '/^SUBDIR/s|examples||' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|/usr/bin|${LOCALBASE}/bin|' \ ${WRKSRC}/xcas.applications @${REINPLACE_CMD} -e 's|cp -f \*|$$(INSTALL_DATA) WARNINGS [a-z]*|' \ ${WRKSRC}/doc/el/*/Makefile.in @${REINPLACE_CMD} -e '/browser=/s|"mozilla"|"xdg-open"|' \ ${WRKSRC}/src/global.cc @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} \ ${REINPLACE_CMD} -e 's|$$(prefix)/share/giac/doc|$$(docdir)|' @${FIND} ${COCOALIB-GIAC} -name "Makefile" | ${XARGS} \ ${REINPLACE_CMD} -e \ 's|\($$(MAKE) \)-s |\1|; s|\([[:blank:]]\)@|\1|' @${REINPLACE_CMD} -e '/.SILENT:/s|^|#|' \ ${FLTKDEV-GIAC}/makeinclude.in ${SED} -i ".orig" -Ee 's|char \*last = style \+ strlen\(style\) - 2|char *last = pretty|' \ -Ee 's|\*style = 0|last = style + strnlen(style, ENDOFBUFFER) - 2; *style = 0|' \ ${FLTKDEV-GIAC}/src/fl_set_fonts_xft.cxx @${REINPLACE_CMD} -e 's/"filesystem system"/"filesystem "/' \ ${WRKDIR}/CoCoALib-${COCOA_LIB_VERSION}/configuration/boost-find-lib.sh pre-configure: ${REINPLACE_CMD} -e 's|^protected:|public:|' ${FLTKDEV-GIAC}/FL/Fl_Widget.H .for f in icas.cc path.h ${REINPLACE_CMD} -e 's|/usr/local/share/giac/doc|${DOCSDIR}|' \ ${WRKSRC}/src/${f} .endfor ${FIND} ${WRKSRC}/doc -type f | ${XARGS} ${GREP} -l 'share/giac/doc' | \ ${XARGS} ${REINPLACE_CMD} -e 's|/usr/local/share/giac/doc|${DOCSDIR}|' ${FIND} ${WRKSRC}/micropython-1.12 -type f | ${XARGS} \ ${GREP} -l "/usr/bin/env python3" | ${XARGS} \ ${REINPLACE_CMD} -e 's|/usr/bin/env python3|${PYTHON_CMD}|' ${FIND} ${WRKSRC}/micropython-1.12 -type f | ${XARGS} \ ${GREP} -l "python3 \|'python3'\|= python3\|^python3" | ${XARGS} \ ${REINPLACE_CMD} -e "s|python3 |${PYTHON_CMD} |;s|'python3'|'${PYTHON_CMD}'|" \ -e "s|= python3|= ${PYTHON_CMD}|;s|^python3|${PYTHON_CMD}|" @(cd ${COCOALIB-GIAC} && ${SETENV} ${CONFIGURE_ENV} ./configure \ --with-cxx="${CXX}") @(cd ${FLTKDEV-GIAC} && ${SETENV} ${CONFIGURE_ENV} ./configure \ --prefix=${FLTKDEV-GIAC} \ CXX="${CXX}" CXXFLAGS="${CXXFLAGS}") post-configure: # malloc.h on 13-CURRENT is missing mallinfo and compilation fails after it is discovered @${FIND} ${WRKSRC} -name config.h | ${XARGS} ${REINPLACE_CMD} -e 's|#define HAVE_MALLOC_H 1|/* #undef HAVE_MALLOC_H */|' pre-build: @cd ${COCOALIB-GIAC} && ${DO_MAKE_BUILD} \ CXXFLAGS_SPECIFIC="${CXXFLAGS}" library @cd ${FLTKDEV-GIAC}/src && ${DO_MAKE_BUILD} @cd ${WRKSRC}/src && ${CXX} -o mkjs mkjs.cc post-install-EXAMPLES-on: cd ${WRKSRC}/examples && ${COPYTREE_SHARE} "Exemples [a-z]*" \ ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/math/labplot/Makefile b/math/labplot/Makefile index ef014c403bb5..43f230f45851 100644 --- a/math/labplot/Makefile +++ b/math/labplot/Makefile @@ -1,89 +1,89 @@ PORTNAME= labplot DISTVERSION= 2.12.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= math kde MASTER_SITES= KDE/stable/${PORTNAME}/ DIST_SUBDIR= KDE/${PORTNAME} PATCH_SITES= https://invent.kde.org/education/labplot/-/commit/ PATCHFILES+= b0e233b6b20134177af40e8904b593b8dbc18ada.patch:-p1 # Fix configure with Qt 6.10 PATCHFILES+= c2db2ec28aa8958f7041ae5cd03ddae9f44e5aa3.patch:-p1 # Fix build with Qt 6.10 PATCHFILES+= c70e8e89249cd04c4e0e5f456257e4d0f026d8d0.patch:-p1 # Fix configure with Eigen 5.x MAINTAINER= kde@FreeBSD.org COMMENT= Data plotting and function analysis tool by KDE WWW= https://labplot.kde.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSES/GPL-2.0-or-later.txt LIB_DEPENDS= libQXlsxQt6.so:devel/qxlsx@qt6 \ libgsl.so:math/gsl \ liblz4.so:archivers/liblz4 \ libmarkdown.so:textproc/discount \ libpoppler.so:graphics/poppler \ libpoppler-qt6.so:graphics/poppler-qt6 \ libzstd.so:archivers/zstd USES= bison cmake compiler:c++17-lang desktop-file-utils eigen:3 \ gettext kde:6 pkgconfig qt:6 shared-mime-info tar:xz xorg USE_KDE= archive colorscheme completion config configwidgets coreaddons \ crash i18n iconthemes kio newstuff parts purpose service \ syntaxhighlighting textwidgets userfeedback widgetsaddons \ xmlgui \ doctools:build ecm:build USE_QT= base mqtt serialport svg USE_XORG= x11 xcb CXXFLAGS+= -Wno-error=undef PLIST_SUB= SHLIB_VER=2.12.0 OPTIONS_DEFINE= CANTOR FITS FFTW3 HDF5 LIBCERF MATLAB NETCDF ORCUS \ ORIGINLAB READSTAT OPTIONS_DEFAULT:= ${OPTIONS_DEFINE} CANTOR_DESC= KDE Cantor support CANTOR_LIB_DEPENDS= libcantorlibs.so:math/cantor \ libspectre.so:print/libspectre CANTOR_CMAKE_BOOL= ENABLE_CANTOR FFTW3_DESC= Speedier FFTs in the numerical and stats lib (NSL) FFTW3_LIB_DEPENDS= libfftw3.so:math/fftw3 FFTW3_CMAKE_BOOL= ENABLE_FFTW FITS_DESC= Flexible Image Transport System (FITS) data support FITS_LIB_DEPENDS= libcfitsio.so:astro/cfitsio FITS_CMAKE_BOOL= ENABLE_FITS HDF5_DESC= Reading and writing self-describing array data HDF5_LIB_DEPENDS= libhdf5.so:science/hdf5 HDF5_CMAKE_BOOL= ENABLE_HDF5 LIBCERF_DESC= Complex error functions support LIBCERF_LIB_DEPENDS= libcerf.so:math/libcerf LIBCERF_CMAKE_BOOL= ENABLE_LIBCERF MATLAB_DESC= MATLAB MAT file support MATLAB_LIB_DEPENDS= libmatio.so:math/matio MATLAB_CMAKE_BOOL= ENABLE_MATIO NETCDF_DESC= Interfaces for array-oriented data access NETCDF_LIB_DEPENDS= libnetcdf.so:science/netcdf NETCDF_CMAKE_BOOL= ENABLE_NETCDF ORCUS_DESC= Spreadsheet processing filters (via liborcus) ORCUS_LIB_DEPENDS= libixion-0.20.so:textproc/libixion \ liborcus-0.20.so:devel/liborcus ORCUS_CMAKE_BOOL= ENABLE_ORCUS ORIGINLAB_DESC= OriginLab project files support ORIGINLAB_LIB_DEPENDS= liborigin.so:math/liborigin ORIGINLAB_CMAKE_BOOL= ENABLE_LIBORIGIN READSTAT_DESC= SAS, SPSS, Stata data support READSTAT_LIB_DEPENDS= libreadstat.so:math/readstat READSTAT_USES= iconv READSTAT_CMAKE_BOOL= ENABLE_READSTAT .include diff --git a/math/lib2geom/Makefile b/math/lib2geom/Makefile index cdce54bcb454..91aa7948f366 100644 --- a/math/lib2geom/Makefile +++ b/math/lib2geom/Makefile @@ -1,43 +1,43 @@ PORTNAME= lib2geom DISTVERSION= 1.4 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= math gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Easy to use 2D geometry library in C++ WWW= https://gitlab.com/inkscape/lib2geom LICENSE= LGPL21 MPL11 LICENSE_COMB= dual LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING-LGPL-2.1 LICENSE_FILE_MPL11= ${WRKSRC}/COPYING-MPL-1.1 BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cairo>0:graphics/py-cairo@${PY_FLAVOR} \ ragel:devel/ragel \ googletest>0:devel/googletest LIB_DEPENDS= libdouble-conversion.so:devel/double-conversion \ libgsl.so:math/gsl \ libboost_thread.so:devel/boost-libs RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cairo>0:graphics/py-cairo@${PY_FLAVOR} TEST_DEPENDS= googletest>0:devel/googletest \ ragel:devel/ragel USES= compiler:c++20-lang cmake:testing gettext-runtime gnome localbase:ldflags \ pkgconfig python USE_GNOME= cairo glib20 gtk30 USE_PYTHON= cython cython_test USE_GITLAB= yes GL_ACCOUNT= inkscape CMAKE_ON= 2GEOM_BUILD_SHARED \ 2GEOM_TESTING PLIST_SUB= VERSION=${PORTVERSION}.0 OPTIONS_DEFINE= GPL GPL_DESC= Build with GPL-licensed code GPL_CMAKE_BOOL= 2GEOM_USE_GPL_CODE .include diff --git a/math/mathgl/Makefile b/math/mathgl/Makefile index 9aa2dd5a11c0..0e3476a820ca 100644 --- a/math/mathgl/Makefile +++ b/math/mathgl/Makefile @@ -1,93 +1,93 @@ PORTNAME= mathgl DISTVERSION= 2.5 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= math graphics MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION}/ MAINTAINER= yuri@FreeBSD.org COMMENT= Library for high-quality scientific data visualization WWW= https://mathgl.sourceforge.net LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_armv7= error: unknown FP unit 'sse', see https://sourceforge.net/p/mathgl/bugs/49/ LIB_DEPENDS= libgif.so:graphics/giflib \ libgsl.so:math/gsl \ libhdf5.so:science/hdf5 \ libhpdf.so:print/libharu \ libltdl.so:devel/libltdl \ libpng.so:graphics/png \ libsz.so:science/libaec USES= cmake compiler:c++11-lang dos2unix gettext-runtime gl jpeg xorg DOS2UNIX_GLOB= *.cpp *.h USE_GL= gl glu glut USE_LDCONFIG= yes USE_XORG= xi xmu .for v in double gif glut gsl hdf5 jpeg ltdl mgl2 opengl pdf png zlib CMAKE_ARGS+= -Denable-${v}=ON .endfor .for v in doc-info doc-html lgpl mgltex CMAKE_ARGS+= -Denable-${v}=OFF .endfor CXXFLAGS+= --std=c++14 PLIST_SUB= SHLIB_VER=7.6.0 OPTIONS_DEFINE= PYTHON MPI OPTIONS_DEFAULT= QT5 OPTIONS_GROUP= GRAPHICS OPTIONS_GROUP_GRAPHICS= QT5 FLTK WXGTK OPTIONS_RADIO= THREADS OPTIONS_RADIO_THREADS= PTHREADS OPENMP OPTIONS_SUB= yes FLTK_DESC= Enable fltk widget GRAPHICS_DESC= Graphics support OPENMP_DESC= Parallel processing support via OpenMP (broken, cmake bug) PTHREADS_DESC= Enable POSIX threads support (broken, fix pending release) PYTHON_CMAKE_BOOL= enable-python PYTHON_BUILD_DEPENDS= swig:devel/swig \ ${PYNUMPY} PYTHON_RUN_DEPENDS= ${PYNUMPY} PYTHON_BROKEN= Python option needs to be fixed: lgpl needs to be enabled for it MPI_CMAKE_BOOL= enable-mpi MPI_LIB_DEPENDS= libmpi.so:net/openmpi QT5_CMAKE_BOOL= enable-qt5 QT5_USE= QT=core,gui,opengl,printsupport,widgets,buildtools:build,qmake:build QT5_USES= desktop-file-utils qt:5 shared-mime-info FLTK_CMAKE_BOOL= enable-fltk FLTK_LIB_DEPENDS= libfltk.so:x11-toolkits/fltk FLTK_USE= XORG=ice,sm,x11,xext WXGTK_CMAKE_BOOL= wx WXGTK_USE= WX=3.0+ OPENMP_CMAKE_BOOL= enable-openmp PTHREADS_CMAKE_BOOL= enable-pthread .include .if ! ${PORT_OPTIONS:MFLTK} && ! ${PORT_OPTIONS:MQT5} PLIST_SUB+= FLTK_OR_QT5="@comment " .else PLIST_SUB+= FLTK_OR_QT5="" .endif .if ${PORT_OPTIONS:MFLTK} && ${PORT_OPTIONS:MQT5} PLIST_SUB+= FLTK_AND_QT5="" .else PLIST_SUB+= FLTK_AND_QT5="@comment " .endif .include diff --git a/math/mcsim/Makefile b/math/mcsim/Makefile index 84573dbdaff0..5569f3c6330a 100644 --- a/math/mcsim/Makefile +++ b/math/mcsim/Makefile @@ -1,45 +1,45 @@ PORTNAME= mcsim PORTVERSION= 6.2.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= math MASTER_SITES= GNU MAINTAINER= ale_sagra@hotmail.com COMMENT= Monte Carlo stochastic simulations and Bayesian inference WWW= https://www.gnu.org/software/mcsim/ LICENSE= GPLv3+ BUILD_DEPENDS= indexinfo>=0.3.0:print/indexinfo USES= libtool shebangfix USE_LDCONFIG= yes INFO= mcsim SHEBANG_FILES= sim/makemcsim.in sim/makemcsims.in sim/makemcsimd.in sim/makemcsimp.in INSTALL_TARGET= install-strip GNU_CONFIGURE= yes OPTIONS_SUB= yes CONFIGURE_ARGS= --prefix=${PREFIX} OPTIONS_DEFINE= GSL SUNDIALS GSL_DESC= GNU Scientific Library support (recommended) SUNDIALS_DESC= Sundial's Cvodes integrator OPTIONS_DEFAULT=GSL .include .if ${PORT_OPTIONS:MSUNDIALS} BUILD_DEPENDS+= sundials>=3.0.0:math/sundials .endif .if ${PORT_OPTIONS:MGSL} BUILD_DEPENDS+= gsl>=2.5:math/gsl .endif .include diff --git a/math/ocamlgsl/Makefile b/math/ocamlgsl/Makefile index 75f259b98883..484aa7d28c49 100644 --- a/math/ocamlgsl/Makefile +++ b/math/ocamlgsl/Makefile @@ -1,54 +1,55 @@ PORTNAME= ocaml-gsl DISTVERSION= 1.25.1 +PORTREVISION= 1 CATEGORIES= math MAINTAINER= ports@FreeBSD.org COMMENT= Interface to GSL for the Objective Caml language WWW= https://mmottl.github.io/gsl-ocaml LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.md NOT_FOR_ARCHS= armv6 NOT_FOR_ARCHS_REASON= architectures with double-word alignment for doubles are not supported BUILD_DEPENDS= ocaml-base>=0:devel/ocaml-base \ ocaml-stdio>=0:devel/ocaml-stdio LIB_DEPENDS= libgsl.so:math/gsl USES= blaslapack:openblas ocaml:dune,ldconfig pkgconfig OCAML_LDLIBS= gsl OCAML_PACKAGES= gsl USE_GITHUB= yes GH_ACCOUNT= mmottl GH_PROJECT= gsl-ocaml MAKE_ENV= GSL_CBLAS_LIB="${BLASLIB}" DOCSDIR= ${OCAML_DOCSDIR}/gsl EXAMPLESDIR= ${OCAML_EXAMPLESDIR}/gsl PORTDOCS= CHANGES.md LICENSE.md README.md PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES post-patch: @${REINPLACE_CMD} \ -e "s/(name gsl)/&\n(version ${PORTVERSION})/" \ ${WRKSRC}/dune-project post-install: @${STRIP_CMD} \ ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/gsl/dllgsl_stubs.so \ ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/gsl/gsl.cmxs # cleanup from previous OCAML_LDLIBS @${ECHO_CMD} @postexec ${SED} -i "''" -e \ "'/^${PREFIX:S#/#\/#g}\/${OCAML_SITELIBDIR:S#/#\/#g}\/ocaml-gsl$$/d'" \ %D/${OCAML_LDCONF} >> ${TMPPLIST} post-install-EXAMPLES-on: (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . \ ${STAGEDIR}${EXAMPLESDIR}) .include diff --git a/math/octave-forge-gsl/Makefile b/math/octave-forge-gsl/Makefile index 1ca752166504..facd5d05559a 100644 --- a/math/octave-forge-gsl/Makefile +++ b/math/octave-forge-gsl/Makefile @@ -1,23 +1,23 @@ PORTNAME= octave-forge-gsl PORTVERSION= 2.1.1 -PORTREVISION= 16 +PORTREVISION= 17 CATEGORIES= math MASTER_SITES= SF/octave/Octave%20Forge%20Packages/Individual%20Package%20Releases DISTNAME= ${OCTAVE_PKGNAME}-${DISTVERSIONFULL} MAINTAINER= stephen@FreeBSD.org COMMENT= Octave-forge package ${OCTAVE_PKGNAME} WWW= https://packages.octave.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKDIR}/${OCTAVE_SRC}/COPYING LIB_DEPENDS= libgsl.so:math/gsl USES= octave LDFLAGS+= -L${PREFIX}/lib GNU_CONFIGURE= yes .include diff --git a/math/oleo/Makefile b/math/oleo/Makefile index 455b3e003efa..9c714af03c67 100644 --- a/math/oleo/Makefile +++ b/math/oleo/Makefile @@ -1,69 +1,69 @@ PORTNAME= oleo PORTVERSION= 1.99.16 -PORTREVISION= 15 +PORTREVISION= 16 CATEGORIES= math MASTER_SITES= GNU MAINTAINER= bofh@FreeBSD.org COMMENT= GNU spreadsheet for X11 and terminals WWW= https://www.gnu.org/software/oleo/oleo.html LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING NOT_FOR_ARCHS= i386 NOT_FOR_ARCHS_REASON= ld: error: duplicate symbol: yydebug LIB_DEPENDS= libgsl.so:math/gsl USES= bison:alias localbase ncurses perl5 USE_PERL5= build GNU_CONFIGURE= yes CONFIGURE_ARGS= --without-xlt --without-sciplot # With -O2 configure hangs at "checking for working mktime..." CONFIGURE_ENV= CFLAGS="${CFLAGS:C/-O2//} -fwrapv" BINARY_ALIAS= makeinfo=false # disable detecting local makeinfo INFO= oleo OPTIONS_DEFINE= CUPS MOTIF NLS OPTIONS_SUB= yes CUPS_LIB_DEPENDS= libcups.so:print/cups MOTIF_LIB_DEPENDS= libplot.so:graphics/plotutils \ libXbae.so:x11-toolkits/xbae \ libXmHTML.so:x11-toolkits/xmhtml \ libpng.so:graphics/png \ libXft.so:x11-fonts/libXft \ libfontconfig.so:x11-fonts/fontconfig MOTIF_USES= jpeg motif xorg MOTIF_USE= XORG=ice,sm,x11,xext,xpm,xt MOTIF_CONFIGURE_WITH= motif x MOTIF_LIBS= -lXft -lfontconfig NLS_USES= gettext NLS_USES_OFF= gettext-tools NLS_CONFIGURE_ENABLE= nls NLS_LIBS= -lintl .include .if ${OPSYS} == FreeBSD CPPFLAGS+= -Wno-error=int-conversion .endif pre-configure: @${GREP} -lR "malloc\.h" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \ 's|malloc\.h|stdlib.h|g' .for pof in en fr nl @${REINPLACE_CMD} -e "s|CHARSET|ISO-8859-1|;s|ENCODING|8bit|" \ ${WRKSRC}/po/${pof}.po .endfor @${REINPLACE_CMD} -e "s|am: install-docDATA|am:|" ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e "s|install-info-am install-htmlDATA|install-info-am|" \ ${WRKSRC}/doc/Makefile.in ${REINPLACE_CMD} -e "s|gslblas|gslcblas|" ${WRKSRC}/configure .include diff --git a/math/p5-PDL-GSL/Makefile b/math/p5-PDL-GSL/Makefile index 221170c7456e..d9c9c0851dd3 100644 --- a/math/p5-PDL-GSL/Makefile +++ b/math/p5-PDL-GSL/Makefile @@ -1,34 +1,35 @@ PORTNAME= PDL-GSL PORTVERSION= 2.101 +PORTREVISION= 1 CATEGORIES= math perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= sunpoet@FreeBSD.org COMMENT= PDL interface to the GNU Scientific Library WWW= https://metacpan.org/dist/PDL-GSL LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} LIB_DEPENDS= libgsl.so:math/gsl RUN_DEPENDS= p5-PDL>=2.096:math/p5-PDL USES= perl5 USE_PERL5= configure MAKE_JOBS_UNSAFE= yes post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/PDL/GSL/CDF/CDF.so ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/PDL/GSL/DIFF/DIFF.so ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/PDL/GSL/INTEG/INTEG.so ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/PDL/GSL/INTERP/INTERP.so ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/PDL/GSL/LINALG/LINALG.so ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/PDL/GSL/MROOT/MROOT.so ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/PDL/GSL/RNG/RNG.so ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/PDL/GSL/SF/SF.so ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/PDL/Stats/Distr/Distr.so .include diff --git a/math/py-cvxopt/Makefile b/math/py-cvxopt/Makefile index b44d5da3b146..f3fe377128dd 100644 --- a/math/py-cvxopt/Makefile +++ b/math/py-cvxopt/Makefile @@ -1,60 +1,60 @@ PORTNAME= cvxopt DISTVERSION= 1.3.2 -PORTREVISION= 12 +PORTREVISION= 13 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/math/py-pygsl/Makefile b/math/py-pygsl/Makefile index e5c8f7af05ee..c083a60a99a9 100644 --- a/math/py-pygsl/Makefile +++ b/math/py-pygsl/Makefile @@ -1,26 +1,27 @@ PORTNAME= pygsl PORTVERSION= 2.6.4 +PORTREVISION= 1 CATEGORIES= math python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Python interface to GNU Scientific Library WWW= https://github.com/pygsl/pygsl LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}meson-python>=0.17.1:devel/meson-python@${PY_FLAVOR} \ swig:devel/swig LIB_DEPENDS= libgsl.so:math/gsl RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} USES= cmake:indirect python pkgconfig USE_PYTHON= autoplist concurrent pep517 post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/math/py-pygslodeiv2/Makefile b/math/py-pygslodeiv2/Makefile index 341cd8eebcd4..2fa50e9f88ae 100644 --- a/math/py-pygslodeiv2/Makefile +++ b/math/py-pygslodeiv2/Makefile @@ -1,25 +1,25 @@ PORTNAME= pygslodeiv2 DISTVERSION= 0.9.4 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= math python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Python binding for odeiv2 in GNU Scientific Library (GSL) WWW= https://github.com/bjodah/pygslodeiv2 LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYNUMPY} LIB_DEPENDS= libgsl.so:math/gsl RUN_DEPENDS= ${PYNUMPY} USES= compiler:c++11-lang localbase python USE_PYTHON= autoplist cython0 distutils pytest pre-test: @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} build_ext --inplace .include diff --git a/math/py-pyodesys/Makefile b/math/py-pyodesys/Makefile index 2911d64f1531..750fd72dc8a1 100644 --- a/math/py-pyodesys/Makefile +++ b/math/py-pyodesys/Makefile @@ -1,44 +1,44 @@ PORTNAME= pyodesys DISTVERSION= 0.14.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Straightforward numerical integration of ODE systems from Python WWW= https://github.com/bjodah/pyodesys LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}appdirs>0:devel/py-appdirs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>=2.2.5:math/py-matplotlib@${PY_FLAVOR} \ ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}notebook>=5.7.8:www/py-notebook@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scipy>=1.2.3:science/py-scipy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sym>=0.3.7:math/py-sym@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sympy>=1.5.1:math/py-sympy@${PY_FLAVOR} \ ${EXTRA_RUN_DEPENDS} EXTRAS_RUN_DEPENDS= \ ${PYTHON_PKGNAMEPREFIX}appdirs>0:devel/py-appdirs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pycodeexport>=0.1.2:devel/py-pycodeexport@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pycompilation>=0.4.9:devel/py-pycompilation@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pygslodeiv2>=0.9.1:math/py-pygslodeiv2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyodeint>=0.10.1:math/py-pyodeint@${PY_FLAVOR} # TODO pycvodes>=0.13.1 - doesn't build with sundials TEST_DEPENDS= ${LOCALBASE}/include/boost/numeric/ublas/matrix.hpp:devel/boost-libs \ ${LOCALBASE}/include/gsl/gsl_errno.h:math/gsl USES= display:test localbase:ldflags python shebangfix USE_PYTHON= distutils autoplist pytest # tests can't run because of missing optional deps like pycvodes which doesn't build with latest sundials SHEBANG_GLOB= *.py TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} NO_ARCH= yes BINARY_ALIAS= python3=${PYTHON_CMD} .include diff --git a/math/scipoptsuite/Makefile b/math/scipoptsuite/Makefile index 734290c6f239..1db2fe88602c 100644 --- a/math/scipoptsuite/Makefile +++ b/math/scipoptsuite/Makefile @@ -1,31 +1,32 @@ PORTNAME= scipoptsuite DISTVERSION= 10.0.0 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= https://scipopt.org/download/release/ MAINTAINER= yuri@FreeBSD.org COMMENT= SCIP Optimization Suite WWW= https://scipopt.org/ LICENSE= GPLv3 BUILD_DEPENDS= ${LOCALBASE}/include/boost/variant.hpp:devel/boost-libs LIB_DEPENDS= libboost_iostreams.so:devel/boost-libs \ libcliquer.so:math/cliquer \ libgmp.so:math/gmp \ libgsl.so:math/gsl \ libipopt.so:math/ipopt \ libjansson.so:devel/jansson \ libmpfr.so:math/mpfr \ libtbb.so:devel/onetbb USES= bison cmake compiler:c++14-lang mpi:openmpi pkgconfig readline tar:tgz USE_LDCONFIG= yes CMAKE_ON= BUILD_SHARED_LIBS LDFLAGS+= -lpthread # fix build after it began breaking on 2025-11-03 for unclear reason INSTALL_CONFLICTS= SCIP .include diff --git a/misc/visp/Makefile b/misc/visp/Makefile index d37083f6d581..e169f4fe1278 100644 --- a/misc/visp/Makefile +++ b/misc/visp/Makefile @@ -1,64 +1,64 @@ PORTNAME= visp DISTVERSION= 3.6.0 -PORTREVISION= 14 +PORTREVISION= 15 CATEGORIES= misc MASTER_SITES= https://visp-doc.inria.fr/download/releases/ MAINTAINER= yuri@FreeBSD.org COMMENT= Modular library for visual tracking and visual servoing WWW= https://visp.inria.fr/ \ https://github.com/lagadic/visp LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= doxygen:devel/doxygen \ latex:print/tex-formats \ nlohmann-json>0:devel/nlohmann-json LIB_DEPENDS= libblas.so:math/blas \ libboost_thread.so:devel/boost-libs \ libdmtx.so:graphics/libdmtx \ libflann.so:math/flann \ libgsl.so:math/gsl \ liblapack.so:math/lapack \ libopenblas.so:math/openblas \ libopencv_core.so:graphics/opencv \ libopencv_videoio.so:graphics/opencv \ libpcap.so:net/libpcap \ libpng.so:graphics/png \ libv4l2.so:multimedia/libv4l \ libdc1394.so:multimedia/libdc1394 USES= cmake compiler:c++14-lang eigen:3 fortran gl gnome jpeg python:build qt:5 xorg zip USE_QT= opengl widgets USE_GNOME= libxml2 USE_XORG= ice sm x11 xext USE_GL= gl glu opengl USE_LDCONFIG= yes CMAKE_OFF= WITH_QBDEVICE BUILD_EXAMPLES BUILD_TUTORIALS BUILD_TESTS BUILD_DEMOS CXXFLAGS+= -I${LOCALBASE}/include/vtk-${VTK_VER} # https://github.com/lagadic/visp/issues/1707 OPTIONS_DEFINE= COIN OGRE PCL ZBAR OPTIONS_DEFAULT= COIN OGRE PCL ZBAR COIN_DESC= Use Coin3D for simulation or augmented reality capabilities COIN_CMAKE_BOOL= USE_COIN3D COIN_LIB_DEPENDS= libCoin.so:graphics/Coin OGRE_DESC= Include Ogre support for 3D Rendering OGRE_CMAKE_BOOL= USE_OGRE OGRE_LIB_DEPENDS= libOgreMain.so:graphics/ogre3d19 PCL_DESC= Include Point Cloud Library support PCL_CMAKE_BOOL= USE_PCL PCL_LIB_DEPENDS= libpcl_common.so:graphics/pcl-pointclouds \ libvtkCommonCore-${VTK_VER}.so:math/vtk${VTK_VER:R} # vtk9 is incurred by pcl-pointclouds ZBAR_DESC= Use ZBAR to read bar codes and QR codes ZBAR_CMAKE_BOOL= USE_ZBAR ZBAR_LIB_DEPENDS= libzbar.so:graphics/zbar .include <../../math/vtk9/Makefile.version> .include diff --git a/multimedia/guvcview/Makefile b/multimedia/guvcview/Makefile index 95fe1952e6d4..80248e7e9779 100644 --- a/multimedia/guvcview/Makefile +++ b/multimedia/guvcview/Makefile @@ -1,44 +1,44 @@ PORTNAME= guvcview DISTVERSION= 2.2.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= multimedia MASTER_SITES= SOURCEFORGE/guvcview/source DISTNAME= ${PORTNAME}-src-${DISTVERSION} MAINTAINER= walker.thompson@urz.uni-heidelberg.de COMMENT= Simple v4l2 full-featured video grabber WWW= https://guvcview.sourceforge.net/ LICENSE= GPLv2 BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev.h:multimedia/v4l_compat \ vulkan-headers>0:graphics/vulkan-headers LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ libgsl.so:math/gsl \ libpng.so:graphics/png \ libportaudio.so:audio/portaudio \ libudev.so:devel/libudev-devd \ libv4l2.so:multimedia/libv4l USES= cmake gl gettext-runtime gettext-tools localbase:ldflags ninja \ pkgconfig qt:6 sdl tar:bz2 USE_GL= opengl USE_QT= base USE_SDL= sdl2 CMAKE_ON= USE_QT6 USE_SDL2 CMAKE_OFF= USE_GTK3 USE_SFML CFLAGS+= -DNAME_MAX=MAXNAMLEN LDFLAGS+= -lintl OPTIONS_DEFINE= PULSEAUDIO PULSEAUDIO_BROKEN= Doesn't show up as an audio backend at runtime PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_BOOL= USE_PULSE post-patch: ${REINPLACE_CMD} -e 's/FF_/AV_/g' \ ${WRKDIR}/guvcview-src-2.2.1/gview_encoder/audio_codecs.c .include diff --git a/multimedia/opentoonz/Makefile b/multimedia/opentoonz/Makefile index a05442018393..c7e160b235b3 100644 --- a/multimedia/opentoonz/Makefile +++ b/multimedia/opentoonz/Makefile @@ -1,66 +1,66 @@ PORTNAME= opentoonz DISTVERSIONPREFIX= v DISTVERSION= 1.5.0 -PORTREVISION= 11 +PORTREVISION= 12 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/afni/Makefile b/science/afni/Makefile index 21f7894947ec..68c1ca08315d 100644 --- a/science/afni/Makefile +++ b/science/afni/Makefile @@ -1,163 +1,164 @@ PORTNAME= afni DISTVERSIONPREFIX= AFNI_ DISTVERSION= 26.0.07 +PORTREVISION= 1 CATEGORIES= science biology graphics perl5 python MAINTAINER= fernape@FreeBSD.org COMMENT= Advanced Functional Neuro Imaging WWW= https://afni.nimh.nih.gov/afni/ LICENSE= GPLv2 BROKEN_aarch64= fails to build: statement requires expression of scalar type \ ('va_list' (aka '__builtin_va_list') invalid) CRAN_DEPENDS= R-cran-lme4>0:math/R-cran-lme4 \ R-cran-snow>0:science/R-cran-snow \ R-cran-psych>0:math/R-cran-psych BUILD_DEPENDS= gm4:devel/m4 \ R:math/R \ ${CRAN_DEPENDS} LIB_DEPENDS= libexpat.so:textproc/expat2 \ libXm.so:x11-toolkits/open-motif \ libf2c.so:lang/f2c \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgsl.so:math/gsl \ libicudata.so:devel/icu \ libnetcdff.so:science/netcdf-fortran \ libnetpbm.so:graphics/netpbm \ libpcre2-8.so:devel/pcre2 \ libpng16.so:graphics/png # Remote execution of suma. Also needed for glxinfo. RUN_DEPENDS= endian:sysutils/endian \ ffmpeg:multimedia/ffmpeg \ qhull:math/qhull \ R:math/R \ ${CRAN_DEPENDS} USES= gettext gl gmake gnome iconv jpeg:run motif readline USES+= perl5 python shebangfix tar:xz xorg USE_GITHUB= yes USE_GL= gl glu USE_GNOME= glib20 libxml2 USE_XORG= ice sm x11 xau xcb xdmcp xext xft xi xmu xrender xt SHEBANG_FILES= scripts_install/* \ python_scripts/afnipy/*.py \ python_scripts/scripts/*.py \ jzosky/*.py \ jzosky/lib_RetroTS/*.py \ discoraj/ClusterExplorer/*.py \ pkundu/*.py \ pkundu/meica.libs/*.py \ pkundu/meica.libs/*/*.py \ pkundu/meica.libs/*/*/*.py MAKE_ENV= CC="${CC}" R_SHARE_DIR=${LOCALBASE}/lib/R/share MAKE_JOBS_UNSAFE=yes ALL_TARGET= vastness suma CFLAGS+= -fcommon -Wno-incompatible-function-pointer-types ########################################################################### # Install parameters SUB_FILES= pkg-message afni.cshrc afni.profile INSTALL_WRKSRC= ${WRKSRC}/BSD WRKSRC_SUBDIR= src OPTIONS_DEFINE= DOCS INSTALL_TMP= ${INSTALL_WRKSRC}-temp PRESTAGE= ${WRKSRC}/prestage .include CONFLICTS= im \ nifticlib \ open-usp-tukubai X11R6_FILES= coxplot/Makefile \ coxplot/Makefile.f2c PKG_COMPRESSION_LEVEL= 6 post-extract: .for f in ${X11R6_FILES} @${REINPLACE_CMD} \ -e 's|/usr/X11R6|$${LOCALBASE}|g' ${WRKSRC}/${f} .endfor @${REINPLACE_CMD} \ -E 's|AFNI_[0-9_]+|${PORTVERSION}|g' ${WRKSRC}/AFNI_label.h @${CP} ${FILESDIR}/Makefile ${WRKSRC} @${RM} ${WRKSRC}/3DEdge/src/Makefile.orig pre-configure: @${REINPLACE_CMD} -e "s|-lglib|-lglib-2.0|g" \ ${WRKSRC}/SUMA/SUMA_Makefile @${REINPLACE_CMD} \ -e 's|os\.path\.dirname(os\.path\.abspath(os\.path\.expanduser(sys\.argv\[0\])))|"${DATADIR}"|g' \ ${WRKSRC}/pkundu/meica.py do-install: # AFNI install just dumps everything into one flat directory # ${WRKSRC}/BSD == ${INSTALL_WRKSRC}. # Preserve ${INSTALL_WRKSRC} and make a sacrificial temp copy # to be pruned and rearranged for easy staging @${RM} -r ${INSTALL_TMP} @${CP} -R ${INSTALL_WRKSRC} ${INSTALL_TMP} # Clean up and organize files into ${PRESTAGE}, destroying # ${INSTALL_TMP} in the process @${RM} -rf ${PRESTAGE} @${MKDIR} ${PRESTAGE}/bin \ ${PRESTAGE}/scripts \ ${PRESTAGE}/lib \ ${PRESTAGE}/include \ ${PRESTAGE}/trash \ ${PRESTAGE}/doc \ ${PRESTAGE}/share \ ${PRESTAGE}/pylib @${RM} ${INSTALL_TMP}/libf2c.a @${MV} ${INSTALL_TMP}/meica.libs \ ${INSTALL_TMP}/shiny \ ${INSTALL_TMP}/lib_RetroTS \ ${INSTALL_TMP}/funstuff \ ${INSTALL_TMP}/AFNI.*rc \ ${INSTALL_TMP}/afnigui* \ ${PRESTAGE}/share @${MV} ${INSTALL_TMP}/*.a \ ${INSTALL_TMP}/*.so \ ${PRESTAGE}/lib @${MV} ${INSTALL_TMP}/*.h ${PRESTAGE}/include @${MV} ${INSTALL_TMP}/afnipy ${PRESTAGE}/pylib @${CP} ${WRKDIR}/afni-AFNI_${PORTVERSION}/doc/README/* ${PRESTAGE}/doc @for binary in `${FILE} ${INSTALL_TMP}/* | fgrep 'ELF' | ${AWK} -F ':' ' { print $$1 }'` ; do \ ${MV} $${binary} ${PRESTAGE}/bin ; \ done @${MV} ${INSTALL_TMP}/* ${PRESTAGE}/scripts # Install to STAGEDIR using proper ports tools @${MKDIR} \ ${STAGEDIR}${DATADIR} \ ${STAGEDIR}${PREFIX}/lib/afni \ ${STAGEDIR}${PREFIX}/include/afni \ ${STAGEDIR}${DOCSDIR} \ ${STAGEDIR}${PREFIX}/etc/mri ${INSTALL_PROGRAM} ${PRESTAGE}/bin/* ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${PRESTAGE}/scripts/* ${STAGEDIR}${PREFIX}/bin (cd ${PRESTAGE}/pylib && \ ${COPYTREE_SHARE} . ${STAGEDIR}${PYTHON_SITELIBDIR}) ${INSTALL_DATA} ${PRESTAGE}/lib/* ${STAGEDIR}${PREFIX}/lib/afni ${INSTALL_DATA} ${PRESTAGE}/include/* ${STAGEDIR}${PREFIX}/include/afni (cd ${PRESTAGE}/share && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) ${INSTALL_SCRIPT} ${WRKDIR}/afni.cshrc ${WRKDIR}/afni.profile \ ${STAGEDIR}${PREFIX}/etc/mri do-install-DOCS-on: ${INSTALL_DATA} ${PRESTAGE}/doc/* ${STAGEDIR}${DOCSDIR} .include diff --git a/science/antioch/Makefile b/science/antioch/Makefile index 70c2f0a8f240..a7b927e26e77 100644 --- a/science/antioch/Makefile +++ b/science/antioch/Makefile @@ -1,37 +1,37 @@ PORTNAME= antioch DISTVERSIONPREFIX= v DISTVERSION= 0.4.0-156 DISTVERSIONSUFFIX= -g90ffa43 -PORTREVISION= 14 +PORTREVISION= 15 CATEGORIES= science MAINTAINER= yuri@FreeBSD.org COMMENT= C++ Chemical Kinetics, Thermodynaimics, and Transport Library WWW= https://libantioch.github.io/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/include/metaphysicl/metaphysicl_version.h:science/metaphysicl \ ${LOCALBASE}/include/viennacl/vector.hpp:math/viennacl LIB_DEPENDS= libgsl.so:math/gsl \ libOpenCL.so:devel/ocl-icd USES= autoreconf compiler:c++11-lang eigen:3 gmake libtool localbase USE_CXXSTD= c++11 USE_GITHUB= yes GH_ACCOUNT= libantioch USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-static \ --enable-eigen --with-eigen-include=${LOCALBASE}/include/eigen3 \ --enable-opencl \ --with-metaphysicl=${LOCALBASE} \ --with-viennacl=${LOCALBASE}/include \ --with-gsl=${LOCALBASE} post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libantioch.so.0.0.0 .include diff --git a/science/dakota/Makefile b/science/dakota/Makefile index 4eaabc3a1754..21aebc32f08d 100644 --- a/science/dakota/Makefile +++ b/science/dakota/Makefile @@ -1,105 +1,105 @@ PORTNAME= dakota DISTVERSION= 6.22.0 -PORTREVISION= 1 +PORTREVISION= 2 PORTEVISION= 1 CATEGORIES= science MASTER_SITES= https://github.com/snl-dakota/dakota/releases/download/v${DISTVERSION}/ DISTNAME= ${PORTNAME}-${DISTVERSION}-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 \ https://github.com/snl-dakota/dakota LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= nanoflann>0:math/nanoflann LIB_DEPENDS= libblas.so:math/blas \ libboost_program_options.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 \ libkokkoscore.so:devel/kokkos \ 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 CXX= ${FILESDIR}/fake-c++.sh # change to c++14 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 MAKE_ARGS= VERBOSE=1 post-extract: @${FIND} ${WRKSRC} -name "*.orig" -delete @${ECHO} ${DISTVERSION} > ${WRKSRC}/VERSION # expected by the 'install' target post-patch: @${REINPLACE_CMD} -e 's| Boost::system||' \ ${WRKSRC}/cmake/DakotaFindSystemTPLs.cmake \ ${WRKSRC}/src/surrogates/unit/CMakeLists.txt 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, see https://github.com/snl-dakota/dakota/issues/182 @cd ${STAGEDIR}${PREFIX} && \ ${RM} -r include/eigen3 share/eigen3 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/dynare/Makefile b/science/dynare/Makefile index 8f0f86eff8ab..5ea4a77940c6 100644 --- a/science/dynare/Makefile +++ b/science/dynare/Makefile @@ -1,59 +1,59 @@ PORTNAME= dynare DISTVERSION= 5.4 -PORTREVISION= 15 +PORTREVISION= 16 CATEGORIES= science # economics MASTER_SITES= https://www.dynare.org/release/source/ MAINTAINER= yuri@FreeBSD.org COMMENT= Software platform for handling a wide class of economic models WWW= https://www.dynare.org/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_aarch64= cannot open module file 'ieee_arithmetic.mod' for reading at (1): No such file or directory .if !exists(/usr/include/omp.h) BROKEN= requires OpenMP support that is missing on this architecture .endif BUILD_DEPENDS= ${LOCALBASE}/include/boost/tokenizer.hpp:devel/boost-libs LIB_DEPENDS= libhdf5.so:science/hdf5 \ libmatio.so:math/matio \ libopenblas.so:math/openblas \ libsz.so:science/libaec RUN_DEPENDS= epstool:graphics/epstool \ gnuplot:math/gnuplot \ pstoedit:graphics/pstoedit \ xfig:graphics/xfig # README says that these executables are required for the test suite USES= bison compiler:c++17-lang fortran gmake localbase:ldflags tar:xz tex USE_TEX= pdftex GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-matlab \ --disable-doc FCFLAGS+= -fPIC # required because configure tests with -shared SUB_FILES= pkg-message OPTIONS_DEFINE= OCTAVE OPTIONS_DEFAULT= OCTAVE OPTIONS_SUB= yes OCTAVE_DESC= Integrate with Octave (main way to use Dynare) OCTAVE_CONFIGURE_ENABLE= octave OCTAVE_CONFIGURE_ON= --disable-mex-kalman-steady-state # Kalman Steady State MEX file for Octave - requires the non-free library slicot-5.0 OCTAVE_BUILD_DEPENDS= octave:math/octave OCTAVE_LIB_DEPENDS= libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float \ libgsl.so:math/gsl \ libumfpack.so:math/suitesparse-umfpack OCTAVE_RUN_DEPENDS= octave:math/octave \ octave-forge-statistics>0:math/octave-forge-statistics post-install: # remove empty directories, see https://git.dynare.org/Dynare/dynare/-/issues/1835 @${FIND} ${STAGEDIR}${PREFIX} -type d -empty -delete .include diff --git a/science/erkale/Makefile b/science/erkale/Makefile index 4507ad3a0e26..c99f52081788 100644 --- a/science/erkale/Makefile +++ b/science/erkale/Makefile @@ -1,73 +1,73 @@ PORTNAME= erkale DISTVERSION= g20220405 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= science MAINTAINER= yuri@FreeBSD.org COMMENT= Quantum chemistry program to solve the electronic structure of atoms WWW= https://github.com/susilehtola/erkale LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_i386= liberkale_omp.so.0.1.0: undefined reference to `__atomic_compare_exchange' BUILD_DEPENDS= armadillo>0:math/armadillo LIB_DEPENDS= libderiv.so:science/libint \ libgsl.so:math/gsl \ libhdf5.so:science/hdf5 \ libint.so:science/libint \ libsz.so:science/libaec \ libxc.so:science/libxc RUN_DEPENDS= ${LOCALBASE}/share/erkale/basis/6-21G.gbs:science/erkale-pseudopotentials FLAVORS= parallel serial FLAVOR?= ${FLAVORS:[1]} serial_PKGNAMESUFFIX= -serial USES= cmake:noninja compiler:c11 fortran pkgconfig USE_LDCONFIG= yes USE_CXXSTD= c++14 # fix build with clang16 due to use of deprecated feature std::random_shuffle USE_GITHUB= yes GH_ACCOUNT= susilehtola GH_TAGNAME= f005a9ed588d7b6fcda54648db16523419308cbd TEST_TARGET= test CMAKE_ON= BUILD_SHARED_LIBS CMAKE_ARGS= -DERKALE_SYSTEM_LIBRARY=${DATADIR}/basis PLIST_SUB= SUFFIX="${SUFFIX}" .if ${FLAVOR} == serial CMAKE_OFF= USE_OPENMP .else # parallel CMAKE_ON+= USE_OPENMP SUFFIX= _omp . if !exists(/usr/include/omp.h) BROKEN= requires OpenMP support that is missing on this architecture . endif .endif OPTIONS_SINGLE= LINALG OPTIONS_SINGLE_LINALG= NETLIB OPENBLAS OPTIONS_DEFAULT= OPENBLAS LINALG_DESC= Linear algebra library NETLIB_USES= blaslapack:netlib NETLIB_CMAKE_ON= -DLAPACK_LIBRARIES:STRING=-llapack -DBLAS_LIBRARIES:STRING=-lblas NETLIB_LDFLAGS= ${LOCALBASE}/lib/libcblas.so ${LOCALBASE}/lib/liblapack.so ${LOCALBASE}/lib/libblas.so NETLIB_LIB_DEPENDS= libcblas.so:math/cblas NETLIB_BROKEN= choosing NETLIB causes a conflict: openblas-0.3.7_3,1 conflicts with cblas-1.0_12 on /usr/local/include/cblas.h OPENBLAS_USES= blaslapack:openblas OPENBLAS_CMAKE_ON= -DLAPACK_LIBRARIES:STRING=-lopenblas -DBLAS_LIBRARIES:STRING=-lopenblas .if ${FLAVOR} == parallel post-install: @${MV} ${STAGEDIR}${PREFIX}/include/erkale ${STAGEDIR}${PREFIX}/include/erkale${SUFFIX} @${MV} ${STAGEDIR}${PREFIX}/bin/erkale_bastool ${STAGEDIR}${PREFIX}/bin/erkale_bastool${SUFFIX} .endif .include diff --git a/science/getdp/Makefile b/science/getdp/Makefile index 5111c8f2544b..d46cb5c1a126 100644 --- a/science/getdp/Makefile +++ b/science/getdp/Makefile @@ -1,32 +1,32 @@ PORTNAME= getdp PORTVERSION= 3.6.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= science MASTER_SITES= http://www.geuz.org/getdp/src/ DISTNAME= ${PORTNAME}-${PORTVERSION}-source MAINTAINER= stephen@FreeBSD.org COMMENT= Rather general finite element solver using mixed finite elements WWW= https://www.geuz.org/getdp/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libgsl.so:math/gsl \ liblapack.so:math/lapack USES= fortran tar:tgz cmake OPTIONS_DEFINE= DOCS EXAMPLES .include .if ${GCC_DEFAULT} >= 10 # workaround for Rank mismatch in argument 'lines' at (1) (rank-1 and scalar) FFLAGS+= -fallow-argument-mismatch .endif do-test: cd ${WRKSRC}/demos && yes "" | ${STAGEDIR}${PREFIX}/bin/${PORTNAME} magnet.pro -solve MagSta_phi .include diff --git a/science/gnudatalanguage/Makefile b/science/gnudatalanguage/Makefile index 1ff10398c473..02aa70457ba8 100644 --- a/science/gnudatalanguage/Makefile +++ b/science/gnudatalanguage/Makefile @@ -1,130 +1,131 @@ PORTNAME= gnudatalanguage PORTVERSION= 1.1.3 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= science lang MASTER_SITES= https://github.com/${PORTNAME}/gdl/releases/download/v${PORTVERSION}/ .if defined(BUILD_PYTHON_MODULE) PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} .endif DISTNAME= gdl-${DISTVERSIONPREFIX}${PORTVERSION} MAINTAINER= thierry@FreeBSD.org COMMENT?= Free IDL-compatible incremental compiler WWW= https://github.com/gnudatalanguage/gdl LICENSE= GPLv2 LIB_DEPENDS+= libGraphicsMagick.so:graphics/GraphicsMagick \ libgeotiff.so:graphics/libgeotiff \ libfreetype.so:print/freetype2 \ libexpat.so:textproc/expat2 \ libplplot.so:math/plplot \ libtiff.so:graphics/tiff \ libhpdf.so:print/libharu \ libshp.so:devel/shapelib \ libpng.so:graphics/png \ libsz.so:science/libaec \ libglpk.so:math/glpk \ libps.so:print/pslib \ libgsl.so:math/gsl #USE_GITHUB= yes #GH_PROJECT= gdl USES= cmake compiler:c++11-lang fortran ncurses pkgconfig readline \ xorg USE_WX= 3.0+ USE_XORG= x11 sm ice xext # Disable ncurses and readline from ports # TODO: create a port for Astron http://idlastro.gsfc.nasa.gov/ftp/astron.tar.gz CMAKE_ARGS= -DREADLINEDIR:STRING="/usr" \ -DOPENMP:BOOL=ON \ -DNCURSESDIR:STRING="/usr" \ -DGRAPHICSMAGICK:BOOL=YES \ -DX11:BOOL=ON CPPFLAGS+= ${CFLAGS} -fno-inline -DNPY_NO_DEPRECATED_API -DNPY_1_7_API_VERSION CXXFLAGS+= -std=gnu++11 LDFLAGS+= -lpthread -L${LOCALBASE}/lib TEST_TARGET= test SLAVEDIRS= science/py-gnudatalanguage # Upstream prefer GraphicsMagick over ImageMackick # see https://github.com/gnudatalanguage/gdl/issues/611 # and https://github.com/gnudatalanguage/gdl/issues/1044 for ImageMagick 7 OPTIONS_DEFINE= EIGEN EXAMPLES FFTW GRIB HDF5 LIBPROJ4 \ MPICH NETCDF PYTHON QHULL UDUNITS OPTIONS_DEFAULT=EIGEN FFTW GRIB HDF5 LIBPROJ4 NETCDF PYTHON \ QHULL UDUNITS EIGEN_DESC= Eigen3 support (boost performance) EIGEN_USES= eigen:3 EIGEN_CMAKE_ON= -DEIGEN3:BOOL=YES EIGEN_CMAKE_OFF= -DEIGEN3:BOOL=NO FFTW_LIB_DEPENDS= libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float FFTW_CMAKE_ON= -DFFTW:BOOL=YES FFTW_CMAKE_OFF= -DFFTW:BOOL=NO GRIB_DESC= Support GRIB messages GRIB_LIB_DEPENDS= libeccodes.so:science/eccodes GRIB_CMAKE_ON= -DGRIB:BOOL=YES GRIB_CMAKE_OFF= -DGRIB:BOOL=NO HDF5_LIB_DEPENDS= libhdf5.so:science/hdf5 HDF5_CMAKE_ON= -DHDF5:BOOL=YES HDF5_CMAKE_OFF= -DHDF5:BOOL=NO -DHDF:BOOL=NO LIBPROJ4_DESC= Support cartographic processes LIBPROJ4_LIB_DEPENDS= libproj.so:graphics/proj LIBPROJ4_CMAKE_ON= -DLIBPROJ:BOOL=YES LIBPROJ4_CMAKE_OFF= -DLIBPROJ:BOOL=NO MPICH_USES= mpi MPICH_CMAKE_ON= -DMPI:BOOL=ON -DMPIDIR:PATH=${MPI_HOME} MPICH_CMAKE_OFF= -DMPI:BOOL=OFF -DMPIDIR=/none NETCDF_LIB_DEPENDS= libnetcdf.so:science/netcdf NETCDF_CMAKE_ON= -DNETCDF:BOOL=YES -DHDF:BOOL=NO NETCDF_CMAKE_OFF= -DNETCDF:BOOL=NO PYTHON_USES= python PYTHON_BUILD_DEPENDS= ${PYNUMPY} PYTHON_RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} PYTHON_CMAKE_ON= -DPYTHON:BOOL=YES -DPYTHONVERSION:STRING="${PYTHON_VER}" PYTHON_CMAKE_OFF= -DPYTHON:BOOL=NO QHULL_DESC= Enable Triangulate and Qhull support QHULL_LIB_DEPENDS= libqhull_r.so:math/qhull QHULL_CMAKE_ON= -DQHULL:BOOL=YES QHULL_CMAKE_OFF= -DQHULL:BOOL=NO UDUNITS_LIB_DEPENDS= libudunits2.so:science/udunits UDUNITS_CMAKE_ON= -DUDUNITS2:BOOL=YES UDUNITS_CMAKE_OFF= -DUDUNITS2:BOOL=NO .if defined(BUILD_PYTHON_MODULE) CATEGORIES+= python CMAKE_ARGS+= -DPYTHON_MODULE:BOOL=YES PLIST= ${.CURDIR}/pkg-plist.pymod .else CMAKE_ARGS+= -DPYTHON_MODULE:BOOL=NO .endif .if defined(BUILD_PYTHON_MODULE) do-install: ${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR} ${INSTALL_DATA} ${INSTALL_WRKSRC}/src/GDL.so ${STAGEDIR}${PYTHON_SITELIBDIR}/ .endif .if !defined(BUILD_PYTHON_MODULE) post-install: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/testsuite (cd ${WRKSRC}/testsuite && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}/testsuite/) .endif .include diff --git a/science/helfem/Makefile b/science/helfem/Makefile index 464b6053adcb..8b9147f44dd0 100644 --- a/science/helfem/Makefile +++ b/science/helfem/Makefile @@ -1,28 +1,29 @@ PORTNAME= helfem DISTVERSION= g20251026 +PORTREVISION= 1 CATEGORIES= science # chemistry MAINTAINER= yuri@FreeBSD.org COMMENT= Finite element methods for electronic structure calculations WWW= https://github.com/susilehtola/HelFEM LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libarmadillo.so:math/armadillo \ libgsl.so:math/gsl \ libhdf5_cpp.so:science/hdf5 \ libsz.so:science/libaec \ libxc.so:science/libxc USES= cmake fortran USE_CXXSTD= c++14 USE_GITHUB= yes GH_ACCOUNT= susilehtola GH_PROJECT= HelFEM GH_TAGNAME= ca3fa54 CMAKE_ON= HELFEM_FIND_DEPS BUILD_SHARED_LIBS .include diff --git a/science/jdftx/Makefile b/science/jdftx/Makefile index ac44d9307884..9fdbdf0b0370 100644 --- a/science/jdftx/Makefile +++ b/science/jdftx/Makefile @@ -1,58 +1,58 @@ PORTNAME= jdftx DISTVERSIONPREFIX= v DISTVERSION= 1.7.0 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= science MAINTAINER= yuri@FreeBSD.org COMMENT= Software for joint density functional theory in chemistry WWW= https://jdftx.org/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= bash:shells/bash LIB_DEPENDS= libblas.so:math/blas \ libcblas.so:math/cblas \ libfftw3.so:math/fftw3 \ libgsl.so:math/gsl \ liblapack.so:math/lapack RUN_DEPENDS= bash:shells/bash TEST_DEPENDS= bash:shells/bash USES= compiler:c++11-lang cmake fortran localbase:ldflags shebangfix SHEBANG_GLOB= *.sh SHEBANG_FILES= scripts/* SHEBANG_LANG= octave USE_GITHUB= yes GH_ACCOUNT= shankar1729 USE_LDCONFIG= yes TEST_TARGET= test WRKSRC_SUBDIR= ${PORTNAME} CMAKE_ARGS= -DLAPACK_LIBRARIES:STRING="-llapack -lblas" OPTIONS_DEFINE= MPI LIBXC HDF5 SCALAPACK OCTAVE OPTIONS_DEFAULT= MPI LIBXC MPI_CMAKE_BOOL= EnableMPI MPI_LIB_DEPENDS= libmpich.so:net/mpich LIBXC_DESC= Use LibXC for additional exchange-correlation functionals LIBXC_CMAKE_BOOL= EnableLibXC LIBXC_LIB_DEPENDS= libxc.so:science/libxc HDF5_CMAKE_BOOL= EnableHDF5 HDF5_LIB_DEPENDS= libhdf5.so:science/hdf5 HDF5_BROKEN= use of undeclared identifier 'H5Pset_dxpl_mpio' # https://github.com/shankar1729/jdftx/issues/37 SCALAPACK_DESC= Enable ScaLAPACK support SCALAPACK_CMAKE_BOOL= EnableScaLAPACK SCALAPACK_LIB_DEPENDS= libscalapack.so:math/scalapack OCTAVE_DESC= With Octave support (only for one script: dryRunToPDB) OCTAVE_RUN_DEPENDS= octave:math/octave .include diff --git a/science/kst2/Makefile b/science/kst2/Makefile index b97407971626..b51fa4f22aa3 100644 --- a/science/kst2/Makefile +++ b/science/kst2/Makefile @@ -1,58 +1,58 @@ PORTNAME= kst DISTVERSIONPREFIX= v DISTVERSION= ${KST_VERSION} DISTVERSIONSUFFIX= -${KST_DATE} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= science MAINTAINER= makc@FreeBSD.org COMMENT= Data viewing and plotting tool WWW= https://kst-plot.kde.org LICENSE= GPLv2 GFDL LGPL20 LICENSE_COMB= multi LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING LICENSE_FILE_GFDL= ${WRKSRC}/COPYING-DOCS LICENSE_FILE_LGPL20= ${WRKSRC}/COPYING.LGPL LIB_DEPENDS= libgsl.so:math/gsl \ libtiff.so:graphics/tiff USES= cmake compiler:c++11-lang desktop-file-utils kde:5 pkgconfig \ qt:5 shared-mime-info USE_QT= concurrent core gui network printsupport svg widgets xml \ buildtools:build linguisttools:build qmake:build USE_LDCONFIG= yes KST_VERSION= 2.1 KST_DATE= 2024-10-20 KDE_INVENT= ${DISTVERSIONFULL} graphics kst-plot CMAKE_ARGS= -Dkst_install_prefix=${PREFIX} \ -Dkst_pch=off \ -DCMAKE_DISABLE_FIND_PACKAGE_Getdata=ON PLIST_SUB= SHLIB_VER=${KST_VERSION} OPTIONS_DEFINE= FITS HDF5 MATLAB NETCDF OPTIONS_DEFAULT= FITS HDF5 MATLAB OPTIONS_SUB= yes FITS_DESC= Support for data in FITS format FITS_LIB_DEPENDS= libcfitsio.so:astro/cfitsio FITS_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_CFITSIO=ON HDF5_DESC= Support for data in HDF5 format HDF5_LIB_DEPENDS= libhdf5.so:science/hdf5 HDF5_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_HDF5=ON MATLAB_DESC= Support for data in MATLAB format MATLAB_LIB_DEPENDS= libmatio.so:math/matio MATLAB_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_Matio=ON NETCDF_DESC= Support for data in NetCDF format (broken) NETCDF_LIB_DEPENDS= libnetcdf.so:science/netcdf NETCDF_IGNORE= does not support NetCDF 4 NETCDF_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_Netcdf=ON .include diff --git a/science/meep/Makefile b/science/meep/Makefile index 4a95960194c0..f52c8610e68b 100644 --- a/science/meep/Makefile +++ b/science/meep/Makefile @@ -1,66 +1,66 @@ PORTNAME= meep DISTVERSIONPREFIX= v DISTVERSION= 1.29.0 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= science cad MAINTAINER= yuri@FreeBSD.org COMMENT= Finite-difference time-domain software for electromagnetic simulations WWW= https://github.com/NanoComp/meep LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LOCALBASE}/lib/libharminv.a:science/harminv LIB_DEPENDS= libblas.so:math/blas \ libctlgeom.so:science/libctl \ libfftw3.so:math/fftw3 \ libGDSII.so:cad/libgdsii \ libgsl.so:math/gsl \ libhdf5.so:science/hdf5 \ liblapack.so:math/lapack \ libmpb.so:science/mpb \ libopenblas.so:math/openblas RUN_DEPENDS= ${LOCALBASE}/lib/libharminv.a:science/harminv USES= autoreconf compiler:c++11-lang fortran gmake libtool localbase USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= NanoComp GNU_CONFIGURE= yes CONFIGURE_ARGS= --without-scheme CXXFLAGS_i386= -msse2 # to fix this error: '_mm_getcsr' needs target feature sse INSTALL_TARGET= install-strip TEST_TARGET= check # some python binding's tests fail due to bug#270105 (in needed dependency science/mpb) and https://github.com/NanoComp/meep/issues/2434 BINARY_ALIAS= make=${GMAKE} OPTIONS_DEFINE= PYTHON OPTIONS_DEFAULT= PYTHON OPTIONS_SUB= yes PYTHON_CONFIGURE_WITH= python PYTHON_CONFIGURE_ENABLE= maintainer-mode PYTHON_USES= python PYTHON_BINARY_ALIAS= swig=swig40 PYTHON_BUILD_DEPENDS= swig40:devel/swig40 PYTHON_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}autograd>0:math/py-autograd@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}h5py>0:science/py-h5py@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ipython>0:devel/ipython@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jax>0:math/py-jax@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jupyter-rfb>0:devel/py-jupyter-rfb@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \ ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}parameterized>0:devel/py-parameterized@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scikit-image>0:graphics/py-scikit-image@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}vispy>0:graphics/py-vispy@${PY_FLAVOR} PYTHON_TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jax>0:math/py-jax@${PY_FLAVOR} # 2 python tests fail because the py-jaxlib test dependency is missing .include diff --git a/science/nest/Makefile b/science/nest/Makefile index c9d7848ad5e4..d754c7697769 100644 --- a/science/nest/Makefile +++ b/science/nest/Makefile @@ -1,55 +1,55 @@ PORTNAME= nest DISTVERSIONPREFIX= v DISTVERSION= 3.8 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= science biology # NEST is used in neuroscience MAINTAINER= yuri@FreeBSD.org COMMENT= Simulator for spiking neural network models WWW= https://www.nest-simulator.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_armv7= compilation fails: error: expected identifier before '__is_convertible' BROKEN_i386= https://github.com/nest/nest-simulator/issues/1205 LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libgsl.so:math/gsl \ libltdl.so:devel/libltdl RUN_DEPENDS= bash:shells/bash USES= cmake:testing ncurses pkgconfig python readline shebangfix USE_LDCONFIG= yes USE_GITHUB= yes GH_PROJECT= nest-simulator SHEBANG_FILES= bin/nest-server bin/nest-server-mpi testsuite/do_tests.sh BINARY_ALIAS= python3=${PYTHON_CMD} OPTIONS_DEFINE= PYTHON DOCS OPTIONS_DEFAULT= PYTHON OPTIONS_SUB= yes PYTHON_CMAKE_BOOL= BUILD_PYTHON PYTHON_USE= python=cython0 PYTHON_CMAKE_ON= -DFREEBSD_PYTHON_VER:STRING=${PYTHON_VER} -DCYTHON_EXECUTABLE:STRING=${PREFIX}/bin/cython-${PYTHON_VER} PORTDOCS= * .if !exists(/usr/include/omp.h) USES+= compiler:gcc-c++11-lib .else USES+= compiler:c++11-lang .endif # 2 tests are known to fail, see https://github.com/nest/nest-simulator/issues/2190 # tests require the port to be installed with DOCS=ON, see https://github.com/nest/nest-simulator/issues/2191 # many tests fail, see https://github.com/nest/nest-simulator/issues/2848 post-install: @${REINPLACE_CMD} -i '' -e 's|^python3 |${PYTHON_CMD} |' ${STAGEDIR}${PREFIX}/share/nest/testsuite/do_tests.sh .include diff --git a/science/octopus/Makefile b/science/octopus/Makefile index 69fa138e2307..22441bbe7d82 100644 --- a/science/octopus/Makefile +++ b/science/octopus/Makefile @@ -1,66 +1,67 @@ PORTNAME= octopus DISTVERSION= 16.0 +PORTREVISION= 1 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 \ 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 diff --git a/science/plumed/Makefile b/science/plumed/Makefile index 052017a65e38..ddd1d5c0b11e 100644 --- a/science/plumed/Makefile +++ b/science/plumed/Makefile @@ -1,51 +1,51 @@ PORTNAME= plumed DISTVERSION= 2.9.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= science graphics MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}2/releases/download/v${DISTVERSION}/ MAINTAINER= yuri@FreeBSD.org COMMENT= PLUgin for MolEcular Dynamics WWW= https://www.plumed.org/ LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/COPYING.LESSER BROKEN_i386= undefined reference to `__atomic_load' BUILD_DEPENDS= bash:shells/bash LIB_DEPENDS= libblas.so:math/blas \ libfftw3.so:math/fftw3 \ libgsl.so:math/gsl \ liblapack.so:math/lapack RUN_DEPENDS= bash:shells/bash TEST_DEPENDS= gawk:lang/gawk USES= autoreconf compiler:c++11-lang gmake localbase pkgconfig shebangfix tar:tgz USE_LDCONFIG= yes SHEBANG_GLOB= *.sh SHEBANG_FILES= src/maketools/makecmd \ src/maketools/xxd \ regtest/scripts/check \ regtest/scripts/run \ regtest/scripts/what GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-shared --disable-python TEST_TARGET= check # the 'installcheck' target checks installed version # 1 test is known to fail: https://github.com/plumed/plumed2/issues/782 BINARY_ALIAS= make=${GMAKE} # only needed for tests post-patch: @${REINPLACE_CMD} -e 's|#! /bin/bash|#! ${LOCALBASE}/bin/bash|' ${WRKSRC}/src/lib/Makefile post-install: @${RMDIR} ${STAGEDIR}${PREFIX}/lib/plumed/obj @cd ${STAGEDIR}${PREFIX} && ${STRIP_CMD} bin/plumed lib/plumed/plumed-runtime lib/libplumed.so lib/libplumedKernel.so # tests as of 2.9.3: 277 tests performed, 352 tests not applicable .include diff --git a/science/py-chempy/Makefile b/science/py-chempy/Makefile index 07cdbe401f38..1d2d39cd5256 100644 --- a/science/py-chempy/Makefile +++ b/science/py-chempy/Makefile @@ -1,54 +1,54 @@ PORTNAME= chempy DISTVERSION= 0.10.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= science python # chemistry MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Package useful for solving problems in chemistry WWW= https://github.com/bjodah/chempy LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dot2tex>=2.11.3:print/dot2tex@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>=2.2.3:math/py-matplotlib@${PY_FLAVOR} \ ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}PuLP>=1.6.8:math/py-PuLP@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyneqsys>=0.5.7:math/py-pyneqsys@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyodesys>=0.14.1:math/py-pyodesys@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyparsing>=2.0.3:devel/py-pyparsing@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}quantities>=0.12.1:science/py-quantities@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scipy>=1.0.1:science/py-scipy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sym>=0.3.7:math/py-sym@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sympy>=1.1.1:math/py-sympy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tabulate>0:devel/py-tabulate@${PY_FLAVOR} BUILD_DEPENDS= ${PY_DEPENDS} RUN_DEPENDS= ${PY_DEPENDS} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}black>0:devel/py-black@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-flakes>0:devel/py-pytest-flakes@${PY_FLAVOR} \ gsl>0:math/gsl USES= localbase:ldflags python # localbase and math/gsl are only for tests USE_PYTHON= distutils autoplist pytest # 5 tests fail, see https://github.com/bjodah/chempy/issues/222 NO_ARCH= yes CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}pymol # https://github.com/schrodinger/pymol-open-source/issues/100 OPTIONS_DEFINE= EXTRAS OPTIONS_DEFAULT= EXTRAS EXTRAS_DESC= Install optional dependencies for additional functionality # this seems to be a copy of what extras pyodesys requires, see https://github.com/bjodah/chempy/issues/241 EXTRAS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}appdirs>0:devel/py-appdirs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}bokeh>=0.13.0:www/py-bokeh@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ipywidgets>0:devel/py-ipywidgets@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pycodeexport>=0.1.3:devel/py-pycodeexport@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pycompilation>=0.4.12:devel/py-pycompilation@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pygslodeiv2>=0.9.4:math/py-pygslodeiv2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyodeint>=0.10.4:math/py-pyodeint@${PY_FLAVOR} # TODO pycvodes>=0.14.0, pykinsol>=0.1.6 .include diff --git a/science/scidavis/Makefile b/science/scidavis/Makefile index e52ac567f7c7..383b7f9f51eb 100644 --- a/science/scidavis/Makefile +++ b/science/scidavis/Makefile @@ -1,50 +1,50 @@ PORTNAME= scidavis PORTVERSION= 2.9.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= science MAINTAINER= makc@FreeBSD.org COMMENT= Scientific data analysis and visualization WWW= https://scidavis.sourceforge.net LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libgsl.so:math/gsl \ libmuparser.so:math/muparser \ libpng.so:graphics/png \ libqwt5-qt5.so:x11-toolkits/qwt5-qt5 \ libqwtplot3d-qt5.so:math/qwtplot3d \ liborigin.so:math/liborigin USES= cmake compiler:c++17-lang desktop-file-utils gl pkgconfig \ qt:5 shared-mime-info USE_GL= gl glu USE_QT= core gui opengl printsupport svg widgets xml \ buildtools:build linguisttools:build qmake:build USE_GITHUB= yes GH_ACCOUNT= highperformancecoder CMAKE_ON= ORIGIN_IMPORT CMAKE_OFF= DOWNLOAD_LINKS \ SEARCH_FOR_UPDATES PORTSCOUT= skipv:qtiplot OPTIONS_DEFINE= DOCS NLS PYTHON OPTIONS_SUB= yes PYTHON_DESC= Python scripting support PYTHON_BUILD_DEPENDS= ${PY_SETUPTOOLS} PYTHON_USES= pyqt:5 python PYTHON_USE= PYQT=pyqt5,sip:build PYTHON_CMAKE_ON= -DPython3_EXECUTABLE=${PYTHON_CMD} \ -DSCRIPTING_PYTHON=True PYTHON_CMAKE_OFF= -DSCRIPTING_PYTHON=False PYTHON_BROKEN= fails to build with Python support post-install-PYTHON-on: ${MV} ${STAGEDIR}${PREFIX}/etc/scidavisrc.py \ ${STAGEDIR}${PREFIX}/etc/scidavisrc.py.sample .include diff --git a/science/sirius/Makefile b/science/sirius/Makefile index ff71b782cb40..fcc4286821c9 100644 --- a/science/sirius/Makefile +++ b/science/sirius/Makefile @@ -1,50 +1,51 @@ PORTNAME= sirius DISTVERSIONPREFIX= v DISTVERSION= 7.9.0 +PORTREVISION= 1 CATEGORIES= science PKGNAMESUFFIX= -quantum-chemistry # other software also has the name "sirius" MAINTAINER= yuri@FreeBSD.org COMMENT= Domain specific library for electronic structure calculations WWW= https://github.com/electronic-structure/SIRIUS/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libcosta.so:math/costa \ libgsl.so:math/gsl \ libhdf5.so:science/hdf5 \ libopenblas.so:math/openblas \ libscalapack.so:math/scalapack \ libspfft.so:math/spfft \ libspla.so:math/spla \ libsymspg.so:science/spglib \ libxc.so:science/libxc USES= cmake:testing compiler:c++14-lang eigen:3,test fortran pkgconfig USE_GITHUB= yes GH_ACCOUNT= electronic-structure GH_PROJECT= SIRIUS USE_LDCONFIG= yes CMAKE_OFF= SIRIUS_USE_MEMORY_POOL # depends on umpire - not yet ported OPTIONS_DEFAULT= MPICH # NLCGLIB OPTIONS_DEFINE= NLCGLIB OPTIONS_SINGLE= MPI OPTIONS_SINGLE_MPI= MPICH OPENMPI NLCGLIB_DESC= Enable nlcglib MPICH_USES= mpi:mpich NLCGLIB_LIB_DEPENDS= libnlcglib.so:science/nlcglib \ libkokkoscore.so:devel/kokkos NLCGLIB_CMAKE_BOOL= USE_NLCGLIB OPENMPI_USES= mpi:openmpi # pre-7.4.0: many tests fail, see https://github.com/electronic-structure/SIRIUS/issues/760 # 7.6.0: several tests fail: Can't divide 1 ranks into groups of size 4 # 7.7.0: tests fail to compile, see https://github.com/electronic-structure/SIRIUS/issues/1070 .include diff --git a/science/step/Makefile b/science/step/Makefile index 10712cc71c33..3bca9855a4f8 100644 --- a/science/step/Makefile +++ b/science/step/Makefile @@ -1,35 +1,36 @@ PORTNAME= step DISTVERSION= ${KDE_APPLICATIONS_VERSION} +PORTREVISION= 1 CATEGORIES= science education kde kde-applications MAINTAINER= kde@FreeBSD.org COMMENT= KDE interactive physics simulator WWW= https://edu.kde.org/step LIB_DEPENDS= libcln.so:math/cln \ libgsl.so:math/gsl \ libqalculate.so:math/libqalculate USES= cmake compiler:c++11-lang desktop-file-utils eigen:3 gettext \ kde:6 pkgconfig python qt:6 shared-mime-info shebangfix tar:xz \ xorg USE_KDE= attica auth bookmarks codecs completion config configwidgets \ coreaddons crash doctools guiaddons i18n iconthemes itemmodels \ itemviews jobwidgets kio newstuff notifications parts plotting \ service solid sonnet textwidgets unitconversion widgetsaddons \ windowsystem xmlgui \ ecm:build USE_QT= base USE_XORG= x11 SHEBANG_FILES= step/data/extractxml OPTIONS_DEFINE= DOCS pre-configure: # Avoid building translations, should the user pass # CURRENT_LANG to CMake. ${REINPLACE_CMD} -e '/set(STEP_BUILD_TRANSLATIONS 1)/ d' \ ${WRKSRC}/${PORTNAME}/data/CMakeLists.txt .include diff --git a/science/sz3/Makefile b/science/sz3/Makefile index f457980dbefc..e00ca72dd731 100644 --- a/science/sz3/Makefile +++ b/science/sz3/Makefile @@ -1,42 +1,43 @@ PORTNAME= sz3 PORTVERSION= 3.3.2 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= science MAINTAINER= sunpoet@FreeBSD.org COMMENT= Modular Error-bounded Lossy Compression Framework for Scientific Datasets WWW= https://szcompressor.org/ \ https://github.com/szcompressor/SZ3 LICENSE= BSD4CLAUSE LICENSE_FILE= ${WRKSRC}/copyright-and-BSD-license.txt LIB_DEPENDS= libgsl.so:math/gsl \ libzstd.so:archivers/zstd TEST_DEPENDS= googletest>=0:devel/googletest USES= cmake:testing pkgconfig CMAKE_OFF= BUILD_H5Z_FILTER \ BUILD_MDZ \ BUILD_TESTING \ SZ3_DEBUG_TIMINGS \ SZ3_USE_BUNDLED_ZSTD CMAKE_ON= BUILD_SHARED_LIBS \ BUILD_STATIC_LIBS \ SZ3_USE_SKA_HASH DATADIR= ${PREFIX}/share/SZ3 USE_GITHUB= yes GH_ACCOUNT= szcompressor GH_PROJECT= SZ3 post-patch: # Clean up bundled libraries @${RM} -r ${WRKSRC}/tools/zstd/ post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sz3* .include diff --git a/x11/xsnow/Makefile b/x11/xsnow/Makefile index 156bae117f79..1abbc99bd33c 100644 --- a/x11/xsnow/Makefile +++ b/x11/xsnow/Makefile @@ -1,36 +1,37 @@ PORTNAME= xsnow DISTVERSION= 3.9.1 DISTVERSIONSUFFIX= ~pre03 +PORTREVISION= 1 CATEGORIES= x11 MASTER_SITES= https://ratrabbit.nl/downloads/xsnow/ \ SF/${PORTNAME}/ MAINTAINER= fluffy@FreeBSD.org COMMENT= Create a snowy and Santa-y desktop WWW= https://www.ratrabbit.nl/ratrabbit/xsnow/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgsl.so:math/gsl \ libxkbcommon.so:x11/libxkbcommon USES= compiler:c11 gmake gnome pkgconfig xorg USE_GNOME= cairo gdkpixbuf glib20 gtk30 libxml2 USE_XORG= x11 xext xinerama xpm xt xtst xorgproto GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share OPTIONS_DEFINE= NLS OPTIONS_DEFAULT= NLS OPTIONS_SUB= yes NLS_USES= gettext-tools NLS_CONFIGURE_ENABLE= nls post-patch: @${REINPLACE_CMD} \ -e 's,/games,/bin,g' \ ${WRKSRC}/src/Makefile.in .include