freebsd-ports/math/cantor/Makefile
Tobias C. Berner aecaafb00a KDE: Update KDE Gear to 22.08.2
KDE Gear 22.08.2

Thursday, 13 October 2022

Over 120 individual programs plus dozens of programmer libraries and
feature plugins are released simultaneously as part of KDE Gear.

Today they all get new bugfix source releases with updated translations, including:

 * ark: Fix incompatibility with original 7-Zip (Commit, fixes bug
   #456797)
 * kdeconnect: Prevent a crash if there’s no audio devices (Commit,
   fixes bug #454917)
 * kio-extras: Compatibility with Samba >= 4.16 (Commit, fixes bug
   #453090)

Announcement:	https://kde.org/announcements/gear/22.08.2/
2022-10-14 11:20:32 +02:00

66 lines
2.0 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-qt5.so:graphics/poppler-qt5
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:5 \
pkgconfig python:3.7+ qt:5 shared-mime-info tar:xz xorg
USE_KDE= attica auth archive bookmarks codecs completion config \
configwidgets coreaddons crash emoticons i18n iconthemes \
itemmodels itemviews init jobwidgets kdelibs4support kio \
newstuff parts pty service solid sonnet syntaxhighlighting \
texteditor textwidgets widgetsaddons windowsystem xmlgui \
ecm:build
USE_QT= concurrent core dbus declarative gui help location network \
printsupport sql svg webchannel webengine \
widgets xml xmlpatterns \
buildtools:build qmake:build testlib:build
USE_XORG= x11
USE_LDCONFIG= yes
OPTIONS_DEFINE= LUAJIT MAXIMA OCTAVE R SAGE SCILAB DOCS
OPTIONS_SUB= yes # R LUAJIT
LUAJIT_DESC= Build LuaJIT backend and install LuaJIT
LUAJIT_LIB_DEPENDS= libluajit-5.1.so:lang/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
R_LIB_DEPENDS= libR.so:math/R
# Required to set CFLAGS for -lgfortran.
R_USES= fortran
R_CMAKE_OFF= -DWITH_R:BOOL=FALSE
SAGE_DESC= Install Sage
SAGE_RUN_DEPENDS= sage:math/sage
SCILAB_DESC= Install Scilab
SCILAB_RUN_DEPENDS= scilab:math/scilab
# Disable python2 binding
CMAKE_ON= CMAKE_DISABLE_FIND_PACKAGE_PythonLibs
post-patch:
${REINPLACE_CMD} -e '/FIND_PROGRAM(_GFORTRAN_EXECUTABLE/s,gfortran,${FC},' \
${WRKSRC}/cmake/FindR.cmake
.include <bsd.port.mk>