diff --git a/audio/audacity/Makefile b/audio/audacity/Makefile index 2066cd6f58b3..848085220584 100644 --- a/audio/audacity/Makefile +++ b/audio/audacity/Makefile @@ -1,165 +1,165 @@ PORTNAME= audacity DISTVERSIONPREFIX= Audacity- DISTVERSION= 3.5.1 CATEGORIES= audio MAINTAINER= xxjack12xx@gmail.com COMMENT= GUI editor for digital audio waveforms WWW= https://www.audacityteam.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= conan:sysutils/conan \ rapidjson>0:devel/rapidjson LIB_DEPENDS= libexpat.so:textproc/expat2 \ libharfbuzz.so:print/harfbuzz \ liblilv-0.so:audio/lilv \ libmp3lame.so:audio/lame \ libmpg123.so:audio/mpg123 \ libopus.so:audio/opus \ libopusfile.so:audio/opusfile \ libportaudio.so:audio/portaudio \ libportmidi.so:audio/portmidi \ libserd-0.so:devel/serd \ libsndfile.so:audio/libsndfile \ libsord-0.so:devel/sord \ libsoxr.so:audio/libsoxr \ libsratom-0.so:audio/sratom \ libsqlite3.so:databases/sqlite3 \ libsuil-0.so:audio/suil \ libuuid.so:misc/e2fsprogs-libuuid \ libwavpack.so:audio/wavpack USES= cmake compiler:c++20-lang cpe desktop-file-utils gettext \ - gnome libtool python:build pkgconfig shared-mime-info + gnome python:build pkgconfig shared-mime-info CPE_VENDOR= audacityteam USE_GITHUB= yes USE_GNOME= cairo gdkpixbuf2 gtk30 USE_WX= 3.2+ WX_COMPS= wx CMAKE_ARGS= -DAUDACITY_BUILD_LEVEL=2 \ -Daudacity_lib_preference:STRING=system \ -Daudacity_use_curl:STRING=system \ -Daudacity_use_expat:STRING=system \ -Daudacity_use_jpeg:STRING=system \ -Daudacity_use_libmp3lame:STRING=system \ -Daudacity_use_libmpg123:STRING=system \ -Daudacity_use_libopus:STRING=system \ -Daudacity_use_libsndfile:STRING=system \ -Daudacity_use_lv2:STRING=system \ -Daudacity_use_midi:STRING=system \ -Daudacity_use_nyquist:STRING=local \ -Daudacity_use_portaudio:STRING=system \ -Daudacity_use_portmixer:STRING=local \ -Daudacity_use_portsmf:STRING=local \ -Daudacity_use_png:STRING=system \ -Daudacity_use_rapidjson:STRING=system \ -Daudacity_use_soxr:STRING=system \ -Daudacity_use_sqlite:STRING=system \ -Daudacity_use_wavpack=system \ -Daudacity_use_wxwidgets:STRING=system \ -Daudacity_use_zlib:STRING=system CMAKE_ON= audacity_bundle_gplv3 audacity_conan_allow_prebuilt_binaries audacity_obey_system_dependencies CMAKE_OFF= audacity_has_audiocom_upload audacity_conan_enabled audacity_conan_force_build_dependencies \ audacity_has_crashreports audacity_has_networking audacity_has_updates_check audacity_has_url_schemes_support \ audacity_has_tests audacity_has_vst3 audacity_perform_codesign audacity_use_pch # TODO: fix NLS support properly PLIST_SUB+= NLS="" PORTDOCS= README.md OPTIONS_DEFINE= DEBUG DOCS FFMPEG FLAC ID3TAG LADSPA MANUAL \ OGG SBSMS SOUNDTOUCH TWOLAME VAMP VORBIS VST OPTIONS_DEFAULT= FFMPEG FLAC ID3TAG LADSPA OGG SBSMS \ SOUNDTOUCH TWOLAME VAMP VORBIS VST OPTIONS_EXCLUDE_i386= SBSMS OPTIONS_SUB= yes MANUAL_DESC= Include manual SBSMS_DESC= Use libsbsms for pitch and tempo changing SOUNDTOUCH_DESC= Use libSoundTouch for pitch and tempo changing TWOLAME_DESC= Use libtwolame for MP2 export support VAMP_DESC= Vamp plug-in support VST_DESC= VST plug-in support DEBUG_CMAKE_ON= wxWidgets_USE_DEBUG DOCS_BUILD_DEPENDS= docbook-to-man:textproc/docbook-to-man \ docbook2man:textproc/docbook-utils FFMPEG_BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/libavcodec.pc:multimedia/ffmpeg FFMPEG_RUN_DEPENDS= ${LOCALBASE}/lib/libavformat.so:multimedia/ffmpeg FFMPEG_CMAKE_ON= -Daudacity_use_ffmpeg:STRING=loaded FFMPEG_CMAKE_OFF= -Daudacity_use_ffmpeg:STRING=off FLAC_LIB_DEPENDS= libFLAC.so:audio/flac FLAC_CMAKE_ON= -Daudacity_use_libflac:STRING=system FLAC_CMAKE_OFF= -Daudacity_use_libflac:STRING=off ID3TAG_LIB_DEPENDS= libid3tag.so:audio/libid3tag ID3TAG_CMAKE_ON= -Daudacity_use_libid3tag:STRING=system ID3TAG_CMAKE_OFF= -Daudacity_use_libid3tag:STRING=off LADSPA_RUN_DEPENDS= listplugins:audio/ladspa LADSPA_CMAKE_BOOL= audacity_use_ladspa MANUAL_CMAKE_BOOL= audacity_package_manual OGG_LIB_DEPENDS= libogg.so:audio/libogg OGG_CMAKE_ON= -Daudacity_use_libogg:STRING=system OGG_CMAKE_OFF= -Daudacity_use_libogg:STRING=off SBSMS_CMAKE_ON= -Daudacity_use_sbsms:STRING=local SBSMS_CMAKE_OFF= -Daudacity_use_sbsms:STRING=off SOUNDTOUCH_LIB_DEPENDS= libSoundTouch.so:audio/soundtouch SOUNDTOUCH_CMAKE_ON= -Daudacity_use_soundtouch:STRING=system SOUNDTOUCH_CMAKE_OFF= -Daudacity_use_soundtouch:STRING=off TWOLAME_LIB_DEPENDS= libtwolame.so:audio/twolame TWOLAME_CMAKE_ON= -Daudacity_use_twolame:STRING=system TWOLAME_CMAKE_OFF= -Daudacity_use_twolame:STRING=off VAMP_LIB_DEPENDS= libvamp-hostsdk.so:audio/vamp-plugin-sdk VAMP_CMAKE_ON= -Daudacity_use_vamp:STRING=system VAMP_CMAKE_OFF= -Daudacity_use_vamp:STRING=off VORBIS_LIB_DEPENDS= libogg.so:audio/libogg \ libvorbis.so:audio/libvorbis VORBIS_CMAKE_ON= -Daudacity_use_libvorbis:STRING=system VORBIS_CMAKE_OFF= -Daudacity_use_libvorbis:STRING=off VST_CMAKE_BOOL= audacity_use_vst .include .if ${ARCH} != amd64 && ${ARCH} != i386 CMAKE_ARGS+= -DHAVE_MMX:BOOL=OFF \ -DHAVE_SSE:BOOL=OFF \ -DHAVE_SSE2:BOOL=OFF .endif .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1302508 # Workarounds for buggy libc++ std::conjunction EXTRA_PATCHES= ${PATCHDIR}/extra-libraries_lib-utility_TypeList.cpp \ ${PATCHDIR}/extra-libraries_lib-utility_TypeList.h \ ${PATCHDIR}/extra-libraries_lib-utility_TypeSwitch.h .endif post-install: @${RM} ${STAGEDIR}${DOCSDIR}/LICENSE.txt #delete empty directories: https://github.com/audacity/audacity/issues/808 @${FIND} ${STAGEDIR} -type d -empty -delete post-install-DEBUG-off: @${FIND} ${STAGEDIR}${PREFIX}/lib/audacity -name '*.so*' -exec ${STRIP_CMD} {} + post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include diff --git a/devel/thrift-cpp/Makefile b/devel/thrift-cpp/Makefile index 4a9891c3900d..7d62993f7226 100644 --- a/devel/thrift-cpp/Makefile +++ b/devel/thrift-cpp/Makefile @@ -1,48 +1,48 @@ PORTNAME= thrift PORTVERSION= ${THRIFT_PORTVERSION} # to keep in sync with thrift PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= devel MASTER_SITES= APACHE/thrift/${PORTVERSION} PKGNAMESUFFIX= -cpp DISTNAME= thrift-${PORTVERSION} MAINTAINER= komarov@valerka.net COMMENT= C++ interface to Thrift WWW= https://thrift.apache.org/ BROKEN_i386= undefined reference to 'boost::atomics::detail::lockpool::scoped_lock::scoped_lock(void const volatile*)' LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libevent.so:devel/libevent DISTINFO_FILE= ${.CURDIR}/../thrift/distinfo USES= bison cmake pkgconfig compiler:c++11-lang cpe \ - libtool pathfix ssl + pathfix ssl CPE_VENDOR= apache USE_LDCONFIG= yes MAKE_JOBS_UNSAFE= yes PLIST_SUB= PORTVERSION="${THRIFT_PORTVERSION}" CMAKE_ON= BUILD_CPP BUILD_SHARED_LIBS CMAKE_OFF= BUILD_C_GLIB BUILD_JAVA BUILD_JAVASCRIPT BUILD_NODEJS BUILD_PYTHON BUILD_HASKELL .include .if ${CHOSEN_COMPILER_TYPE} == clang USE_CXXSTD= c++11 .endif .if ${SSL_DEFAULT} != base LDFLAGS+= -L${OPENSSLLIB} CFLAGS+= -I${OPENSSLINC} .endif post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so ${LN} -sf libthrift-${PORTVERSION}.so ${STAGEDIR}${PREFIX}/lib/libthrift.so.0 ${LN} -sf libthriftnb-${PORTVERSION}.so ${STAGEDIR}${PREFIX}/lib/libthriftnb.so.0 ${LN} -sf libthriftz-${PORTVERSION}.so ${STAGEDIR}${PREFIX}/lib/libthriftz.so.0 .include "../thrift/bsd.thrift.mk" .include diff --git a/finance/gnucash/Makefile b/finance/gnucash/Makefile index e474e319a168..975f3e4c8208 100644 --- a/finance/gnucash/Makefile +++ b/finance/gnucash/Makefile @@ -1,98 +1,98 @@ PORTNAME= gnucash PORTVERSION= 5.6 CATEGORIES= finance gnome MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20%28stable%29/${PORTVERSION} MAINTAINER= madpilot@FreeBSD.org COMMENT= Quicken-like money and finance manager WWW= https://www.gnucash.org/ LICENSE= GPLv2 GPLv3 LICENSE_COMB= dual BUILD_DEPENDS= googletest>0:devel/googletest \ swig:devel/swig LIB_DEPENDS= libboost_date_time.so:devel/boost-libs \ libharfbuzz.so:print/harfbuzz \ libicudata.so:devel/icu \ libsecret-1.so:security/libsecret \ libsoup-2.4.so:devel/libsoup \ libwebkit2gtk-4.0.so:www/webkit2-gtk3 RUN_DEPENDS= p5-Finance-Quote>=0:finance/p5-Finance-Quote \ p5-JSON-Parse>=0:devel/p5-JSON-Parse \ p5-libwww>=0:www/p5-libwww \ p5-LWP-Protocol-https>=0:www/p5-LWP-Protocol-https USES= cmake:insource compiler:c++11-lib cpe desktop-file-utils \ - gettext-tools gnome guile:2.2,3.0,conflicts libtool localbase \ + gettext-tools gnome guile:2.2,3.0,conflicts localbase \ perl5 pkgconfig shebangfix tar:bzip2 xorg USE_XORG= x11 USE_CXXSTD= c++11 USE_GNOME= cairo gdkpixbuf2 gtk30 intltool libxml2 libxslt USE_LDCONFIG= yes CMAKE_ARGS= -DCOMPILE_GSCHEMAS=OFF \ -DENABLE_BINRELOC=OFF \ -DGNC_SHELL=/bin/sh SHEBANG_FILES= common/gnc-test-env.pl WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} GLIB_SCHEMAS= org.gnucash.GnuCash.deprecated.gschema.xml \ org.gnucash.GnuCash.dialogs.business.gschema.xml \ org.gnucash.GnuCash.dialogs.checkprinting.gschema.xml \ org.gnucash.GnuCash.dialogs.commodities.gschema.xml \ org.gnucash.GnuCash.dialogs.export.csv.gschema.xml \ org.gnucash.GnuCash.dialogs.gschema.xml \ org.gnucash.GnuCash.dialogs.import.csv.gschema.xml \ org.gnucash.GnuCash.dialogs.import.generic.gschema.xml \ org.gnucash.GnuCash.dialogs.import.qif.gschema.xml \ org.gnucash.GnuCash.dialogs.reconcile.gschema.xml \ org.gnucash.GnuCash.dialogs.sxs.gschema.xml \ org.gnucash.GnuCash.dialogs.totd.gschema.xml \ org.gnucash.GnuCash.general.finance-quote.gschema.xml \ org.gnucash.GnuCash.gschema.xml \ org.gnucash.GnuCash.history.gschema.xml \ org.gnucash.GnuCash.warnings.gschema.xml \ org.gnucash.GnuCash.window.pages.account.tree.gschema.xml \ org.gnucash.GnuCash.window.pages.gschema.xml OPTIONS_DEFINE= AQBANKING DATABASE DOCS NLS OFX PYTHON OPTIONS_DEFAULT= AQBANKING OFX PYTHON OPTIONS_SUB= yes AQBANKING_DESC= AqBanking support (HBCI/OpenHBCI) DATABASE_DESC= Enable SQL database backends OFX_DESC= OFX support AQBANKING_CMAKE_BOOL= WITH_AQBANKING AQBANKING_LIB_DEPENDS= libaqbanking.so:finance/aqbanking \ libgwengui-gtk3.so:devel/gwenhywfar-gtk3 \ libgwenhywfar.so:devel/gwenhywfar AQBANKING_VARS= GLIB_SCHEMAS+="org.gnucash.GnuCash.dialogs.flicker.gschema.xml \ org.gnucash.GnuCash.dialogs.import.hbci.gschema.xml" DATABASE_CMAKE_BOOL= WITH_SQL DATABASE_BUILD_DEPENDS= libdbi-drivers>=0:databases/libdbi-drivers DATABASE_LIB_DEPENDS= libdbi.so:databases/libdbi DATABASE_RUN_DEPENDS= libdbi-drivers>=0:databases/libdbi-drivers NLS_CMAKE_BOOL_OFF= DISABLE_NLS NLS_USES= gettext-runtime OFX_CMAKE_BOOL= WITH_OFX OFX_LIB_DEPENDS= libofx.so:finance/libofx OFX_VARS= GLIB_SCHEMAS+=org.gnucash.GnuCash.dialogs.import.ofx.gschema.xml PYTHON_CMAKE_BOOL= WITH_PYTHON PYTHON_USES= python post-install-PYTHON-on: @(cd ${STAGEDIR}${PREFIX} \ && ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \ -d ${PYTHONPREFIX_SITELIBDIR} -f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}/${PORTNAME}) @(cd ${STAGEDIR}${PREFIX} \ && ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \ -d ${PYTHONPREFIX_SITELIBDIR} -f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}/${PORTNAME}) @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/gnucash/_gnucash_core_c.so .include diff --git a/math/saga/Makefile b/math/saga/Makefile index 1923264d9686..ae77b07f35f7 100644 --- a/math/saga/Makefile +++ b/math/saga/Makefile @@ -1,108 +1,108 @@ PORTNAME= saga PORTVERSION= 9.4.0 PORTREVISION= 3 CATEGORIES= math MASTER_SITES= SF/saga-gis/SAGA%20-%20${PORTVERSION:C/\.[[:digit:]]\.[[:digit:]]*$//}/SAGA%20-%20${PORTVERSION} MAINTAINER= rhurlin@FreeBSD.org COMMENT= System for Automated Geoscientific Analyses WWW= http://www.saga-gis.org/en/index.html LICENSE= GPLv2 LGPL21 LICENSE_COMB= multi .if !exists(/usr/include/omp.h) BROKEN= requires OpenMP support that is missing on this architecture .endif BUILD_DEPENDS= swig:devel/swig LIB_DEPENDS= libcurl.so:ftp/curl \ libfftw3.so:math/fftw3 \ libgdal.so:graphics/gdal \ libhdf5.so:science/hdf5 \ libhpdf.so:print/libharu \ libodbc.so:databases/unixODBC \ libopencv_core.so:graphics/opencv \ libpdalcpp.so:math/pdal \ libproj.so:graphics/proj \ libsvm.so:science/libsvm \ libsz.so:science/libaec \ libtiff.so:graphics/tiff RUN_DEPENDS:= swig:devel/swig USES= cmake compiler:c++17-lang desktop-file-utils dos2unix gnome \ - iconv:wchar_t libtool localbase pkgconfig python + iconv:wchar_t localbase pkgconfig python DOS2UNIX_GLOB= *.cpp *.h USE_LDCONFIG= yes USE_WX= 3.2+ GIT_TAGNAME= 0c6bbea57 CMAKE_ARGS= -DSVM_INCLUDE:PATH=${LOCALBASE}/include/svm.h CMAKE_ON= CMAKE_VERBOSE_MAKEFILE CMAKE_ON+= WITH_DEV_TOOLS CMAKE_ON+= WITH_EXCERCISES CMAKE_ON+= WITH_LIFETIME_TRACKER CMAKE_ON+= WITH_MRMR CMAKE_ON+= WITH_SYSTEM_SVM CMAKE_ON+= WITH_TOOLS_HPDF CMAKE_ON+= WITH_TOOLS_OPENCV CMAKE_ON+= WITH_PYTHON_PKG CMAKE_ON+= WITH_TOOLS_PDAL CMAKE_ON+= WITH_TOOLS_POSTGRES CMAKE_ON+= WITH_TOOLS_PROJ CMAKE_OFF= WITH_CLIPPER_ONE CMAKE_OFF+= WITH_TOOLS_RIEGL SUB_FILES= pkg-message WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/${PORTNAME}-gis PLIST_SUB= PORTVERSION=${PORTVERSION} OPTIONS_DEFINE= PGSQL OPENMP VIGRA OPTIONS_DEFAULT= PGSQL VIGRA OPTIONS_DEFAULT_amd64= OPENMP OPTIONS_DEFAULT_i386= OPENMP OPTIONS_DEFAULT_powerpc64= OPENMP OPTIONS_DEFAULT_powerpc64le= OPENMP NO_OPTIONS_SORT= yes OPTIONS_SUB= yes OPENMP_DESC= Enable Multiprocessing (only amd64, i386 and powerpc64*) VIGRA_DESC= Enable 'Vision with Generic Algorithms' Library OPENMP_CONFIGURE_ENABLE= openmp PGSQL_USES= pgsql PGSQL_CONFIGURE_WITH= postgresql VIGRA_BUILD_DEPENDS= ${LOCALBASE}/lib/libvigraimpex.so:graphics/vigra VIGRA_RUN_DEPENDS= ${LOCALBASE}/lib/libvigraimpex.so:graphics/vigra .include SUB_FILES= pkg-message post-patch: .if ${ARCH} == "powerpc" @${REINPLACE_CMD} -e 's|typedef unsigned long DWORD;|typedef unsigned int DWORD;|' \ ${WRKSRC}/src/saga_core/saga_api/api_core.h .endif @${REINPLACE_CMD} -e 's|GIT_TAGNAME|${GIT_TAGNAME}|g' \ ${WRKSRC}/src/saga_core/saga_gui/CMakeLists.txt \ ${WRKSRC}/src/saga_core/saga_gui/dlg_about.cpp @${REINPLACE_CMD} -e 's|-lgomp|-lomp|' \ ${WRKSRC}/src/accessories/templates/template4saga-tools/my_tool_library/Makefile post-install: ${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/src/saga_core/saga_gui/res/saga*.txt ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/src/saga_core/saga_gui/res/saga.png ${STAGEDIR}${DATADIR} ${RM} ${STAGEDIR}${DATADIR}/saga_dic.txt ${STAGEDIR}${DATADIR}/saga_srs.txt # Put accessories under share/saga, python/data already under site-packages/PySAGA ;) (cd ${WRKSRC}/src/accessories && ${RM} -R python) (cd ${WRKSRC}/src/accessories && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) ${RM} -R ${STAGEDIR}${DATADIR}/CMakeLists.txt ${RM} -R ${STAGEDIR}${DATADIR}/templates/template4saga-tools/my_tool_library/Makefile.bak # library helper files are not needed and cripple some math/qgis extensions @${RM} ${STAGEDIR}${PREFIX}/lib/saga/*.la .include