diff options
Diffstat (limited to 'math/cantor')
-rw-r--r-- | math/cantor/Makefile | 60 | ||||
-rw-r--r-- | math/cantor/distinfo | 2 | ||||
-rw-r--r-- | math/cantor/files/patch-src__backends__R__rserver__rcallbacks.cpp | 11 | ||||
-rw-r--r-- | math/cantor/pkg-descr | 5 | ||||
-rw-r--r-- | math/cantor/pkg-plist | 115 |
5 files changed, 193 insertions, 0 deletions
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 |