From owner-dev-commits-ports-all@freebsd.org Tue May 25 10:13:42 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E8D006495CF; Tue, 25 May 2021 10:13:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fq9063BHBz4Z5J; Tue, 25 May 2021 10:13:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 13B591BC4B; Tue, 25 May 2021 10:13:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 14PADfMk001103; Tue, 25 May 2021 10:13:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 14PADfXJ001102; Tue, 25 May 2021 10:13:41 GMT (envelope-from git) Date: Tue, 25 May 2021 10:13:41 GMT Message-Id: <202105251013.14PADfXJ001102@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Thierry Thomas Subject: git: ace392aa2136 - main - suitesparse-csparse: new port for the module CSparse of SuiteSparse MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: thierry X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ace392aa213637d97e5b347bff9b564cd4226cd1 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 May 2021 10:13:43 -0000 The branch main has been updated by thierry: URL: https://cgit.FreeBSD.org/ports/commit/?id=ace392aa213637d97e5b347bff9b564cd4226cd1 commit ace392aa213637d97e5b347bff9b564cd4226cd1 Author: Thierry Thomas AuthorDate: 2021-05-24 16:41:20 +0000 Commit: Thierry Thomas CommitDate: 2021-05-25 10:00:05 +0000 suitesparse-csparse: new port for the module CSparse of SuiteSparse --- math/suitesparse-csparse/Makefile | 26 ++++++++++++++++++++++ .../files/patch-CSparse_Makefile | 11 +++++++++ math/suitesparse-csparse/pkg-descr | 9 ++++++++ 3 files changed, 46 insertions(+) diff --git a/math/suitesparse-csparse/Makefile b/math/suitesparse-csparse/Makefile new file mode 100644 index 000000000000..a42b1365bf37 --- /dev/null +++ b/math/suitesparse-csparse/Makefile @@ -0,0 +1,26 @@ +# Created by: Thierry Thomas () + +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 diff --git a/math/suitesparse-csparse/files/patch-CSparse_Makefile b/math/suitesparse-csparse/files/patch-CSparse_Makefile new file mode 100644 index 000000000000..fda5d10c9e9b --- /dev/null +++ b/math/suitesparse-csparse/files/patch-CSparse_Makefile @@ -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) ) diff --git a/math/suitesparse-csparse/pkg-descr b/math/suitesparse-csparse/pkg-descr new file mode 100644 index 000000000000..6800b88c4872 --- /dev/null +++ b/math/suitesparse-csparse/pkg-descr @@ -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