aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2018-04-09 18:13:24 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2018-04-09 18:13:24 +0000
commit2415bff2912c7ead959fe11d9b6dc97b940c820d (patch)
tree6bb660b2370ef4a28fd556e621311745129c03c4 /math
parentd7a8f169f07938dcb72eddf5f0718b46e8cf285f (diff)
downloadports-2415bff2912c7ead959fe11d9b6dc97b940c820d.tar.gz
ports-2415bff2912c7ead959fe11d9b6dc97b940c820d.zip
Notes
Diffstat (limited to 'math')
-rw-r--r--math/Makefile8
-rw-r--r--math/analitza/Makefile27
-rw-r--r--math/analitza/distinfo3
-rw-r--r--math/analitza/pkg-descr3
-rw-r--r--math/analitza/pkg-plist106
-rw-r--r--math/cantor/Makefile62
-rw-r--r--math/cantor/distinfo3
-rw-r--r--math/cantor/pkg-descr5
-rw-r--r--math/cantor/pkg-plist156
-rw-r--r--math/kalgebra/Makefile23
-rw-r--r--math/kalgebra/distinfo3
-rw-r--r--math/kalgebra/pkg-descr5
-rw-r--r--math/kalgebra/pkg-plist130
-rw-r--r--math/kbruch/Makefile19
-rw-r--r--math/kbruch/distinfo3
-rw-r--r--math/kbruch/pkg-descr19
-rw-r--r--math/kbruch/pkg-plist88
-rw-r--r--math/kcalc/Makefile21
-rw-r--r--math/kcalc/distinfo3
-rw-r--r--math/kcalc/pkg-descr6
-rw-r--r--math/kcalc/pkg-plist63
-rw-r--r--math/kig/Makefile22
-rw-r--r--math/kig/distinfo3
-rw-r--r--math/kig/pkg-descr9
-rw-r--r--math/kig/pkg-plist467
-rw-r--r--math/kmplot/Makefile19
-rw-r--r--math/kmplot/distinfo3
-rw-r--r--math/kmplot/pkg-descr25
-rw-r--r--math/kmplot/pkg-plist86
-rw-r--r--math/rocs/Makefile28
-rw-r--r--math/rocs/distinfo3
-rw-r--r--math/rocs/pkg-descr12
-rw-r--r--math/rocs/pkg-plist135
33 files changed, 1568 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index 80cc72318852..4ab16f1946fe 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -107,6 +107,7 @@
SUBDIR += alt-ergo
SUBDIR += amath
SUBDIR += ambit
+ SUBDIR += analitza
SUBDIR += analitza-kde4
SUBDIR += ann
SUBDIR += antic
@@ -132,6 +133,7 @@
SUBDIR += calc
SUBDIR += calcoo
SUBDIR += calctool
+ SUBDIR += cantor
SUBDIR += cantor-kde4
SUBDIR += cblas
SUBDIR += ccmath
@@ -267,11 +269,16 @@
SUBDIR += jsmath-fonts
SUBDIR += jtransforms
SUBDIR += jts
+ SUBDIR += kalgebra
SUBDIR += kalgebra-kde4
+ SUBDIR += kbruch
SUBDIR += kbruch-kde4
+ SUBDIR += kcalc
SUBDIR += kcalc-kde4
+ SUBDIR += kig
SUBDIR += kig-kde4
SUBDIR += kktdirect
+ SUBDIR += kmplot
SUBDIR += kmplot-kde4
SUBDIR += labplot
SUBDIR += lambda
@@ -713,6 +720,7 @@
SUBDIR += rexx-regmath
SUBDIR += rkward-kde4
SUBDIR += rngstreams
+ SUBDIR += rocs
SUBDIR += rocs-kde4
SUBDIR += rpcalc
SUBDIR += rpy
diff --git a/math/analitza/Makefile b/math/analitza/Makefile
new file mode 100644
index 000000000000..e43e71976ec1
--- /dev/null
+++ b/math/analitza/Makefile
@@ -0,0 +1,27 @@
+# $FreeBSD$
+
+PORTNAME= analitza
+DISTVERSION= ${KDE_APPLICATIONS_VERSION}
+CATEGORIES= math kde kde-applications
+
+MAINTAINER= kde@FreeBSD.org
+COMMENT= Library from KDE Education project
+
+LICENSE= GFDL GPLv2
+LICENSE_COMB= multi
+LICENSE_FILE_GFDL= ${WRKSRC}/COPYING.DOC
+LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING
+
+USES= cmake:outsource kde:5 tar:xz
+USE_GL= glu
+USE_KDE= ecm
+USE_QT5= core gui network opengl printsupport qml quick svg widgets xml \
+ buildtools_build linguisttools_build qmake_build
+
+USE_LDCONFIG= yes
+
+SHLIB_VER= 8.0.0
+PLIST_SUB+= SHLIB_VER="${SHLIB_VER}" \
+ SHLIB_SHVER="${SHLIB_VER:R:R}"
+
+.include <bsd.port.mk>
diff --git a/math/analitza/distinfo b/math/analitza/distinfo
new file mode 100644
index 000000000000..1040940e2144
--- /dev/null
+++ b/math/analitza/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1520519259
+SHA256 (KDE/applications/17.12.3/analitza-17.12.3.tar.xz) = 5c17be4628c432d87445fff680cd80ae226fb744e64e1c2e051499938c2ed977
+SIZE (KDE/applications/17.12.3/analitza-17.12.3.tar.xz) = 331052
diff --git a/math/analitza/pkg-descr b/math/analitza/pkg-descr
new file mode 100644
index 000000000000..23091312e8ee
--- /dev/null
+++ b/math/analitza/pkg-descr
@@ -0,0 +1,3 @@
+Analitza library from KDE Education project.
+
+WWW: http://www.kde.org/applications/education/
diff --git a/math/analitza/pkg-plist b/math/analitza/pkg-plist
new file mode 100644
index 000000000000..57dd60cca836
--- /dev/null
+++ b/math/analitza/pkg-plist
@@ -0,0 +1,106 @@
+include/Analitza5/analitza/abstractexpressionvisitor.h
+include/Analitza5/analitza/abstractlexer.h
+include/Analitza5/analitza/analitzaexport.h
+include/Analitza5/analitza/analitzautils.h
+include/Analitza5/analitza/analyzer.h
+include/Analitza5/analitza/apply.h
+include/Analitza5/analitza/builtinmethods.h
+include/Analitza5/analitza/container.h
+include/Analitza5/analitza/customobject.h
+include/Analitza5/analitza/expression.h
+include/Analitza5/analitza/expressionstream.h
+include/Analitza5/analitza/expressiontype.h
+include/Analitza5/analitza/importqobjectmetatype.h
+include/Analitza5/analitza/list.h
+include/Analitza5/analitza/matrix.h
+include/Analitza5/analitza/object.h
+include/Analitza5/analitza/operations.h
+include/Analitza5/analitza/operator.h
+include/Analitza5/analitza/value.h
+include/Analitza5/analitza/variable.h
+include/Analitza5/analitza/variables.h
+include/Analitza5/analitza/vector.h
+include/Analitza5/analitza_version.h
+include/Analitza5/analitzagui/algebrahighlighter.h
+include/Analitza5/analitzagui/analitzaguiexport.h
+include/Analitza5/analitzagui/analitzawidgets_export.h
+include/Analitza5/analitzagui/expressionedit.h
+include/Analitza5/analitzagui/operatorsmodel.h
+include/Analitza5/analitzagui/plotsview2d.h
+include/Analitza5/analitzagui/plotsview3d_es.h
+include/Analitza5/analitzagui/variablesmodel.h
+include/Analitza5/analitzaplot/analitzaplotexport.h
+include/Analitza5/analitzaplot/functiongraph.h
+include/Analitza5/analitzaplot/planecurve.h
+include/Analitza5/analitzaplot/plotitem.h
+include/Analitza5/analitzaplot/plotsdictionarymodel.h
+include/Analitza5/analitzaplot/plotsfactory.h
+include/Analitza5/analitzaplot/plotsmodel.h
+include/Analitza5/analitzaplot/plotter2d.h
+include/Analitza5/analitzaplot/plotter3d_es.h
+include/Analitza5/analitzaplot/plottingenums.h
+include/Analitza5/analitzaplot/spacecurve.h
+include/Analitza5/analitzaplot/surface.h
+lib/cmake/Analitza5/Analitza5Config.cmake
+lib/cmake/Analitza5/Analitza5ConfigVersion.cmake
+lib/cmake/Analitza5/Analitza5Targets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/Analitza5/Analitza5Targets.cmake
+lib/libAnalitza.so
+lib/libAnalitza.so.%%SHLIB_SHVER%%
+lib/libAnalitza.so.%%SHLIB_VER%%
+lib/libAnalitzaGui.so
+lib/libAnalitzaGui.so.%%SHLIB_SHVER%%
+lib/libAnalitzaGui.so.%%SHLIB_VER%%
+lib/libAnalitzaPlot.so
+lib/libAnalitzaPlot.so.%%SHLIB_SHVER%%
+lib/libAnalitzaPlot.so.%%SHLIB_VER%%
+lib/libAnalitzaWidgets.so
+lib/libAnalitzaWidgets.so.%%SHLIB_SHVER%%
+lib/libAnalitzaWidgets.so.%%SHLIB_VER%%
+%%QT_QMLDIR%%/org/kde/analitza/Graph2D.qml
+%%QT_QMLDIR%%/org/kde/analitza/Graph3D.qml
+%%QT_QMLDIR%%/org/kde/analitza/libanalitzadeclarativeplugin.so
+%%QT_QMLDIR%%/org/kde/analitza/qmldir
+share/libanalitza/plots/3Ds.plots
+share/libanalitza/plots/basic_curves.plots
+share/libanalitza/plots/conics.plots
+share/libanalitza/plots/polar.plots
+share/locale/ar/LC_MESSAGES/analitza_qt.qm
+share/locale/ast/LC_MESSAGES/analitza_qt.qm
+share/locale/bs/LC_MESSAGES/analitza_qt.qm
+share/locale/ca/LC_MESSAGES/analitza_qt.qm
+share/locale/ca@valencia/LC_MESSAGES/analitza_qt.qm
+share/locale/cs/LC_MESSAGES/analitza_qt.qm
+share/locale/da/LC_MESSAGES/analitza_qt.qm
+share/locale/de/LC_MESSAGES/analitza_qt.qm
+share/locale/el/LC_MESSAGES/analitza_qt.qm
+share/locale/en_GB/LC_MESSAGES/analitza_qt.qm
+share/locale/es/LC_MESSAGES/analitza_qt.qm
+share/locale/et/LC_MESSAGES/analitza_qt.qm
+share/locale/fi/LC_MESSAGES/analitza_qt.qm
+share/locale/fr/LC_MESSAGES/analitza_qt.qm
+share/locale/ga/LC_MESSAGES/analitza_qt.qm
+share/locale/gl/LC_MESSAGES/analitza_qt.qm
+share/locale/hu/LC_MESSAGES/analitza_qt.qm
+share/locale/it/LC_MESSAGES/analitza_qt.qm
+share/locale/ja/LC_MESSAGES/analitza_qt.qm
+share/locale/kk/LC_MESSAGES/analitza_qt.qm
+share/locale/lt/LC_MESSAGES/analitza_qt.qm
+share/locale/lv/LC_MESSAGES/analitza_qt.qm
+share/locale/mr/LC_MESSAGES/analitza_qt.qm
+share/locale/nb/LC_MESSAGES/analitza_qt.qm
+share/locale/nds/LC_MESSAGES/analitza_qt.qm
+share/locale/nl/LC_MESSAGES/analitza_qt.qm
+share/locale/nn/LC_MESSAGES/analitza_qt.qm
+share/locale/pl/LC_MESSAGES/analitza_qt.qm
+share/locale/pt/LC_MESSAGES/analitza_qt.qm
+share/locale/pt_BR/LC_MESSAGES/analitza_qt.qm
+share/locale/ru/LC_MESSAGES/analitza_qt.qm
+share/locale/sk/LC_MESSAGES/analitza_qt.qm
+share/locale/sl/LC_MESSAGES/analitza_qt.qm
+share/locale/sv/LC_MESSAGES/analitza_qt.qm
+share/locale/tr/LC_MESSAGES/analitza_qt.qm
+share/locale/ug/LC_MESSAGES/analitza_qt.qm
+share/locale/uk/LC_MESSAGES/analitza_qt.qm
+share/locale/zh_CN/LC_MESSAGES/analitza_qt.qm
+share/locale/zh_TW/LC_MESSAGES/analitza_qt.qm
diff --git a/math/cantor/Makefile b/math/cantor/Makefile
new file mode 100644
index 000000000000..71707824e81b
--- /dev/null
+++ b/math/cantor/Makefile
@@ -0,0 +1,62 @@
+# $FreeBSD$
+
+PORTNAME= cantor
+DISTVERSION= ${KDE_APPLICATIONS_VERSION}
+CATEGORIES= math kde kde-applications
+
+MAINTAINER= kde@FreeBSD.org
+COMMENT= KDE 5 frontend to mathematical software
+
+LIB_DEPENDS= libAnalitza.so:math/analitza \
+ libcln.so:math/cln \
+ libqalculate.so:math/libqalculate \
+ libspectre.so:print/libspectre
+BUILD_DEPENDS= ${LOCALBASE}/share/xsl/docbook/html/docbook.xsl:textproc/docbook-xsl \
+ docbook-xml>0:textproc/docbook-xml
+
+USES= cmake:outsource gettext kde:5 pkgconfig python:3.4+ tar:xz
+USE_KDE= attica auth archive bookmarks codecs completion config \
+ configwidgets coreaddons crash ecm emoticons i18n iconthemes \
+ itemmodels itemviews init jobwidgets kdelibs4support kio \
+ newstuff parts pty service solid sonnet texteditor textwidgets \
+ widgetsaddons xmlgui
+USE_QT5= core dbus gui network printsupport widgets xml xmlpatterns \
+ buildtools_build qmake_build
+USE_LDCONFIG= yes
+
+OPTIONS_DEFINE= LUAJIT MAXIMA OCTAVE R SAGE SCILAB
+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 (should probably be an option PYTHON2, PYTHON3)
+CMAKE_ON= CMAKE_DISABLE_FIND_PACKAGE_PythonLibs
+
+post-patch:
+ ${REINPLACE_CMD} -e '/FIND_PROGRAM(_GFORTRAN_EXECUTABLE/s,gfortran,${FC},' \
+ ${WRKSRC}/cmake/FindR.cmake
+ ${REINPLACE_CMD} -e '/find_library(PYTHONLIBS3_LIBRARY/s,python3.5m,python3.5m python3.6m,' \
+ -e '/pkg_check_modules/s,python3,python-${PYTHON_VER},' \
+ ${WRKSRC}/cmake/FindPythonLibs3.cmake
+
+.include <bsd.port.mk>
diff --git a/math/cantor/distinfo b/math/cantor/distinfo
new file mode 100644
index 000000000000..9bdd1651a06e
--- /dev/null
+++ b/math/cantor/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1520519260
+SHA256 (KDE/applications/17.12.3/cantor-17.12.3.tar.xz) = 5c0cd0e73bea75c234c011baa850ba208739dd40bc29f12209baec4d4a5d5022
+SIZE (KDE/applications/17.12.3/cantor-17.12.3.tar.xz) = 1066992
diff --git a/math/cantor/pkg-descr b/math/cantor/pkg-descr
new file mode 100644
index 000000000000..0e627020f3d0
--- /dev/null
+++ b/math/cantor/pkg-descr
@@ -0,0 +1,5 @@
+Cantor is a KDE Application aimed to provide a nice interface for
+doing mathematics and scientific computing. It doesn't implement its
+own computation logic, but instead is built around different backends.
+
+WWW: http://edu.kde.org/cantor
diff --git a/math/cantor/pkg-plist b/math/cantor/pkg-plist
new file mode 100644
index 000000000000..495caf1c7966
--- /dev/null
+++ b/math/cantor/pkg-plist
@@ -0,0 +1,156 @@
+bin/cantor
+bin/cantor_python3server
+%%R%%bin/cantor_rserver
+etc/xdg/cantor.knsrc
+etc/xdg/cantor_kalgebra.knsrc
+%%LUAJIT%%etc/xdg/cantor_lua.knsrc
+etc/xdg/cantor_maxima.knsrc
+etc/xdg/cantor_octave.knsrc
+etc/xdg/cantor_python3.knsrc
+etc/xdg/cantor_qalculate.knsrc
+%%R%%etc/xdg/cantor_r.knsrc
+etc/xdg/cantor_sage.knsrc
+etc/xdg/cantor_scilab.knsrc
+include/cantor/animationresult.h
+include/cantor/backend.h
+include/cantor/cantor_export.h
+include/cantor/cantor_macros.h
+include/cantor/completionobject.h
+include/cantor/defaulthighlighter.h
+include/cantor/defaultvariablemodel.h
+include/cantor/epsresult.h
+include/cantor/expression.h
+include/cantor/extension.h
+include/cantor/helpresult.h
+include/cantor/imageresult.h
+include/cantor/latexresult.h
+include/cantor/result.h
+include/cantor/session.h
+include/cantor/syntaxhelpobject.h
+include/cantor/textresult.h
+include/cantor/worksheetaccess.h
+lib/libcantor_config.so
+lib/libcantor_pythonbackend.so
+lib/libcantorlibs.so
+lib/libcantorlibs.so.17
+lib/libcantorlibs.so.%%KDE_APPLICATIONS_VERSION%%
+%%QT_PLUGINDIR%%/cantor/assistants/cantor_advancedplotassistant.so
+%%QT_PLUGINDIR%%/cantor/assistants/cantor_creatematrixassistant.so
+%%QT_PLUGINDIR%%/cantor/assistants/cantor_differentiateassistant.so
+%%QT_PLUGINDIR%%/cantor/assistants/cantor_eigenvaluesassistant.so
+%%QT_PLUGINDIR%%/cantor/assistants/cantor_eigenvectorsassistant.so
+%%QT_PLUGINDIR%%/cantor/assistants/cantor_importpackageassistant.so
+%%QT_PLUGINDIR%%/cantor/assistants/cantor_integrateassistant.so
+%%QT_PLUGINDIR%%/cantor/assistants/cantor_invertmatrixassistant.so
+%%QT_PLUGINDIR%%/cantor/assistants/cantor_plot2dassistant.so
+%%QT_PLUGINDIR%%/cantor/assistants/cantor_plot3dassistant.so
+%%QT_PLUGINDIR%%/cantor/assistants/cantor_qalculateplotassistant.so
+%%QT_PLUGINDIR%%/cantor/assistants/cantor_runscriptassistant.so
+%%QT_PLUGINDIR%%/cantor/assistants/cantor_solveassistant.so
+%%QT_PLUGINDIR%%/cantor/backends/cantor_kalgebrabackend.so
+%%LUAJIT%%%%QT_PLUGINDIR%%/cantor/backends/cantor_luabackend.so
+%%QT_PLUGINDIR%%/cantor/backends/cantor_maximabackend.so
+%%QT_PLUGINDIR%%/cantor/backends/cantor_nullbackend.so
+%%QT_PLUGINDIR%%/cantor/backends/cantor_octavebackend.so
+%%QT_PLUGINDIR%%/cantor/backends/cantor_python3backend.so
+%%QT_PLUGINDIR%%/cantor/backends/cantor_qalculatebackend.so
+%%R%%%%QT_PLUGINDIR%%/cantor/backends/cantor_rbackend.so
+%%QT_PLUGINDIR%%/cantor/backends/cantor_sagebackend.so
+%%QT_PLUGINDIR%%/cantor/backends/cantor_scilabbackend.so
+%%QT_PLUGINDIR%%/cantor/panels/cantor_helppanelplugin.so
+%%QT_PLUGINDIR%%/cantor/panels/cantor_variablemanagerplugin.so
+%%QT_PLUGINDIR%%/libcantorpart.so
+share/applications/org.kde.cantor.desktop
+%%DATADIR%%/cantor_advancedplot_assistant.rc
+%%DATADIR%%/cantor_create_matrix_assistant.rc
+%%DATADIR%%/cantor_differentiate_assistant.rc
+%%DATADIR%%/cantor_eigenvalues_assistant.rc
+%%DATADIR%%/cantor_eigenvectors_assistant.rc
+%%DATADIR%%/cantor_import_package_assistant.rc
+%%DATADIR%%/cantor_integrate_assistant.rc
+%%DATADIR%%/cantor_invert_matrix_assistant.rc
+%%DATADIR%%/cantor_plot2d_assistant.rc
+%%DATADIR%%/cantor_plot3d_assistant.rc
+%%DATADIR%%/cantor_qalculateplotassistant.rc
+%%DATADIR%%/cantor_runscript_assistant.rc
+%%DATADIR%%/cantor_solve_assistant.rc
+%%DATADIR%%/octavebackend/cantor_eigenvectors.m
+%%DATADIR%%/octavebackend/cantor_plot2d.m
+%%DATADIR%%/octavebackend/cantor_plot3d.m
+%%DATADIR%%/octavebackend/cantor_print.m
+%%DATADIR%%/xslt/latex.xsl
+share/config.kcfg/cantor.kcfg
+share/config.kcfg/cantor_libs.kcfg
+share/config.kcfg/kalgebrabackend.kcfg
+%%LUAJIT%%share/config.kcfg/luabackend.kcfg
+share/config.kcfg/maximabackend.kcfg
+share/config.kcfg/octavebackend.kcfg
+share/config.kcfg/python3backend.kcfg
+share/config.kcfg/qalculatebackend.kcfg
+%%R%%share/config.kcfg/rserver.kcfg
+share/config.kcfg/sagebackend.kcfg
+share/config.kcfg/scilabbackend.kcfg
+share/icons/hicolor/128x128/apps/cantor.png
+share/icons/hicolor/16x16/apps/cantor.png
+share/icons/hicolor/22x22/apps/cantor.png
+share/icons/hicolor/32x32/apps/cantor.png
+share/icons/hicolor/48x48/apps/cantor.png
+share/icons/hicolor/48x48/apps/juliabackend.png
+share/icons/hicolor/48x48/apps/kalgebrabackend.png
+share/icons/hicolor/48x48/apps/luabackend.png
+share/icons/hicolor/48x48/apps/maximabackend.png
+share/icons/hicolor/48x48/apps/octavebackend.png
+share/icons/hicolor/48x48/apps/pythonbackend.png
+share/icons/hicolor/48x48/apps/qalculatebackend.png
+share/icons/hicolor/48x48/apps/rbackend.png
+share/icons/hicolor/48x48/apps/sagebackend.png
+share/icons/hicolor/48x48/apps/scilabbackend.png
+share/icons/hicolor/64x64/apps/cantor.png
+share/kxmlgui5/cantor/cantor_part.rc
+share/kxmlgui5/cantor/cantor_scripteditor.rc
+share/kxmlgui5/cantor/cantor_shell.rc
+share/locale/ast/LC_MESSAGES/cantor.mo
+share/locale/bs/LC_MESSAGES/cantor.mo
+share/locale/ca/LC_MESSAGES/cantor.mo
+share/locale/ca@valencia/LC_MESSAGES/cantor.mo
+share/locale/cs/LC_MESSAGES/cantor.mo
+share/locale/da/LC_MESSAGES/cantor.mo
+share/locale/de/LC_MESSAGES/cantor.mo
+share/locale/el/LC_MESSAGES/cantor.mo
+share/locale/en_GB/LC_MESSAGES/cantor.mo
+share/locale/eo/LC_MESSAGES/cantor.mo
+share/locale/es/LC_MESSAGES/cantor.mo
+share/locale/et/LC_MESSAGES/cantor.mo
+share/locale/eu/LC_MESSAGES/cantor.mo
+share/locale/fi/LC_MESSAGES/cantor.mo
+share/locale/fr/LC_MESSAGES/cantor.mo
+share/locale/ga/LC_MESSAGES/cantor.mo
+share/locale/gl/LC_MESSAGES/cantor.mo
+share/locale/hr/LC_MESSAGES/cantor.mo
+share/locale/hu/LC_MESSAGES/cantor.mo
+share/locale/it/LC_MESSAGES/cantor.mo
+share/locale/ja/LC_MESSAGES/cantor.mo
+share/locale/kk/LC_MESSAGES/cantor.mo
+share/locale/ko/LC_MESSAGES/cantor.mo
+share/locale/lt/LC_MESSAGES/cantor.mo
+share/locale/lv/LC_MESSAGES/cantor.mo
+share/locale/mr/LC_MESSAGES/cantor.mo
+share/locale/nb/LC_MESSAGES/cantor.mo
+share/locale/nds/LC_MESSAGES/cantor.mo
+share/locale/nl/LC_MESSAGES/cantor.mo
+share/locale/nn/LC_MESSAGES/cantor.mo
+share/locale/pa/LC_MESSAGES/cantor.mo
+share/locale/pl/LC_MESSAGES/cantor.mo
+share/locale/pt/LC_MESSAGES/cantor.mo
+share/locale/pt_BR/LC_MESSAGES/cantor.mo
+share/locale/ro/LC_MESSAGES/cantor.mo
+share/locale/ru/LC_MESSAGES/cantor.mo
+share/locale/sk/LC_MESSAGES/cantor.mo
+share/locale/sl/LC_MESSAGES/cantor.mo
+share/locale/sv/LC_MESSAGES/cantor.mo
+share/locale/tr/LC_MESSAGES/cantor.mo
+share/locale/ug/LC_MESSAGES/cantor.mo
+share/locale/uk/LC_MESSAGES/cantor.mo
+share/locale/zh_CN/LC_MESSAGES/cantor.mo
+share/locale/zh_TW/LC_MESSAGES/cantor.mo
+share/metainfo/org.kde.cantor.appdata.xml
diff --git a/math/kalgebra/Makefile b/math/kalgebra/Makefile
new file mode 100644
index 000000000000..13aaadd1db72
--- /dev/null
+++ b/math/kalgebra/Makefile
@@ -0,0 +1,23 @@
+# $FreeBSD$
+
+PORTNAME= kalgebra
+DISTVERSION= ${KDE_APPLICATIONS_VERSION}
+CATEGORIES= math kde kde-applications
+
+MAINTAINER= kde@FreeBSD.org
+COMMENT= KDE graph calculator
+
+LIB_DEPENDS= libAnalitza.so:math/analitza
+BUILD_DEPENDS= ${LOCALBASE}/share/xsl/docbook/html/docbook.xsl:textproc/docbook-xsl \
+ docbook-xml>0:textproc/docbook-xml
+
+CMAKE_ARGS= -DBUILD_mobile:BOOL=FALSE
+USES= cmake:outsource gettext kde:5 tar:xz
+USE_GL= glu
+USE_KDE= auth codecs config configwidgets coreaddons doctools ecm i18n \
+ kio service widgetsaddons xmlgui
+USE_QT5= core dbus gui location network opengl printsupport qml quick \
+ svg testlib webchannel webengine widgets xml \
+ buildtools_build qmake_build
+
+.include <bsd.port.mk>
diff --git a/math/kalgebra/distinfo b/math/kalgebra/distinfo
new file mode 100644
index 000000000000..1c850bfa5785
--- /dev/null
+++ b/math/kalgebra/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1520519263
+SHA256 (KDE/applications/17.12.3/kalgebra-17.12.3.tar.xz) = 67cfcc0af118864e76edcf69a7d6581cadd5df810c3d39c1ebef1b12bf22a6ee
+SIZE (KDE/applications/17.12.3/kalgebra-17.12.3.tar.xz) = 690480
diff --git a/math/kalgebra/pkg-descr b/math/kalgebra/pkg-descr
new file mode 100644
index 000000000000..5aa3fa36bad7
--- /dev/null
+++ b/math/kalgebra/pkg-descr
@@ -0,0 +1,5 @@
+KAlgebra is a mathematical calculator based on content markup MathML
+language, capable to make simple MathML operations (arithmetic and
+logical) and to representate 2D and 3D graphs.
+
+WWW: http://www.kde.org/applications/education/kalgebra
diff --git a/math/kalgebra/pkg-plist b/math/kalgebra/pkg-plist
new file mode 100644
index 000000000000..ca47065f3d71
--- /dev/null
+++ b/math/kalgebra/pkg-plist
@@ -0,0 +1,130 @@
+bin/calgebra
+bin/kalgebra
+bin/kalgebramobile
+share/applications/kalgebramobile.desktop
+share/applications/org.kde.kalgebra.desktop
+share/icons/hicolor/64x64/apps/kalgebra.png
+share/icons/hicolor/scalable/apps/kalgebra.svgz
+share/kalgebramobile/plugins/About.qml
+share/kalgebramobile/plugins/Console.qml
+share/kalgebramobile/plugins/Dictionary.qml
+share/kalgebramobile/plugins/Plot2D.qml
+share/kalgebramobile/plugins/Plot3D.qml
+share/kalgebramobile/plugins/Tables.qml
+share/kalgebramobile/plugins/VariablesView.qml
+share/kalgebramobile/plugins/kalgebraabout.json
+share/kalgebramobile/plugins/kalgebraconsole.json
+share/kalgebramobile/plugins/kalgebradictionary.json
+share/kalgebramobile/plugins/kalgebraplot2d.json
+share/kalgebramobile/plugins/kalgebraplot3d.json
+share/kalgebramobile/plugins/kalgebratables.json
+share/kalgebramobile/plugins/kalgebravariables.json
+share/kalgebramobile/plugins/widgets/AddButton.qml
+share/kalgebramobile/plugins/widgets/Action.qml
+share/kalgebramobile/plugins/widgets/Button.qml
+share/kalgebramobile/plugins/widgets/CalcButton.qml
+share/kalgebramobile/plugins/widgets/ComboBox.qml
+share/kalgebramobile/plugins/widgets/Dialog.qml
+share/kalgebramobile/plugins/widgets/ExpressionInput.qml
+share/kalgebramobile/plugins/widgets/KAlgebraMobile.qml
+share/kalgebramobile/plugins/widgets/KAlgebraPage.qml
+share/kalgebramobile/plugins/widgets/Label.qml
+share/kalgebramobile/plugins/widgets/RealInput.qml
+share/kalgebramobile/plugins/widgets/SimpleListView.qml
+share/kalgebramobile/plugins/widgets/qmldir
+share/katepart5/syntax/kalgebra.xml
+share/kservices5/graphsplasmoid.desktop
+share/locale/ar/LC_MESSAGES/kalgebra.mo
+share/locale/ast/LC_MESSAGES/kalgebra.mo
+share/locale/ast/LC_MESSAGES/plasma_applet_kalgebraplasmoid.mo
+share/locale/bg/LC_MESSAGES/kalgebra.mo
+share/locale/bg/LC_MESSAGES/plasma_applet_kalgebraplasmoid.mo
+share/locale/bs/LC_MESSAGES/kalgebra.mo
+share/locale/bs/LC_MESSAGES/plasma_applet_kalgebraplasmoid.mo
+share/locale/ca/LC_MESSAGES/kalgebra.mo
+share/locale/ca/LC_MESSAGES/plasma_applet_kalgebraplasmoid.mo
+share/locale/ca@valencia/LC_MESSAGES/kalgebra.mo
+share/locale/ca@valencia/LC_MESSAGES/plasma_applet_kalgebraplasmoid.mo
+share/locale/cs/LC_MESSAGES/kalgebra.mo
+share/locale/cs/LC_MESSAGES/plasma_applet_kalgebraplasmoid.mo
+share/locale/da/LC_MESSAGES/kalgebra.mo
+share/locale/da/LC_MESSAGES/plasma_applet_kalgebraplasmoid.mo
+share/locale/de/LC_MESSAGES/kalgebra.mo
+share/locale/de/LC_MESSAGES/plasma_applet_kalgebraplasmoid.mo
+share/locale/el/LC_MESSAGES/kalgebra.mo
+share/locale/el/LC_MESSAGES/plasma_applet_kalgebraplasmoid.mo
+share/locale/en_GB/LC_MESSAGES/kalgebra.mo
+share/locale/en_GB/LC_MESSAGES/plasma_applet_kalgebraplasmoid.mo
+share/locale/eo/LC_MESSAGES/kalgebra.mo
+share/locale/eo/LC_MESSAGES/plasma_applet_kalgebraplasmoid.mo
+share/locale/es/LC_MESSAGES/kalgebra.mo
+share/locale/es/LC_MESSAGES/plasma_applet_kalgebraplasmoid.mo
+share/locale/et/LC_MESSAGES/kalgebra.mo
+share/locale/et/LC_MESSAGES/plasma_applet_kalgebraplasmoid.mo
+share/locale/eu/LC_MESSAGES/kalgebra.mo
+share/locale/fi/LC_MESSAGES/kalgebra.mo
+share/locale/fi/LC_MESSAGES/plasma_applet_kalgebraplasmoid.mo
+share/locale/fr/LC_MESSAGES/kalgebra.mo
+share/locale/fr/LC_MESSAGES/plasma_applet_kalgebraplasmoid.mo
+share/locale/ga/LC_MESSAGES/kalgebra.mo
+share/locale/ga/LC_MESSAGES/plasma_applet_kalgebraplasmoid.mo
+share/locale/gl/LC_MESSAGES/kalgebra.mo
+share/locale/gl/LC_MESSAGES/plasma_applet_kalgebraplasmoid.mo
+share/locale/hi/LC_MESSAGES/kalgebra.mo
+share/locale/hr/LC_MESSAGES/kalgebra.mo
+share/locale/hu/LC_MESSAGES/kalgebra.mo
+share/locale/hu/LC_MESSAGES/plasma_applet_kalgebraplasmoid.mo
+share/locale/it/LC_MESSAGES/kalgebra.mo
+share/locale/it/LC_MESSAGES/plasma_applet_kalgebraplasmoid.mo
+share/locale/ja/LC_MESSAGES/kalgebra.mo
+share/locale/ja/LC_MESSAGES/plasma_applet_kalgebraplasmoid.mo
+share/locale/kk/LC_MESSAGES/kalgebra.mo
+share/locale/kk/LC_MESSAGES/plasma_applet_kalgebraplasmoid.mo
+share/locale/km/LC_MESSAGES/kalgebra.mo
+share/locale/ko/LC_MESSAGES/kalgebra.mo
+share/locale/ko/LC_MESSAGES/plasma_applet_kalgebraplasmoid.mo
+share/locale/lt/LC_MESSAGES/kalgebra.mo
+share/locale/lt/LC_MESSAGES/plasma_applet_kalgebraplasmoid.mo
+share/locale/lv/LC_MESSAGES/kalgebra.mo
+share/locale/lv/LC_MESSAGES/plasma_applet_kalgebraplasmoid.mo
+share/locale/mr/LC_MESSAGES/kalgebra.mo
+share/locale/mr/LC_MESSAGES/plasma_applet_kalgebraplasmoid.mo
+share/locale/nb/LC_MESSAGES/kalgebra.mo
+share/locale/nb/LC_MESSAGES/plasma_applet_kalgebraplasmoid.mo
+share/locale/nds/LC_MESSAGES/kalgebra.mo
+share/locale/nds/LC_MESSAGES/plasma_applet_kalgebraplasmoid.mo
+share/locale/nl/LC_MESSAGES/kalgebra.mo
+share/locale/nl/LC_MESSAGES/plasma_applet_kalgebraplasmoid.mo
+share/locale/nn/LC_MESSAGES/kalgebra.mo
+share/locale/nn/LC_MESSAGES/plasma_applet_kalgebraplasmoid.mo
+share/locale/pa/LC_MESSAGES/kalgebra.mo
+share/locale/pa/LC_MESSAGES/plasma_applet_kalgebraplasmoid.mo
+share/locale/pl/LC_MESSAGES/kalgebra.mo
+share/locale/pl/LC_MESSAGES/plasma_applet_kalgebraplasmoid.mo
+share/locale/pt/LC_MESSAGES/kalgebra.mo
+share/locale/pt/LC_MESSAGES/plasma_applet_kalgebraplasmoid.mo
+share/locale/pt_BR/LC_MESSAGES/kalgebra.mo
+share/locale/pt_BR/LC_MESSAGES/plasma_applet_kalgebraplasmoid.mo
+share/locale/ro/LC_MESSAGES/kalgebra.mo
+share/locale/ru/LC_MESSAGES/kalgebra.mo
+share/locale/ru/LC_MESSAGES/plasma_applet_kalgebraplasmoid.mo
+share/locale/sk/LC_MESSAGES/kalgebra.mo
+share/locale/sk/LC_MESSAGES/plasma_applet_kalgebraplasmoid.mo
+share/locale/sl/LC_MESSAGES/kalgebra.mo
+share/locale/sl/LC_MESSAGES/plasma_applet_kalgebraplasmoid.mo
+share/locale/sv/LC_MESSAGES/kalgebra.mo
+share/locale/sv/LC_MESSAGES/plasma_applet_kalgebraplasmoid.mo
+share/locale/tr/LC_MESSAGES/kalgebra.mo
+share/locale/tr/LC_MESSAGES/plasma_applet_kalgebraplasmoid.mo
+share/locale/ug/LC_MESSAGES/kalgebra.mo
+share/locale/ug/LC_MESSAGES/plasma_applet_kalgebraplasmoid.mo
+share/locale/uk/LC_MESSAGES/kalgebra.mo
+share/locale/uk/LC_MESSAGES/plasma_applet_kalgebraplasmoid.mo
+share/locale/zh_CN/LC_MESSAGES/kalgebra.mo
+share/locale/zh_CN/LC_MESSAGES/plasma_applet_kalgebraplasmoid.mo
+share/locale/zh_TW/LC_MESSAGES/kalgebra.mo
+share/locale/zh_TW/LC_MESSAGES/plasma_applet_kalgebraplasmoid.mo
+share/metainfo/org.kde.kalgebra.appdata.xml
+share/plasma/plasmoids/org.kde.graphsplasmoid/contents/ui/config.ui
+share/plasma/plasmoids/org.kde.graphsplasmoid/contents/ui/main.qml
+share/plasma/plasmoids/org.kde.graphsplasmoid/metadata.desktop
diff --git a/math/kbruch/Makefile b/math/kbruch/Makefile
new file mode 100644
index 000000000000..32840d8add6c
--- /dev/null
+++ b/math/kbruch/Makefile
@@ -0,0 +1,19 @@
+# $FreeBSD$
+
+PORTNAME= kbruch
+DISTVERSION= ${KDE_APPLICATIONS_VERSION}
+CATEGORIES= math kde kde-applications
+
+MAINTAINER= kde@FreeBSD.org
+COMMENT= KDE 4 application to exercise fractions
+
+BUILD_DEPENDS= ${LOCALBASE}/share/xsl/docbook/html/docbook.xsl:textproc/docbook-xsl \
+ docbook-xml>0:textproc/docbook-xml
+
+USES= cmake:outsource gettext kde:5 tar:xz
+USE_KDE= auth config crash codecs configwidgets coreaddons doctools ecm \
+ i18n widgetsaddons xmlgui
+USE_QT5= core dbus gui xml widgets \
+ buildtools_build qmake_build
+
+.include <bsd.port.mk>
diff --git a/math/kbruch/distinfo b/math/kbruch/distinfo
new file mode 100644
index 000000000000..5d48e53e5809
--- /dev/null
+++ b/math/kbruch/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1520519263
+SHA256 (KDE/applications/17.12.3/kbruch-17.12.3.tar.xz) = b98ce78700f1784c8fbf883bef88f96b4f610eaf762c65e174fe8d505d6c6cd4
+SIZE (KDE/applications/17.12.3/kbruch-17.12.3.tar.xz) = 5601080
diff --git a/math/kbruch/pkg-descr b/math/kbruch/pkg-descr
new file mode 100644
index 000000000000..bf56d5f78b0a
--- /dev/null
+++ b/math/kbruch/pkg-descr
@@ -0,0 +1,19 @@
+KBruch is a small program to practice calculating with fractions and
+percentages. Different exercises are provided for this purpose and you
+can use the learning mode to practice with fractions. The program
+checks the user's input and gives feedback.
+
+FEATURES
+- Arithmetic excercise: in this exercise you have to solve a given
+ fraction task. You have to enter the numerator and the denominator.
+ This is the main exercise.
+- Comparison excercise: in this exercise you have to compare the size
+ of two given fractions, using the symbols >, < or =.
+- Conversion excercise: in this exercise you have to convert a given
+ number into a fraction.
+- Factorization excercise: in this exercise you have to factorize a
+ given number into its prime factors.
+- Percentage excercise: in this exercise you have to calculate
+ percentages.
+
+WWW: http://www.kde.org/applications/education/kbruch
diff --git a/math/kbruch/pkg-plist b/math/kbruch/pkg-plist
new file mode 100644
index 000000000000..387c7ee30ec2
--- /dev/null
+++ b/math/kbruch/pkg-plist
@@ -0,0 +1,88 @@
+bin/kbruch
+man/ca/man1/kbruch.1.gz
+man/de/man1/kbruch.1.gz
+man/es/man1/kbruch.1.gz
+man/et/man1/kbruch.1.gz
+man/it/man1/kbruch.1.gz
+man/man1/kbruch.1.gz
+man/nl/man1/kbruch.1.gz
+man/pt/man1/kbruch.1.gz
+man/pt_BR/man1/kbruch.1.gz
+man/ru/man1/kbruch.1.gz
+man/sv/man1/kbruch.1.gz
+man/uk/man1/kbruch.1.gz
+share/applications/org.kde.kbruch.desktop
+share/config.kcfg/kbruch.kcfg
+share/icons/hicolor/16x16/apps/kbruch.png
+share/icons/hicolor/22x22/apps/kbruch.png
+share/icons/hicolor/32x32/apps/kbruch.png
+share/icons/hicolor/48x48/apps/kbruch.png
+share/icons/hicolor/64x64/apps/kbruch.png
+share/icons/hicolor/scalable/apps/kbruch.svgz
+%%DATADIR%%/pics/exercise_arithmetics.png
+%%DATADIR%%/pics/exercise_compare.png
+%%DATADIR%%/pics/exercise_conversion.png
+%%DATADIR%%/pics/exercise_factorization.png
+%%DATADIR%%/pics/exercise_mixed.png
+%%DATADIR%%/pics/exercise_percentage.png
+%%DATADIR%%/pics/icon_back_arrow.png
+%%DATADIR%%/pics/icon_freestyle.png
+%%DATADIR%%/pics/icon_freestyle_1.png
+%%DATADIR%%/pics/icon_learning.png
+%%DATADIR%%/pics/icon_learning_1.png
+%%DATADIR%%/pics/icon_test_case.png
+%%DATADIR%%/pics/icon_test_case_1.png
+share/kxmlgui5/kbruch/AppMenuWidgetui.rc
+share/kxmlgui5/kbruch/FractionRingWidgetui.rc
+share/kxmlgui5/kbruch/kbruchui.rc
+share/locale/ar/LC_MESSAGES/kbruch.mo
+share/locale/ast/LC_MESSAGES/kbruch.mo
+share/locale/bg/LC_MESSAGES/kbruch.mo
+share/locale/bs/LC_MESSAGES/kbruch.mo
+share/locale/ca/LC_MESSAGES/kbruch.mo
+share/locale/ca@valencia/LC_MESSAGES/kbruch.mo
+share/locale/cs/LC_MESSAGES/kbruch.mo
+share/locale/da/LC_MESSAGES/kbruch.mo
+share/locale/de/LC_MESSAGES/kbruch.mo
+share/locale/el/LC_MESSAGES/kbruch.mo
+share/locale/en_GB/LC_MESSAGES/kbruch.mo
+share/locale/eo/LC_MESSAGES/kbruch.mo
+share/locale/es/LC_MESSAGES/kbruch.mo
+share/locale/et/LC_MESSAGES/kbruch.mo
+share/locale/eu/LC_MESSAGES/kbruch.mo
+share/locale/fa/LC_MESSAGES/kbruch.mo
+share/locale/fi/LC_MESSAGES/kbruch.mo
+share/locale/fr/LC_MESSAGES/kbruch.mo
+share/locale/ga/LC_MESSAGES/kbruch.mo
+share/locale/gl/LC_MESSAGES/kbruch.mo
+share/locale/he/LC_MESSAGES/kbruch.mo
+share/locale/hi/LC_MESSAGES/kbruch.mo
+share/locale/hr/LC_MESSAGES/kbruch.mo
+share/locale/hu/LC_MESSAGES/kbruch.mo
+share/locale/is/LC_MESSAGES/kbruch.mo
+share/locale/it/LC_MESSAGES/kbruch.mo
+share/locale/ja/LC_MESSAGES/kbruch.mo
+share/locale/kk/LC_MESSAGES/kbruch.mo
+share/locale/km/LC_MESSAGES/kbruch.mo
+share/locale/lt/LC_MESSAGES/kbruch.mo
+share/locale/lv/LC_MESSAGES/kbruch.mo
+share/locale/mr/LC_MESSAGES/kbruch.mo
+share/locale/nb/LC_MESSAGES/kbruch.mo
+share/locale/nds/LC_MESSAGES/kbruch.mo
+share/locale/nl/LC_MESSAGES/kbruch.mo
+share/locale/nn/LC_MESSAGES/kbruch.mo
+share/locale/pa/LC_MESSAGES/kbruch.mo
+share/locale/pl/LC_MESSAGES/kbruch.mo
+share/locale/pt/LC_MESSAGES/kbruch.mo
+share/locale/pt_BR/LC_MESSAGES/kbruch.mo
+share/locale/ro/LC_MESSAGES/kbruch.mo
+share/locale/ru/LC_MESSAGES/kbruch.mo
+share/locale/sk/LC_MESSAGES/kbruch.mo
+share/locale/sl/LC_MESSAGES/kbruch.mo
+share/locale/sv/LC_MESSAGES/kbruch.mo
+share/locale/tr/LC_MESSAGES/kbruch.mo
+share/locale/ug/LC_MESSAGES/kbruch.mo
+share/locale/uk/LC_MESSAGES/kbruch.mo
+share/locale/zh_CN/LC_MESSAGES/kbruch.mo
+share/locale/zh_TW/LC_MESSAGES/kbruch.mo
+share/metainfo/org.kde.kbruch.appdata.xml
diff --git a/math/kcalc/Makefile b/math/kcalc/Makefile
new file mode 100644
index 000000000000..3b18ad725dac
--- /dev/null
+++ b/math/kcalc/Makefile
@@ -0,0 +1,21 @@
+# $FreeBSD$
+
+PORTNAME= kcalc
+DISTVERSION= ${KDE_APPLICATIONS_VERSION}
+CATEGORIES= math kde kde-applications
+
+MAINTAINER= kde@FreeBSD.org
+COMMENT= Scientific calculator for KDE
+
+LIB_DEPENDS= libgmp.so:math/gmp \
+ libmpfr.so:math/mpfr
+BUILD_DEPENDS= ${LOCALBASE}/share/xsl/docbook/html/docbook.xsl:textproc/docbook-xsl \
+ docbook-xml>0:textproc/docbook-xml
+
+USES= cmake:outsource gettext kde:5 tar:xz
+USE_KDE= auth codecs coreaddons ecm config configwidgets doctools \
+ guiaddons i18n init notifications widgetsaddons xmlgui
+USE_QT5= core dbus gui widgets xml \
+ buildtools_build qmake_build
+
+.include <bsd.port.mk>
diff --git a/math/kcalc/distinfo b/math/kcalc/distinfo
new file mode 100644
index 000000000000..06771c9fad37
--- /dev/null
+++ b/math/kcalc/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1520519259
+SHA256 (KDE/applications/17.12.3/kcalc-17.12.3.tar.xz) = 124d2cb3cad885fa948d17d485ceb406c782d2d456e18917128508aae5c49970
+SIZE (KDE/applications/17.12.3/kcalc-17.12.3.tar.xz) = 360180
diff --git a/math/kcalc/pkg-descr b/math/kcalc/pkg-descr
new file mode 100644
index 000000000000..8b553ada7023
--- /dev/null
+++ b/math/kcalc/pkg-descr
@@ -0,0 +1,6 @@
+KCalc is a calculator which offers many more mathematical functions
+than meet the eye on a first glance. Please study the section on
+keyboard accelerators and modes in the handbook to learn more about
+the many functions available.
+
+WWW: http://utils.kde.org
diff --git a/math/kcalc/pkg-plist b/math/kcalc/pkg-plist
new file mode 100644
index 000000000000..a2371e49d626
--- /dev/null
+++ b/math/kcalc/pkg-plist
@@ -0,0 +1,63 @@
+bin/kcalc
+lib/libkdeinit5_kcalc.so
+share/applications/org.kde.kcalc.desktop
+share/config.kcfg/kcalc.kcfg
+%%DATADIR%%/scienceconstants.xml
+share/kconf_update/kcalcrc.upd
+share/kxmlgui5/kcalc/kcalcui.rc
+share/locale/ar/LC_MESSAGES/kcalc.mo
+share/locale/ast/LC_MESSAGES/kcalc.mo
+share/locale/bg/LC_MESSAGES/kcalc.mo
+share/locale/bs/LC_MESSAGES/kcalc.mo
+share/locale/ca/LC_MESSAGES/kcalc.mo
+share/locale/ca@valencia/LC_MESSAGES/kcalc.mo
+share/locale/cs/LC_MESSAGES/kcalc.mo
+share/locale/da/LC_MESSAGES/kcalc.mo
+share/locale/de/LC_MESSAGES/kcalc.mo
+share/locale/el/LC_MESSAGES/kcalc.mo
+share/locale/en_GB/LC_MESSAGES/kcalc.mo
+share/locale/eo/LC_MESSAGES/kcalc.mo
+share/locale/es/LC_MESSAGES/kcalc.mo
+share/locale/et/LC_MESSAGES/kcalc.mo
+share/locale/eu/LC_MESSAGES/kcalc.mo
+share/locale/fa/LC_MESSAGES/kcalc.mo
+share/locale/fi/LC_MESSAGES/kcalc.mo
+share/locale/fr/LC_MESSAGES/kcalc.mo
+share/locale/ga/LC_MESSAGES/kcalc.mo
+share/locale/gl/LC_MESSAGES/kcalc.mo
+share/locale/he/LC_MESSAGES/kcalc.mo
+share/locale/hi/LC_MESSAGES/kcalc.mo
+share/locale/hr/LC_MESSAGES/kcalc.mo
+share/locale/hu/LC_MESSAGES/kcalc.mo
+share/locale/ia/LC_MESSAGES/kcalc.mo
+share/locale/id/LC_MESSAGES/kcalc.mo
+share/locale/is/LC_MESSAGES/kcalc.mo
+share/locale/it/LC_MESSAGES/kcalc.mo
+share/locale/ja/LC_MESSAGES/kcalc.mo
+share/locale/kk/LC_MESSAGES/kcalc.mo
+share/locale/km/LC_MESSAGES/kcalc.mo
+share/locale/ko/LC_MESSAGES/kcalc.mo
+share/locale/lt/LC_MESSAGES/kcalc.mo
+share/locale/lv/LC_MESSAGES/kcalc.mo
+share/locale/mr/LC_MESSAGES/kcalc.mo
+share/locale/nb/LC_MESSAGES/kcalc.mo
+share/locale/nds/LC_MESSAGES/kcalc.mo
+share/locale/nl/LC_MESSAGES/kcalc.mo
+share/locale/nn/LC_MESSAGES/kcalc.mo
+share/locale/pa/LC_MESSAGES/kcalc.mo
+share/locale/pl/LC_MESSAGES/kcalc.mo
+share/locale/pt/LC_MESSAGES/kcalc.mo
+share/locale/pt_BR/LC_MESSAGES/kcalc.mo
+share/locale/ro/LC_MESSAGES/kcalc.mo
+share/locale/ru/LC_MESSAGES/kcalc.mo
+share/locale/sk/LC_MESSAGES/kcalc.mo
+share/locale/sl/LC_MESSAGES/kcalc.mo
+share/locale/sr/LC_MESSAGES/kcalc.mo
+share/locale/sv/LC_MESSAGES/kcalc.mo
+share/locale/tr/LC_MESSAGES/kcalc.mo
+share/locale/ug/LC_MESSAGES/kcalc.mo
+share/locale/uk/LC_MESSAGES/kcalc.mo
+share/locale/wa/LC_MESSAGES/kcalc.mo
+share/locale/zh_CN/LC_MESSAGES/kcalc.mo
+share/locale/zh_TW/LC_MESSAGES/kcalc.mo
+share/metainfo/org.kde.kcalc.appdata.xml
diff --git a/math/kig/Makefile b/math/kig/Makefile
new file mode 100644
index 000000000000..65b89ad0ada7
--- /dev/null
+++ b/math/kig/Makefile
@@ -0,0 +1,22 @@
+# $FreeBSD$
+
+PORTNAME= kig
+DISTVERSION= ${KDE_APPLICATIONS_VERSION}
+CATEGORIES= math kde kde-applications
+
+MAINTAINER= kde@FreeBSD.org
+COMMENT= KDE interactive geometry application
+
+LIB_DEPENDS= ${PY_BOOST}
+
+USES= cmake:outsource gettext compiler:c++11-lib kde:5 python:run \
+ shebangfix tar:xz
+USE_KDE= archive auth codecs completion config configwidgets coreaddons \
+ crash doctools ecm emoticons i18n iconthemes init itemmodels \
+ jobwidgets kdelibs4support kio parts service sonnet texteditor \
+ textwidgets widgetsaddons xmlgui
+USE_QT5= core dbus gui network printsupport svg widgets xml xmlpatterns \
+ buildtools_build qmake_build
+SHEBANG_FILES= pykig/pykig.py
+
+.include <bsd.port.mk>
diff --git a/math/kig/distinfo b/math/kig/distinfo
new file mode 100644
index 000000000000..ff88bb4866dd
--- /dev/null
+++ b/math/kig/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1520519261
+SHA256 (KDE/applications/17.12.3/kig-17.12.3.tar.xz) = 2df689be475e0d2b18491ec3ce6ba1aa05e6b31c6d0d00e22dcd2d903c493b52
+SIZE (KDE/applications/17.12.3/kig-17.12.3.tar.xz) = 3589648
diff --git a/math/kig/pkg-descr b/math/kig/pkg-descr
new file mode 100644
index 000000000000..0a9ef0be59f1
--- /dev/null
+++ b/math/kig/pkg-descr
@@ -0,0 +1,9 @@
+Kig is an application for interactive geometry.
+
+FEATURES
+- Allows the students to interactively explore mathematical figures
+ and concepts using the computer.
+- Serves as a WYSIWYG tool for drawing mathematical figures and
+ including them in other documents.
+
+WWW: http://www.kde.org/applications/education/kig
diff --git a/math/kig/pkg-plist b/math/kig/pkg-plist
new file mode 100644
index 000000000000..6818f05efab5
--- /dev/null
+++ b/math/kig/pkg-plist
@@ -0,0 +1,467 @@
+bin/kig
+bin/pykig.py
+%%QT_PLUGINDIR%%/kigpart.so
+man/ca/man1/kig.1.gz
+man/de/man1/kig.1.gz
+man/es/man1/kig.1.gz
+man/et/man1/kig.1.gz
+man/it/man1/kig.1.gz
+man/man1/kig.1.gz
+man/nl/man1/kig.1.gz
+man/pt_BR/man1/kig.1.gz
+man/ru/man1/kig.1.gz
+man/sv/man1/kig.1.gz
+man/uk/man1/kig.1.gz
+share/applications/org.kde.kig.desktop
+share/icons/hicolor/128x128/apps/kig.png
+share/icons/hicolor/128x128/mimetypes/application-x-kig.png
+share/icons/hicolor/16x16/apps/kig.png
+share/icons/hicolor/16x16/mimetypes/application-x-kig.png
+share/icons/hicolor/22x22/apps/kig.png
+share/icons/hicolor/22x22/mimetypes/application-x-kig.png
+share/icons/hicolor/32x32/apps/kig.png
+share/icons/hicolor/32x32/mimetypes/application-x-kig.png
+share/icons/hicolor/48x48/apps/kig.png
+share/icons/hicolor/48x48/mimetypes/application-x-kig.png
+share/icons/hicolor/64x64/apps/kig.png
+share/icons/hicolor/64x64/mimetypes/application-x-kig.png
+share/icons/hicolor/scalable/apps/kig.svgz
+share/icons/hicolor/scalable/mimetypes/application-x-kig.svgz
+share/katepart5/syntax/python-kig.xml
+%%DATADIR%%/builtin-macros/circle_by_center_and_line.kigt
+%%DATADIR%%/builtin-macros/circle_by_point_and_diameter.kigt
+%%DATADIR%%/builtin-macros/equitriangle.kigt
+%%DATADIR%%/builtin-macros/evolute.kigt
+%%DATADIR%%/builtin-macros/osculating_circle.kigt
+%%DATADIR%%/builtin-macros/square.kigt
+%%DATADIR%%/builtin-macros/vector_difference.kigt
+%%DATADIR%%/icons/hicolor/16x16/actions/kig_xfig.png
+%%DATADIR%%/icons/hicolor/22x22/actions/angle.png
+%%DATADIR%%/icons/hicolor/22x22/actions/angle_bisector.png
+%%DATADIR%%/icons/hicolor/22x22/actions/angle_size.png
+%%DATADIR%%/icons/hicolor/22x22/actions/arc.png
+%%DATADIR%%/icons/hicolor/22x22/actions/arc_center.png
+%%DATADIR%%/icons/hicolor/22x22/actions/areaCircle.png
+%%DATADIR%%/icons/hicolor/22x22/actions/attacher.png
+%%DATADIR%%/icons/hicolor/22x22/actions/baseCircle.png
+%%DATADIR%%/icons/hicolor/22x22/actions/bezier3.png
+%%DATADIR%%/icons/hicolor/22x22/actions/bezier4.png
+%%DATADIR%%/icons/hicolor/22x22/actions/bezierN.png
+%%DATADIR%%/icons/hicolor/22x22/actions/beziercurves.png
+%%DATADIR%%/icons/hicolor/22x22/actions/bisection.png
+%%DATADIR%%/icons/hicolor/22x22/actions/centerofcurvature.png
+%%DATADIR%%/icons/hicolor/22x22/actions/centralsymmetry.png
+%%DATADIR%%/icons/hicolor/22x22/actions/circlebcl.png
+%%DATADIR%%/icons/hicolor/22x22/actions/circlebcp.png
+%%DATADIR%%/icons/hicolor/22x22/actions/circlebpd.png
+%%DATADIR%%/icons/hicolor/22x22/actions/circlebps.png
+%%DATADIR%%/icons/hicolor/22x22/actions/circlebtp.png
+%%DATADIR%%/icons/hicolor/22x22/actions/circlelineintersection.png
+%%DATADIR%%/icons/hicolor/22x22/actions/circumference.png
+%%DATADIR%%/icons/hicolor/22x22/actions/conicasymptotes.png
+%%DATADIR%%/icons/hicolor/22x22/actions/conicb5p.png
+%%DATADIR%%/icons/hicolor/22x22/actions/coniclineintersection.png
+%%DATADIR%%/icons/hicolor/22x22/actions/conicsradicalline.png
+%%DATADIR%%/icons/hicolor/22x22/actions/controlpolygon.png
+%%DATADIR%%/icons/hicolor/22x22/actions/convexhull.png
+%%DATADIR%%/icons/hicolor/22x22/actions/curvelineintersection.png
+%%DATADIR%%/icons/hicolor/22x22/actions/directrix.png
+%%DATADIR%%/icons/hicolor/22x22/actions/distance.png
+%%DATADIR%%/icons/hicolor/22x22/actions/ellipsebffp.png
+%%DATADIR%%/icons/hicolor/22x22/actions/en.png
+%%DATADIR%%/icons/hicolor/22x22/actions/equilateralhyperbolab4p.png
+%%DATADIR%%/icons/hicolor/22x22/actions/equitriangle.png
+%%DATADIR%%/icons/hicolor/22x22/actions/genericaffinity.png
+%%DATADIR%%/icons/hicolor/22x22/actions/genericprojectivity.png
+%%DATADIR%%/icons/hicolor/22x22/actions/halflinebyvector.png
+%%DATADIR%%/icons/hicolor/22x22/actions/harmonichomology.png
+%%DATADIR%%/icons/hicolor/22x22/actions/hexagonbcv.png
+%%DATADIR%%/icons/hicolor/22x22/actions/hyperbolabffp.png
+%%DATADIR%%/icons/hicolor/22x22/actions/intersection.png
+%%DATADIR%%/icons/hicolor/22x22/actions/inversion.png
+%%DATADIR%%/icons/hicolor/22x22/actions/kig_numericvalue.png
+%%DATADIR%%/icons/hicolor/22x22/actions/kig_polygon.png
+%%DATADIR%%/icons/hicolor/22x22/actions/kig_text.png
+%%DATADIR%%/icons/hicolor/22x22/actions/line.png
+%%DATADIR%%/icons/hicolor/22x22/actions/linebyvector.png
+%%DATADIR%%/icons/hicolor/22x22/actions/locus.png
+%%DATADIR%%/icons/hicolor/22x22/actions/mirrorpoint.png
+%%DATADIR%%/icons/hicolor/22x22/actions/openpolygon.png
+%%DATADIR%%/icons/hicolor/22x22/actions/paint.png
+%%DATADIR%%/icons/hicolor/22x22/actions/parabolabtp.png
+%%DATADIR%%/icons/hicolor/22x22/actions/parallel.png
+%%DATADIR%%/icons/hicolor/22x22/actions/perpendicular.png
+%%DATADIR%%/icons/hicolor/22x22/actions/point.png
+%%DATADIR%%/icons/hicolor/22x22/actions/pointOnLine.png
+%%DATADIR%%/icons/hicolor/22x22/actions/pointxy.png
+%%DATADIR%%/icons/hicolor/22x22/actions/polygonsides.png
+%%DATADIR%%/icons/hicolor/22x22/actions/polygonvertices.png
+%%DATADIR%%/icons/hicolor/22x22/actions/projection.png
+%%DATADIR%%/icons/hicolor/22x22/actions/python.png
+%%DATADIR%%/icons/hicolor/22x22/actions/radicalline.png
+%%DATADIR%%/icons/hicolor/22x22/actions/ray.png
+%%DATADIR%%/icons/hicolor/22x22/actions/rbezier3.png
+%%DATADIR%%/icons/hicolor/22x22/actions/rbezier4.png
+%%DATADIR%%/icons/hicolor/22x22/actions/rbezierN.png
+%%DATADIR%%/icons/hicolor/22x22/actions/rotation.png
+%%DATADIR%%/icons/hicolor/22x22/actions/scale.png
+%%DATADIR%%/icons/hicolor/22x22/actions/segment.png
+%%DATADIR%%/icons/hicolor/22x22/actions/segment_midpoint.png
+%%DATADIR%%/icons/hicolor/22x22/actions/segmentaxis.png
+%%DATADIR%%/icons/hicolor/22x22/actions/similitude.png
+%%DATADIR%%/icons/hicolor/22x22/actions/sizer.png
+%%DATADIR%%/icons/hicolor/22x22/actions/slope.png
+%%DATADIR%%/icons/hicolor/22x22/actions/square.png
+%%DATADIR%%/icons/hicolor/22x22/actions/stretch.png
+%%DATADIR%%/icons/hicolor/22x22/actions/tangent.png
+%%DATADIR%%/icons/hicolor/22x22/actions/test.png
+%%DATADIR%%/icons/hicolor/22x22/actions/testcollinear.png
+%%DATADIR%%/icons/hicolor/22x22/actions/testcontains.png
+%%DATADIR%%/icons/hicolor/22x22/actions/testdistance.png
+%%DATADIR%%/icons/hicolor/22x22/actions/testorthogonal.png
+%%DATADIR%%/icons/hicolor/22x22/actions/testparallel.png
+%%DATADIR%%/icons/hicolor/22x22/actions/translation.png
+%%DATADIR%%/icons/hicolor/22x22/actions/triangle.png
+%%DATADIR%%/icons/hicolor/22x22/actions/vector.png
+%%DATADIR%%/icons/hicolor/22x22/actions/vectordifference.png
+%%DATADIR%%/icons/hicolor/22x22/actions/vectorsum.png
+%%DATADIR%%/icons/hicolor/22x22/actions/view_fit_to_page.png
+%%DATADIR%%/icons/hicolor/22x22/actions/w.png
+%%DATADIR%%/icons/hicolor/32x32/actions/angle.png
+%%DATADIR%%/icons/hicolor/32x32/actions/angle_bisector.png
+%%DATADIR%%/icons/hicolor/32x32/actions/angle_size.png
+%%DATADIR%%/icons/hicolor/32x32/actions/arc.png
+%%DATADIR%%/icons/hicolor/32x32/actions/arc_center.png
+%%DATADIR%%/icons/hicolor/32x32/actions/areaCircle.png
+%%DATADIR%%/icons/hicolor/32x32/actions/attacher.png
+%%DATADIR%%/icons/hicolor/32x32/actions/baseCircle.png
+%%DATADIR%%/icons/hicolor/32x32/actions/bezier3.png
+%%DATADIR%%/icons/hicolor/32x32/actions/bezier4.png
+%%DATADIR%%/icons/hicolor/32x32/actions/bezierN.png
+%%DATADIR%%/icons/hicolor/32x32/actions/beziercurves.png
+%%DATADIR%%/icons/hicolor/32x32/actions/bisection.png
+%%DATADIR%%/icons/hicolor/32x32/actions/centerofcurvature.png
+%%DATADIR%%/icons/hicolor/32x32/actions/centralsymmetry.png
+%%DATADIR%%/icons/hicolor/32x32/actions/circlebcl.png
+%%DATADIR%%/icons/hicolor/32x32/actions/circlebcp.png
+%%DATADIR%%/icons/hicolor/32x32/actions/circlebpd.png
+%%DATADIR%%/icons/hicolor/32x32/actions/circlebps.png
+%%DATADIR%%/icons/hicolor/32x32/actions/circlebtp.png
+%%DATADIR%%/icons/hicolor/32x32/actions/circlelineintersection.png
+%%DATADIR%%/icons/hicolor/32x32/actions/circumference.png
+%%DATADIR%%/icons/hicolor/32x32/actions/conicasymptotes.png
+%%DATADIR%%/icons/hicolor/32x32/actions/conicb5p.png
+%%DATADIR%%/icons/hicolor/32x32/actions/coniclineintersection.png
+%%DATADIR%%/icons/hicolor/32x32/actions/conicsradicalline.png
+%%DATADIR%%/icons/hicolor/32x32/actions/controlpolygon.png
+%%DATADIR%%/icons/hicolor/32x32/actions/convexhull.png
+%%DATADIR%%/icons/hicolor/32x32/actions/curvelineintersection.png
+%%DATADIR%%/icons/hicolor/32x32/actions/directrix.png
+%%DATADIR%%/icons/hicolor/32x32/actions/distance.png
+%%DATADIR%%/icons/hicolor/32x32/actions/ellipsebffp.png
+%%DATADIR%%/icons/hicolor/32x32/actions/en.png
+%%DATADIR%%/icons/hicolor/32x32/actions/equilateralhyperbolab4p.png
+%%DATADIR%%/icons/hicolor/32x32/actions/equitriangle.png
+%%DATADIR%%/icons/hicolor/32x32/actions/genericaffinity.png
+%%DATADIR%%/icons/hicolor/32x32/actions/genericprojectivity.png
+%%DATADIR%%/icons/hicolor/32x32/actions/halflinebyvector.png
+%%DATADIR%%/icons/hicolor/32x32/actions/harmonichomology.png
+%%DATADIR%%/icons/hicolor/32x32/actions/hexagonbcv.png
+%%DATADIR%%/icons/hicolor/32x32/actions/hyperbolabffp.png
+%%DATADIR%%/icons/hicolor/32x32/actions/intersection.png
+%%DATADIR%%/icons/hicolor/32x32/actions/inversion.png
+%%DATADIR%%/icons/hicolor/32x32/actions/kig_numericvalue.png
+%%DATADIR%%/icons/hicolor/32x32/actions/kig_polygon.png
+%%DATADIR%%/icons/hicolor/32x32/actions/kig_text.png
+%%DATADIR%%/icons/hicolor/32x32/actions/line.png
+%%DATADIR%%/icons/hicolor/32x32/actions/linebyvector.png
+%%DATADIR%%/icons/hicolor/32x32/actions/locus.png
+%%DATADIR%%/icons/hicolor/32x32/actions/mirrorpoint.png
+%%DATADIR%%/icons/hicolor/32x32/actions/openpolygon.png
+%%DATADIR%%/icons/hicolor/32x32/actions/paint.png
+%%DATADIR%%/icons/hicolor/32x32/actions/parabolabtp.png
+%%DATADIR%%/icons/hicolor/32x32/actions/parallel.png
+%%DATADIR%%/icons/hicolor/32x32/actions/perpendicular.png
+%%DATADIR%%/icons/hicolor/32x32/actions/point.png
+%%DATADIR%%/icons/hicolor/32x32/actions/pointOnLine.png
+%%DATADIR%%/icons/hicolor/32x32/actions/pointxy.png
+%%DATADIR%%/icons/hicolor/32x32/actions/polygonsides.png
+%%DATADIR%%/icons/hicolor/32x32/actions/polygonvertices.png
+%%DATADIR%%/icons/hicolor/32x32/actions/projection.png
+%%DATADIR%%/icons/hicolor/32x32/actions/python.png
+%%DATADIR%%/icons/hicolor/32x32/actions/radicalline.png
+%%DATADIR%%/icons/hicolor/32x32/actions/ray.png
+%%DATADIR%%/icons/hicolor/32x32/actions/rbezier3.png
+%%DATADIR%%/icons/hicolor/32x32/actions/rbezier4.png
+%%DATADIR%%/icons/hicolor/32x32/actions/rbezierN.png
+%%DATADIR%%/icons/hicolor/32x32/actions/rotation.png
+%%DATADIR%%/icons/hicolor/32x32/actions/scale.png
+%%DATADIR%%/icons/hicolor/32x32/actions/segment.png
+%%DATADIR%%/icons/hicolor/32x32/actions/segment_midpoint.png
+%%DATADIR%%/icons/hicolor/32x32/actions/segmentaxis.png
+%%DATADIR%%/icons/hicolor/32x32/actions/similitude.png
+%%DATADIR%%/icons/hicolor/32x32/actions/sizer.png
+%%DATADIR%%/icons/hicolor/32x32/actions/slope.png
+%%DATADIR%%/icons/hicolor/32x32/actions/square.png
+%%DATADIR%%/icons/hicolor/32x32/actions/stretch.png
+%%DATADIR%%/icons/hicolor/32x32/actions/tangent.png
+%%DATADIR%%/icons/hicolor/32x32/actions/test.png
+%%DATADIR%%/icons/hicolor/32x32/actions/testcollinear.png
+%%DATADIR%%/icons/hicolor/32x32/actions/testcontains.png
+%%DATADIR%%/icons/hicolor/32x32/actions/testdistance.png
+%%DATADIR%%/icons/hicolor/32x32/actions/testorthogonal.png
+%%DATADIR%%/icons/hicolor/32x32/actions/testparallel.png
+%%DATADIR%%/icons/hicolor/32x32/actions/translation.png
+%%DATADIR%%/icons/hicolor/32x32/actions/triangle.png
+%%DATADIR%%/icons/hicolor/32x32/actions/vector.png
+%%DATADIR%%/icons/hicolor/32x32/actions/vectordifference.png
+%%DATADIR%%/icons/hicolor/32x32/actions/vectorsum.png
+%%DATADIR%%/icons/hicolor/32x32/actions/w.png
+%%DATADIR%%/icons/hicolor/scalable/actions/angle.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/angle_bisector.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/angle_size.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/arc.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/arc_center.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/areaCircle.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/attacher.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/baseCircle.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/bezier3.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/bezier4.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/bezierN.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/beziercurves.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/bisection.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/centerofcurvature.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/centralsymmetry.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/circlebcl.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/circlebcp.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/circlebpd.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/circlebps.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/circlebtp.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/circlelineintersection.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/circumference.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/conicasymptotes.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/conicb5p.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/coniclineintersection.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/conicsradicalline.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/controlpolygon.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/convexhull.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/curvelineintersection.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/directrix.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/distance.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/ellipsebffp.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/en.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/equilateralhyperbolab4p.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/equitriangle.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/genericaffinity.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/genericprojectivity.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/halflinebyvector.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/harmonichomology.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/hexagonbcv.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/hyperbolabffp.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/intersection.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/inversion.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/kig_numericvalue.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/kig_polygon.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/kig_text.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/line.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/linebyvector.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/locus.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/mirrorpoint.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/openpolygon.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/paint.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/parabolabtp.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/parallel.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/perpendicular.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/point.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/pointOnLine.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/pointxy.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/polygonsides.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/polygonvertices.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/projection.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/python.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/radicalline.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/ray.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/rbezier3.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/rbezier4.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/rbezierN.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/rotation.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/scale.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/segment.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/segment_midpoint.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/segmentaxis.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/similitude.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/sizer.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/slope.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/square.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/stretch.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/tangent.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/test.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/testcollinear.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/testcontains.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/testdistance.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/testorthogonal.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/testparallel.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/translation.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/triangle.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/vector.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/vectordifference.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/vectorsum.svgz
+%%DATADIR%%/icons/hicolor/scalable/actions/w.svgz
+%%DATADIR%%/tips
+share/kservices5/kig_part.desktop
+share/kxmlgui5/kig/kigpartui.rc
+share/kxmlgui5/kig/kigui.rc
+share/locale/ar/LC_MESSAGES/kfile_drgeo.mo
+share/locale/ar/LC_MESSAGES/kfile_kig.mo
+share/locale/ar/LC_MESSAGES/kig.mo
+share/locale/ast/LC_MESSAGES/kfile_drgeo.mo
+share/locale/ast/LC_MESSAGES/kfile_kig.mo
+share/locale/ast/LC_MESSAGES/kig.mo
+share/locale/bg/LC_MESSAGES/kfile_drgeo.mo
+share/locale/bg/LC_MESSAGES/kfile_kig.mo
+share/locale/bg/LC_MESSAGES/kig.mo
+share/locale/bs/LC_MESSAGES/kfile_drgeo.mo
+share/locale/bs/LC_MESSAGES/kfile_kig.mo
+share/locale/bs/LC_MESSAGES/kig.mo
+share/locale/ca/LC_MESSAGES/kfile_drgeo.mo
+share/locale/ca/LC_MESSAGES/kfile_kig.mo
+share/locale/ca/LC_MESSAGES/kig.mo
+share/locale/ca@valencia/LC_MESSAGES/kfile_drgeo.mo
+share/locale/ca@valencia/LC_MESSAGES/kfile_kig.mo
+share/locale/ca@valencia/LC_MESSAGES/kig.mo
+share/locale/cs/LC_MESSAGES/kfile_drgeo.mo
+share/locale/cs/LC_MESSAGES/kfile_kig.mo
+share/locale/cs/LC_MESSAGES/kig.mo
+share/locale/da/LC_MESSAGES/kfile_drgeo.mo
+share/locale/da/LC_MESSAGES/kfile_kig.mo
+share/locale/da/LC_MESSAGES/kig.mo
+share/locale/de/LC_MESSAGES/kfile_drgeo.mo
+share/locale/de/LC_MESSAGES/kfile_kig.mo
+share/locale/de/LC_MESSAGES/kig.mo
+share/locale/el/LC_MESSAGES/kfile_drgeo.mo
+share/locale/el/LC_MESSAGES/kfile_kig.mo
+share/locale/el/LC_MESSAGES/kig.mo
+share/locale/en_GB/LC_MESSAGES/kfile_drgeo.mo
+share/locale/en_GB/LC_MESSAGES/kfile_kig.mo
+share/locale/en_GB/LC_MESSAGES/kig.mo
+share/locale/eo/LC_MESSAGES/kfile_drgeo.mo
+share/locale/eo/LC_MESSAGES/kfile_kig.mo
+share/locale/eo/LC_MESSAGES/kig.mo
+share/locale/es/LC_MESSAGES/kfile_drgeo.mo
+share/locale/es/LC_MESSAGES/kfile_kig.mo
+share/locale/es/LC_MESSAGES/kig.mo
+share/locale/et/LC_MESSAGES/kfile_drgeo.mo
+share/locale/et/LC_MESSAGES/kfile_kig.mo
+share/locale/et/LC_MESSAGES/kig.mo
+share/locale/eu/LC_MESSAGES/kfile_drgeo.mo
+share/locale/eu/LC_MESSAGES/kfile_kig.mo
+share/locale/eu/LC_MESSAGES/kig.mo
+share/locale/fa/LC_MESSAGES/kfile_drgeo.mo
+share/locale/fa/LC_MESSAGES/kfile_kig.mo
+share/locale/fa/LC_MESSAGES/kig.mo
+share/locale/fi/LC_MESSAGES/kfile_drgeo.mo
+share/locale/fi/LC_MESSAGES/kfile_kig.mo
+share/locale/fi/LC_MESSAGES/kig.mo
+share/locale/fr/LC_MESSAGES/kfile_drgeo.mo
+share/locale/fr/LC_MESSAGES/kfile_kig.mo
+share/locale/fr/LC_MESSAGES/kig.mo
+share/locale/ga/LC_MESSAGES/kfile_drgeo.mo
+share/locale/ga/LC_MESSAGES/kfile_kig.mo
+share/locale/ga/LC_MESSAGES/kig.mo
+share/locale/gl/LC_MESSAGES/kfile_drgeo.mo
+share/locale/gl/LC_MESSAGES/kfile_kig.mo
+share/locale/gl/LC_MESSAGES/kig.mo
+share/locale/he/LC_MESSAGES/kfile_drgeo.mo
+share/locale/he/LC_MESSAGES/kfile_kig.mo
+share/locale/hi/LC_MESSAGES/kfile_drgeo.mo
+share/locale/hi/LC_MESSAGES/kfile_kig.mo
+share/locale/hi/LC_MESSAGES/kig.mo
+share/locale/hr/LC_MESSAGES/kfile_drgeo.mo
+share/locale/hr/LC_MESSAGES/kfile_kig.mo
+share/locale/hr/LC_MESSAGES/kig.mo
+share/locale/hu/LC_MESSAGES/kfile_drgeo.mo
+share/locale/hu/LC_MESSAGES/kfile_kig.mo
+share/locale/hu/LC_MESSAGES/kig.mo
+share/locale/is/LC_MESSAGES/kfile_drgeo.mo
+share/locale/is/LC_MESSAGES/kfile_kig.mo
+share/locale/is/LC_MESSAGES/kig.mo
+share/locale/it/LC_MESSAGES/kfile_drgeo.mo
+share/locale/it/LC_MESSAGES/kfile_kig.mo
+share/locale/it/LC_MESSAGES/kig.mo
+share/locale/ja/LC_MESSAGES/kfile_drgeo.mo
+share/locale/ja/LC_MESSAGES/kfile_kig.mo
+share/locale/ja/LC_MESSAGES/kig.mo
+share/locale/kk/LC_MESSAGES/kfile_drgeo.mo
+share/locale/kk/LC_MESSAGES/kfile_kig.mo
+share/locale/kk/LC_MESSAGES/kig.mo
+share/locale/km/LC_MESSAGES/kfile_drgeo.mo
+share/locale/km/LC_MESSAGES/kfile_kig.mo
+share/locale/km/LC_MESSAGES/kig.mo
+share/locale/ko/LC_MESSAGES/kfile_drgeo.mo
+share/locale/ko/LC_MESSAGES/kfile_kig.mo
+share/locale/lt/LC_MESSAGES/kfile_drgeo.mo
+share/locale/lt/LC_MESSAGES/kfile_kig.mo
+share/locale/lt/LC_MESSAGES/kig.mo
+share/locale/lv/LC_MESSAGES/kfile_drgeo.mo
+share/locale/lv/LC_MESSAGES/kfile_kig.mo
+share/locale/lv/LC_MESSAGES/kig.mo
+share/locale/mr/LC_MESSAGES/kfile_drgeo.mo
+share/locale/mr/LC_MESSAGES/kfile_kig.mo
+share/locale/mr/LC_MESSAGES/kig.mo
+share/locale/nb/LC_MESSAGES/kfile_drgeo.mo
+share/locale/nb/LC_MESSAGES/kfile_kig.mo
+share/locale/nb/LC_MESSAGES/kig.mo
+share/locale/nds/LC_MESSAGES/kfile_drgeo.mo
+share/locale/nds/LC_MESSAGES/kfile_kig.mo
+share/locale/nds/LC_MESSAGES/kig.mo
+share/locale/nl/LC_MESSAGES/kfile_drgeo.mo
+share/locale/nl/LC_MESSAGES/kfile_kig.mo
+share/locale/nl/LC_MESSAGES/kig.mo
+share/locale/nn/LC_MESSAGES/kfile_drgeo.mo
+share/locale/nn/LC_MESSAGES/kfile_kig.mo
+share/locale/nn/LC_MESSAGES/kig.mo
+share/locale/pa/LC_MESSAGES/kfile_drgeo.mo
+share/locale/pa/LC_MESSAGES/kfile_kig.mo
+share/locale/pa/LC_MESSAGES/kig.mo
+share/locale/pl/LC_MESSAGES/kfile_drgeo.mo
+share/locale/pl/LC_MESSAGES/kfile_kig.mo
+share/locale/pl/LC_MESSAGES/kig.mo
+share/locale/pt/LC_MESSAGES/kfile_drgeo.mo
+share/locale/pt/LC_MESSAGES/kfile_kig.mo
+share/locale/pt/LC_MESSAGES/kig.mo
+share/locale/pt_BR/LC_MESSAGES/kfile_drgeo.mo
+share/locale/pt_BR/LC_MESSAGES/kfile_kig.mo
+share/locale/pt_BR/LC_MESSAGES/kig.mo
+share/locale/ro/LC_MESSAGES/kfile_drgeo.mo
+share/locale/ro/LC_MESSAGES/kfile_kig.mo
+share/locale/ro/LC_MESSAGES/kig.mo
+share/locale/ru/LC_MESSAGES/kfile_drgeo.mo
+share/locale/ru/LC_MESSAGES/kfile_kig.mo
+share/locale/ru/LC_MESSAGES/kig.mo
+share/locale/sk/LC_MESSAGES/kfile_drgeo.mo
+share/locale/sk/LC_MESSAGES/kfile_kig.mo
+share/locale/sk/LC_MESSAGES/kig.mo
+share/locale/sl/LC_MESSAGES/kfile_drgeo.mo
+share/locale/sl/LC_MESSAGES/kfile_kig.mo
+share/locale/sl/LC_MESSAGES/kig.mo
+share/locale/sr/LC_MESSAGES/kfile_drgeo.mo
+share/locale/sr/LC_MESSAGES/kfile_kig.mo
+share/locale/sv/LC_MESSAGES/kfile_drgeo.mo
+share/locale/sv/LC_MESSAGES/kfile_kig.mo
+share/locale/sv/LC_MESSAGES/kig.mo
+share/locale/tr/LC_MESSAGES/kfile_drgeo.mo
+share/locale/tr/LC_MESSAGES/kfile_kig.mo
+share/locale/tr/LC_MESSAGES/kig.mo
+share/locale/ug/LC_MESSAGES/kfile_drgeo.mo
+share/locale/ug/LC_MESSAGES/kfile_kig.mo
+share/locale/ug/LC_MESSAGES/kig.mo
+share/locale/uk/LC_MESSAGES/kfile_drgeo.mo
+share/locale/uk/LC_MESSAGES/kfile_kig.mo
+share/locale/uk/LC_MESSAGES/kig.mo
+share/locale/zh_CN/LC_MESSAGES/kfile_drgeo.mo
+share/locale/zh_CN/LC_MESSAGES/kfile_kig.mo
+share/locale/zh_CN/LC_MESSAGES/kig.mo
+share/locale/zh_TW/LC_MESSAGES/kfile_drgeo.mo
+share/locale/zh_TW/LC_MESSAGES/kfile_kig.mo
+share/locale/zh_TW/LC_MESSAGES/kig.mo
+share/metainfo/org.kde.kig.appdata.xml
diff --git a/math/kmplot/Makefile b/math/kmplot/Makefile
new file mode 100644
index 000000000000..d1edc7331f92
--- /dev/null
+++ b/math/kmplot/Makefile
@@ -0,0 +1,19 @@
+# $FreeBSD$
+
+PORTNAME= kmplot
+DISTVERSION= ${KDE_APPLICATIONS_VERSION}
+CATEGORIES= math kde kde-applications
+
+MAINTAINER= kde@FreeBSD.org
+COMMENT= Mathematical function plotter for KDE
+
+USES= cmake:outsource gettext kde:5 tar:xz
+USE_KDE= auth bookmarks codecs completion config configwidgets \
+ coreaddons crash dbusaddons ecm emoticons guiaddons i18n \
+ iconthemes init itemmodels itemviews jobwidgets \
+ kdelibs4support kio notifications parts service solid sonnet \
+ textwidgets unitconversion widgetsaddons windowsystem xmlgui
+USE_QT5= core dbus gui network printsupport svg widgets xml \
+ buildtools_build qmake_build
+
+.include <bsd.port.mk>
diff --git a/math/kmplot/distinfo b/math/kmplot/distinfo
new file mode 100644
index 000000000000..c3564c739a39
--- /dev/null
+++ b/math/kmplot/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1520519260
+SHA256 (KDE/applications/17.12.3/kmplot-17.12.3.tar.xz) = 497548975b9f120360c63e0571ec7b9a721a29233aa37517abd50f22f6a38b5e
+SIZE (KDE/applications/17.12.3/kmplot-17.12.3.tar.xz) = 3024624
diff --git a/math/kmplot/pkg-descr b/math/kmplot/pkg-descr
new file mode 100644
index 000000000000..a41ca4b628a0
--- /dev/null
+++ b/math/kmplot/pkg-descr
@@ -0,0 +1,25 @@
+KmPlot is a program to draw graphs, their integrals or derivatives. It
+supports different systems of coordinates like the cartesian or the
+polar coordinate system. The graphs can be colorized and the view is
+scalable, so that you are able to zoom to the level you need.
+
+Features:
+- Powerful mathematical parser.
+- Precise metric printing.
+- Different plot types: cartesian, parametric, polar, implicit,
+ differential.
+- Highly configurable visual settings (plot line, axes, grid).
+- Export to bitmap format (BMP and PNG) and scalable vector graphics
+ (SVG).
+- Save/load complete session in readable XML format.
+- Trace mode: cross hair following plot, coordinates shown in the
+ status bar.
+- Supports zooming.
+- Ability to draw the 1st and 2nd derivative and the integral of a
+ plot function.
+- Supports user defined constants and parameter values.
+- Various tools for plot functions:
+ - Find minimum/maximum point.
+ - Get y-value and draw the area between the function and the y-axis.
+
+WWW: http://www.kde.org/applications/education/kmplot
diff --git a/math/kmplot/pkg-plist b/math/kmplot/pkg-plist
new file mode 100644
index 000000000000..667df8a2a021
--- /dev/null
+++ b/math/kmplot/pkg-plist
@@ -0,0 +1,86 @@
+bin/kmplot
+%%QT_PLUGINDIR%%/kmplotpart.so
+man/ca/man1/kmplot.1.gz
+man/de/man1/kmplot.1.gz
+man/es/man1/kmplot.1.gz
+man/et/man1/kmplot.1.gz
+man/fr/man1/kmplot.1.gz
+man/gl/man1/kmplot.1.gz
+man/it/man1/kmplot.1.gz
+man/man1/kmplot.1.gz
+man/nl/man1/kmplot.1.gz
+man/pl/man1/kmplot.1.gz
+man/pt/man1/kmplot.1.gz
+man/pt_BR/man1/kmplot.1.gz
+man/ru/man1/kmplot.1.gz
+man/sv/man1/kmplot.1.gz
+man/uk/man1/kmplot.1.gz
+share/applications/org.kde.kmplot.desktop
+share/config.kcfg/kmplot.kcfg
+share/dbus-1/interfaces/org.kde.kmplot.KmPlot.xml
+share/dbus-1/interfaces/org.kde.kmplot.MainDlg.xml
+share/dbus-1/interfaces/org.kde.kmplot.Parser.xml
+share/dbus-1/interfaces/org.kde.kmplot.View.xml
+share/icons/hicolor/128x128/apps/kmplot.png
+share/icons/hicolor/16x16/apps/kmplot.png
+share/icons/hicolor/22x22/apps/kmplot.png
+share/icons/hicolor/32x32/apps/kmplot.png
+share/icons/hicolor/48x48/apps/kmplot.png
+share/icons/hicolor/64x64/apps/kmplot.png
+share/icons/hicolor/scalable/apps/kmplot.svgz
+share/kservices5/kmplot_part.desktop
+share/kxmlgui5/kmplot/kmplot_part.rc
+share/kxmlgui5/kmplot/kmplot_part_readonly.rc
+share/kxmlgui5/kmplot/kmplot_shell.rc
+share/locale/ar/LC_MESSAGES/kmplot.mo
+share/locale/ast/LC_MESSAGES/kmplot.mo
+share/locale/bg/LC_MESSAGES/kmplot.mo
+share/locale/bs/LC_MESSAGES/kmplot.mo
+share/locale/ca/LC_MESSAGES/kmplot.mo
+share/locale/ca@valencia/LC_MESSAGES/kmplot.mo
+share/locale/cs/LC_MESSAGES/kmplot.mo
+share/locale/da/LC_MESSAGES/kmplot.mo
+share/locale/de/LC_MESSAGES/kmplot.mo
+share/locale/el/LC_MESSAGES/kmplot.mo
+share/locale/en_GB/LC_MESSAGES/kmplot.mo
+share/locale/eo/LC_MESSAGES/kmplot.mo
+share/locale/es/LC_MESSAGES/kmplot.mo
+share/locale/et/LC_MESSAGES/kmplot.mo
+share/locale/eu/LC_MESSAGES/kmplot.mo
+share/locale/fa/LC_MESSAGES/kmplot.mo
+share/locale/fi/LC_MESSAGES/kmplot.mo
+share/locale/fr/LC_MESSAGES/kmplot.mo
+share/locale/ga/LC_MESSAGES/kmplot.mo
+share/locale/gl/LC_MESSAGES/kmplot.mo
+share/locale/he/LC_MESSAGES/kmplot.mo
+share/locale/hi/LC_MESSAGES/kmplot.mo
+share/locale/hr/LC_MESSAGES/kmplot.mo
+share/locale/hu/LC_MESSAGES/kmplot.mo
+share/locale/is/LC_MESSAGES/kmplot.mo
+share/locale/it/LC_MESSAGES/kmplot.mo
+share/locale/ja/LC_MESSAGES/kmplot.mo
+share/locale/kk/LC_MESSAGES/kmplot.mo
+share/locale/km/LC_MESSAGES/kmplot.mo
+share/locale/ko/LC_MESSAGES/kmplot.mo
+share/locale/lt/LC_MESSAGES/kmplot.mo
+share/locale/lv/LC_MESSAGES/kmplot.mo
+share/locale/mr/LC_MESSAGES/kmplot.mo
+share/locale/nb/LC_MESSAGES/kmplot.mo
+share/locale/nds/LC_MESSAGES/kmplot.mo
+share/locale/nl/LC_MESSAGES/kmplot.mo
+share/locale/nn/LC_MESSAGES/kmplot.mo
+share/locale/pa/LC_MESSAGES/kmplot.mo
+share/locale/pl/LC_MESSAGES/kmplot.mo
+share/locale/pt/LC_MESSAGES/kmplot.mo
+share/locale/pt_BR/LC_MESSAGES/kmplot.mo
+share/locale/ro/LC_MESSAGES/kmplot.mo
+share/locale/ru/LC_MESSAGES/kmplot.mo
+share/locale/sk/LC_MESSAGES/kmplot.mo
+share/locale/sl/LC_MESSAGES/kmplot.mo
+share/locale/sv/LC_MESSAGES/kmplot.mo
+share/locale/tr/LC_MESSAGES/kmplot.mo
+share/locale/ug/LC_MESSAGES/kmplot.mo
+share/locale/uk/LC_MESSAGES/kmplot.mo
+share/locale/zh_CN/LC_MESSAGES/kmplot.mo
+share/locale/zh_TW/LC_MESSAGES/kmplot.mo
+share/metainfo/org.kde.kmplot.appdata.xml
diff --git a/math/rocs/Makefile b/math/rocs/Makefile
new file mode 100644
index 000000000000..da77f1845ceb
--- /dev/null
+++ b/math/rocs/Makefile
@@ -0,0 +1,28 @@
+# $FreeBSD$
+
+PORTNAME= rocs
+DISTVERSION= ${KDE_APPLICATIONS_VERSION}
+CATEGORIES= math kde kde-applications
+
+MAINTAINER= kde@FreeBSD.org
+COMMENT= KDE Graph theory IDE
+
+LIB_DEPENDS= libboost_thread.so:devel/boost-libs
+
+USES= cmake:outsource gettext grantlee:5 kde:5 tar:xz
+USE_KDE= archive auth codecs completion config configwidgets coreaddons \
+ crash doctools ecm i18n itemviews jobwidgets kdeclarative \
+ kio package parts service sonnet texteditor textwidgets \
+ widgetsaddons xmlgui
+USE_QT5= core dbus gui network qml script quick scripttools svg webkit \
+ widgets xml xmlpatterns \
+ buildtools_build qmake_build
+
+USE_LDCONFIG= yes
+
+# clang 6.0 defaults to -std=gnu++14, which breaks the build:
+# /wrkdirs/usr/ports/math/rocs/work/rocs-4.14.3/VisualEditor/Actions/SelectMoveHandAction.cpp:86:52: error: no viable conversion from 'int' to 'QPainter::RenderHints' (aka 'QFlags<QPainter::RenderHint>')
+# _graphScene->views().at(0)->setRenderHints(QPainter::Antialiasing
+USE_CXXSTD= gnu++98
+
+.include <bsd.port.mk>
diff --git a/math/rocs/distinfo b/math/rocs/distinfo
new file mode 100644
index 000000000000..38e0a31c0f5b
--- /dev/null
+++ b/math/rocs/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1520519262
+SHA256 (KDE/applications/17.12.3/rocs-17.12.3.tar.xz) = 86c0d3e39654b1ae75aa194d099c2c4c4592cc0870b6c1b77d55f4b8e904cfb5
+SIZE (KDE/applications/17.12.3/rocs-17.12.3.tar.xz) = 1529908
diff --git a/math/rocs/pkg-descr b/math/rocs/pkg-descr
new file mode 100644
index 000000000000..eefccd1a79ff
--- /dev/null
+++ b/math/rocs/pkg-descr
@@ -0,0 +1,12 @@
+Rocs aims to be a graph theory IDE for helping professors to show the
+results of a graph algorithm and also helping students to do the
+algorithms.
+
+FEATURES
+- Canvas for graph drawing.
+- IDE for graph related programming, using JavaScript as its main
+ language, plus the graph library.
+- Nodes, graphs and edges are extensible from the scripting interface,
+ so you can do anything you want.
+
+WWW: http://www.kde.org/applications/education/rocs
diff --git a/math/rocs/pkg-plist b/math/rocs/pkg-plist
new file mode 100644
index 000000000000..7a4e39c878f7
--- /dev/null
+++ b/math/rocs/pkg-plist
@@ -0,0 +1,135 @@
+bin/rocs
+include/rocs/edge.h
+include/rocs/graphdocument.h
+include/rocs/node.h
+lib/librocsgraphtheory.so
+lib/librocsgraphtheory.so.0
+%%QT_PLUGINDIR%%/rocs/editorplugins/assignvaluesplugin.so
+%%QT_PLUGINDIR%%/rocs/editorplugins/generategraphplugin.so
+%%QT_PLUGINDIR%%/rocs/editorplugins/transformedgesplugin.so
+%%QT_PLUGINDIR%%/rocs/fileformats/dotfileformat.so
+%%QT_PLUGINDIR%%/rocs/fileformats/gmlfileformat.so
+%%QT_PLUGINDIR%%/rocs/fileformats/rocs1fileformat.so
+%%QT_PLUGINDIR%%/rocs/fileformats/rocs2fileformat.so
+%%QT_PLUGINDIR%%/rocs/fileformats/tgffileformat.so
+%%QT_PLUGINDIR%%/rocs/fileformats/tikzfileformat.so
+share/applications/org.kde.rocs.desktop
+share/config.kcfg/rocs.kcfg
+share/icons/hicolor/128x128/apps/rocs.png
+share/icons/hicolor/16x16/apps/rocs.png
+share/icons/hicolor/22x22/apps/rocs.png
+share/icons/hicolor/32x32/apps/rocs.png
+share/icons/hicolor/48x48/apps/rocs.png
+share/icons/hicolor/64x64/apps/rocs.png
+share/icons/hicolor/scalable/actions/rocsadvancedsetup.svgz
+share/icons/hicolor/scalable/actions/rocsalignbottom.svgz
+share/icons/hicolor/scalable/actions/rocsaligncircle.svgz
+share/icons/hicolor/scalable/actions/rocsalignleft.svgz
+share/icons/hicolor/scalable/actions/rocsalignmiddle.svgz
+share/icons/hicolor/scalable/actions/rocsalignright.svgz
+share/icons/hicolor/scalable/actions/rocsaligntop.svgz
+share/icons/hicolor/scalable/actions/rocsaligntree.svgz
+share/icons/hicolor/scalable/actions/rocsalignvmiddle.svgz
+share/icons/hicolor/scalable/actions/rocsbidirectional.svgz
+share/icons/hicolor/scalable/actions/rocsdelete.svgz
+share/icons/hicolor/scalable/actions/rocsedge.svgz
+share/icons/hicolor/scalable/actions/rocsnode.svgz
+share/icons/hicolor/scalable/actions/rocsselect.svgz
+share/icons/hicolor/scalable/actions/rocsunidirectional.svgz
+share/icons/hicolor/scalable/actions/rocsvisible.svgz
+share/icons/hicolor/scalable/apps/rocs.svgz
+share/kxmlgui5/rocs/rocsui.rc
+share/locale/ast/LC_MESSAGES/libgraphtheory.mo
+share/locale/ast/LC_MESSAGES/rocs.mo
+share/locale/bs/LC_MESSAGES/libgraphtheory.mo
+share/locale/bs/LC_MESSAGES/rocs.mo
+share/locale/ca/LC_MESSAGES/libgraphtheory.mo
+share/locale/ca/LC_MESSAGES/rocs.mo
+share/locale/ca@valencia/LC_MESSAGES/libgraphtheory.mo
+share/locale/ca@valencia/LC_MESSAGES/rocs.mo
+share/locale/cs/LC_MESSAGES/libgraphtheory.mo
+share/locale/cs/LC_MESSAGES/rocs.mo
+share/locale/da/LC_MESSAGES/libgraphtheory.mo
+share/locale/da/LC_MESSAGES/rocs.mo
+share/locale/de/LC_MESSAGES/libgraphtheory.mo
+share/locale/de/LC_MESSAGES/rocs.mo
+share/locale/el/LC_MESSAGES/libgraphtheory.mo
+share/locale/el/LC_MESSAGES/rocs.mo
+share/locale/en_GB/LC_MESSAGES/libgraphtheory.mo
+share/locale/en_GB/LC_MESSAGES/rocs.mo
+share/locale/eo/LC_MESSAGES/libgraphtheory.mo
+share/locale/eo/LC_MESSAGES/rocs.mo
+share/locale/es/LC_MESSAGES/libgraphtheory.mo
+share/locale/es/LC_MESSAGES/rocs.mo
+share/locale/et/LC_MESSAGES/libgraphtheory.mo
+share/locale/et/LC_MESSAGES/rocs.mo
+share/locale/fi/LC_MESSAGES/libgraphtheory.mo
+share/locale/fi/LC_MESSAGES/rocs.mo
+share/locale/fr/LC_MESSAGES/libgraphtheory.mo
+share/locale/fr/LC_MESSAGES/rocs.mo
+share/locale/ga/LC_MESSAGES/libgraphtheory.mo
+share/locale/ga/LC_MESSAGES/rocs.mo
+share/locale/gl/LC_MESSAGES/libgraphtheory.mo
+share/locale/gl/LC_MESSAGES/rocs.mo
+share/locale/hr/LC_MESSAGES/libgraphtheory.mo
+share/locale/hr/LC_MESSAGES/rocs.mo
+share/locale/hu/LC_MESSAGES/libgraphtheory.mo
+share/locale/hu/LC_MESSAGES/rocs.mo
+share/locale/it/LC_MESSAGES/libgraphtheory.mo
+share/locale/it/LC_MESSAGES/rocs.mo
+share/locale/ja/LC_MESSAGES/libgraphtheory.mo
+share/locale/ja/LC_MESSAGES/rocs.mo
+share/locale/kk/LC_MESSAGES/libgraphtheory.mo
+share/locale/kk/LC_MESSAGES/rocs.mo
+share/locale/lt/LC_MESSAGES/libgraphtheory.mo
+share/locale/lt/LC_MESSAGES/rocs.mo
+share/locale/lv/LC_MESSAGES/libgraphtheory.mo
+share/locale/lv/LC_MESSAGES/rocs.mo
+share/locale/mr/LC_MESSAGES/libgraphtheory.mo
+share/locale/mr/LC_MESSAGES/rocs.mo
+share/locale/nb/LC_MESSAGES/libgraphtheory.mo
+share/locale/nb/LC_MESSAGES/rocs.mo
+share/locale/nds/LC_MESSAGES/libgraphtheory.mo
+share/locale/nds/LC_MESSAGES/rocs.mo
+share/locale/nl/LC_MESSAGES/libgraphtheory.mo
+share/locale/nl/LC_MESSAGES/rocs.mo
+share/locale/nn/LC_MESSAGES/libgraphtheory.mo
+share/locale/nn/LC_MESSAGES/rocs.mo
+share/locale/pa/LC_MESSAGES/libgraphtheory.mo
+share/locale/pa/LC_MESSAGES/rocs.mo
+share/locale/pl/LC_MESSAGES/libgraphtheory.mo
+share/locale/pl/LC_MESSAGES/rocs.mo
+share/locale/pt/LC_MESSAGES/libgraphtheory.mo
+share/locale/pt/LC_MESSAGES/rocs.mo
+share/locale/pt_BR/LC_MESSAGES/libgraphtheory.mo
+share/locale/pt_BR/LC_MESSAGES/rocs.mo
+share/locale/ro/LC_MESSAGES/libgraphtheory.mo
+share/locale/ro/LC_MESSAGES/rocs.mo
+share/locale/ru/LC_MESSAGES/libgraphtheory.mo
+share/locale/ru/LC_MESSAGES/rocs.mo
+share/locale/sk/LC_MESSAGES/libgraphtheory.mo
+share/locale/sk/LC_MESSAGES/rocs.mo
+share/locale/sl/LC_MESSAGES/libgraphtheory.mo
+share/locale/sl/LC_MESSAGES/rocs.mo
+share/locale/sv/LC_MESSAGES/libgraphtheory.mo
+share/locale/sv/LC_MESSAGES/rocs.mo
+share/locale/tr/LC_MESSAGES/libgraphtheory.mo
+share/locale/tr/LC_MESSAGES/rocs.mo
+share/locale/ug/LC_MESSAGES/libgraphtheory.mo
+share/locale/ug/LC_MESSAGES/rocs.mo
+share/locale/uk/LC_MESSAGES/libgraphtheory.mo
+share/locale/uk/LC_MESSAGES/rocs.mo
+share/locale/zh_CN/LC_MESSAGES/libgraphtheory.mo
+share/locale/zh_CN/LC_MESSAGES/rocs.mo
+share/locale/zh_TW/LC_MESSAGES/libgraphtheory.mo
+share/locale/zh_TW/LC_MESSAGES/rocs.mo
+share/metainfo/org.kde.rocs.appdata.xml
+%%DATADIR%%/kernelapi/console.xml
+%%DATADIR%%/kernelapi/document.xml
+%%DATADIR%%/kernelapi/edge.xml
+%%DATADIR%%/kernelapi/node.xml
+%%DATADIR%%/plugin/apidoc/bootstrap-apiview.css
+%%DATADIR%%/plugin/apidoc/bootstrap.css
+%%DATADIR%%/plugin/apidoc/objectApi.html
+%%DATADIR%%/plugin/apidoc/overview.html
+%%DATADIR%%/schemes/kernelapi.xsd