1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/math/freemat/Makefile
Gerald Pfeifer 04d6f52202 Bump PORTREVISIONs for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some
circumstances such as versions of FreeBSD or platforms).

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using using Mk/bsd.octave.mk which in turn has USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang,
   c++11-lang, c++0x, c11, or gcc-c++11-lib.

PR:		216707
2017-04-01 15:23:30 +00:00

50 lines
1.6 KiB
Makefile

# Created by: Thierry Thomas <thierry@pompo.net>
# $FreeBSD$
PORTNAME= FreeMat
PORTVERSION= 4.2
DISTVERSIONSUFFIX= -Source
PORTREVISION= 9
CATEGORIES= math science
MASTER_SITES= SF/freemat/FreeMat4
MAINTAINER= ports@FreeBSD.org
COMMENT= Numerical computing environment
LICENSE= GPLv2
BUILD_DEPENDS= ${LOCALBASE}/share/llvm33/cmake/LLVMConfig.cmake:devel/llvm33 \
${LOCALBASE}/llvm33/lib/libclang.a:lang/clang33
LIB_DEPENDS= libarpack.so:math/arpack \
libboost_math_c99.so:devel/boost-libs \
libffi.so:devel/libffi \
libfftw3.so:math/fftw3 \
libfftw3f.so:math/fftw3-float \
libpcre.so:devel/pcre \
libportaudio.so:audio/portaudio \
libumfpack.so:math/suitesparse
USES= blaslapack cmake:outsource dos2unix fortran pkgconfig python:build
USE_GL= yes
USE_QT4= gui network opengl svg webkit xml \
moc_build qmake_build rcc_build uic_build
CMAKE_ARGS= -DCMAKE_LIBRARY_PATH:STRING="${LOCALBASE}/llvm33/lib" \
-DCMAKE_PREFIX_PATH:STRING="${LOCALBASE}/share/llvm33/cmake" \
-DAMD_INCLUDE_DIR:STRING="${LOCALBASE}/include/suitesparse" \
-DUMFPACK_INCLUDE_DIR:STRING="${LOCALBASE}/include/suitesparse"
DOS2UNIX_FILES= CMakeLists.txt libs/libFN/fdlibm.h
CXXFLAGS+= -I${LOCALBASE}/llvm33/include
LDFLAGS+= -L${LOCALBASE}/llvm33/lib
DATADIR= ${PREFIX}/share/${PORTNAME}-${PORTVERSION}
DESKTOP_ENTRIES="FreeMat" "" "${PREFIX}/share/pixmaps/freemat.png" \
"FreeMat" "Science;Math;NumericalAnalysis;" true
PORTDATA= *
post-install:
${INSTALL_DATA} ${WRKSRC}/images/freemat_small_mod_64.png \
${STAGEDIR}${PREFIX}/share/pixmaps/freemat.png
.include <bsd.port.mk>