summaryrefslogtreecommitdiffstats
path: root/math/cantor/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/cantor/Makefile')
-rw-r--r--math/cantor/Makefile51
1 files changed, 22 insertions, 29 deletions
diff --git a/math/cantor/Makefile b/math/cantor/Makefile
index 6c4b419..cc5250a 100644
--- a/math/cantor/Makefile
+++ b/math/cantor/Makefile
@@ -3,51 +3,44 @@
PORTNAME= cantor
PORTVERSION= ${KDE4_VERSION}
CATEGORIES= math kde
-MASTER_SITES= ${MASTER_SITE_KDE}
-MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
+MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src
DIST_SUBDIR= KDE/${PORTVERSION}
MAINTAINER= kde@FreeBSD.org
COMMENT= KDE 4 frontend to mathematical software
-LIB_DEPENDS= spectre.1:${PORTSDIR}/print/libspectre \
- qalculate.5:${PORTSDIR}/math/libqalculate \
- analitza.5:${PORTSDIR}/math/analitza
-
-CONFLICTS= kdeedu-4.[0-6].*
+LIB_DEPENDS= libspectre.so:${PORTSDIR}/print/libspectre \
+ libqalculate.so:${PORTSDIR}/math/libqalculate \
+ libanalitza.so:${PORTSDIR}/math/analitza
USE_KDE4= kdehier kdelibs kdeprefix automoc4
USES= cmake:outsource pkgconfig
USE_QT4= corelib qtestlib_build xml xmlpatterns \
moc_build qmake_build rcc_build uic_build
USE_XZ= yes
+USE_PYTHON= 2
USE_LDCONFIG= yes
-OPTIONS_DEFINE= MAXIMA OCTAVE R
-MAXIMA_DESC= Maxima backend
-OCTAVE_DESC= Octave backend
-R_DESC= R backend
-
-NO_STAGE= yes
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= MAXIMA OCTAVE R SAGE SCILAB
+OPTIONS_SUB= yes # R
-.if ${PORT_OPTIONS:MMAXIMA}
-RUN_DEPENDS+= maxima:${PORTSDIR}/math/maxima
-.endif
+MAXIMA_DESC= Install Maxima
+MAXIMA_RUN_DEPENDS= maxima:${PORTSDIR}/math/maxima
-.if ${PORT_OPTIONS:MOCTAVE}
-RUN_DEPENDS+= octave:${PORTSDIR}/math/octave
-.endif
+OCTAVE_DESC= Install Octave
+OCTAVE_RUN_DEPENDS= octave:${PORTSDIR}/math/octave
-.if ${PORT_OPTIONS:MR}
-BUILD_DEPENDS+= R:${PORTSDIR}/math/R
-RUN_DEPENDS+= R:${PORTSDIR}/math/R
+R_DESC= Build R backend and install R
+R_BUILD_DEPENDS= R:${PORTSDIR}/math/R
+R_RUN_DEPENDS= R:${PORTSDIR}/math/R
# Required to set CFLAGS for -lgfortran.
-USES+= fortran
-PLIST_SUB+= R=""
-.else
-CMAKE_ARGS+= -DWITH_R:BOOL=FALSE
-PLIST_SUB+= R="@comment "
-.endif
+R_USE= FORTRAN=yes
+R_CMAKE_OFF= -DWITH_R:BOOL=FALSE
+
+SAGE_DESC= Install Sage
+SAGE_RUN_DEPENDS= sage:${PORTSDIR}/math/sage
+
+SCILAB_DESC= Install Scilab
+SCILAB_RUN_DEPENDS= scilab:${PORTSDIR}/math/scilab
.include <bsd.port.mk>
OpenPOWER on IntegriCloud