From a5f77ce3b09f8a35cf9df22803c033db1b77b86c Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Sun, 8 Dec 2019 17:18:46 +0000 Subject: [PATCH] New port: math/sisl: Spline library --- math/Makefile | 1 + math/sisl/Makefile | 26 ++++++++++++++++++++++++++ math/sisl/distinfo | 3 +++ math/sisl/files/patch-CMakeLists.txt | 11 +++++++++++ math/sisl/pkg-descr | 7 +++++++ 5 files changed, 48 insertions(+) create mode 100644 math/sisl/Makefile create mode 100644 math/sisl/distinfo create mode 100644 math/sisl/files/patch-CMakeLists.txt create mode 100644 math/sisl/pkg-descr diff --git a/math/Makefile b/math/Makefile index 8125a56d19c3..7873ff8d4fe0 100644 --- a/math/Makefile +++ b/math/Makefile @@ -845,6 +845,7 @@ SUBDIR += sfst SUBDIR += simd-viterbi SUBDIR += singular + SUBDIR += sisl SUBDIR += slatec SUBDIR += sleef SUBDIR += slepc diff --git a/math/sisl/Makefile b/math/sisl/Makefile new file mode 100644 index 000000000000..b43490000411 --- /dev/null +++ b/math/sisl/Makefile @@ -0,0 +1,26 @@ +# $FreeBSD$ + +PORTNAME= sisl +DISTVERSIONPREFIX= SISL- +DISTVERSION= 4.6.0-44 +DISTVERSIONSUFFIX= -g9114631 +CATEGORIES= math + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Spline library + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING + +USES= cmake +USE_GITHUB= yes +GH_ACCOUNT= SINTEF-Geometry +GH_PROJECT= SISL +USE_LDCONFIG= yes + +PLIST_FILES= include/sisl-copyright.h \ + include/sisl.h \ + include/sislP.h \ + lib/libsisl.so + +.include diff --git a/math/sisl/distinfo b/math/sisl/distinfo new file mode 100644 index 000000000000..f5f76b01817f --- /dev/null +++ b/math/sisl/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1575824945 +SHA256 (SINTEF-Geometry-SISL-SISL-4.6.0-44-g9114631_GH0.tar.gz) = 19ca46f5ffb4555160fef749ae5a596279cfdfe775b5ab894a818d79f447eba6 +SIZE (SINTEF-Geometry-SISL-SISL-4.6.0-44-g9114631_GH0.tar.gz) = 2995448 diff --git a/math/sisl/files/patch-CMakeLists.txt b/math/sisl/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..27e2523062c3 --- /dev/null +++ b/math/sisl/files/patch-CMakeLists.txt @@ -0,0 +1,11 @@ +--- CMakeLists.txt.orig 2019-12-08 17:10:19 UTC ++++ CMakeLists.txt +@@ -16,7 +16,7 @@ INCLUDE_DIRECTORIES( + # Make the sisl library + + FILE(GLOB sisl_SRCS src/*.c include/*.h) +-ADD_LIBRARY(sisl ${sisl_SRCS}) ++ADD_LIBRARY(sisl SHARED ${sisl_SRCS}) + IF(CMAKE_COMPILER_IS_GNUCC) + TARGET_LINK_LIBRARIES(sisl m) + ENDIF(CMAKE_COMPILER_IS_GNUCC) diff --git a/math/sisl/pkg-descr b/math/sisl/pkg-descr new file mode 100644 index 000000000000..376da7380c1e --- /dev/null +++ b/math/sisl/pkg-descr @@ -0,0 +1,7 @@ +SISL is a comprehensive NURBS library for the modeling and +interrogation of curves and surfaces. It is implemented in C. + +This software was written by the Geometry Group at SINTEF ICT, +Department of Applied Mathematics. + +WWW: https://github.com/SINTEF-Geometry/SISL