1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00

suitesparse-csparse: new port for the module CSparse of SuiteSparse

This commit is contained in:
Thierry Thomas 2021-05-24 18:41:20 +02:00
parent 1fa733cfc5
commit ace392aa21
3 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,26 @@
# Created by: Thierry Thomas (<thierry@pompo.net>)
PORTNAME= CSparse
PORTVERSION= 3.2.0
CATEGORIES= math
COMMENT= Concise Sparse Matrix package
LICENSE= LGPL21+
USES= localbase:ldflags
BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}
USE_LDCONFIG= yes
PLIST_FILES= # empty
# For system-wide installation, the author recommends that you install
# CXSparse instead.
# The CSparse library is meant for personal experimentation. The 'make
# install' in this Makefile only installs a static compiled library in
# CSparse/Lib. It does not install it for system-wide usage.
do-install:
${DO_NADA}
.include "${.CURDIR}/../../math/suitesparse/bsd.suitesparse.mk"
.include <bsd.port.post.mk>

View File

@ -0,0 +1,11 @@
--- CSparse/Makefile.orig 2021-05-17 01:04:52 UTC
+++ CSparse/Makefile
@@ -6,7 +6,7 @@ C:
( cd Lib ; $(MAKE) )
( cd Demo ; $(MAKE) )
-all: C cov
+all: C
library:
( cd Lib ; $(MAKE) )

View File

@ -0,0 +1,9 @@
This port builds the module CSparse of SuiteSparse.
CSparse is a Concise Sparse Matrix package. This code goes with the book "Direct
Methods for Sparse Linear Systems," Timothy A. Davis, SIAM, Philadelphia, 2006.
Note: the CSparse library is meant for personal experimentation. For system-wide
installation, please install math/suitesparse-cxsparse instead.
WWW: http://faculty.cse.tamu.edu/davis/suitesparse.html