diff options
Diffstat (limited to 'math/cantor/Makefile')
| -rw-r--r-- | math/cantor/Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/math/cantor/Makefile b/math/cantor/Makefile index 009c9cdfe95f..82994c1c7230 100644 --- a/math/cantor/Makefile +++ b/math/cantor/Makefile @@ -2,7 +2,6 @@ PORTNAME= cantor PORTVERSION= ${KDE4_VERSION} -PORTREVISION= 2 CATEGORIES= math kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} @@ -14,14 +13,17 @@ LIB_DEPENDS= libspectre.so:${PORTSDIR}/print/libspectre \ libqalculate.so:${PORTSDIR}/math/libqalculate \ libanalitza.so:${PORTSDIR}/math/analitza -USE_KDE4= kdehier kdelibs kdeprefix automoc4 +USE_KDE4= kdelibs kdeprefix automoc4 USES= cmake:outsource pkgconfig python:2 tar:xz USE_QT4= corelib qtestlib_build xml xmlpatterns \ moc_build qmake_build rcc_build uic_build USE_LDCONFIG= yes -OPTIONS_DEFINE= MAXIMA OCTAVE R SAGE SCILAB -OPTIONS_SUB= yes # R +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:${PORTSDIR}/lang/luajit MAXIMA_DESC= Install Maxima MAXIMA_RUN_DEPENDS= maxima:${PORTSDIR}/math/maxima @@ -42,4 +44,8 @@ SAGE_RUN_DEPENDS= sage:${PORTSDIR}/math/sage SCILAB_DESC= Install Scilab SCILAB_RUN_DEPENDS= scilab:${PORTSDIR}/math/scilab +post-patch: + ${REINPLACE_CMD} -e '/FIND_PROGRAM(_GFORTRAN_EXECUTABLE/s,gfortran,${FC},' \ + ${WRKSRC}/cmake/FindR.cmake + .include <bsd.port.mk> |
