Files
ports/math/cantor/Makefile
Max Brazhnikov 76982d517f KDE: Update KDE Gear to 25.08.0
Announcement: https://kde.org/announcements/gear/25.08.0/

Removed ports:
   devel/cervisia: not ported to Qt6 and excluded from KDE Gear releases

databases/akonadi:
 - Backport upstream patch to fix account management in Merkuro

devel/kdevelop:
 - Bump PLATFORM_VER to 6.3
 - Revert now needless workaround [1]

devel/kpublictranspor:
 - Renew USE_KDE
 - Explicitly disable KF6NetworkManagerQt

graphics/kqtquickcharts:
 - Switch to Qt6/KF6
 - Remove noop DOCS option

math/kig:
 - Switch to Qt6/KF6

misc/artikulate:
 - Switch to Qt6/KF6

misc/kdeedu-data:
 - Update WWW and description

misc/ktouch:
 - Switch to Qt6/KF6

multimedia/dragon:
 - Renew USE_KDE
 - Add dependency on ffmpeg and remove stale pkg-message

multimedia/kamoso:
 - Switch to Qt6/KF6

net-im/neochat:
 - Add now mandatory dependency on devel/kunifiedpush
 - Add missing Qt dependencies

x11-clocks/kteatime:
 - Renew USE_KDE

PR:             287804 [1]
2025-08-15 21:06:47 +03:00

59 lines
1.8 KiB
Makefile

PORTNAME= cantor
DISTVERSION= ${KDE_APPLICATIONS_VERSION}
CATEGORIES= math kde kde-applications
MAINTAINER= kde@FreeBSD.org
COMMENT= Mathematical software frontend by KDE
WWW= https://edu.kde.org/cantor
LIB_DEPENDS= libAnalitza.so:math/analitza \
libcln.so:math/cln \
libqalculate.so:math/libqalculate \
libspectre.so:print/libspectre \
libpoppler.so:graphics/poppler \
libpoppler-qt6.so:graphics/poppler-qt6
BUILD_DEPENDS= ${LOCALBASE}/share/xsl/docbook/html/docbook.xsl:textproc/docbook-xsl \
docbook-xml>0:textproc/docbook-xml
USES= cmake compiler:c++11-lang desktop-file-utils gettext kde:6 \
pkgconfig python qt:6 shared-mime-info tar:xz xorg
USE_KDE= archive attica auth bookmarks codecs completion config \
configwidgets coreaddons crash i18n iconthemes itemmodels \
itemviews jobwidgets kio newstuff parts pty service solid \
sonnet syntaxhighlighting texteditor textwidgets widgetsaddons \
windowsystem xmlgui \
ecm:build
USE_QT= base svg webchannel webengine \
tools:build
USE_XORG= x11
USE_LDCONFIG= yes
OPTIONS_DEFINE= LUAJIT MAXIMA OCTAVE R SCILAB DOCS
OPTIONS_SUB= yes # R LUAJIT
LUAJIT_DESC= Build LuaJIT backend and install LuaJIT
LUAJIT_USES= luajit
LUAJIT_CMAKE_OFF= -DWITH_LuaJIT:BOOL=FALSE
MAXIMA_DESC= Install Maxima
MAXIMA_RUN_DEPENDS= maxima:math/maxima
OCTAVE_DESC= Install Octave
OCTAVE_RUN_DEPENDS= octave:math/octave
R_DESC= Build R backend and install R (broken)
R_LIB_DEPENDS= libR.so:math/R
# Required to set CFLAGS for -lgfortran.
R_USES= fortran
R_CMAKE_OFF= -DWITH_R:BOOL=FALSE
R_BROKEN= R backend fails with: /usr/include/c++/v1/__locale:1130:9: error: expected ';' at end of declaration list
SCILAB_DESC= Install Scilab
SCILAB_RUN_DEPENDS= scilab:math/scilab
post-patch:
${REINPLACE_CMD} -e '/FIND_PROGRAM(_GFORTRAN_EXECUTABLE/s,gfortran,${FC},' \
${WRKSRC}/cmake/FindR.cmake
.include <bsd.port.mk>