aboutsummaryrefslogtreecommitdiff
path: root/math/labplot/Makefile
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2025-03-19 14:11:30 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2025-03-19 14:11:45 +0000
commit507182cbd03695983aa9e72bce949ffb2eddafc7 (patch)
treebbce911edbb6dc2183eab2145e90d3a948073bf9 /math/labplot/Makefile
parent7898ecd311de024fc6e47aeb2568d075616c4d23 (diff)
Diffstat (limited to 'math/labplot/Makefile')
-rw-r--r--math/labplot/Makefile37
1 files changed, 19 insertions, 18 deletions
diff --git a/math/labplot/Makefile b/math/labplot/Makefile
index 11088a87b92a..5e675ea708ec 100644
--- a/math/labplot/Makefile
+++ b/math/labplot/Makefile
@@ -1,12 +1,8 @@
PORTNAME= labplot
-DISTVERSION= 2.11.1
-PORTREVISION= 2
+DISTVERSION= 2.11.80
CATEGORIES= math kde
MASTER_SITES= KDE/stable/${PORTNAME}/
-
-PATCH_SITES= https://invent.kde.org/education/labplot/-/commit/
-PATCHFILES+= 0230dfa31ad7e916aaa5f9d7be1a9bad0b768c27.patch:-p1 \
- 0edfd2862a8f953cdd06ffe4940e1da5b7b5dc17.patch:-p1
+DIST_SUBDIR= KDE/invent.kde.org
MAINTAINER= kde@FreeBSD.org
COMMENT= Data plotting and function analysis tool by KDE
@@ -15,36 +11,36 @@ 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 \
+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
+ libpoppler-qt6.so:graphics/poppler-qt6 \
+ libzstd.so:archivers/zstd
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 \
+ kde:6 pkgconfig qt:6 shared-mime-info xorg gettext
+USE_KDE= archive 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
-DATADIR= ${PREFIX}/share/labplot2
+KDE_INVENT= 110f258e44a45354c5219e497409a22185fa2933 education labplot
+
+PLIST_SUB= SHLIB_VER=${PORTVERSION}
OPTIONS_DEFINE= CANTOR FITS FFTW3 HDF5 LIBCERF MATLAB NETCDF ORCUS \
ORIGINLAB READSTAT
-OPTIONS_DEFAULT:= ${OPTIONS_DEFINE:NCANTOR}
+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
-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
@@ -84,4 +80,9 @@ READSTAT_LIB_DEPENDS= libreadstat.so:math/readstat
READSTAT_USES= iconv
READSTAT_CMAKE_BOOL= ENABLE_READSTAT
+post-patch:
+# workaround for undefined version, to be fixed upstream
+ ${REINPLACE_CMD} 's,QXLSX_VERSION_STRING,"1.5.0",' \
+ ${WRKSRC}/src/frontend/AboutDialog.cpp
+
.include <bsd.port.mk>