From 9e13212c8f681f926f95b78b12037dead4e7203a Mon Sep 17 00:00:00 2001 From: Wen Heping Date: Mon, 21 Aug 2017 02:27:27 +0000 Subject: [PATCH] A cross-platform numerical analysis and data processing library. It supports several programming languages (C++, C#, Pascal, VBA) and several operating systems. ALGLIB features include: * Data analysis (classification/regression, including neural networks) * Optimization and nonlinear solvers * Interpolation and linear/nonlinear least-squares fitting * Linear algebra (direct algorithms, EVD/SVD), direct and iterative linear solvers, Fast Fourier Transform and many other algorithms (numerical integration, ODEs, statistics, special functions) This is a free edition of alglib. WWW: http://www.alglib.net PR: 221681 Submitted by: yuri@rawbw.com --- math/Makefile | 1 + math/alglib/Makefile | 29 +++++++++++++++++++++++++++++ math/alglib/distinfo | 3 +++ math/alglib/pkg-descr | 13 +++++++++++++ math/alglib/pkg-plist | 16 ++++++++++++++++ 5 files changed, 62 insertions(+) create mode 100644 math/alglib/Makefile create mode 100644 math/alglib/distinfo create mode 100644 math/alglib/pkg-descr create mode 100644 math/alglib/pkg-plist diff --git a/math/Makefile b/math/Makefile index daf7140b9145..5a5c6af4a1fd 100644 --- a/math/Makefile +++ b/math/Makefile @@ -86,6 +86,7 @@ SUBDIR += acalc SUBDIR += add SUBDIR += algae + SUBDIR += alglib SUBDIR += algotutor SUBDIR += alt-ergo SUBDIR += amath diff --git a/math/alglib/Makefile b/math/alglib/Makefile new file mode 100644 index 000000000000..c05053e00dda --- /dev/null +++ b/math/alglib/Makefile @@ -0,0 +1,29 @@ +# Created by: Yuri Victorovich +# $FreeBSD$ + +PORTNAME= alglib +PORTVERSION= 3.11.0 +CATEGORIES= math science +MASTER_SITES= http://www.alglib.net/translator/re/ +EXTRACT_SUFX= .cpp.gpl.zip + +MAINTAINER= yuri@rawbw.com +COMMENT= Numerical analysis and data processing library + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/gpl3.txt + +USE_LDCONFIG= yes +WRKSRC= ${WRKDIR}/cpp + +do-build: + cd ${WRKSRC}/src && \ + ${CXX} ${CXXFLAGS} -fPIC -Wl,-soname,lib${PORTNAME}.so.3 -shared -o lib${PORTNAME}.so.3 *.cpp + +do-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/include/lib${PORTNAME} + ${INSTALL_DATA} ${WRKSRC}/src/*.h ${STAGEDIR}${PREFIX}/include/lib${PORTNAME} + ${INSTALL_LIB} ${WRKSRC}/src/lib${PORTNAME}.so.3 ${STAGEDIR}${PREFIX}/lib + @${LN} -s lib${PORTNAME}.so.3 ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}.so + +.include diff --git a/math/alglib/distinfo b/math/alglib/distinfo new file mode 100644 index 000000000000..943654679de3 --- /dev/null +++ b/math/alglib/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1503275552 +SHA256 (alglib-3.11.0.cpp.gpl.zip) = 01357d1d3494207bbf38a578f548877a1f7885b8222be6f3fc0fbab5cb192a13 +SIZE (alglib-3.11.0.cpp.gpl.zip) = 2303026 diff --git a/math/alglib/pkg-descr b/math/alglib/pkg-descr new file mode 100644 index 000000000000..602da74e25e5 --- /dev/null +++ b/math/alglib/pkg-descr @@ -0,0 +1,13 @@ +A cross-platform numerical analysis and data processing library. It supports +several programming languages (C++, C#, Pascal, VBA) and several operating +systems. ALGLIB features include: +* Data analysis (classification/regression, including neural networks) +* Optimization and nonlinear solvers +* Interpolation and linear/nonlinear least-squares fitting +* Linear algebra (direct algorithms, EVD/SVD), direct and iterative linear + solvers, Fast Fourier Transform and many other algorithms (numerical + integration, ODEs, statistics, special functions) + +This is a free edition of alglib. + +WWW: http://www.alglib.net diff --git a/math/alglib/pkg-plist b/math/alglib/pkg-plist new file mode 100644 index 000000000000..04b5a75cedf4 --- /dev/null +++ b/math/alglib/pkg-plist @@ -0,0 +1,16 @@ +include/libalglib/alglibinternal.h +include/libalglib/alglibmisc.h +include/libalglib/ap.h +include/libalglib/dataanalysis.h +include/libalglib/diffequations.h +include/libalglib/fasttransforms.h +include/libalglib/integration.h +include/libalglib/interpolation.h +include/libalglib/linalg.h +include/libalglib/optimization.h +include/libalglib/solvers.h +include/libalglib/specialfunctions.h +include/libalglib/statistics.h +include/libalglib/stdafx.h +lib/libalglib.so +lib/libalglib.so.3