diff --git a/audio/rtaudio/Makefile b/audio/rtaudio/Makefile index c2033fba6beb..0f9cf0d7c973 100644 --- a/audio/rtaudio/Makefile +++ b/audio/rtaudio/Makefile @@ -1,40 +1,40 @@ PORTNAME= rtaudio DISTVERSION= 6.0.1 CATEGORIES= audio MAINTAINER= yuri@FreeBSD.org COMMENT= C++ classes that provide a common API for realtime audio input/output WWW= https://github.com/thestk/rtaudio LICENSE= MIT -USES= cmake:testing compiler:c++11-lang libtool pkgconfig +USES= cmake:testing compiler:c++11-lang pkgconfig USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= thestk CXXFLAGS+= -I${STAGEDIR}${PREFIX}/include/rtaudio # hack for tests CMAKE_TESTING_ON= RTAUDIO_BUILD_TESTING OPTIONS_MULTI= AUDIO_BACKEND OPTIONS_MULTI_AUDIO_BACKEND= ALSA JACK OSS PULSEAUDIO OPTIONS_DEFAULT= PULSEAUDIO # default should probably be OSS, but it appears to be broken AUDIO_BACKEND_DESC= Audio backend ALSA_CMAKE_BOOL= RTAUDIO_API_ALSA ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib JACK_CMAKE_BOOL= RTAUDIO_API_JACK JACK_LDFLAGS= `pkg-config --libs jack` # workaround for https://github.com/thestk/rtaudio/issues/357 JACK_LIB_DEPENDS= libjack.so:audio/jack OSS_CMAKE_BOOL= RTAUDIO_API_OSS # OSS option is possibly broken, see https://github.com/thestk/rtaudio/issues/359 PULSEAUDIO_CMAKE_BOOL= RTAUDIO_API_PULSE # is PULSEAUFIO broken? see https://github.com/thestk/rtaudio/issues/361 PULSEAUDIO_USES= localbase:ldflags # workaround for https://github.com/thestk/rtaudio/issues/360 PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio .include diff --git a/devel/avrdude/Makefile b/devel/avrdude/Makefile index 8491c17dae93..e5aab7b96484 100644 --- a/devel/avrdude/Makefile +++ b/devel/avrdude/Makefile @@ -1,31 +1,31 @@ PORTNAME= avrdude PORTVERSION= 7.3 DISTVERSIONPREFIX= v #PORTREVISION= 0 CATEGORIES= devel MAINTAINER= joerg@FreeBSD.org COMMENT= Program for programming the on-chip memory of Atmel AVR CPUs WWW= https://github.com/avrdudes/avrdude/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -USES= libtool localbase readline cmake +USES= localbase readline cmake USE_GITHUB= yes GH_ACCOUNT= avrdudes GH_PROJECT= avrdude OPTIONS_DEFINE= FTDI PARPORT OPTIONS_DEFAULT= FTDI FTDI_DESC= libftdi support FTDI_LIB_DEPENDS= libftdi1.so:devel/libftdi1 PARPORT_DESC= support for parallel-port programmers PARPORT_CMAKE_ON= -DHAVE_PARPORT=1 # man page currently not handled by CMake # https://github.com/avrdudes/avrdude/issues/947 post-install: ${GZIP_CMD} < ${WRKSRC}/src/avrdude.1 > ${STAGEDIR}/${PREFIX}/share/man/man1/avrdude.1.gz .include diff --git a/devel/blitz/Makefile b/devel/blitz/Makefile index 733c52c0d339..34adae116a35 100644 --- a/devel/blitz/Makefile +++ b/devel/blitz/Makefile @@ -1,42 +1,42 @@ PORTNAME= blitz DISTVERSION= 1.0.2 PORTREVISION= 4 CATEGORIES= devel science MAINTAINER= yuri@FreeBSD.org COMMENT= Blitz++ Multi-Dimensional Array Library for C++ WWW= https://github.com/blitzpp/blitz LICENSE= ART20 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= cmake:noninja libtool localbase python:build +USES= cmake:noninja localbase python:build USE_GITHUB= yes GH_ACCOUNT= blitzpp USE_LDCONFIG= yes TEST_TARGET= check-testsuite #INSTALL_TARGET= install-strip CONFIGURE_ARGS= --enable-shared MAKE_ARGS= CXXFLAGS="${CXXFLAGS}" FREEBSD_PYTHON_CMD=${PYTHON_CMD} OPTIONS_DEFINE= APAD FORTRAN SERIALIZATION THREADSAFE # TBB APAD_DESC= Pad all lowest-rank lengths to nearest larger SIMD width SERIALIZATION_DESC= Enable serialization support using Boost::Serialization TBB_DESC= Use Intel Threading Building Blocks atomic types THREADSAFE_DESC= Enable thread-safety features APAD_CONFIGURE_ENABLE= array-length-padding FORTRAN_CONFIGURE_ENABLE= fortran FORTRAN_USES= fortran SERIALIZATION_CONFIGURE_ENABLE= serialization SERIALIZATION_BUILD_DEPENDS= ${LOCALBASE}/include/boost/mpi.hpp:devel/boost-libs TBB_CONFIGURE_ON= --with-tbb # TBB_CONFIGURE_WITH=tbb doesn't work: https://github.com/blitzpp/blitz/issues/20 TBB_BUILD_DEPENDS= ${LOCALBASE}/include/tbb/atomic.h:devel/tbb TBB_BROKEN= oneTBB doesn't provide tbb/atomic.h any more, see https://github.com/blitzpp/blitz/issues/169 THREADSAFE_CONFIGURE_ENABLE= threadsafe post-install: @${RM} -r ${STAGEDIR}${DOCSDIR}* # https://github.com/blitzpp/blitz/issues/21 .include diff --git a/devel/thrift-c_glib/Makefile b/devel/thrift-c_glib/Makefile index f92aa8a86df8..cc7cd7027178 100644 --- a/devel/thrift-c_glib/Makefile +++ b/devel/thrift-c_glib/Makefile @@ -1,35 +1,35 @@ PORTNAME= thrift PORTVERSION= ${THRIFT_PORTVERSION} # to keep in sync with thrift PORTEPOCH= 1 CATEGORIES= devel MASTER_SITES= APACHE/thrift/${PORTVERSION} DISTNAME= thrift-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= C glib interface to Thrift WWW= https://thrift.apache.org/ PKGNAMESUFFIX= -c_glib BUILDIR= ${WRKDIR}/${DISTNAME}/lib/c_glib DISTINFO_FILE= ${.CURDIR}/../thrift/distinfo -USES= bison cmake compiler:c++11-lang cpe gnome libtool pathfix \ +USES= bison cmake compiler:c++11-lang cpe gnome pathfix \ pkgconfig ssl CPE_VENDOR= apache CMAKE_ON= BUILD_C_GLIB BUILD_SHARED_LIBS CMAKE_OFF= BUILD_CPP BUILD_HASKELL BUILD_JAVA BUILD_JAVASCRIPT \ BUILD_NODEJS BUILD_PYTHON USE_GNOME= glib20 USE_LDCONFIG= yes .include "../thrift/bsd.thrift.mk" PLIST_SUB+= PORTVERSION="${PORTVERSION}" post-patch: @${REINPLACE_CMD} 's,-Werror,,' ${WRKSRC}/compiler/cpp/Makefile.am \ ${WRKSRC}/lib/rb/ext/extconf.rb .include diff --git a/devel/thrift/Makefile b/devel/thrift/Makefile index 6e9b0181c919..fe0eae0d8e74 100644 --- a/devel/thrift/Makefile +++ b/devel/thrift/Makefile @@ -1,50 +1,50 @@ PORTNAME= thrift PORTVERSION= ${THRIFT_PORTVERSION} # get these from bsd.thrift.mk. any upgrade needs to check ALL dependencies PORTREVISION= 0 PORTEPOCH= 1 CATEGORIES= devel MASTER_SITES= APACHE/thrift/${PORTVERSION} MAINTAINER= komarov@valerka.net COMMENT= Framework for scalable cross-language services development WWW= https://thrift.apache.org/ LICENSE= APACHE20 -USES= bison cmake compiler:c++11-lang cpe libtool pkgconfig +USES= bison cmake compiler:c++11-lang cpe pkgconfig CPE_VENDOR= apache USE_LDCONFIG= yes # For C++ support, use devel/thrift-cpp # For C glib support, use devel/thrift-c_glib. # For Perl support, use devel/p5-Thrift. # For Python support, use devel/py-thrift. # For Ruby support, use devel/rubygem-thrift. # For PHP support, use devel/php5-thrift. # For nodejs support, use devel/node-thrift. # Other languages are not yet supported, please feel free to contribute # using one of the leaf ports as an example. CMAKE_OFF= BUILD_CPP BUILD_C_GLIB BUILD_JAVA BUILD_JAVASCRIPT BUILD_NODEJS BUILD_PYTHON BUILD_HASKELL .include .include "bsd.thrift.mk" PLIST_SUB+= PORTVERSION="${PORTVERSION}" post-patch: @${REINPLACE_CMD} 's,-Werror,,' ${WRKSRC}/compiler/cpp/Makefile.am \ ${WRKSRC}/lib/rb/ext/extconf.rb pre-configure: @${REINPLACE_CMD} '/config.h/d' ${WRKSRC}/lib/cpp/Makefile.am post-install: @${ECHO_MSG} @${ECHO_MSG} "For use with C++, the same compiler as used to build this port must be used" @${ECHO_MSG} "to compile and link your generated IDL bindings." @${ECHO_MSG} @${ECHO_MSG} "Note: The Thrift white paper may be downloaded from:" @${ECHO_MSG} "http://thrift.apache.org/static/thrift-20070401.pdf" @${ECHO_MSG} .include diff --git a/graphics/libpano13/Makefile b/graphics/libpano13/Makefile index 884b1390c29b..b379f1ef25f8 100644 --- a/graphics/libpano13/Makefile +++ b/graphics/libpano13/Makefile @@ -1,36 +1,36 @@ PORTNAME= libpano13 DISTVERSION= 2.9.22 PORTREVISION= 9 CATEGORIES= graphics java MASTER_SITES= SF/panotools/${PORTNAME}/${PORTNAME}-${DISTVERSION} MAINTAINER= fuz@FreeBSD.org COMMENT= Cross-platform library behind Panorama Tools and other photo stitchers WWW= https://panotools.sourceforge.net/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff -USES= cmake:testing cpe jpeg libtool pathfix perl5 pkgconfig +USES= cmake:testing cpe jpeg pathfix perl5 pkgconfig CPE_VENDOR= ${PORTNAME}_project USE_LDCONFIG= yes USE_PERL5= build # for pod2man WRKSRC= ${WRKDIR}/libpano13-${DISTVERSION} OPTIONS_DEFINE= DOCS JAVA SUITESPARSE OPTIONS_DEFAULT= SUITESPARSE SUITESPARSE_DESC= Use math/suitesparse for faster operation OPTIONS_SUB= yes JAVA_USE= java=yes JAVA_CMAKE_BOOL= SUPPORT_JAVA_PROGRAMS JAVA_VARS= JAVA_OS=native SUITESPARSE_LIB_DEPENDS= \ libcholmod.so:math/suitesparse-cholmod \ libspqr.so:math/suitesparse-spqr SUITESPARSE_CMAKE_BOOL= USE_SPARSE_LEVMAR .include diff --git a/graphics/poppler/Makefile b/graphics/poppler/Makefile index db03ad8217e7..c929c6151c56 100644 --- a/graphics/poppler/Makefile +++ b/graphics/poppler/Makefile @@ -1,115 +1,115 @@ PORTNAME= poppler DISTVERSION= 24.02.0 PORTREVISION= 1 CATEGORIES= graphics print MASTER_SITES= https://poppler.freedesktop.org/ MAINTAINER?= desktop@FreeBSD.org COMMENT?= PDF rendering library WWW= https://poppler.freedesktop.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libnspr4.so:devel/nspr \ liblcms2.so:graphics/lcms2 \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libfreetype.so:print/freetype2 \ libnss3.so:security/nss \ libfontconfig.so:x11-fonts/fontconfig \ libgpgmepp.so:security/gpgme-cpp BUILD_DEPENDS= ${LOCALBASE}/include/boost/container/small_vector.hpp:devel/boost-libs \ gsed:textproc/gsed RUN_DEPENDS= poppler-data>0:graphics/poppler-data -USES= cmake:insource compiler:c++17-lang cpe gnome gperf jpeg libtool \ +USES= cmake:insource compiler:c++17-lang cpe gnome gperf jpeg \ localbase pathfix pkgconfig tar:xz CPE_VENDOR= freedesktop USE_GNOME= cairo libxml2 USE_LDCONFIG= yes CMAKE_ON= ENABLE_LIBJPEG \ ENABLE_LIBPNG \ ENABLE_LIBTIFF \ ENABLE_UNSTABLE_API_ABI_HEADERS \ ENABLE_ZLIB \ ENABLE_NSS \ ENABLE_SPLASH CMAKE_OFF= BUILD_GTK_TESTS # Ensure that path ordering does not lead to openjpeg15 being found and picked # instead of openjpeg2 on systems that have both installed # Note: since f3ba77e14cac05d43caf35100848eeaee3bc64b4 graphics/openjpeg15 installs # its cmake files to ${PREFIX}/lib/openjpeg15 CMAKE_ARGS+= -DCMAKE_IGNORE_PATH:PATH=${PREFIX}/lib/openjpeg-1.5 # Slave ports. _POPPLER_SLAVES= library glib qt5 qt6 utils _SLAVE_PORT?= library BINARY_ALIAS= gperf=${GPERF} \ sed=${LOCALBASE}/bin/gsed # Activate the wanted module, and deactivate the others. CMAKE_ON+= ENABLE_${_SLAVE_PORT:tu} CMAKE_OFF+= ${_POPPLER_SLAVES:N${_SLAVE_PORT}:tu:S/^/ENABLE_/} .if ${_SLAVE_PORT} == library PORTSCOUT= limitw:1,even USES+= iconv CMAKE_ON+= ENABLE_CPP PLIST_SUB+= SHLIB_VER=134 OPTIONS_DEFINE= CURL OPENJPEG OPTIONS_DEFAULT= OPENJPEG OPTIONS_SUB= yes .else PORTSCOUT= ignore:1 LIB_DEPENDS+= libpoppler.so:graphics/poppler PKGNAMESUFFIX= -${_SLAVE_PORT} BUILD_WRKSRC= ${WRKSRC}/${_SLAVE_PORT} INSTALL_WRKSRC= ${WRKSRC}/${_SLAVE_PORT} CMAKE_ARGS+= -DENABLE_LIBOPENJPEG:STRING="none" \ -DENABLE_LIBCURL:BOOL=FALSE . if ${_SLAVE_PORT} == glib USES+= python:build USE_GNOME+= glib20 introspection:Build BINARY_ALIAS+= python3=${PYTHON_CMD} . elif ${_SLAVE_PORT} == qt5 USES+= qt:5 USE_QT= core gui widgets xml \ buildtools:build qmake:build testlib:build . elif ${_SLAVE_PORT} == qt6 USES+= gl qt:6 USE_GL+= gl opengl USE_QT= base . elif ${_SLAVE_PORT} == utils LIB_DEPENDS+= libpoppler-glib.so:graphics/poppler-glib USES+= gnome . endif .endif CURL_CMAKE_BOOL= ENABLE_LIBCURL CURL_LIB_DEPENDS= libcurl.so:ftp/curl OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg OPENJPEG_CMAKE_ON= -DENABLE_LIBOPENJPEG:STRING="openjpeg2" OPENJPEG_CMAKE_OFF= -DENABLE_LIBOPENJPEG:STRING="none" post-install: .if ${_SLAVE_PORT} == glib ${INSTALL_DATA} ${WRKSRC}/poppler-glib.pc \ ${STAGEDIR}${PREFIX}/libdata/pkgconfig .elif ${_SLAVE_PORT} == qt5 ${INSTALL_DATA} ${WRKSRC}/poppler-qt5.pc \ ${STAGEDIR}${PREFIX}/libdata/pkgconfig .elif ${_SLAVE_PORT} == qt6 ${INSTALL_DATA} ${WRKSRC}/poppler-qt6.pc \ ${STAGEDIR}${PREFIX}/libdata/pkgconfig .endif .include diff --git a/graphics/proj/Makefile b/graphics/proj/Makefile index 48799b5c95bc..71cec54ded4a 100644 --- a/graphics/proj/Makefile +++ b/graphics/proj/Makefile @@ -1,26 +1,26 @@ PORTNAME= proj PORTVERSION= 9.4.0 PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= graphics geography MASTER_SITES= https://download.osgeo.org/proj/ MAINTAINER= lbartoletti@FreeBSD.org COMMENT= Cartographic Projections library WWW= https://github.com/OSGeo/PROJ LICENSE= MIT #LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcurl.so:ftp/curl \ libtiff.so:graphics/tiff #RUN_DEPENDS= proj-data>=0:graphics/proj-data -USES= compiler:c++11-lang cmake cpe libtool pathfix pkgconfig sqlite +USES= compiler:c++11-lang cmake cpe pathfix pkgconfig sqlite USE_LDCONFIG= yes CMAKE_OFF= BUILD_TESTING CPE_VENDOR= proj_project .include diff --git a/graphics/xcftools/Makefile b/graphics/xcftools/Makefile index 90d012d09b53..c076b9358b9b 100644 --- a/graphics/xcftools/Makefile +++ b/graphics/xcftools/Makefile @@ -1,81 +1,81 @@ PORTNAME= xcftools PORTVERSION= 1.0.8.20130212 PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= http://freeheimdall.spdns.org/files/ MAINTAINER= kalten@gmx.at COMMENT= Command-line tools for extracting from XCF format (graphics/gimp) WWW= http://henning.makholm.net/software LIB_DEPENDS= libpng.so:graphics/png # xcftools is under a public domain licence USE_GITHUB= yes GH_ACCOUNT= j-jorge GH_TAGNAME= d72ba82 # option NLS (for gettext) is wrong as this port allways needs NLS: -USES= cpe libtool cmake:insource,noninja gmake iconv pkgconfig perl5 gettext +USES= cpe cmake:insource,noninja gmake iconv pkgconfig perl5 gettext CPE_VENDOR= ${PORTNAME}_project USE_PERL5= build run GNU_CONFIGURE= yes USE_LDCONFIG= yes INSTALL_TARGET= preinstall # manual pages not built but there is -h for each program. # regression tests (TESTS option) fail PORTDOCS= ChangeLog README TRANSLATION PLIST_FILES= bin/xcf2png \ bin/xcf2pnm \ bin/xcfinfo \ bin/xcfview CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lintl MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= DOCS TESTS TESTS_DESC= Run self-tests (faulty) (pulls in graphics/netpbm shells/bash) TESTS_BUILD_DEPENDS= pngtopnm:graphics/netpbm \ bash:shells/bash .include post-patch: @${REINPLACE_CMD} -e "s|^#! \(/bin/bash\)|#!${PREFIX}\1|" \ ${WRKSRC}/test/dotest @${REINPLACE_CMD} -e "s|perl|${PERL}|" \ ${WRKSRC}/test/dotest @${REINPLACE_CMD} -e "s|^#! /usr/bin/perl|#!${PERL}|" \ ${WRKSRC}/xcfview \ ${WRKSRC}/mancombine.pl \ ${WRKSRC}/manpo/mantranslate.pl \ ${WRKSRC}/manpo/optipot.pl \ ${WRKSRC}/mkenumsc.pl \ ${WRKSRC}/mkenumsh.pl \ ${WRKSRC}/mkopti.pl \ ${WRKSRC}/mktablec.pl test: .if ${PORT_OPTIONS:MTESTS} cd ${WRKSRC}/test && \ ${SETENV} ${MAKE_ENV} limits -m 20m ${GMAKE} check .endif post-build: test post-install: ${STRIP_CMD} ${WRKSRC}/bin/xcf2png ${WRKSRC}/bin/xcf2pnm \ ${WRKSRC}/bin/xcfinfo ${INSTALL_SCRIPT} ${WRKSRC}/bin/xcf2png ${WRKSRC}/bin/xcf2pnm \ ${WRKSRC}/bin/xcfinfo ${WRKSRC}/xcfview \ ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) .include diff --git a/irc/weechat/Makefile b/irc/weechat/Makefile index dba99258c742..ed9b626dcbb0 100644 --- a/irc/weechat/Makefile +++ b/irc/weechat/Makefile @@ -1,86 +1,86 @@ PORTNAME= weechat PORTVERSION= 4.2.2 CATEGORIES= irc MASTER_SITES= https://weechat.org/files/src/ MAINTAINER= brnrd@FreeBSD.org COMMENT= Lightweight and user friendly ncurses based IRC client WWW= https://weechat.org/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS+= libcurl.so:ftp/curl \ libgcrypt.so:security/libgcrypt \ libgnutls.so:security/gnutls \ libgpg-error.so:security/libgpg-error -USES= cmake cpe libtool ncurses pkgconfig tar:xz +USES= cmake cpe ncurses pkgconfig tar:xz USE_LDCONFIG= yes CMAKE_ARGS= -DLIBDATADIR=${LOCALBASE}/libdata OPTIONS_DEFINE= BACKTRACE DOCS HEADLESS ICON ICONV MANPAGES NLS ZSTD OPTIONS_DEFAULT= ASPELL BACKTRACE CHARSET HEADLESS ICON LUA MANPAGES \ NLS PERL PYTHON RUBY TCL TYPING ZSTD OPTIONS_SUB= yes OPTIONS_GROUP= PLUGINS OPTIONS_GROUP_PLUGINS= ASPELL CHARSET GUILE JAVASCRIPT LUA PERL PHP PYTHON \ RUBY TCL TYPING BACKTRACE_DESC= Provide crash backtraces CHARSET_DESC= Charset plugin (implies ICONV) GUILE_DESC= Guile script support HEADLESS_DESC= Build headless weechat as well ICON_DESC= Desktop icon JAVASCRIPT_DESC= Javascript script support PLUGINS_DESC= Weechat Plugins PYTHON_DESC= Python script support RUBY_DESC= Ruby script support TYPING_DESC= Typing status plugin .for _opt in ${OPTIONS_GROUP_PLUGINS} BACKTRACE HEADLESS ICONV GNUTLS NLS ZSTD ${_opt}_CMAKE_BOOL= ENABLE_${_opt} .endfor ASPELL_CMAKE_BOOL= ENABLE_SPELL ASPELL_LIB_DEPENDS= libaspell.so:textproc/aspell CHARSET_IMPLIES= ICONV DOCS_CMAKE_BOOL= ENABLE_DOC ENABLE_DOC_INCOMPLETE DOCS_BUILD_DEPENDS= ${LOCALBASE}/bin/asciidoctor:textproc/rubygem-asciidoctor GUILE_USES= guile:2.2,conflicts ICONV_USES= iconv JAVASCRIPT_LIB_DEPENDS= libv8.so:lang/v8 LUA_USES= lua pkgconfig MANPAGES_CMAKE_BOOL= ENABLE_MAN MANPAGES_CMAKE_ON= -DMANDIR=${PREFIX}/share/man MANPAGES_BUILD_DEPENDS= ${LOCALBASE}/bin/asciidoctor:textproc/rubygem-asciidoctor NLS_USES= gettext PERL_USES= perl5 PHP_USES= php:build,embed PYTHON_USES= python RUBY_USES= ruby TCL_CMAKE_ON= -DTCL_VERSION:STRING="${TCL_VER}" \ -DTCL_TCLSH:PATH="${TCLSH}" TCL_USES= tcl ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd .include post-patch: .if ${LOCALBASE} != "/usr/local" . for f in src/core/CMakeLists.txt cmake/*.cmake @${REINPLACE_CMD} 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/$f . endfor .endif @${REINPLACE_CMD} 's|python${PYTHON_MAJOR_VER}|python-${PYTHON_VER}|' \ ${WRKSRC}/cmake/FindPython.cmake post-patch-ICON-off: @${REINPLACE_CMD} -e '/^# icon$$/,/^$$/d' ${WRKSRC}/CMakeLists.txt post-install: ${LN} -sf weechat ${STAGEDIR}${PREFIX}/bin/weechat-curses .include diff --git a/net-im/tox/Makefile b/net-im/tox/Makefile index 71ae9c986797..d9b722cc1cb3 100644 --- a/net-im/tox/Makefile +++ b/net-im/tox/Makefile @@ -1,67 +1,67 @@ PORTNAME= toxcore PORTVERSION= 0.2.19 DISTVERSIONPREFIX= v PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= net-im net-p2p MAINTAINER= thierry@FreeBSD.org COMMENT= ProjectTox-Core library, a decentralized and secure messenger WWW= https://tox.chat/ LICENSE= GPLv3 BUILD_DEPENDS= checkmk:devel/check \ gtest:sysutils/coreutils LIB_DEPENDS= libvpx.so:multimedia/libvpx \ libsndfile.so:audio/libsndfile \ libportaudio.so:audio/portaudio \ libsodium.so:security/libsodium \ libopus.so:audio/opus \ libconfig.so:devel/libconfig TEST_DEPENDS= opencv_visualisation:graphics/opencv #TEST_DEPENDS= libopencv_core.so:graphics/opencv USE_GITHUB= yes GH_ACCOUNT= TokTok camgunz:cmp GH_PROJECT= c-toxcore cmp:cmp GH_TAGNAME= 643e6a62d4eb0ec2277de269cda33da02cba2756:cmp GH_SUBDIR= third_party/cmp:cmp CPE_VENDOR= toktok -USES= cmake cpe libtool pathfix pkgconfig +USES= cmake cpe pathfix pkgconfig USE_LDCONFIG= yes PLIST_SUB= VER=${PORTVERSION:C/0.//}.0 SO=2 OPTIONS_DEFINE= DAEMON TEST OPTIONS_SUB= yes DAEMON_DESC= Bootstrap daemon DAEMON_CMAKE_ON= -DBOOTSTRAP_DAEMON=on DAEMON_LIB_DEPENDS= libconfig.so:devel/libconfig TEST_CMAKE_ON= -DAUTOTEST=on TEST_TARGET= test .include .if ${PORT_OPTIONS:MDAEMON} USERS= toxdht USE_RC_SUBR= tox-bootstrapd SUB_LIST= TOXDHT=${USERS} PLIST_SUB+= TOXDHT=${USERS} KEYS_DIR= /var/lib/tox-bootstrapd PID_DIR= /var/run/tox-bootstrapd PKGMESSAGE= ${PKGDIR}/pkg-message.daemon .endif post-install: .if ${PORT_OPTIONS:MDAEMON} ${INSTALL_DATA} ${WRKSRC}/other/bootstrap_daemon/tox-bootstrapd.conf \ ${STAGEDIR}${PREFIX}/etc/tox-bootstrapd.conf.sample ${MKDIR} ${STAGEDIR}${KEYS_DIR} ${MKDIR} ${STAGEDIR}${PID_DIR} .endif .include diff --git a/net-p2p/libtorrent-rasterbar/Makefile b/net-p2p/libtorrent-rasterbar/Makefile index e31d9820b5b8..5d2badd59aca 100644 --- a/net-p2p/libtorrent-rasterbar/Makefile +++ b/net-p2p/libtorrent-rasterbar/Makefile @@ -1,72 +1,72 @@ PORTNAME= libtorrent-rasterbar DISTVERSION= 1.2.19 # 2.x is unusable until memory problems are resolved, see https://github.com/arvidn/libtorrent/issues/6781 PORTEPOCH= 2 CATEGORIES= net-p2p MASTER_SITES= https://github.com/arvidn/libtorrent/releases/download/v${DISTVERSION}/ MAINTAINER= yuri@FreeBSD.org COMMENT= C++ library implementing a BitTorrent client WWW= https://libtorrent.org/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libboost_chrono.so:devel/boost-libs \ libboost_random.so:devel/boost-libs \ libboost_system.so:devel/boost-libs -USES= cmake compiler:c++17-lang iconv:wchar_t libtool localbase:ldflags pathfix pkgconfig python:test shebangfix ssl +USES= cmake compiler:c++17-lang iconv:wchar_t localbase:ldflags pathfix pkgconfig python:test shebangfix ssl SHEBANG_FILES= test/socks.py test/web_server.py USE_LDCONFIG= yes USE_CXXSTD= c++17 # prevent boost-related SEGV, see bug#264278 LDFLAGS+= ${ICONV_LIB} SHLIB_VER= 10 PLIST_SUB+= SHLIB_VER="${SHLIB_VER}" SO_VER="${DISTVERSION}" DOCFILES= AUTHORS ChangeLog PORTDOCS= ${DOCFILES} docs/* PORTEXAMPLES= *.cpp OPTIONS_DEFINE= DOCS EXAMPLES LOGGING OPTIONS_DEFAULT= LOGGING OPTIONS_SUB= yes LOGGING_DESC= Enable logging to disk EXAMPLES_CMAKE_BOOL= build_examples LOGGING_CMAKE_BOOL= logging PORTSCOUT= limit:^1.* # 2.x is WIP and we don't accept it before qBittorrent does CONFLICTS_INSTALL= libtorrent-rasterbar2 post-patch: @${REINPLACE_CMD} -e 's|return "python3";|return "${PYTHON_CMD}";|' \ ${WRKSRC}/test/setup_transfer.cpp post-install: # py-bindings seems to link this exact name after v1.2.14 # TODO: figure out how to make symlinks in Jamfile /bin/ln -s libtorrent-rasterbar.so.${DISTVERSION} ${STAGEDIR}${PREFIX}/lib/libtorrent-rasterbar.so.10.0.0 @${RM} ${STAGEDIR}${PREFIX}/include/libtorrent/Makefile* post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOCFILES:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${COPYTREE_SHARE} docs ${STAGEDIR}${DOCSDIR} ${RM} ${STAGEDIR}${DOCSDIR}/docs/._* post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/${PORTEXAMPLES} \ ${STAGEDIR}${EXAMPLESDIR} do-test: @cd ${BUILD_WRKSRC} && \ ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -Dbuild_tests:BOOL=ON ${CMAKE_SOURCE_PATH} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test .include diff --git a/net-p2p/libtorrent-rasterbar2/Makefile b/net-p2p/libtorrent-rasterbar2/Makefile index 6096261fe9ed..4b8ca26cc9c2 100644 --- a/net-p2p/libtorrent-rasterbar2/Makefile +++ b/net-p2p/libtorrent-rasterbar2/Makefile @@ -1,67 +1,67 @@ PORTNAME= libtorrent-rasterbar DISTVERSIONPREFIX= v DISTVERSION= 2.0.10 CATEGORIES= net-p2p #MASTER_SITES= https://github.com/arvidn/libtorrent/releases/download/v${DISTVERSION}/ PKGNAMESUFFIX= 2 MAINTAINER= yuri@FreeBSD.org COMMENT= C++ library implementing a BitTorrent client WWW= https://libtorrent.org/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libboost_chrono.so:devel/boost-libs \ libboost_random.so:devel/boost-libs \ libboost_system.so:devel/boost-libs -USES= cmake:testing compiler:c++11-lib iconv:wchar_t libtool \ +USES= cmake:testing compiler:c++11-lib iconv:wchar_t \ localbase:ldflags pathfix pkgconfig python:test shebangfix ssl USE_LDCONFIG= yes SHEBANG_GLOB= *.py USE_GITHUB= yes GH_ACCOUNT= arvidn GH_PROJECT= libtorrent GH_TUPLE= arvidn:try_signal:105cce5:try_signal/deps/try_signal \ arvidn:libsimulator:66ac6cc:libsimulator/simulation/libsimulator \ paullouisageneau:boost-asio-gnutls:a57d4d3:asio/deps/asio-gnutls USE_CXXSTD= c++17 # prevent boost-related SEGV, see bug#264278 LDFLAGS+= ${ICONV_LIB} DOCFILES= AUTHORS ChangeLog PORTDOCS= ${DOCFILES} docs/* PORTEXAMPLES= *.cpp CMAKE_TESTING_ON= build_tests OPTIONS_DEFINE= DOCS EXAMPLES LOGGING OPTIONS_DEFAULT= LOGGING OPTIONS_SUB= yes LOGGING_DESC= Enable logging to disk EXAMPLES_CMAKE_BOOL= build_examples LOGGING_CMAKE_BOOL= logging CONFLICTS_INSTALL= libtorrent-rasterbar post-patch: @${REINPLACE_CMD} -e 's|"python3"|"${PYTHON_CMD:T}"|' \ ${WRKSRC}/test/setup_transfer.cpp post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOCFILES:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${COPYTREE_SHARE} docs ${STAGEDIR}${DOCSDIR} ${RM} ${STAGEDIR}${DOCSDIR}/docs/._* post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/${PORTEXAMPLES} \ ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/net-p2p/transmission-components/Makefile b/net-p2p/transmission-components/Makefile index 366a4da0c741..ba93835a1d96 100644 --- a/net-p2p/transmission-components/Makefile +++ b/net-p2p/transmission-components/Makefile @@ -1,204 +1,204 @@ PORTNAME= transmission DISTVERSION= 4.0.5 PORTREVISION= 2 CATEGORIES= net-p2p MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${DISTVERSION}/ MAINTAINER= mondo.debater_0q@icloud.com COMMENT= Transmission BitTorrent client WWW= https://www.transmissionbt.com LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/include/fast_float/fast_float.h:math/fast_float \ ${LOCALBASE}/include/fmt/format.h:devel/libfmt \ ${LOCALBASE}/include/utf8cpp/utf8.h:devel/utf8cpp LIB_DEPENDS= libb64.so:converters/libb64 \ libcurl.so:ftp/curl \ libdeflate.so:archivers/libdeflate \ libdht.so:devel/jech-dht \ libevent.so:devel/libevent \ libminiupnpc.so:net/miniupnpc \ libnatpmp.so:net/libnatpmp \ libpsl.so:dns/libpsl \ libutp.so:net-p2p/libutp FLAVORS= cli docs daemon gtk qt utils web FLAVOR?= ${FLAVORS:[1]} .for flavor in ${FLAVORS} ${flavor}_PKGNAMESUFFIX= -${flavor} .endfor DESCR= ${PKGDIR}/pkg-descr.${FLAVOR} .if ${FLAVOR} == docs NO_BUILD= yes LIB_DEPENDS= .endif gtk_LIB_DEPENDS= libayatana-appindicator3.so:devel/libayatana-appindicator \ libharfbuzz.so:print/harfbuzz -USES= cmake cpe iconv libtool localbase pkgconfig ssl tar:xz +USES= cmake cpe iconv localbase pkgconfig ssl tar:xz CPE_VENDOR= transmissionbt CPE_PRODUCT= transmission EXTRACT_AFTER_ARGS= --exclude third-party/dht \ --exclude third-party/fast_float \ --exclude third-party/fmt \ --exclude third-party/libb64 \ --exclude third-party/libdeflate \ --exclude third-party/libevent \ --exclude third-party/libnatpmp \ --exclude third-party/libpsl \ --exclude third-party/libutp \ --exclude third-party/miniupnpc \ --exclude third-party/utfcpp .if ${FLAVOR} == gtk USES+= desktop-file-utils gettext-runtime gettext-tools gnome USE_GNOME= gdkpixbuf2 glibmm gtkmm30 .endif .if ${FLAVOR} == qt USES+= desktop-file-utils qmake:no_env qt:5 USE_QT= core dbus gui network svg widgets buildtools:build \ linguisttools:build .endif .if ${FLAVOR} == daemon USE_RC_SUBR= transmission .endif .if ${FLAVOR} == docs USES= cpe tar:xz .endif .if ${FLAVOR} == web USES= cpe tar:xz NO_ARCH= yes NO_BUILD= yes #PORTDATA= public_html .endif CMAKE_ON= USE_SYSTEM_B64 USE_SYSTEM_DEFLATE USE_SYSTEM_DHT \ USE_SYSTEM_EVENT2 USE_SYSTEM_MINIUPNPC USE_SYSTEM_NATPMP \ USE_SYSTEM_PSL USE_SYSTEM_UTP CMAKE_OFF= ENABLE_MAC REBUILD_WEB WITH_SYSTEMD .if ${FLAVOR:Ndocs} USERS= transmission GROUPS= transmission .endif PLIST= ${PKGDIR}/pkg-plist.${FLAVOR} .if ${FLAVOR} == cli CMAKE_ON+= ENABLE_CLI CMAKE_OFF+= ENABLE_DAEMON ENABLE_GTK ENABLE_QT ENABLE_UTILS INSTALL_WEB .endif .if ${FLAVOR} == daemon CMAKE_ON+= ENABLE_DAEMON CMAKE_OFF+= ENABLE_CLI ENABLE_GTK ENABLE_QT ENABLE_UTILS INSTALL_WEB .endif .if ${FLAVOR} == gtk CMAKE_ON+= ENABLE_GTK GTK_IS_REQUIRED CMAKE_ARGS+= -DUSE_GTK_VERSION=3 CMAKE_OFF+= ENABLE_CLI ENABLE_DAEMON ENABLE_UTILS INSTALL_WEB .endif .if ${FLAVOR} == qt CMAKE_ON+= ENABLE_QT QT_IS_REQUIRED CMAKE_ARGS+= -DUSE_QT_VERSION=5 CMAKE_OFF+= ENABLE_CLI ENABLE_DAEMON ENABLE_UTILS INSTALL_WEB .endif .if ${FLAVOR} == utils CMAKE_ON+= ENABLE_UTILS CMAKE_OFF+= ENABLE_CLI ENABLE_DAEMON ENABLE_GTK ENABLE_QT ENABLE_TESTS \ ENABLE_WERROR INSTALL_WEB .endif OPTIONS_FILE= ${PORT_DBDIR}/${OPTIONS_NAME}/${FLAVOR}-options .if ${FLAVOR:Mdaemon} OPTIONS_DEFINE= NLS TESTS OPTIONS_DEFAULT= NLS .endif .if ${FLAVOR:Mdocs} OPTIONS_DEFINE= .endif .if ${FLAVOR:Ndaemon} && ${FLAVOR:Ndocs} OPTIONS_DEFINE= NLS TESTS OPTIONS_DEFAULT= NLS .endif OPTIONS_SUB= yes daemon_DESC= Build daemon docs_DESC= Install documentation gtk_DESC= Build GTK+ client qt_DESC= Build QT client TESTS_DESC= Build & run unit tests utils_DESC= Build utilities (create, edit, remote, show) cli_DESC= Build command-line client (deprecated) #web_DESC= Install web interface NLS_USES= gettext-runtime:lib NLS_CMAKE_BOOL= ENABLE_NLS TESTS_CMAKE_BOOL= ENABLE_TESTS UTILS_CMAKE_BOOL= ENABLE_UTILS WEB_CMAKE_BOOL= INSTALL_WEB .if ${FLAVOR} == docs pre-install: @${ECHO_MSG} "Removing outdated release notes" @${FIND} ${WRKSRC}/news \( -name 'news-[0-3]*' -o -name '*beta*' \) -delete do-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} @cd ${WRKSRC} ; ${CP} AUTHORS ${STAGEDIR}${DOCSDIR} ;\ ${CP} COPYING ${STAGEDIR}${DOCSDIR} ;\ ${CP} README.md ${STAGEDIR}${DOCSDIR} @cd ${WRKSRC}/docs ; ${CP} rpc-spec.md ${STAGEDIR}${DOCSDIR} @cd ${WRKSRC}/extras ; ${CP} send-email-when-torrent-done.sh ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR}/news @cd ${WRKSRC}/news ; ${CP} -R . ${STAGEDIR}${DOCSDIR}/news .endif .if ${FLAVOR} == qt post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps ${INSTALL_DATA} ${WRKSRC}/qt/icons/transmission.svg \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/transmission-qt.svg .endif .if ${FLAVOR} == daemon post-install: ${MKDIR} ${STAGEDIR}${ETCDIR}/home .endif .if ${FLAVOR} == web do-install: ( cd ${WRKSRC}/web && ${COPYTREE_SHARE} public_html ${STAGEDIR}${DATADIR} ) .endif post-install-TESTS-on: @${ECHO_MSG} "Running tests..." @cd ${BUILD_WRKSRC}/tests/libtransmission/ && \ eval ${BUILD_WRKSRC}/tests/libtransmission/libtransmission-test \ --gtest_filter="-DhtTest.usesBootstrapFile" \ #fails in poudriere due to lack of networking, passes otherwise --gtest_brief=1 \ .include diff --git a/net/libvncserver/Makefile b/net/libvncserver/Makefile index baef28d711b3..95d21bf23ad6 100644 --- a/net/libvncserver/Makefile +++ b/net/libvncserver/Makefile @@ -1,55 +1,55 @@ PORTNAME= libvncserver PORTVERSION= 0.9.14 PORTREVISION= 1 DISTVERSIONPREFIX= LibVNCServer- CATEGORIES= net devel MAINTAINER= nc@FreeBSD.org COMMENT= Provide an easy API to a custom vnc server WWW= https://libvnc.github.io/ LICENSE= GPLv2 LIB_DEPENDS= libpng.so:graphics/png \ liblzo2.so:archivers/lzo2 -USES= cmake cpe jpeg libtool pathfix pkgconfig +USES= cmake cpe jpeg pathfix pkgconfig USE_LDCONFIG= yes CPE_VENDOR= libvncserver_project CMAKE_ON= WITH_24BPP WITH_JPEG WITH_LZO WITH_PNG \ WITH_THREADS WITH_TIGHTVNC_FILETRANSFER \ WITH_WEBSOCKETS WITH_ZLIB CMAKE_OFF= WITH_FFMPEG WITH_SDL WITH_SYSTEMD USE_GITHUB= yes GH_ACCOUNT= LibVNC OPTIONS_DEFINE= GCRYPT IPV6 SASL OPTIONS_SINGLE= SSL OPTIONS_SINGLE_SSL= GNUTLS OPENSSL OPTIONS_DEFAULT= GCRYPT OPENSSL GCRYPT_DESC= libgcrypt support SASL_DESC= SASL support GCRYPT_CMAKE_BOOL= WITH_GCRYPT GCRYPT_LIB_DEPENDS= libgcrypt.so:security/libgcrypt \ libgpg-error.so:security/libgpg-error IPV6_CMAKE_BOOL= WITH_IPv6 SASL_CMAKE_BOOL= WITH_SASL SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 GNUTLS_IMPLIES= GCRYPT GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_CMAKE_BOOL= WITH_GNUTLS OPENSSL_CMAKE_BOOL= WITH_OPENSSL OPENSSL_USES= ssl post-install: ${INSTALL_DATA} ${WRKSRC}/rfb/default8x16.h ${STAGEDIR}${PREFIX}/include/rfb .include diff --git a/print/qpdf/Makefile b/print/qpdf/Makefile index 1d2989583af1..4219bc239f1e 100644 --- a/print/qpdf/Makefile +++ b/print/qpdf/Makefile @@ -1,37 +1,37 @@ PORTNAME= qpdf DISTVERSION= 11.9.0 CATEGORIES= print MASTER_SITES= SF MAINTAINER= wen@FreeBSD.org COMMENT= Command-line tools for transforming and inspecting PDF documents WWW= http://qpdf.sourceforge.net LICENSE= ART20 APACHE20 LICENSE_COMB= dual LICENSE_FILE_ART20= ${WRKSRC}/Artistic-2.0 LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE.txt -USES= compiler:c++11-lang cmake cpe jpeg libtool localbase +USES= compiler:c++11-lang cmake cpe jpeg localbase USE_LDCONFIG= yes CPE_VENDOR= qpdf_project CMAKE_ARGS= -DHAVE_EXTERN_LONG_TIMEZONE=0 \ -DBUILD_STATIC_LIBS=0 \ -DUSE_IMPLICIT_CRYPTO=0 \ -DALLOW_CRYPTO_NATIVE=0 \ -DCMAKE_INSTALL_MANDIR=${PREFIX}/share/man LDFLAGS= -Wl,--undefined-version OPTIONS_DEFINE= DOCS OPTIONS_RADIO= CRYPTO OPTIONS_RADIO_CRYPTO= GNUTLS OPENSSL OPTIONS_DEFAULT= OPENSSL OPENSSL_USES= ssl OPENSSL_CMAKE_BOOL= REQUIRE_CRYPTO_OPENSSL GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_CMAKE_BOOL= REQUIRE_CRYPTO_GNUTLS .include diff --git a/science/hdf5-18/Makefile b/science/hdf5-18/Makefile index 22467f05d507..1dbb840dc0c9 100644 --- a/science/hdf5-18/Makefile +++ b/science/hdf5-18/Makefile @@ -1,92 +1,92 @@ PORTNAME= hdf5 PORTVERSION= 1.8.23 CATEGORIES= science archivers graphics MASTER_SITES= https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.8/${PORTNAME}-${PORTVERSION}/src/ \ http://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.8/${PORTNAME}-${PORTVERSION}/src/ \ ftp://ftp.hdfgroup.org/HDF5/releases/hdf5-1.8/${PORTNAME}-${PORTVERSION}/src/ PKGNAMESUFFIX= -18 MAINTAINER= thierry@FreeBSD.org COMMENT= Hierarchical Data Format library (from NCSA) 1.8 WWW= https://www.hdfgroup.org/HDF5/ LICENSE= BSD4CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING OPTIONS_DEFINE= EXAMPLES FORTRAN SZIP -USES= cmake:testing cpe libtool:keepla localbase pkgconfig tar:bzip2 +USES= cmake:testing cpe localbase pkgconfig tar:bzip2 CPE_VENDOR= hdfgroup USE_LDCONFIG= yes PORTSUFF= ${PORTNAME}${PKGNAMESUFFIX} CMAKE_ARGS= -DHDF5_LIB_INFIX:STRING="-18" EXAMPLESDIR= ${PREFIX}/share/examples/${PORTSUFF} SHRFILES= COPYING RELEASE.txt USING_HDF5_CMake.txt SUFF2FIX= c++/src/h5c++.in fortran/src/h5fc.in FORTRAN_USES= fortran FORTRAN_CMAKE_BOOL= HDF5_BUILD_FORTRAN FORTRAN_PLIST_SUB= FORTRAN="" FORTRAN_PLIST_SUB_OFF= FORTRAN="@comment " FORTRAN__VARS= FCFLAGS_f90="${FCFLAGS}" LIBS="-lstdc++" SZIP_CMAKE_BOOL= HDF5_ENABLE_SZIP_SUPPORT SZIP_LIB_DEPENDS= libsz.so:science/libaec EXAMPLES_CMAKE_BOOL= HDF5_BUILD_EXAMPLES pre-configure: ${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure ${REINPLACE_CMD} -e 's|-O3||g' ${WRKSRC}/config/gnu-flags ${REINPLACE_CMD} \ -e '/LD_LIBRARY_PATH/ s|^|#|' \ -e 's|/share/hdf5_examples|/${EXAMPLESDIR_REL}|' \ -e 's|(INSTALL)|(INSTALL_DATA)|' \ `${FIND} ${WRKSRC} -regex '.*/examples/Makefile.in'` ${REINPLACE_CMD} -e 's|\[ -a|\[ -f|g' `${FIND} ${WRKSRC} -name \*.sh\*` ${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} \ ${REINPLACE_CMD} -e 's|libhdf5|libhdf5${PKGNAMESUFFIX}|g' ${REINPLACE_CMD} -e 's|libhdf5|libhdf5${PKGNAMESUFFIX}|g' \ ${WRKSRC}/test/testlibinfo.sh.in .for pf in ${SUFF2FIX} ${REINPLACE_CMD} -e 's|%%SUFF%%|${PKGNAMESUFFIX}|g' ${WRKSRC}/${pf} .endfor ${CP} ${WRKSRC}/src/libhdf5.settings.in \ ${WRKSRC}/src/libhdf5-18.settings.in post-stage: cd ${STAGEDIR}${PREFIX}/bin && ( \ for f in `${FIND} . -type f`; do \ ${MV} $$f $${f}-18; \ done; \ ) ${MKDIR} ${STAGEDIR}${PREFIX}/include/hdf5-18 ${MV} ${STAGEDIR}${PREFIX}/include/*.h \ ${STAGEDIR}${PREFIX}/include/hdf5-18/ @${MKDIR} ${STAGEDIR}${DATADIR}-18 ${STAGEDIR}${PREFIX}/lib/cmake/hdf5-18 ${MV} ${STAGEDIR}${PREFIX}/cmake/* ${STAGEDIR}${PREFIX}/lib/cmake/hdf5-18 .for f in ${SHRFILES} ${MV} ${STAGEDIR}${PREFIX}/share/${f} ${STAGEDIR}${DATADIR}-18 .endfor ${MV} ${STAGEDIR}${PREFIX}/lib/libhdf5.settings \ ${STAGEDIR}${PREFIX}/lib/libhdf5-18.settings ${RMDIR} ${STAGEDIR}${PREFIX}/cmake post-stage-FORTRAN-on: .for ext in mod f90 ${MV} ${STAGEDIR}${PREFIX}/include/*.${ext} \ ${STAGEDIR}${PREFIX}/include/hdf5-18/ .endfor ${MV} ${STAGEDIR}${PREFIX}/mod/* ${STAGEDIR}${PREFIX}/include/hdf5-18/ ${RMDIR} ${STAGEDIR}${PREFIX}/mod post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} regression-test test: build cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${MAKE} check .include diff --git a/security/libscep/Makefile b/security/libscep/Makefile index bf11bb5226e3..9a03a3c30a7a 100644 --- a/security/libscep/Makefile +++ b/security/libscep/Makefile @@ -1,41 +1,41 @@ PORTNAME= libscep DISTVERSIONPREFIX= v DISTVERSION= 0.09 PORTREVISION= 1 CATEGORIES= security MAINTAINER= svysh.fbsd@gmail.com COMMENT= Client side SCEP library w/o clients WWW= https://github.com/openxpki/libscep LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/README.md BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR} \ check>=0.12.0:devel/check \ curl>=7.64:ftp/curl \ uriparser>=0.9.1:net/uriparser RUN_DEPENDS= check>=0.12.0:devel/check \ curl>=7.64:ftp/curl \ uriparser>=0.9.1:net/uriparser -USES= cmake:noninja gmake libtool pkgconfig python:build ssl +USES= cmake:noninja gmake pkgconfig python:build ssl USE_GITHUB= yes GH_ACCOUNT= openxpki USE_LDCONFIG= yes CMAKE_ARGS+= -DCHECK_INSTALL_DIR=${PREFIX} CMAKE_OFF= BUILD_CLI PLIST_FILES= include/scep.h \ lib/libscep.so \ share/man/man1/libscep.1.gz post-build: (cd ${WRKSRC}/docs;\ BUILDDIR=${BUILD_WRKSRC} SPHINXBUILD=sphinx-build-${PYTHON_VER} ${GMAKE} -e man) post-install: ${INSTALL_MAN} ${BUILD_WRKSRC}/man/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1 .include diff --git a/security/yubico-piv-tool/Makefile b/security/yubico-piv-tool/Makefile index 36ad02e07c85..c95bdd788cc4 100644 --- a/security/yubico-piv-tool/Makefile +++ b/security/yubico-piv-tool/Makefile @@ -1,52 +1,52 @@ PORTNAME= yubico-piv-tool PORTVERSION= 2.4.2 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= https://developers.yubico.com/yubico-piv-tool/Releases/ MAINTAINER= ume@FreeBSD.org COMMENT= Yubico PIV tool WWW= https://developers.yubico.com/yubico-piv-tool/ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/check.pc:devel/check \ gengetopt:devel/gengetopt \ help2man:misc/help2man LIB_DEPENDS= libpcsclite.so:devel/pcsc-lite -USES= compiler cmake:noninja gmake libtool pathfix pkgconfig ssl +USES= compiler cmake:noninja gmake pathfix pkgconfig ssl USE_LDCONFIG= yes CMAKE_ARGS= -D LIBCRYPTO_CFLAGS="-I${OPENSSLINC}" \ -D LIBCRYPTO_LDFLAGS="-L${OPENSSLLIB} -lcrypto -L${LOCALBASE}/lib -pthread" \ -D YKPIV_INSTALL_MAN_DIR="${LOCALBASE}/share/man" \ -D YKPIV_INSTALL_PKGCONFIG_DIR="${LOCALBASE}/libdata/pkgconfig" PLIST_FILES= bin/yubico-piv-tool \ include/ykpiv/ykpiv-config.h \ include/ykpiv/ykpiv.h \ lib/libykcs11.a \ lib/libykcs11.so \ lib/libykcs11.so.2 \ lib/libykcs11.so.${PORTVERSION} \ lib/libykpiv.a \ lib/libykpiv.so \ lib/libykpiv.so.2 \ lib/libykpiv.so.${PORTVERSION} \ libdata/pkgconfig/ykcs11.pc \ libdata/pkgconfig/ykpiv.pc \ share/man/man1/yubico-piv-tool.1.gz .include .if ${CHOSEN_COMPILER_TYPE} == gcc post-patch: @${REINPLACE_CMD} -e '/#pragma GCC diagnostic/d' \ ${WRKSRC}/lib/ykpiv.c \ ${WRKSRC}/lib/util.c \ ${WRKSRC}/lib/internal.c \ ${WRKSRC}/tool/yubico-piv-tool.c .endif .include diff --git a/sysutils/jstest-gtk/Makefile b/sysutils/jstest-gtk/Makefile index 6571ab838d88..d915c52ce18b 100644 --- a/sysutils/jstest-gtk/Makefile +++ b/sysutils/jstest-gtk/Makefile @@ -1,25 +1,25 @@ PORTNAME= jstest-gtk PORTVERSION= 20180710 PORTREVISION= 6 CATEGORIES= sysutils MAINTAINER= rozhuk.im@gmail.com COMMENT= Simple joystick tester based on Gtk+ WWW= https://jstest-gtk.gitlab.io/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/include/linux/joystick.h:devel/evdev-proto -USES= cmake compiler:c++11-lang gnome libtool localbase:ldflags \ +USES= cmake compiler:c++11-lang gnome localbase:ldflags \ pkgconfig xorg USE_GNOME= gtkmm30 libsigc++20 USE_XORG= x11 # gitlab variables USE_GITLAB= yes GL_ACCOUNT= jstest-gtk GL_TAGNAME= 62f6e2d7d44620e503149510c428df9e004c9f3b .include diff --git a/x11-toolkits/soqt/Makefile b/x11-toolkits/soqt/Makefile index 415446da4c55..266e2acfc106 100644 --- a/x11-toolkits/soqt/Makefile +++ b/x11-toolkits/soqt/Makefile @@ -1,32 +1,32 @@ PORTNAME= SoQt PORTVERSION= 1.6.1 PORTEPOCH= 1 CATEGORIES= x11-toolkits # cannot USE_GITHUB: submodules required, distfile built by upstream MASTER_SITES= https://github.com/coin3d/soqt/releases/download/v${PORTVERSION}/ DISTNAME= soqt-${PORTVERSION}-src MAINTAINER= cmt@FreeBSD.org COMMENT= Qt5-fork of the SoQt toolkit library for Coin WWW= https://github.com/coin3d/soqt/ LICENSE= BSD3CLAUSE LIB_DEPENDS= libCoin.so:graphics/Coin -USES= cmake:noninja compiler:c++11-lang dos2unix gl libtool \ +USES= cmake:noninja compiler:c++11-lang dos2unix gl \ localbase pathfix pkgconfig qmake:no_env qt:5 xorg USE_QT= buildtools core gui opengl qmake widgets USE_GL= gl glu USE_XORG= ice sm x11 xext xi USE_LDCONFIG= yes CPPFLAGS+= -I${QT_INCDIR}/QtCore -I${QT_INCDIR} CXXFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${QT_LIBDIR} -L${LOCALBASE}/lib CMAKE_ARGS+= -DSOQT_USE_QT4=off -DSOQT_USE_QT5=on -DSOQT_USE_QT6=off CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include WRKSRC= ${WRKDIR}/soqt .include