opnsense-ports/math/labplot/Makefile
Franco Fichtner 6c8378334c */*: sync with upstream
Taken from: FreeBSD
2025-02-11 09:38:05 +01:00

87 lines
2.8 KiB
Makefile

PORTNAME= labplot
DISTVERSION= 2.11.1
PORTREVISION= 1
CATEGORIES= math kde
MASTER_SITES= KDE/stable/${PORTNAME}/
PATCH_SITES= https://invent.kde.org/education/labplot/-/commit/
PATCHFILES+= 0230dfa31ad7e916aaa5f9d7be1a9bad0b768c27.patch:-p1 \
0edfd2862a8f953cdd06ffe4940e1da5b7b5dc17.patch:-p1
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= libKUserFeedbackCore.so:deskutils/kuserfeedback \
libQXlsxQt5.so:devel/qxlsx@qt5 \
libgsl.so:math/gsl \
liblz4.so:archivers/liblz4 \
libmarkdown.so:textproc/discount \
libpoppler.so:graphics/poppler \
libpoppler-qt6.so:graphics/poppler-qt6
USES= bison cmake compiler:c++17-lang desktop-file-utils eigen:3 \
kde:6 pkgconfig qt:6 shared-mime-info tar:xz xorg gettext
USE_KDE= archive attica auth bookmarks codecs completion config \
configwidgets coreaddons crash i18n iconthemes itemviews \
jobwidgets kio newstuff parts purpose service solid \
sonnet syntaxhighlighting textwidgets widgetsaddons \
windowsystem xmlgui \
doctools:build ecm:build
USE_QT= base mqtt serialport svg
USE_XORG= x11 xcb
DATADIR= ${PREFIX}/share/labplot2
OPTIONS_DEFINE= CANTOR FITS FFTW3 HDF5 LIBCERF MATLAB NETCDF ORCUS \
ORIGINLAB READSTAT
OPTIONS_DEFAULT:= ${OPTIONS_DEFINE:NCANTOR}
CANTOR_DESC= KDE Cantor support
CANTOR_LIB_DEPENDS= libcantorlibs.so:math/cantor \
libspectre.so:print/libspectre
CANTOR_CMAKE_BOOL= ENABLE_CANTOR
CANTOR_IGNORE= has to be ported to KF6/Qt6 for Cantor support
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.18.so:textproc/libixion \
liborcus-0.18.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 <bsd.port.mk>