aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorAlberto Villa <avilla@FreeBSD.org>2011-10-17 00:03:42 +0000
committerAlberto Villa <avilla@FreeBSD.org>2011-10-17 00:03:42 +0000
commita2d3b5a4bc5047210b788a128596ec34749ffa11 (patch)
treec3c20b47c3435ddcaf02b8570db6aab5b70011af /math
parentda6ade2349d0bdc372133d4d97bc6988aee94238 (diff)
downloadports-a2d3b5a4bc5047210b788a128596ec34749ffa11.tar.gz
ports-a2d3b5a4bc5047210b788a128596ec34749ffa11.zip
Notes
Diffstat (limited to 'math')
-rw-r--r--math/Makefile6
-rw-r--r--math/cantor/Makefile60
-rw-r--r--math/cantor/distinfo2
-rw-r--r--math/cantor/files/patch-src__backends__R__rserver__rcallbacks.cpp11
-rw-r--r--math/cantor/pkg-descr5
-rw-r--r--math/cantor/pkg-plist115
-rw-r--r--math/kalgebra/Makefile42
-rw-r--r--math/kalgebra/distinfo2
-rw-r--r--math/kalgebra/pkg-descr5
-rw-r--r--math/kalgebra/pkg-plist40
-rw-r--r--math/kbruch/Makefile29
-rw-r--r--math/kbruch/distinfo2
-rw-r--r--math/kbruch/pkg-descr19
-rw-r--r--math/kbruch/pkg-plist45
-rw-r--r--math/kcalc/Makefile39
-rw-r--r--math/kcalc/distinfo4
-rw-r--r--math/kcalc/files/patch-ark-kerfuffle-cliiterface.cpp35
-rw-r--r--math/kcalc/files/patch-kcalc-kcalc.ui99
-rw-r--r--math/kcalc/pkg-descr5
-rw-r--r--math/kcalc/pkg-plist27
-rw-r--r--math/kig/Makefile37
-rw-r--r--math/kig/distinfo2
-rw-r--r--math/kig/pkg-descr9
-rw-r--r--math/kig/pkg-plist334
-rw-r--r--math/kmplot/Makefile29
-rw-r--r--math/kmplot/distinfo2
-rw-r--r--math/kmplot/pkg-descr25
-rw-r--r--math/kmplot/pkg-plist49
-rw-r--r--math/rocs/Makefile30
-rw-r--r--math/rocs/distinfo2
-rw-r--r--math/rocs/pkg-descr12
-rw-r--r--math/rocs/pkg-plist108
32 files changed, 1056 insertions, 175 deletions
diff --git a/math/Makefile b/math/Makefile
index d7a9115c1a69..bcf75ef6476b 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -47,6 +47,7 @@
SUBDIR += calc
SUBDIR += calcoo
SUBDIR += calctool
+ SUBDIR += cantor
SUBDIR += ccmath
SUBDIR += cgal
SUBDIR += chaco
@@ -162,7 +163,11 @@
SUBDIR += jtransforms
SUBDIR += jts
SUBDIR += k3dsurf
+ SUBDIR += kalgebra
SUBDIR += kash3
+ SUBDIR += kbruch
+ SUBDIR += kig
+ SUBDIR += kmplot
SUBDIR += koctave
SUBDIR += kseg
SUBDIR += labplot
@@ -521,6 +526,7 @@
SUBDIR += rkward
SUBDIR += rkward-kde4
SUBDIR += rngstreams
+ SUBDIR += rocs
SUBDIR += ros-geometry
SUBDIR += rpcalc
SUBDIR += rpy
diff --git a/math/cantor/Makefile b/math/cantor/Makefile
new file mode 100644
index 000000000000..30d3c5880b6e
--- /dev/null
+++ b/math/cantor/Makefile
@@ -0,0 +1,60 @@
+# New ports collection Makefile for: cantor
+# Date created: 5 September 2011
+# Whom: Alberto Villa <avilla@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= cantor
+PORTVERSION= ${KDE4_VERSION}
+CATEGORIES= math kde
+MASTER_SITES= ${MASTER_SITE_KDE}
+MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
+DIST_SUBDIR= KDE
+
+MAINTAINER= kde@FreeBSD.org
+COMMENT= KDE 4 frontend to mathematical software
+
+LIB_DEPENDS= spectre.1:${PORTSDIR}/print/libspectre
+
+CONFLICTS= kdeedu-4.[0-6].*
+
+USE_KDE4= kdehier kdelibs kdeprefix automoc4
+KDE4_BUILDENV= yes
+USE_QT_VER= 4
+QT_COMPONENTS= qtestlib_build xmlpatterns \
+ moc_build qmake_build rcc_build uic_build
+USE_BZIP2= yes
+MAKE_JOBS_SAFE= yes
+
+OPTIONS= KALGEBRA "KAlgebra backend" on \
+ MAXIMA "Maxima backend" off \
+ OCTAVE "Octave backend" off \
+ R "R backend" off
+
+.include <bsd.port.options.mk>
+
+.ifndef(WITHOUT_KALGEBRA)
+RUN_DEPENDS+= ${KDE4_PREFIX}/bin/kalgebra:${PORTSDIR}/math/kalgebra
+.endif
+
+.ifdef(WITH_MAXIMA)
+RUN_DEPENDS+= maxima:${PORTSDIR}/math/maxima
+.endif
+
+.ifdef(WITH_OCTAVE)
+RUN_DEPENDS+= octave:${PORTSDIR}/math/octave
+.endif
+
+.ifdef(WITH_R)
+BUILD_DEPENDS+= R:${PORTSDIR}/math/R
+RUN_DEPENDS+= R:${PORTSDIR}/math/R
+# Required to set CFLAGS for -lgfortran.
+USE_FORTRAN= yes
+PLIST_SUB+= R=""
+.else
+CMAKE_ARGS+= -DWITH_R:BOOL=FALSE
+PLIST_SUB+= R="@comment "
+.endif
+
+.include <bsd.port.mk>
diff --git a/math/cantor/distinfo b/math/cantor/distinfo
new file mode 100644
index 000000000000..d0a80ce0757e
--- /dev/null
+++ b/math/cantor/distinfo
@@ -0,0 +1,2 @@
+SHA256 (KDE/cantor-4.7.2.tar.bz2) = 1e9cbda34c5a1b8419cff05a0967ea77600cb4bc85fa72da8d4d658023e09d8d
+SIZE (KDE/cantor-4.7.2.tar.bz2) = 498360
diff --git a/math/cantor/files/patch-src__backends__R__rserver__rcallbacks.cpp b/math/cantor/files/patch-src__backends__R__rserver__rcallbacks.cpp
new file mode 100644
index 000000000000..be86fd4c37d9
--- /dev/null
+++ b/math/cantor/files/patch-src__backends__R__rserver__rcallbacks.cpp
@@ -0,0 +1,11 @@
+--- ./src/backends/R/rserver/rcallbacks.cpp.orig 2011-09-06 18:09:37.488660147 +0200
++++ ./src/backends/R/rserver/rcallbacks.cpp 2011-09-06 18:11:08.508602174 +0200
+@@ -18,6 +18,8 @@
+ Copyright (C) 2009 Alexander Rieder <alexanderrieder@gmail.com>
+ */
+
++#include <iostream>
++
+ #include "rcallbacks.h"
+
+ #include "rserver.h"
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..498da72cedf5
--- /dev/null
+++ b/math/cantor/pkg-plist
@@ -0,0 +1,115 @@
+bin/cantor
+%%R%%bin/cantor_rserver
+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
+lib/kde4/cantor_advancedplotassistant.so
+lib/kde4/cantor_creatematrixassistant.so
+lib/kde4/cantor_differentiateassistant.so
+lib/kde4/cantor_eigenvaluesassistant.so
+lib/kde4/cantor_eigenvectorsassistant.so
+lib/kde4/cantor_helppanelplugin.so
+lib/kde4/cantor_integrateassistant.so
+lib/kde4/cantor_invertmatrixassistant.so
+lib/kde4/cantor_maximabackend.so
+lib/kde4/cantor_nullbackend.so
+lib/kde4/cantor_octavebackend.so
+lib/kde4/cantor_plot2dassistant.so
+lib/kde4/cantor_plot3dassistant.so
+%%R%%lib/kde4/cantor_rbackend.so
+lib/kde4/cantor_runscriptassistant.so
+lib/kde4/cantor_sagebackend.so
+lib/kde4/cantor_solveassistant.so
+lib/kde4/cantor_variablemanagerplugin.so
+lib/kde4/libcantorpart.so
+lib/libcantor_config.so
+lib/libcantorlibs.so
+lib/libcantorlibs.so.0.0.2
+lib/libcantorlibs.so.1
+share/applications/kde4/cantor.desktop
+share/apps/cantor/cantor_advancedplot_assistant.rc
+share/apps/cantor/cantor_create_matrix_assistant.rc
+share/apps/cantor/cantor_differentiate_assistant.rc
+share/apps/cantor/cantor_eigenvalues_assistant.rc
+share/apps/cantor/cantor_eigenvectors_assistant.rc
+share/apps/cantor/cantor_integrate_assistant.rc
+share/apps/cantor/cantor_invert_matrix_assistant.rc
+share/apps/cantor/cantor_part.rc
+share/apps/cantor/cantor_plot2d_assistant.rc
+share/apps/cantor/cantor_plot3d_assistant.rc
+share/apps/cantor/cantor_runscript_assistant.rc
+share/apps/cantor/cantor_scripteditor.rc
+share/apps/cantor/cantor_shell.rc
+share/apps/cantor/cantor_solve_assistant.rc
+share/apps/cantor/maximabackend/keywords.xml
+share/apps/cantor/octavebackend/cantor_eigenvectors.m
+share/apps/cantor/octavebackend/cantor_plot2d.m
+share/apps/cantor/octavebackend/cantor_plot3d.m
+share/apps/cantor/octavebackend/cantor_print.m
+share/apps/cantor/xslt/latex.xsl
+share/config.kcfg/cantor.kcfg
+share/config.kcfg/cantor_libs.kcfg
+share/config.kcfg/maximabackend.kcfg
+share/config.kcfg/octavebackend.kcfg
+%%R%%share/config.kcfg/rserver.kcfg
+share/config.kcfg/sagebackend.kcfg
+share/config/cantor.knsrc
+share/config/cantor_kalgebra.knsrc
+share/config/cantor_maxima.knsrc
+%%R%%share/config/cantor_r.knsrc
+share/config/cantor_sage.knsrc
+share/doc/HTML/en/cantor/common
+share/doc/HTML/en/cantor/index.cache.bz2
+share/doc/HTML/en/cantor/index.docbook
+share/doc/HTML/en/cantor/latex_formula.png
+share/doc/HTML/en/cantor/screenshot.png
+share/icons/hicolor/16x16/apps/cantor.png
+share/icons/hicolor/32x32/apps/cantor.png
+share/icons/hicolor/48x48/apps/cantor.png
+share/icons/hicolor/48x48/apps/maximabackend.png
+share/icons/hicolor/48x48/apps/octavebackend.png
+share/icons/hicolor/48x48/apps/rbackend.png
+share/icons/hicolor/48x48/apps/sagebackend.png
+share/kde4/services/cantor/advancedplotassistant.desktop
+share/kde4/services/cantor/cantor_part.desktop
+share/kde4/services/cantor/creatematrixassistant.desktop
+share/kde4/services/cantor/differentiateassistant.desktop
+share/kde4/services/cantor/eigenvaluesassistant.desktop
+share/kde4/services/cantor/eigenvectorsassistant.desktop
+share/kde4/services/cantor/helppanelplugin.desktop
+share/kde4/services/cantor/integrateassistant.desktop
+share/kde4/services/cantor/invertmatrixassistant.desktop
+share/kde4/services/cantor/maximabackend.desktop
+share/kde4/services/cantor/nullbackend.desktop
+share/kde4/services/cantor/octavebackend.desktop
+share/kde4/services/cantor/plot2dassistant.desktop
+share/kde4/services/cantor/plot3dassistant.desktop
+%%R%%share/kde4/services/cantor/rbackend.desktop
+share/kde4/services/cantor/runscriptassistant.desktop
+share/kde4/services/cantor/sagebackend.desktop
+share/kde4/services/cantor/solveassistant.desktop
+share/kde4/services/cantor/variablemanagerplugin.desktop
+share/kde4/servicetypes/cantor_assistant.desktop
+share/kde4/servicetypes/cantor_backend.desktop
+share/kde4/servicetypes/cantor_panelplugin.desktop
+@dirrm share/kde4/services/cantor
+@dirrm share/doc/HTML/en/cantor
+@dirrm share/apps/cantor/xslt
+@dirrm share/apps/cantor/octavebackend
+@dirrm share/apps/cantor/maximabackend
+@dirrm share/apps/cantor
+@dirrm include/cantor
diff --git a/math/kalgebra/Makefile b/math/kalgebra/Makefile
new file mode 100644
index 000000000000..d0789cda0eb2
--- /dev/null
+++ b/math/kalgebra/Makefile
@@ -0,0 +1,42 @@
+# New ports collection Makefile for: kalgebra
+# Date created: 5 September 2011
+# Whom: Alberto Villa <avilla@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= kalgebra
+PORTVERSION= ${KDE4_VERSION}
+CATEGORIES= math kde
+MASTER_SITES= ${MASTER_SITE_KDE}
+MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
+DIST_SUBDIR= KDE
+
+MAINTAINER= kde@FreeBSD.org
+COMMENT= KDE 4 graph calculator
+
+LIB_DEPENDS= keduvocdocument.5:${PORTSDIR}/misc/libkdeedu
+
+CONFLICTS= kdeedu-4.[0-6].*
+
+USE_KDE4= kdehier kdelibs kdeprefix automoc4
+KDE4_BUILDENV= yes
+USE_QT_VER= 4
+QT_COMPONENTS= gui opengl script scripttools xml \
+ moc_build qmake_build rcc_build uic_build
+USE_BZIP2= yes
+MAKE_JOBS_SAFE= yes
+
+OPTIONS= READLINE "Install console interface" on
+
+.include <bsd.port.options.mk>
+
+.ifndef(WITHOUT_READLINE)
+LIB_DEPENDS+= readline.6:${PORTSDIR}/devel/readline
+PLIST_SUB+= READLINE=""
+.else
+CMAKE_ARGS+= -DWITH_Readline:BOOL=FALSE
+PLIST_SUB+= READLINE="@comment "
+.endif
+
+.include <bsd.port.mk>
diff --git a/math/kalgebra/distinfo b/math/kalgebra/distinfo
new file mode 100644
index 000000000000..7ab9a734c0b3
--- /dev/null
+++ b/math/kalgebra/distinfo
@@ -0,0 +1,2 @@
+SHA256 (KDE/kalgebra-4.7.2.tar.bz2) = 85f213eb34042bf2ec4a4c481fb48b60821aed247b438502415387c4ee5611b7
+SIZE (KDE/kalgebra-4.7.2.tar.bz2) = 232924
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..4cdb1b426268
--- /dev/null
+++ b/math/kalgebra/pkg-plist
@@ -0,0 +1,40 @@
+%%READLINE%%bin/calgebra
+bin/kalgebra
+bin/kalgebramobile
+lib/kde4/plasma_applet_kalgebra.so
+lib/libanalitza.so
+lib/libanalitza.so.5
+lib/libanalitza.so.5.0.1
+lib/libanalitzagui.so
+lib/libanalitzagui.so.5
+lib/libanalitzagui.so.5.0.1
+share/applications/kde4/kalgebra.desktop
+share/applications/kde4/kalgebramobile.desktop
+share/apps/kalgebra/scripts/console/console.js
+share/apps/kalgebra/scripts/console/kalgebraconsole.desktop
+share/apps/kalgebra/scripts/plot2d/kalgebraplot2d.desktop
+share/apps/kalgebra/scripts/plot2d/plot2d.js
+share/apps/kalgebra/scripts/tables/kalgebratables.desktop
+share/apps/kalgebra/scripts/tables/tables.js
+share/apps/kalgebra/scripts/variables/kalgebravariables.desktop
+share/apps/kalgebra/scripts/variables/variables.js
+share/apps/katepart/syntax/kalgebra.xml
+share/doc/HTML/en/kalgebra/commands.docbook
+share/doc/HTML/en/kalgebra/common
+share/doc/HTML/en/kalgebra/index.cache.bz2
+share/doc/HTML/en/kalgebra/index.docbook
+share/doc/HTML/en/kalgebra/kalgebra-main-window.png
+share/icons/hicolor/128x128/apps/kalgebra.png
+share/icons/hicolor/16x16/apps/kalgebra.png
+share/icons/hicolor/32x32/apps/kalgebra.png
+share/icons/hicolor/48x48/apps/kalgebra.png
+share/icons/hicolor/64x64/apps/kalgebra.png
+share/kde4/services/kalgebraplasmoid.desktop
+share/kde4/servicetypes/kalgebrascript.desktop
+@dirrm share/doc/HTML/en/kalgebra
+@dirrm share/apps/kalgebra/scripts/variables
+@dirrm share/apps/kalgebra/scripts/tables
+@dirrm share/apps/kalgebra/scripts/plot2d
+@dirrm share/apps/kalgebra/scripts/console
+@dirrm share/apps/kalgebra/scripts
+@dirrm share/apps/kalgebra
diff --git a/math/kbruch/Makefile b/math/kbruch/Makefile
new file mode 100644
index 000000000000..e63d2e98610d
--- /dev/null
+++ b/math/kbruch/Makefile
@@ -0,0 +1,29 @@
+# New ports collection Makefile for: kbruch
+# Date created: 6 September 2011
+# Whom: Alberto Villa <avilla@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= kbruch
+PORTVERSION= ${KDE4_VERSION}
+CATEGORIES= math kde
+MASTER_SITES= ${MASTER_SITE_KDE}
+MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
+DIST_SUBDIR= KDE
+
+MAINTAINER= kde@FreeBSD.org
+COMMENT= KDE 4 application to exercise fractions
+
+CONFLICTS= kdeedu-4.[0-6].*
+
+USE_KDE4= kdehier kdelibs kdeprefix automoc4
+KDE4_BUILDENV= yes
+USE_QT_VER= 4
+QT_COMPONENTS= corelib moc_build qmake_build rcc_build uic_build
+USE_BZIP2= yes
+MAKE_JOBS_SAFE= yes
+
+MAN1= kbruch.1
+
+.include <bsd.port.mk>
diff --git a/math/kbruch/distinfo b/math/kbruch/distinfo
new file mode 100644
index 000000000000..73a2bf1b5d67
--- /dev/null
+++ b/math/kbruch/distinfo
@@ -0,0 +1,2 @@
+SHA256 (KDE/kbruch-4.7.2.tar.bz2) = 5213ced8e41d8aa7c5e657fd434eb1f6fe8eecf57020ba0f785df3e53d6fac43
+SIZE (KDE/kbruch-4.7.2.tar.bz2) = 964368
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..a42142b76500
--- /dev/null
+++ b/math/kbruch/pkg-plist
@@ -0,0 +1,45 @@
+bin/kbruch
+share/applications/kde4/kbruch.desktop
+share/apps/kbruch/AppMenuWidgetui.rc
+share/apps/kbruch/FractionRingWidgetui.rc
+share/apps/kbruch/kbruchui.rc
+share/apps/kbruch/pics/exercise_arithmetics.png
+share/apps/kbruch/pics/exercise_compare.png
+share/apps/kbruch/pics/exercise_conversion.png
+share/apps/kbruch/pics/exercise_factorization.png
+share/apps/kbruch/pics/exercise_mixed.png
+share/apps/kbruch/pics/exercise_percentage.png
+share/apps/kbruch/pics/icon_back_arrow.png
+share/apps/kbruch/pics/icon_freestyle.png
+share/apps/kbruch/pics/icon_freestyle_1.png
+share/apps/kbruch/pics/icon_learning.png
+share/apps/kbruch/pics/icon_learning_1.png
+share/apps/kbruch/pics/icon_test_case.png
+share/apps/kbruch/pics/icon_test_case_1.png
+share/config.kcfg/kbruch.kcfg
+share/doc/HTML/en/kbruch/checked.png
+share/doc/HTML/en/kbruch/common
+share/doc/HTML/en/kbruch/compare.png
+share/doc/HTML/en/kbruch/convert.png
+share/doc/HTML/en/kbruch/factorize.png
+share/doc/HTML/en/kbruch/gui_main.png
+share/doc/HTML/en/kbruch/gui_mode.png
+share/doc/HTML/en/kbruch/index.cache.bz2
+share/doc/HTML/en/kbruch/index.docbook
+share/doc/HTML/en/kbruch/learning.png
+share/doc/HTML/en/kbruch/man-kbruch.1.docbook
+share/doc/HTML/en/kbruch/mixed.png
+share/doc/HTML/en/kbruch/percentage.png
+share/doc/HTML/en/kbruch/reduced.png
+share/doc/HTML/en/kbruch/settings.png
+share/doc/HTML/en/kbruch/statistics.png
+share/icons/hicolor/128x128/apps/kbruch.png
+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
+@dirrm share/doc/HTML/en/kbruch
+@dirrm share/apps/kbruch/pics
+@dirrm share/apps/kbruch
diff --git a/math/kcalc/Makefile b/math/kcalc/Makefile
index e4026f85cf9f..bf11844a7c90 100644
--- a/math/kcalc/Makefile
+++ b/math/kcalc/Makefile
@@ -6,52 +6,61 @@
PORTNAME= kdeutils
PORTVERSION= ${KDE4_VERSION}
-PORTREVISION= 1
CATEGORIES= misc kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
-COMMENT= Utilities for the KDE4 integrated X11 Desktop
+COMMENT= Collection of utilities for KDE 4
LIB_DEPENDS= gmp.10:${PORTSDIR}/math/gmp \
- qimageblitz.4:${PORTSDIR}/x11/qimageblitz \
- qca.2:${PORTSDIR}/devel/qca
+ qimageblitz.4:${PORTSDIR}/x11/qimageblitz
+
RUN_DEPENDS= gpg2:${PORTSDIR}/security/gnupg
LATEST_LINK= ${PORTNAME}4
-USE_BZIP2= yes
-USE_QT_VER= 4
-USE_PYTHON= 2.5+
KDE4_BUILDENV= yes
USE_KDE4= kdeprefix kdehier automoc4 sharedmime \
- kdelibs pimlibs workspace kdebase
-QT_COMPONENTS= network gui porting xml \
+ kdelibs pimlibs workspace baseapps
+USE_PYTHON= 2.5+
+USE_QT_VER= 4
+QT_COMPONENTS= dbus gui network script xml xmlpatterns \
qmake_build moc_build rcc_build uic_build
+USE_XORG= x11 xrender xtst
+USE_BZIP2= yes
+CMAKE_ARGS+= -DBUILD_filelight:BOOL=FALSE \
+ -DBUILD_printer-applet:BOOL=FALSE
MAKE_JOBS_SAFE= yes
MAN1= ark.1
-# Disable printer-applet, it comes with print/kdeutils4-printer-applet.
-CMAKE_ARGS+= -DBUILD_printer-applet=OFF
-
-OPTIONS= 7ZIP "Support for 7-Zip archives in Ark" off \
+OPTIONS= FILELIGHT "Install Filelight file system viewer" on \
+ LIRC "Support for IR remote controls" off \
PRINTER_APPLET "Install printer system tray utility" off \
+ 7ZIP "Support for 7-Zip archives in Ark" off \
RAR "Support for RAR archives in Ark" off \
ZIP "Support for ZIP archives in Ark" off
.include <bsd.port.options.mk>
-.ifdef(WITH_7ZIP)
-RUN_DEPENDS+= 7z:${PORTSDIR}/archivers/p7zip
+.ifndef(WITHOUT_FILELIGHT)
+RUN_DEPENDS+= ${KDE4_PREFIX}/bin/filelight:${PORTSDIR}/sysutils/filelight-kde4
+.endif
+
+.ifdef(WITH_LIRC)
+RUN_DEPENDS+= lircd:${PORTSDIR}/comms/lirc
.endif
.ifdef(WITH_PRINTER_APPLET)
RUN_DEPENDS+= ${KDE4_PREFIX}/bin/printer-applet:${PORTSDIR}/print/kdeutils4-printer-applet
.endif
+.ifdef(WITH_7ZIP)
+RUN_DEPENDS+= 7z:${PORTSDIR}/archivers/p7zip
+.endif
+
.ifdef(WITH_ZIP)
RUN_DEPENDS+= unzip>0:${PORTSDIR}/archivers/unzip \
zip:${PORTSDIR}/archivers/zip
diff --git a/math/kcalc/distinfo b/math/kcalc/distinfo
index 7998ee370781..1d6bc1f3ed86 100644
--- a/math/kcalc/distinfo
+++ b/math/kcalc/distinfo
@@ -1,2 +1,2 @@
-SHA256 (KDE/kdeutils-4.6.5.tar.bz2) = 03de4b7728301414c8e704ba5c8650d8ded053747268ad47c901880fc1bf0b29
-SIZE (KDE/kdeutils-4.6.5.tar.bz2) = 3699961
+SHA256 (KDE/kdeutils-4.7.2.tar.bz2) = cdea138fc4556b4f6de5e63ee7ccbcb3485a780f372e699c0cb9fd6d65e02f96
+SIZE (KDE/kdeutils-4.7.2.tar.bz2) = 3800427
diff --git a/math/kcalc/files/patch-ark-kerfuffle-cliiterface.cpp b/math/kcalc/files/patch-ark-kerfuffle-cliiterface.cpp
deleted file mode 100644
index f2298e0f4493..000000000000
--- a/math/kcalc/files/patch-ark-kerfuffle-cliiterface.cpp
+++ /dev/null
@@ -1,35 +0,0 @@
-SVN commit 1240907 by rkcosta:
-
-cliinterface: Do not assume a process does not exist in runProcess().
-
-The Q_ASSERT(!m_process) in the beginning of runProcess() was wrong, as when
-one is adding files to an archive (or creating an archive) processFinished()
-calls list(), which in turn calls runProcess() as well, thus making the assert
-fail.
-
-The best thing to do is just wait for the existing process to finish before
-launching the new one.
-
-Backport of r1240907, in case the 4.6 ever gets packaged again.
-
-CCBUG: 277393
-
-http://websvn.kde.org/?view=revision&revision=1240908
--- ark/kerfuffle/cliinterface.cpp 2011/06/01 20:35:06 1234597
-+++ ark/kerfuffle/cliinterface.cpp 2011/07/11 03:23:39 1240908
-@@ -325,10 +325,13 @@
- return false;
- }
-
-- Q_ASSERT(!m_process);
--
- kDebug() << "Executing" << programPath << arguments;
-
-+ if (m_process) {
-+ m_process->waitForFinished();
-+ delete m_process;
-+ }
-+
- #ifdef Q_OS_WIN
- m_process = new KProcess();
- #else
diff --git a/math/kcalc/files/patch-kcalc-kcalc.ui b/math/kcalc/files/patch-kcalc-kcalc.ui
deleted file mode 100644
index b5f94af5bfec..000000000000
--- a/math/kcalc/files/patch-kcalc-kcalc.ui
+++ /dev/null
@@ -1,99 +0,0 @@
-SVN commit 1240130 by teran:
-
-rolling back change made by r1235446, it broke keybindings entirely.
-
-BUG: 277020
-
-http://websvn.kde.org/?view=revision&revision=1240130
---- kcalc/kcalc.ui 2011/06/05 18:25:18 1235446
-+++ kcalc/kcalc.ui 2011/07/06 18:27:58 1240130
-@@ -616,7 +616,7 @@
- <string>7</string>
- </property>
- <property name="shortcut">
-- <string notr="true">7</string>
-+ <string>7</string>
- </property>
- </widget>
- </item>
-@@ -632,7 +632,7 @@
- <string>8</string>
- </property>
- <property name="shortcut">
-- <string notr="true">8</string>
-+ <string>8</string>
- </property>
- </widget>
- </item>
-@@ -648,7 +648,7 @@
- <string>9</string>
- </property>
- <property name="shortcut">
-- <string notr="true">9</string>
-+ <string>9</string>
- </property>
- </widget>
- </item>
-@@ -680,7 +680,7 @@
- <string>4</string>
- </property>
- <property name="shortcut">
-- <string notr="true">4</string>
-+ <string>4</string>
- </property>
- </widget>
- </item>
-@@ -696,7 +696,7 @@
- <string>5</string>
- </property>
- <property name="shortcut">
-- <string notr="true">5</string>
-+ <string>5</string>
- </property>
- </widget>
- </item>
-@@ -712,7 +712,7 @@
- <string>6</string>
- </property>
- <property name="shortcut">
-- <string notr="true">6</string>
-+ <string>6</string>
- </property>
- </widget>
- </item>
-@@ -728,7 +728,7 @@
- <string>1</string>
- </property>
- <property name="shortcut">
-- <string notr="true">1</string>
-+ <string>1</string>
- </property>
- </widget>
- </item>
-@@ -744,7 +744,7 @@
- <string>2</string>
- </property>
- <property name="shortcut">
-- <string notr="true">2</string>
-+ <string>2</string>
- </property>
- </widget>
- </item>
-@@ -760,7 +760,7 @@
- <string>3</string>
- </property>
- <property name="shortcut">
-- <string notr="true">3</string>
-+ <string>3</string>
- </property>
- </widget>
- </item>
-@@ -786,7 +786,7 @@
- <string>0</string>
- </property>
- <property name="shortcut">
-- <string notr="true">0</string>
-+ <string>0</string>
- </property>
- </widget>
- </item>
diff --git a/math/kcalc/pkg-descr b/math/kcalc/pkg-descr
index 90ae45773bea..e1be153978a1 100644
--- a/math/kcalc/pkg-descr
+++ b/math/kcalc/pkg-descr
@@ -1 +1,4 @@
-KDE provides an integrated X11 based environment, much like CDE.
+The KDE utilities are a compilation of various desktop utilities,
+developed in the KDE module kdeutils.
+
+WWW: http://utils.kde.org
diff --git a/math/kcalc/pkg-plist b/math/kcalc/pkg-plist
index 5d7d0ab4213d..075e9e1e6330 100644
--- a/math/kcalc/pkg-plist
+++ b/math/kcalc/pkg-plist
@@ -1,5 +1,4 @@
bin/ark
-bin/filelight
bin/kcalc
bin/kcharselect
bin/kdf
@@ -12,7 +11,6 @@ bin/kwikdisk
bin/superkaramba
bin/sweeper
lib/kde4/arkpart.so
-lib/kde4/filelightpart.so
lib/kde4/kcm_kdf.so
lib/kde4/kcm_kwallet.so
lib/kde4/kcm_remotecontrol.so
@@ -24,6 +22,7 @@ lib/kde4/kerfuffle_libarchive.so
lib/kde4/kerfuffle_libbz2.so
lib/kde4/kerfuffle_libgz.so
lib/kde4/kerfuffle_libxz.so
+lib/kde4/kremotecontrol_lirc.so
lib/kde4/libextracthere.so
lib/kde4/plasma_engine_kremoteconrol.so
lib/kde4/plasma_package_superkaramba.so
@@ -41,7 +40,6 @@ lib/libsuperkaramba.so.5.0.1
share/applications/kde4/KCharSelect.desktop
share/applications/kde4/KFloppy.desktop
share/applications/kde4/ark.desktop
-share/applications/kde4/filelight.desktop
share/applications/kde4/kcalc.desktop
share/applications/kde4/kdf.desktop
share/applications/kde4/kgpg.desktop
@@ -54,8 +52,6 @@ share/applications/kde4/superkaramba.desktop
share/applications/kde4/sweeper.desktop
share/apps/ark/ark_part.rc
share/apps/ark/arkui.rc
-share/apps/filelight/filelightui.rc
-share/apps/filelightpart/filelightpartui.rc
share/apps/kcalc/kcalcui.rc
share/apps/kcalc/scienceconstants.xml
share/apps/kcharselect/kcharselectui.rc
@@ -119,7 +115,6 @@ share/autostart/kgpg.desktop
share/config.kcfg/ark.kcfg
share/config.kcfg/kcalc.kcfg
share/config.kcfg/kgpg.kcfg
-share/config/filelightrc
share/config/superkaramba.knsrc
share/dbus-1/interfaces/org.kde.kgpg.Key.xml
share/dbus-1/interfaces/org.kde.superkaramba.xml
@@ -129,13 +124,6 @@ share/doc/HTML/en/ark/common
share/doc/HTML/en/ark/index.cache.bz2
share/doc/HTML/en/ark/index.docbook
share/doc/HTML/en/ark/man-ark.1.docbook
-share/doc/HTML/en/filelight/common
-share/doc/HTML/en/filelight/config_appear.png
-share/doc/HTML/en/filelight/config_scan.png
-share/doc/HTML/en/filelight/index.cache.bz2
-share/doc/HTML/en/filelight/index.docbook
-share/doc/HTML/en/filelight/radial_map.png
-share/doc/HTML/en/filelight/radial_map_context_menu.png
share/doc/HTML/en/kcalc/commands.docbook
share/doc/HTML/en/kcalc/common
share/doc/HTML/en/kcalc/index.cache.bz2
@@ -211,7 +199,6 @@ share/icons/hicolor/128x128/apps/kwalletmanager2.png
share/icons/hicolor/128x128/apps/kwikdisk.png
share/icons/hicolor/128x128/apps/superkaramba.png
share/icons/hicolor/128x128/devices/infrared-remote.png
-share/icons/hicolor/16x16/apps/filelight.png
share/icons/hicolor/16x16/apps/kdf.png
share/icons/hicolor/16x16/apps/kfloppy.png
share/icons/hicolor/16x16/apps/kgpg.png
@@ -223,7 +210,6 @@ share/icons/hicolor/16x16/apps/superkaramba.png
share/icons/hicolor/16x16/devices/infrared-remote.png
share/icons/hicolor/22x22/actions/krcd_flash.png
share/icons/hicolor/22x22/actions/krcd_off.png
-share/icons/hicolor/22x22/apps/filelight.png
share/icons/hicolor/22x22/apps/kdf.png
share/icons/hicolor/22x22/apps/kfloppy.png
share/icons/hicolor/22x22/apps/kgpg.png
@@ -232,8 +218,6 @@ share/icons/hicolor/22x22/apps/kwalletmanager.png
share/icons/hicolor/22x22/apps/kwikdisk.png
share/icons/hicolor/22x22/apps/superkaramba.png
share/icons/hicolor/22x22/devices/infrared-remote.png
-share/icons/hicolor/32x32/actions/view_filelight.png
-share/icons/hicolor/32x32/apps/filelight.png
share/icons/hicolor/32x32/apps/kdf.png
share/icons/hicolor/32x32/apps/kfloppy.png
share/icons/hicolor/32x32/apps/kgpg.png
@@ -244,7 +228,6 @@ share/icons/hicolor/32x32/apps/kwikdisk.png
share/icons/hicolor/32x32/apps/superkaramba.png
share/icons/hicolor/32x32/devices/infrared-remote.png
share/icons/hicolor/42x42/devices/infrared-remote.png
-share/icons/hicolor/48x48/apps/filelight.png
share/icons/hicolor/48x48/apps/kdf.png
share/icons/hicolor/48x48/apps/kfloppy.png
share/icons/hicolor/48x48/apps/kgpg.png
@@ -254,7 +237,6 @@ share/icons/hicolor/48x48/apps/kwalletmanager2.png
share/icons/hicolor/48x48/apps/kwikdisk.png
share/icons/hicolor/48x48/apps/superkaramba.png
share/icons/hicolor/48x48/devices/infrared-remote.png
-share/icons/hicolor/64x64/apps/filelight.png
share/icons/hicolor/64x64/apps/kdf.png
share/icons/hicolor/64x64/apps/kfloppy.png
share/icons/hicolor/64x64/apps/kwalletmanager.png
@@ -278,7 +260,6 @@ share/kde4/services/ServiceMenus/encryptfolder.desktop
share/kde4/services/ServiceMenus/viewdecrypted.desktop
share/kde4/services/ark_dndextract.desktop
share/kde4/services/ark_part.desktop
-share/kde4/services/filelightpart.desktop
share/kde4/services/kcm_remotecontrol.desktop
share/kde4/services/kcmdf.desktop
share/kde4/services/kded/kremotecontroldaemon.desktop
@@ -290,12 +271,15 @@ share/kde4/services/kerfuffle_libarchive_readonly.desktop
share/kde4/services/kerfuffle_libbz2.desktop
share/kde4/services/kerfuffle_libgz.desktop
share/kde4/services/kerfuffle_libxz.desktop
+share/kde4/services/kremotecontrolbackends/kremotecontrol_lirc.desktop
share/kde4/services/kwalletconfig.desktop
share/kde4/services/kwalletmanager_show.desktop
share/kde4/services/plasma-engine-kremotecontrol.desktop
share/kde4/services/plasma-package-superkaramba.desktop
share/kde4/services/plasma-scriptengine-superkaramba.desktop
share/kde4/servicetypes/kerfufflePlugin.desktop
+share/kde4/servicetypes/kremotecontrolmanager.desktop
+@dirrm share/kde4/services/kremotecontrolbackends
@dirrmtry share/icons/oxygen/42x42/devices
@dirrmtry share/icons/oxygen/42x42
@dirrmtry share/icons/hicolor/8x8/devices
@@ -312,7 +296,6 @@ share/kde4/servicetypes/kerfufflePlugin.desktop
@dirrm share/doc/HTML/en/kcontrol/blockdevices
@dirrm share/doc/HTML/en/kcharselect
@dirrm share/doc/HTML/en/kcalc
-@dirrm share/doc/HTML/en/filelight
@dirrm share/doc/HTML/en/ark
@dirrm share/apps/sweeper
@dirrm share/apps/superkaramba
@@ -344,6 +327,4 @@ share/kde4/servicetypes/kerfufflePlugin.desktop
@dirrm share/apps/kgpg
@dirrm share/apps/kdf
@dirrm share/apps/kcalc
-@dirrm share/apps/filelightpart
-@dirrm share/apps/filelight
@dirrm share/apps/ark
diff --git a/math/kig/Makefile b/math/kig/Makefile
new file mode 100644
index 000000000000..3978a90eec9a
--- /dev/null
+++ b/math/kig/Makefile
@@ -0,0 +1,37 @@
+# New ports collection Makefile for: kig
+# Date created: 6 September 2011
+# Whom: Alberto Villa <avilla@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= kig
+PORTVERSION= ${KDE4_VERSION}
+CATEGORIES= math kde
+MASTER_SITES= ${MASTER_SITE_KDE}
+MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
+DIST_SUBDIR= KDE
+
+MAINTAINER= kde@FreeBSD.org
+COMMENT= KDE 4 interactive geometry application
+
+CONFLICTS= kdeedu-4.[0-6].*
+
+USE_KDE4= kdehier kdelibs kdeprefix automoc4
+KDE4_BUILDENV= yes
+USE_QT_VER= 4
+QT_COMPONENTS= dbus moc_build qmake_build rcc_build uic_build
+USE_BZIP2= yes
+MAKE_JOBS_SAFE= yes
+
+MAN1= kig.1
+
+OPTIONS= PYTHON "Support for Python scripting (requires Boost)" on
+
+.include <bsd.port.options.mk>
+
+.ifndef(WITHOUT_PYTHON)
+LIB_DEPENDS+= boost_python:${PORTSDIR}/devel/boost-python-libs
+.endif
+
+.include <bsd.port.mk>
diff --git a/math/kig/distinfo b/math/kig/distinfo
new file mode 100644
index 000000000000..21a8f09fc51e
--- /dev/null
+++ b/math/kig/distinfo
@@ -0,0 +1,2 @@
+SHA256 (KDE/kig-4.7.2.tar.bz2) = 765ab5c272b86d738d33dff4e4af7d27961bcb0b136f61b035a16714b0dfc408
+SIZE (KDE/kig-4.7.2.tar.bz2) = 1592483
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..57636d5181be
--- /dev/null
+++ b/math/kig/pkg-plist
@@ -0,0 +1,334 @@
+bin/kig
+bin/pykig.py
+lib/kde4/kigpart.so
+share/applications/kde4/kig.desktop
+share/apps/kig/builtin-macros/circle_by_center_and_line.kigt
+share/apps/kig/builtin-macros/circle_by_point_and_diameter.kigt
+share/apps/kig/builtin-macros/equitriangle.kigt
+share/apps/kig/builtin-macros/evolute.kigt
+share/apps/kig/builtin-macros/osculating_circle.kigt
+share/apps/kig/builtin-macros/segment_axis.kigt
+share/apps/kig/builtin-macros/square.kigt
+share/apps/kig/builtin-macros/vector_difference.kigt
+share/apps/kig/icons/hicolor/16x16/actions/kig_xfig.png
+share/apps/kig/icons/hicolor/22x22/actions/angle.png
+share/apps/kig/icons/hicolor/22x22/actions/angle_bisector.png
+share/apps/kig/icons/hicolor/22x22/actions/angle_size.png
+share/apps/kig/icons/hicolor/22x22/actions/arc.png
+share/apps/kig/icons/hicolor/22x22/actions/arc_center.png
+share/apps/kig/icons/hicolor/22x22/actions/areaCircle.png
+share/apps/kig/icons/hicolor/22x22/actions/attacher.png
+share/apps/kig/icons/hicolor/22x22/actions/baseCircle.png
+share/apps/kig/icons/hicolor/22x22/actions/bezier3.png
+share/apps/kig/icons/hicolor/22x22/actions/bezier4.png
+share/apps/kig/icons/hicolor/22x22/actions/bezierN.png
+share/apps/kig/icons/hicolor/22x22/actions/beziercurves.png
+share/apps/kig/icons/hicolor/22x22/actions/bisection.png
+share/apps/kig/icons/hicolor/22x22/actions/centerofcurvature.png
+share/apps/kig/icons/hicolor/22x22/actions/centralsymmetry.png
+share/apps/kig/icons/hicolor/22x22/actions/circlebcl.png
+share/apps/kig/icons/hicolor/22x22/actions/circlebcp.png
+share/apps/kig/icons/hicolor/22x22/actions/circlebpd.png
+share/apps/kig/icons/hicolor/22x22/actions/circlebps.png
+share/apps/kig/icons/hicolor/22x22/actions/circlebtp.png
+share/apps/kig/icons/hicolor/22x22/actions/circlelineintersection.png
+share/apps/kig/icons/hicolor/22x22/actions/circumference.png
+share/apps/kig/icons/hicolor/22x22/actions/conicasymptotes.png
+share/apps/kig/icons/hicolor/22x22/actions/conicb5p.png
+share/apps/kig/icons/hicolor/22x22/actions/coniclineintersection.png
+share/apps/kig/icons/hicolor/22x22/actions/conicsradicalline.png
+share/apps/kig/icons/hicolor/22x22/actions/controlpolygon.png
+share/apps/kig/icons/hicolor/22x22/actions/convexhull.png
+share/apps/kig/icons/hicolor/22x22/actions/curvelineintersection.png
+share/apps/kig/icons/hicolor/22x22/actions/directrix.png
+share/apps/kig/icons/hicolor/22x22/actions/distance.png
+share/apps/kig/icons/hicolor/22x22/actions/ellipsebffp.png
+share/apps/kig/icons/hicolor/22x22/actions/en.png
+share/apps/kig/icons/hicolor/22x22/actions/equilateralhyperbolab4p.png
+share/apps/kig/icons/hicolor/22x22/actions/equitriangle.png
+share/apps/kig/icons/hicolor/22x22/actions/genericaffinity.png
+share/apps/kig/icons/hicolor/22x22/actions/genericprojectivity.png
+share/apps/kig/icons/hicolor/22x22/actions/halflinebyvector.png
+share/apps/kig/icons/hicolor/22x22/actions/harmonichomology.png
+share/apps/kig/icons/hicolor/22x22/actions/hexagonbcv.png
+share/apps/kig/icons/hicolor/22x22/actions/hyperbolabffp.png
+share/apps/kig/icons/hicolor/22x22/actions/intersection.png
+share/apps/kig/icons/hicolor/22x22/actions/inversion.png
+share/apps/kig/icons/hicolor/22x22/actions/kig_numericvalue.png
+share/apps/kig/icons/hicolor/22x22/actions/kig_polygon.png
+share/apps/kig/icons/hicolor/22x22/actions/kig_text.png
+share/apps/kig/icons/hicolor/22x22/actions/line.png
+share/apps/kig/icons/hicolor/22x22/actions/linebyvector.png
+share/apps/kig/icons/hicolor/22x22/actions/locus.png
+share/apps/kig/icons/hicolor/22x22/actions/mirrorpoint.png
+share/apps/kig/icons/hicolor/22x22/actions/openpolygon.png
+share/apps/kig/icons/hicolor/22x22/actions/paint.png
+share/apps/kig/icons/hicolor/22x22/actions/parabolabtp.png
+share/apps/kig/icons/hicolor/22x22/actions/parallel.png
+share/apps/kig/icons/hicolor/22x22/actions/perpendicular.png
+share/apps/kig/icons/hicolor/22x22/actions/point.png
+share/apps/kig/icons/hicolor/22x22/actions/pointOnLine.png
+share/apps/kig/icons/hicolor/22x22/actions/pointxy.png
+share/apps/kig/icons/hicolor/22x22/actions/polygonsides.png
+share/apps/kig/icons/hicolor/22x22/actions/polygonvertices.png
+share/apps/kig/icons/hicolor/22x22/actions/python.png
+share/apps/kig/icons/hicolor/22x22/actions/radicalline.png
+share/apps/kig/icons/hicolor/22x22/actions/ray.png
+share/apps/kig/icons/hicolor/22x22/actions/rbezier3.png
+share/apps/kig/icons/hicolor/22x22/actions/rbezier4.png
+share/apps/kig/icons/hicolor/22x22/actions/rbezierN.png
+share/apps/kig/icons/hicolor/22x22/actions/rotation.png
+share/apps/kig/icons/hicolor/22x22/actions/scale.png
+share/apps/kig/icons/hicolor/22x22/actions/segment.png
+share/apps/kig/icons/hicolor/22x22/actions/segment_midpoint.png
+share/apps/kig/icons/hicolor/22x22/actions/segmentaxis.png
+share/apps/kig/icons/hicolor/22x22/actions/similitude.png
+share/apps/kig/icons/hicolor/22x22/actions/sizer.png
+share/apps/kig/icons/hicolor/22x22/actions/slope.png
+share/apps/kig/icons/hicolor/22x22/actions/square.png
+share/apps/kig/icons/hicolor/22x22/actions/stretch.png
+share/apps/kig/icons/hicolor/22x22/actions/tangent.png
+share/apps/kig/icons/hicolor/22x22/actions/test.png
+share/apps/kig/icons/hicolor/22x22/actions/testcollinear.png
+share/apps/kig/icons/hicolor/22x22/actions/testcontains.png
+share/apps/kig/icons/hicolor/22x22/actions/testdistance.png
+share/apps/kig/icons/hicolor/22x22/actions/testorthogonal.png
+share/apps/kig/icons/hicolor/22x22/actions/testparallel.png
+share/apps/kig/icons/hicolor/22x22/actions/transform-move.png
+share/apps/kig/icons/hicolor/22x22/actions/translation.png
+share/apps/kig/icons/hicolor/22x22/actions/triangle.png
+share/apps/kig/icons/hicolor/22x22/actions/vector.png
+share/apps/kig/icons/hicolor/22x22/actions/vectordifference.png
+share/apps/kig/icons/hicolor/22x22/actions/vectorsum.png
+share/apps/kig/icons/hicolor/22x22/actions/view_fit_to_page.png
+share/apps/kig/icons/hicolor/22x22/actions/w.png
+share/apps/kig/icons/hicolor/32x32/actions/angle.png
+share/apps/kig/icons/hicolor/32x32/actions/angle_bisector.png
+share/apps/kig/icons/hicolor/32x32/actions/angle_size.png
+share/apps/kig/icons/hicolor/32x32/actions/arc.png
+share/apps/kig/icons/hicolor/32x32/actions/arc_center.png
+share/apps/kig/icons/hicolor/32x32/actions/areaCircle.png
+share/apps/kig/icons/hicolor/32x32/actions/attacher.png
+share/apps/kig/icons/hicolor/32x32/actions/baseCircle.png
+share/apps/kig/icons/hicolor/32x32/actions/bezier3.png
+share/apps/kig/icons/hicolor/32x32/actions/bezier4.png
+share/apps/kig/icons/hicolor/32x32/actions/bezierN.png
+share/apps/kig/icons/hicolor/32x32/actions/beziercurves.png
+share/apps/kig/icons/hicolor/32x32/actions/bisection.png
+share/apps/kig/icons/hicolor/32x32/actions/centerofcurvature.png
+share/apps/kig/icons/hicolor/32x32/actions/centralsymmetry.png
+share/apps/kig/icons/hicolor/32x32/actions/circlebcl.png
+share/apps/kig/icons/hicolor/32x32/actions/circlebcp.png
+share/apps/kig/icons/hicolor/32x32/actions/circlebpd.png
+share/apps/kig/icons/hicolor/32x32/actions/circlebps.png
+share/apps/kig/icons/hicolor/32x32/actions/circlebtp.png
+share/apps/kig/icons/hicolor/32x32/actions/circlelineintersection.png
+share/apps/kig/icons/hicolor/32x32/actions/circumference.png
+share/apps/kig/icons/hicolor/32x32/actions/conicasymptotes.png
+share/apps/kig/icons/hicolor/32x32/actions/conicb5p.png
+share/apps/kig/icons/hicolor/32x32/actions/coniclineintersection.png
+share/apps/kig/icons/hicolor/32x32/actions/conicsradicalline.png
+share/apps/kig/icons/hicolor/32x32/actions/controlpolygon.png
+share/apps/kig/icons/hicolor/32x32/actions/convexhull.png
+share/apps/kig/icons/hicolor/32x32/actions/curvelineintersection.png
+share/apps/kig/icons/hicolor/32x32/actions/directrix.png
+share/apps/kig/icons/hicolor/32x32/actions/distance.png
+share/apps/kig/icons/hicolor/32x32/actions/ellipsebffp.png
+share/apps/kig/icons/hicolor/32x32/actions/en.png
+share/apps/kig/icons/hicolor/32x32/actions/equilateralhyperbolab4p.png
+share/apps/kig/icons/hicolor/32x32/actions/equitriangle.png
+share/apps/kig/icons/hicolor/32x32/actions/genericaffinity.png
+share/apps/kig/icons/hicolor/32x32/actions/genericprojectivity.png
+share/apps/kig/icons/hicolor/32x32/actions/halflinebyvector.png
+share/apps/kig/icons/hicolor/32x32/actions/harmonichomology.png
+share/apps/kig/icons/hicolor/32x32/actions/hexagonbcv.png
+share/apps/kig/icons/hicolor/32x32/actions/hyperbolabffp.png
+share/apps/kig/icons/hicolor/32x32/actions/intersection.png
+share/apps/kig/icons/hicolor/32x32/actions/inversion.png
+share/apps/kig/icons/hicolor/32x32/actions/kig_numericvalue.png
+share/apps/kig/icons/hicolor/32x32/actions/kig_polygon.png
+share/apps/kig/icons/hicolor/32x32/actions/kig_text.png
+share/apps/kig/icons/hicolor/32x32/actions/line.png
+share/apps/kig/icons/hicolor/32x32/actions/linebyvector.png
+share/apps/kig/icons/hicolor/32x32/actions/locus.png
+share/apps/kig/icons/hicolor/32x32/actions/mirrorpoint.png
+share/apps/kig/icons/hicolor/32x32/actions/openpolygon.png
+share/apps/kig/icons/hicolor/32x32/actions/paint.png
+share/apps/kig/icons/hicolor/32x32/actions/parabolabtp.png
+share/apps/kig/icons/hicolor/32x32/actions/parallel.png
+share/apps/kig/icons/hicolor/32x32/actions/perpendicular.png
+share/apps/kig/icons/hicolor/32x32/actions/point.png
+share/apps/kig/icons/hicolor/32x32/actions/pointOnLine.png
+share/apps/kig/icons/hicolor/32x32/actions/pointxy.png
+share/apps/kig/icons/hicolor/32x32/actions/polygonsides.png
+share/apps/kig/icons/hicolor/32x32/actions/polygonvertices.png
+share/apps/kig/icons/hicolor/32x32/actions/python.png
+share/apps/kig/icons/hicolor/32x32/actions/radicalline.png
+share/apps/kig/icons/hicolor/32x32/actions/ray.png
+share/apps/kig/icons/hicolor/32x32/actions/rbezier3.png
+share/apps/kig/icons/hicolor/32x32/actions/rbezier4.png
+share/apps/kig/icons/hicolor/32x32/actions/rbezierN.png
+share/apps/kig/icons/hicolor/32x32/actions/rotation.png
+share/apps/kig/icons/hicolor/32x32/actions/scale.png
+share/apps/kig/icons/hicolor/32x32/actions/segment.png
+share/apps/kig/icons/hicolor/32x32/actions/segment_midpoint.png
+share/apps/kig/icons/hicolor/32x32/actions/segmentaxis.png
+share/apps/kig/icons/hicolor/32x32/actions/similitude.png
+share/apps/kig/icons/hicolor/32x32/actions/sizer.png
+share/apps/kig/icons/hicolor/32x32/actions/slope.png
+share/apps/kig/icons/hicolor/32x32/actions/square.png
+share/apps/kig/icons/hicolor/32x32/actions/stretch.png
+share/apps/kig/icons/hicolor/32x32/actions/tangent.png
+share/apps/kig/icons/hicolor/32x32/actions/test.png
+share/apps/kig/icons/hicolor/32x32/actions/testcollinear.png
+share/apps/kig/icons/hicolor/32x32/actions/testcontains.png
+share/apps/kig/icons/hicolor/32x32/actions/testdistance.png
+share/apps/kig/icons/hicolor/32x32/actions/testorthogonal.png
+share/apps/kig/icons/hicolor/32x32/actions/testparallel.png
+share/apps/kig/icons/hicolor/32x32/actions/transform-move.png
+share/apps/kig/icons/hicolor/32x32/actions/translation.png
+share/apps/kig/icons/hicolor/32x32/actions/triangle.png
+share/apps/kig/icons/hicolor/32x32/actions/vector.png
+share/apps/kig/icons/hicolor/32x32/actions/vectordifference.png
+share/apps/kig/icons/hicolor/32x32/actions/vectorsum.png
+share/apps/kig/icons/hicolor/32x32/actions/w.png
+share/apps/kig/icons/hicolor/scalable/actions/angle.svgz
+share/apps/kig/icons/hicolor/scalable/actions/angle_bisector.svgz
+share/apps/kig/icons/hicolor/scalable/actions/angle_size.svgz
+share/apps/kig/icons/hicolor/scalable/actions/arc.svgz
+share/apps/kig/icons/hicolor/scalable/actions/arc_center.svgz
+share/apps/kig/icons/hicolor/scalable/actions/areaCircle.svgz
+share/apps/kig/icons/hicolor/scalable/actions/attacher.svgz
+share/apps/kig/icons/hicolor/scalable/actions/baseCircle.svgz
+share/apps/kig/icons/hicolor/scalable/actions/bezier3.svgz
+share/apps/kig/icons/hicolor/scalable/actions/bezier4.svgz
+share/apps/kig/icons/hicolor/scalable/actions/bezierN.svgz
+share/apps/kig/icons/hicolor/scalable/actions/beziercurves.svgz
+share/apps/kig/icons/hicolor/scalable/actions/bisection.svgz
+share/apps/kig/icons/hicolor/scalable/actions/centerofcurvature.svgz
+share/apps/kig/icons/hicolor/scalable/actions/centralsymmetry.svgz
+share/apps/kig/icons/hicolor/scalable/actions/circlebcl.svgz
+share/apps/kig/icons/hicolor/scalable/actions/circlebcp.svgz
+share/apps/kig/icons/hicolor/scalable/actions/circlebpd.svgz
+share/apps/kig/icons/hicolor/scalable/actions/circlebps.svgz
+share/apps/kig/icons/hicolor/scalable/actions/circlebtp.svgz
+share/apps/kig/icons/hicolor/scalable/actions/circlelineintersection.svgz
+share/apps/kig/icons/hicolor/scalable/actions/circumference.svgz
+share/apps/kig/icons/hicolor/scalable/actions/conicasymptotes.svgz
+share/apps/kig/icons/hicolor/scalable/actions/conicb5p.svgz
+share/apps/kig/icons/hicolor/scalable/actions/coniclineintersection.svgz
+share/apps/kig/icons/hicolor/scalable/actions/conicsradicalline.svgz
+share/apps/kig/icons/hicolor/scalable/actions/controlpolygon.svgz
+share/apps/kig/icons/hicolor/scalable/actions/convexhull.svgz
+share/apps/kig/icons/hicolor/scalable/actions/curvelineintersection.svgz
+share/apps/kig/icons/hicolor/scalable/actions/directrix.svgz
+share/apps/kig/icons/hicolor/scalable/actions/distance.svgz
+share/apps/kig/icons/hicolor/scalable/actions/ellipsebffp.svgz
+share/apps/kig/icons/hicolor/scalable/actions/en.svgz
+share/apps/kig/icons/hicolor/scalable/actions/equilateralhyperbolab4p.svgz
+share/apps/kig/icons/hicolor/scalable/actions/equitriangle.svgz
+share/apps/kig/icons/hicolor/scalable/actions/genericaffinity.svgz
+share/apps/kig/icons/hicolor/scalable/actions/genericprojectivity.svgz
+share/apps/kig/icons/hicolor/scalable/actions/halflinebyvector.svgz
+share/apps/kig/icons/hicolor/scalable/actions/harmonichomology.svgz
+share/apps/kig/icons/hicolor/scalable/actions/hexagonbcv.svgz
+share/apps/kig/icons/hicolor/scalable/actions/hyperbolabffp.svgz
+share/apps/kig/icons/hicolor/scalable/actions/intersection.svgz
+share/apps/kig/icons/hicolor/scalable/actions/inversion.svgz
+share/apps/kig/icons/hicolor/scalable/actions/kig_numericvalue.svgz
+share/apps/kig/icons/hicolor/scalable/actions/kig_polygon.svgz
+share/apps/kig/icons/hicolor/scalable/actions/kig_text.svgz
+share/apps/kig/icons/hicolor/scalable/actions/line.svgz
+share/apps/kig/icons/hicolor/scalable/actions/linebyvector.svgz
+share/apps/kig/icons/hicolor/scalable/actions/locus.svgz
+share/apps/kig/icons/hicolor/scalable/actions/mirrorpoint.svgz
+share/apps/kig/icons/hicolor/scalable/actions/openpolygon.svgz
+share/apps/kig/icons/hicolor/scalable/actions/paint.svgz
+share/apps/kig/icons/hicolor/scalable/actions/parabolabtp.svgz
+share/apps/kig/icons/hicolor/scalable/actions/parallel.svgz
+share/apps/kig/icons/hicolor/scalable/actions/perpendicular.svgz
+share/apps/kig/icons/hicolor/scalable/actions/point.svgz
+share/apps/kig/icons/hicolor/scalable/actions/pointOnLine.svgz
+share/apps/kig/icons/hicolor/scalable/actions/pointxy.svgz
+share/apps/kig/icons/hicolor/scalable/actions/polygonsides.svgz
+share/apps/kig/icons/hicolor/scalable/actions/polygonvertices.svgz
+share/apps/kig/icons/hicolor/scalable/actions/python.svgz
+share/apps/kig/icons/hicolor/scalable/actions/radicalline.svgz
+share/apps/kig/icons/hicolor/scalable/actions/ray.svgz
+share/apps/kig/icons/hicolor/scalable/actions/rbezier3.svgz
+share/apps/kig/icons/hicolor/scalable/actions/rbezier4.svgz
+share/apps/kig/icons/hicolor/scalable/actions/rbezierN.svgz
+share/apps/kig/icons/hicolor/scalable/actions/rotation.svgz
+share/apps/kig/icons/hicolor/scalable/actions/scale.svgz
+share/apps/kig/icons/hicolor/scalable/actions/segment.svgz
+share/apps/kig/icons/hicolor/scalable/actions/segment_midpoint.svgz
+share/apps/kig/icons/hicolor/scalable/actions/segmentaxis.svgz
+share/apps/kig/icons/hicolor/scalable/actions/similitude.svgz
+share/apps/kig/icons/hicolor/scalable/actions/sizer.svgz
+share/apps/kig/icons/hicolor/scalable/actions/slope.svgz
+share/apps/kig/icons/hicolor/scalable/actions/square.svgz
+share/apps/kig/icons/hicolor/scalable/actions/stretch.svgz
+share/apps/kig/icons/hicolor/scalable/actions/tangent.svgz
+share/apps/kig/icons/hicolor/scalable/actions/test.svgz
+share/apps/kig/icons/hicolor/scalable/actions/testcollinear.svgz
+share/apps/kig/icons/hicolor/scalable/actions/testcontains.svgz
+share/apps/kig/icons/hicolor/scalable/actions/testdistance.svgz
+share/apps/kig/icons/hicolor/scalable/actions/testorthogonal.svgz
+share/apps/kig/icons/hicolor/scalable/actions/testparallel.svgz
+share/apps/kig/icons/hicolor/scalable/actions/transform-move.svgz
+share/apps/kig/icons/hicolor/scalable/actions/translation.svgz
+share/apps/kig/icons/hicolor/scalable/actions/triangle.svgz
+share/apps/kig/icons/hicolor/scalable/actions/vector.svgz
+share/apps/kig/icons/hicolor/scalable/actions/vectordifference.svgz
+share/apps/kig/icons/hicolor/scalable/actions/vectorsum.svgz
+share/apps/kig/icons/hicolor/scalable/actions/w.svgz
+share/apps/kig/kigpartui.rc
+share/apps/kig/kigui.rc
+share/apps/kig/tips
+share/doc/HTML/en/kig/common
+share/doc/HTML/en/kig/constructed_a_point.png
+share/doc/HTML/en/kig/constructed_script_object.png
+share/doc/HTML/en/kig/constructing_a_circle.png
+share/doc/HTML/en/kig/constructing_a_circle_2.png
+share/doc/HTML/en/kig/edit_types_dialog.png
+share/doc/HTML/en/kig/index.cache.bz2
+share/doc/HTML/en/kig/index.docbook
+share/doc/HTML/en/kig/macro_wizard.png
+share/doc/HTML/en/kig/macros_at_work.png
+share/doc/HTML/en/kig/man-kig.1.docbook
+share/doc/HTML/en/kig/script_wizard.png
+share/doc/HTML/en/kig/script_wizard_entering_code.png
+share/doc/HTML/en/kig/selecting_objects.png
+share/doc/HTML/en/kig/simple_locus_construction.png
+share/doc/HTML/en/kig/test_run_macro.png
+share/doc/HTML/en/kig/text_label_attaching.png
+share/doc/HTML/en/kig/text_label_wizard.png
+share/doc/HTML/en/kig/text_label_wizard__select_property.png
+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/kde4/services/kig_part.desktop
+@dirrm share/doc/HTML/en/kig
+@dirrm share/apps/kig/icons/hicolor/scalable/actions
+@dirrm share/apps/kig/icons/hicolor/scalable
+@dirrm share/apps/kig/icons/hicolor/32x32/actions
+@dirrm share/apps/kig/icons/hicolor/32x32
+@dirrm share/apps/kig/icons/hicolor/22x22/actions
+@dirrm share/apps/kig/icons/hicolor/22x22
+@dirrm share/apps/kig/icons/hicolor/16x16/actions
+@dirrm share/apps/kig/icons/hicolor/16x16
+@dirrm share/apps/kig/icons/hicolor
+@dirrm share/apps/kig/icons
+@dirrm share/apps/kig/builtin-macros
+@dirrm share/apps/kig
diff --git a/math/kmplot/Makefile b/math/kmplot/Makefile
new file mode 100644
index 000000000000..fdcfaab49b2d
--- /dev/null
+++ b/math/kmplot/Makefile
@@ -0,0 +1,29 @@
+# New ports collection Makefile for: kmplot
+# Date created: 6 September 2011
+# Whom: Alberto Villa <avilla@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= kmplot
+PORTVERSION= ${KDE4_VERSION}
+CATEGORIES= math kde
+MASTER_SITES= ${MASTER_SITE_KDE}
+MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
+DIST_SUBDIR= KDE
+
+MAINTAINER= kde@FreeBSD.org
+COMMENT= Mathematical function plotter for KDE 4
+
+CONFLICTS= kdeedu-4.[0-6].*
+
+USE_KDE4= kdehier kdelibs kdeprefix automoc4
+KDE4_BUILDENV= yes
+USE_QT_VER= 4
+QT_COMPONENTS= xml moc_build qmake_build rcc_build uic_build
+USE_BZIP2= yes
+MAKE_JOBS_SAFE= yes
+
+MAN1= kmplot.1
+
+.include <bsd.port.mk>
diff --git a/math/kmplot/distinfo b/math/kmplot/distinfo
new file mode 100644
index 000000000000..26e56283a648
--- /dev/null
+++ b/math/kmplot/distinfo
@@ -0,0 +1,2 @@
+SHA256 (KDE/kmplot-4.7.2.tar.bz2) = 7edb57038ff33cf7e0c400d9cb2cc3baed9b032c818ba5fa82e374a67ed2ff78
+SIZE (KDE/kmplot-4.7.2.tar.bz2) = 706828
diff --git a/math/kmplot/pkg-descr b/math/kmplot/pkg-descr
new file mode 100644
index 000000000000..c7a6a9395324
--- /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..4466dd60d0ad
--- /dev/null
+++ b/math/kmplot/pkg-plist
@@ -0,0 +1,49 @@
+bin/kmplot
+lib/kde4/libkmplotpart.so
+share/applications/kde4/kmplot.desktop
+share/apps/kmplot/kmplot_part.rc
+share/apps/kmplot/kmplot_part_readonly.rc
+share/apps/kmplot/kmplot_shell.rc
+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/doc/HTML/en/kmplot/commands.docbook
+share/doc/HTML/en/kmplot/common
+share/doc/HTML/en/kmplot/configuration.docbook
+share/doc/HTML/en/kmplot/credits.docbook
+share/doc/HTML/en/kmplot/dcop.docbook
+share/doc/HTML/en/kmplot/developer.docbook
+share/doc/HTML/en/kmplot/edu-logo.png
+share/doc/HTML/en/kmplot/firststeps.docbook
+share/doc/HTML/en/kmplot/index.cache.bz2
+share/doc/HTML/en/kmplot/index.docbook
+share/doc/HTML/en/kmplot/install.docbook
+share/doc/HTML/en/kmplot/introduction.docbook
+share/doc/HTML/en/kmplot/kfkt.png
+share/doc/HTML/en/kmplot/ksys1.png
+share/doc/HTML/en/kmplot/ksys2.png
+share/doc/HTML/en/kmplot/ksys3.png
+share/doc/HTML/en/kmplot/main.png
+share/doc/HTML/en/kmplot/man-kmplot.1.docbook
+share/doc/HTML/en/kmplot/popup.png
+share/doc/HTML/en/kmplot/reference.docbook
+share/doc/HTML/en/kmplot/settings-colors.png
+share/doc/HTML/en/kmplot/settings-constants.png
+share/doc/HTML/en/kmplot/settings-coords.png
+share/doc/HTML/en/kmplot/settings-diagram.png
+share/doc/HTML/en/kmplot/settings-fonts.png
+share/doc/HTML/en/kmplot/settings-general.png
+share/doc/HTML/en/kmplot/threeplots.png
+share/doc/HTML/en/kmplot/using.docbook
+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/kde4/services/kmplot_part.desktop
+@dirrm share/doc/HTML/en/kmplot
+@dirrm share/apps/kmplot
diff --git a/math/rocs/Makefile b/math/rocs/Makefile
new file mode 100644
index 000000000000..9316e4cd9505
--- /dev/null
+++ b/math/rocs/Makefile
@@ -0,0 +1,30 @@
+# New ports collection Makefile for: rocs
+# Date created: 6 September 2011
+# Whom: Alberto Villa <avilla@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= rocs
+PORTVERSION= ${KDE4_VERSION}
+CATEGORIES= math kde
+MASTER_SITES= ${MASTER_SITE_KDE}
+MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
+DIST_SUBDIR= KDE
+
+MAINTAINER= kde@FreeBSD.org
+COMMENT= Graph teory IDE for KDE 4
+
+LIB_DEPENDS= boost_thread.4:${PORTSDIR}/devel/boost-libs
+
+CONFLICTS= kdeedu-4.[0-6].*
+
+USE_KDE4= kdehier kdelibs kdeprefix automoc4
+KDE4_BUILDENV= yes
+USE_QT_VER= 4
+QT_COMPONENTS= script scripttools \
+ moc_build qmake_build rcc_build uic_build
+USE_BZIP2= yes
+MAKE_JOBS_SAFE= yes
+
+.include <bsd.port.mk>
diff --git a/math/rocs/distinfo b/math/rocs/distinfo
new file mode 100644
index 000000000000..a1ae6623ebe1
--- /dev/null
+++ b/math/rocs/distinfo
@@ -0,0 +1,2 @@
+SHA256 (KDE/rocs-4.7.2.tar.bz2) = 3f08af8f569e357fec557122b63fec945cbbe85ad5ea8f0d65063f0f38dff3d3
+SIZE (KDE/rocs-4.7.2.tar.bz2) = 344088
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..a9c5a9c5c871
--- /dev/null
+++ b/math/rocs/pkg-plist
@@ -0,0 +1,108 @@
+bin/rocs
+include/rocs/Data.h
+include/rocs/DataItem.h
+include/rocs/DataStructure.h
+include/rocs/Document.h
+include/rocs/DynamicPropertiesList.h
+include/rocs/FilePluginInterface.h
+include/rocs/GraphicsLayout.h
+include/rocs/KrossBackend.h
+include/rocs/PluginManager.h
+include/rocs/Pointer.h
+include/rocs/PointerItem.h
+include/rocs/QtScriptBackend.h
+include/rocs/Rocs_Typedefs.h
+include/rocs/ToolsPluginInterface.h
+include/rocs/rocslib_export.h
+lib/kde4/rocs_GraphStructure.so
+lib/kde4/rocs_ListStructure.so
+lib/kde4/rocs_assignvaluesplugin.so
+lib/kde4/rocs_generategraphplugin.so
+lib/kde4/rocs_plaintxt.so
+lib/kde4/rocs_transformedgesplugin.so
+lib/librocslib.so
+lib/librocslib.so.5
+lib/librocslib.so.5.0.1
+share/applications/kde4/rocs.desktop
+share/apps/rocs/examples/AdjustProjection.js
+share/apps/rocs/examples/NameAndNodes.js
+share/apps/rocs/examples/NamesValues.js
+share/apps/rocs/examples/arrangeNodes.js
+share/apps/rocs/examples/broadWalk.js
+share/apps/rocs/examples/coloring.js
+share/apps/rocs/iconpacks/default.svg
+share/apps/rocs/icons/hicolor/16x16/actions/rocsaddedge.png
+share/apps/rocs/icons/hicolor/16x16/actions/rocsaddnode.png
+share/apps/rocs/icons/hicolor/16x16/actions/rocsallignbottom.png
+share/apps/rocs/icons/hicolor/16x16/actions/rocsallignhmiddle.png
+share/apps/rocs/icons/hicolor/16x16/actions/rocsallignleft.png
+share/apps/rocs/icons/hicolor/16x16/actions/rocsallignright.png
+share/apps/rocs/icons/hicolor/16x16/actions/rocsalligntop.png
+share/apps/rocs/icons/hicolor/16x16/actions/rocsallignvmiddle.png
+share/apps/rocs/icons/hicolor/16x16/actions/rocsdelete.png
+share/apps/rocs/icons/hicolor/16x16/actions/rocsselect.png
+share/apps/rocs/icons/hicolor/22x22/actions/rocsallignbottom.png
+share/apps/rocs/icons/hicolor/22x22/actions/rocsallignhmiddle.png
+share/apps/rocs/icons/hicolor/22x22/actions/rocsallignleft.png
+share/apps/rocs/icons/hicolor/22x22/actions/rocsallignright.png
+share/apps/rocs/icons/hicolor/22x22/actions/rocsalligntop.png
+share/apps/rocs/icons/hicolor/22x22/actions/rocsallignvmiddle.png
+share/apps/rocs/icons/hicolor/32x32/actions/rocsaddedge.png
+share/apps/rocs/icons/hicolor/32x32/actions/rocsaddnode.png
+share/apps/rocs/icons/hicolor/32x32/actions/rocsallignbottom.png
+share/apps/rocs/icons/hicolor/32x32/actions/rocsallignhmiddle.png
+share/apps/rocs/icons/hicolor/32x32/actions/rocsallignleft.png
+share/apps/rocs/icons/hicolor/32x32/actions/rocsallignright.png
+share/apps/rocs/icons/hicolor/32x32/actions/rocsalligntop.png
+share/apps/rocs/icons/hicolor/32x32/actions/rocsallignvmiddle.png
+share/apps/rocs/icons/hicolor/32x32/actions/rocsdelete.png
+share/apps/rocs/icons/hicolor/32x32/actions/rocsselect.png
+share/apps/rocs/icons/hicolor/48x48/actions/rocsaddnode.png
+share/apps/rocs/icons/hicolor/48x48/actions/rocsallignbottom.png
+share/apps/rocs/icons/hicolor/48x48/actions/rocsallignhmiddle.png
+share/apps/rocs/icons/hicolor/48x48/actions/rocsallignleft.png
+share/apps/rocs/icons/hicolor/48x48/actions/rocsallignright.png
+share/apps/rocs/icons/hicolor/48x48/actions/rocsalligntop.png
+share/apps/rocs/icons/hicolor/48x48/actions/rocsallignvmiddle.png
+share/apps/rocs/icons/hicolor/64x64/actions/rocsaddedge.png
+share/apps/rocs/icons/hicolor/64x64/actions/rocsaddnode.png
+share/apps/rocs/icons/hicolor/64x64/actions/rocsallignbottom.png
+share/apps/rocs/icons/hicolor/64x64/actions/rocsallignhmiddle.png
+share/apps/rocs/icons/hicolor/64x64/actions/rocsallignleft.png
+share/apps/rocs/icons/hicolor/64x64/actions/rocsallignright.png
+share/apps/rocs/icons/hicolor/64x64/actions/rocsalligntop.png
+share/apps/rocs/icons/hicolor/64x64/actions/rocsallignvmiddle.png
+share/apps/rocs/icons/hicolor/64x64/actions/rocsdelete.png
+share/apps/rocs/icons/hicolor/64x64/actions/rocsselect.png
+share/apps/rocs/rocsui.rc
+share/config.kcfg/rocs.kcfg
+share/config/rocs.knsrc
+share/doc/HTML/en/rocs/common
+share/doc/HTML/en/rocs/index.cache.bz2
+share/doc/HTML/en/rocs/index.docbook
+share/kde4/services/rocs_GraphStructure.desktop
+share/kde4/services/rocs_ListStructure.desktop
+share/kde4/services/rocs_assignvaluesplugin.desktop
+share/kde4/services/rocs_generategraphplugin.desktop
+share/kde4/services/rocs_plaintxtplugin.desktop
+share/kde4/services/rocs_transformedgesplugin.desktop
+share/kde4/servicetypes/RocsDataStructurePlugin.desktop
+share/kde4/servicetypes/RocsFilePlugin.desktop
+share/kde4/servicetypes/RocsToolsPlugin.desktop
+@dirrm share/doc/HTML/en/rocs
+@dirrm share/apps/rocs/icons/hicolor/64x64/actions
+@dirrm share/apps/rocs/icons/hicolor/64x64
+@dirrm share/apps/rocs/icons/hicolor/48x48/actions
+@dirrm share/apps/rocs/icons/hicolor/48x48
+@dirrm share/apps/rocs/icons/hicolor/32x32/actions
+@dirrm share/apps/rocs/icons/hicolor/32x32
+@dirrm share/apps/rocs/icons/hicolor/22x22/actions
+@dirrm share/apps/rocs/icons/hicolor/22x22
+@dirrm share/apps/rocs/icons/hicolor/16x16/actions
+@dirrm share/apps/rocs/icons/hicolor/16x16
+@dirrm share/apps/rocs/icons/hicolor
+@dirrm share/apps/rocs/icons
+@dirrm share/apps/rocs/iconpacks
+@dirrm share/apps/rocs/examples
+@dirrm share/apps/rocs
+@dirrm include/rocs