New port: math/sisl: Spline library

This commit is contained in:
Yuri Victorovich 2019-12-08 17:18:46 +00:00
parent 02cdf9d619
commit a5f77ce3b0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=519466
5 changed files with 48 additions and 0 deletions

View file

@ -845,6 +845,7 @@
SUBDIR += sfst SUBDIR += sfst
SUBDIR += simd-viterbi SUBDIR += simd-viterbi
SUBDIR += singular SUBDIR += singular
SUBDIR += sisl
SUBDIR += slatec SUBDIR += slatec
SUBDIR += sleef SUBDIR += sleef
SUBDIR += slepc SUBDIR += slepc

26
math/sisl/Makefile Normal file
View file

@ -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 <bsd.port.mk>

3
math/sisl/distinfo Normal file
View file

@ -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

View file

@ -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)

7
math/sisl/pkg-descr Normal file
View file

@ -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