mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-25 09:34:11 +00:00
63ff0b60db
The kde@ team presents KDE SC 4.14.3, the last planed release of the KDE SC 4 series. In addition to the updates provided by the KDE SC developers, this update also addresses numerous FreeBSD and PORTS specific issues, found and solved by the kde@ team and area51 testers, most notorously Tobias C. Berner <tcberner@gmail.com> PR: 197751 PR: 197871 PR: 184996 Reviewed by: rakuco (mentor) Differential: https://reviews.freebsd.org/D1950
53 lines
1.5 KiB
Makefile
53 lines
1.5 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= cantor
|
|
PORTVERSION= ${KDE4_VERSION}
|
|
CATEGORIES= math kde
|
|
MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src
|
|
DIST_SUBDIR= KDE/${PORTVERSION}
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= KDE 4 frontend to mathematical software
|
|
|
|
LIB_DEPENDS= libspectre.so:${PORTSDIR}/print/libspectre \
|
|
libqalculate.so:${PORTSDIR}/math/libqalculate \
|
|
libanalitza.so:${PORTSDIR}/math/analitza
|
|
|
|
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= 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
|
|
LUAJIT_CMAKE_OFF= -DWITH_LuaJIT:BOOL=FALSE
|
|
|
|
MAXIMA_DESC= Install Maxima
|
|
MAXIMA_RUN_DEPENDS= maxima:${PORTSDIR}/math/maxima
|
|
|
|
OCTAVE_DESC= Install Octave
|
|
OCTAVE_RUN_DEPENDS= octave:${PORTSDIR}/math/octave
|
|
|
|
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.
|
|
R_USES= fortran
|
|
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
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e '/FIND_PROGRAM(_GFORTRAN_EXECUTABLE/s,gfortran,${FC},' \
|
|
${WRKSRC}/cmake/FindR.cmake
|
|
|
|
.include <bsd.port.mk>
|