e4b7b9118a
lang/gcc which have moved from GCC 4.8.5 to GCC 4.9.4 (at least under some circumstances such as versions of FreeBSD or platforms), part II. The first part covered ports with USE_GCC=yes, USE_GCC=any, or one of gcc-c++11-lib, openmp, nestedfct, c++11-lib as well as c++14-lang, c++11-lang, c++0x, c11 requested via USES=compiler. This adds ports with USES=fortran and ports using Mk/bsd.octave.mk which in turn has USES=fortran. PR: 214965 Reported by: thierry
52 lines
1.3 KiB
Makefile
52 lines
1.3 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= cantor
|
|
PORTVERSION= ${KDE4_VERSION}
|
|
PORTREVISION= 3
|
|
CATEGORIES= math kde kde-kde4
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= KDE 4 frontend to mathematical software
|
|
|
|
LIB_DEPENDS= libspectre.so:print/libspectre \
|
|
libqalculate.so:math/libqalculate \
|
|
libanalitza.so:math/analitza
|
|
|
|
USES= cmake:outsource kde:4 pkgconfig python:2 tar:xz
|
|
USE_KDE= kdelibs automoc4
|
|
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:lang/luajit
|
|
LUAJIT_CMAKE_OFF= -DWITH_LuaJIT:BOOL=FALSE
|
|
|
|
MAXIMA_DESC= Install Maxima
|
|
MAXIMA_RUN_DEPENDS= maxima:math/maxima
|
|
|
|
OCTAVE_DESC= Install Octave
|
|
OCTAVE_RUN_DEPENDS= octave:math/octave
|
|
|
|
R_DESC= Build R backend and install R
|
|
R_BUILD_DEPENDS= R:math/R
|
|
R_RUN_DEPENDS= R: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:math/sage
|
|
|
|
SCILAB_DESC= Install Scilab
|
|
SCILAB_RUN_DEPENDS= scilab:math/scilab
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e '/FIND_PROGRAM(_GFORTRAN_EXECUTABLE/s,gfortran,${FC},' \
|
|
${WRKSRC}/cmake/FindR.cmake
|
|
|
|
.include <bsd.port.mk>
|