From nobody Fri Aug 01 20:57:19 2025 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4btyv41RwMz635y5; Fri, 01 Aug 2025 20:57:20 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4btyv36mnmz3Gxx; Fri, 01 Aug 2025 20:57:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1754081840; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8ucC30fR5ti13l1qoBs7yx1w1EsEhsvjt8f6uT/F7KM=; b=uF2Oeb8fqhhW4lrnzO1hnjLbF6L4BPfMivFfxdlAHdCpqA0ci3A4308Lx6R/HYBpUcCUOw j568vQtToR6a8/4yfdgUsS7F/KE/r2HOrQ5Wxf4TrOuhyiGNIm08Qo3sjdO2yzSJC1bIor f8+EAdjcF5X/TfO8OMkLI8TqMb/l1e2v33mNv4cNCm24fT6dYXwO61nY62ZVQhpI8fkCyG Mfxh4Uui8uktMm8JtCf8UvAO+O5eiRv4GlnPTUTw+X1Ve1y9JT0upVIJL+ej4D+sB7BwTl RP19JqhRBPDJV6lrmodu+ivzjS4jZNoJ5gol8El2WE3AAthHye1pp/DOx2hOXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1754081839; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8ucC30fR5ti13l1qoBs7yx1w1EsEhsvjt8f6uT/F7KM=; b=TNCFViL26LXvyJyr4v/xaicAWN+2EbftyWyT5+iClNysZbOqDURCXOhf8s5zRI3QKvQGc6 dt+PBNHh9XU2b2QeISCEFOkDeJAKIyTc2SFIZ7hImSFbKvGf3cZo8fbfxX+TG4L4szt8S/ L7naJyV1w4GH5z2rd1/BLU2rAr1Zyz/Q7yq21gKizOT3Nw0RI3RNUxhAondMZBwkDG1Sog jaEk2rTwKWG+9P+kKRMjsD1W3cqV/SWQwHlISPpU7B6cTwxtncT3Rfv0kNJGnZNU0NzdUY PYiG1p/TF96axesau1Zx3ONHU550fdhoc1W0eCcJnEmPWS4AHWBbcHA4o6N1rw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1754081839; a=rsa-sha256; cv=none; b=Ck90iIEqJ1nmDuvjQxgED6Lqxm+DGoKWX6yI9+C8/iHJ5kmjJIUj/CYvmFEtJitL2AqJ3l 33ViVGfRyDfNFlrPwae7DeR13V7u2t5oG1BKyl61Gw3oqsSjz+Hv8BhgYgzy2MoHy44tdu WVfT8TKVH1UZgiUlYInCj6J3oz51kaLhdRcOM+VYKE1uhD2Jn1u3GssBhUeZ4XWkyzuGns xXcKiTrKFOOMD3FHG9X1WHhE8YZAS+amyYH5sByijzkkAvCu0VNIQIWkZJvDH0V2saQSvF 2+Us4k9iHsPga6G6FNeAelmJTJ4gmH10xARrZoNt7HtAsyTTXQLW+QXT+QMMIA== 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 4btyv36J96z138y; Fri, 01 Aug 2025 20:57:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 571KvJ7Y090195; Fri, 1 Aug 2025 20:57:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 571KvJuD090192; Fri, 1 Aug 2025 20:57:19 GMT (envelope-from git) Date: Fri, 1 Aug 2025 20:57:19 GMT Message-Id: <202508012057.571KvJuD090192@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: 2b3088f0977f - main - math/suitesparse-Example: adding the Example package of SuiteSparse List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org 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: 2b3088f0977f933538ebd3551a632a1003ba2231 Auto-Submitted: auto-generated The branch main has been updated by thierry: URL: https://cgit.FreeBSD.org/ports/commit/?id=2b3088f0977f933538ebd3551a632a1003ba2231 commit 2b3088f0977f933538ebd3551a632a1003ba2231 Author: Thierry Thomas AuthorDate: 2025-08-01 20:49:33 +0000 Commit: Thierry Thomas CommitDate: 2025-08-01 20:57:16 +0000 math/suitesparse-Example: adding the Example package of SuiteSparse Like CSparse, do not install it by default. --- math/Makefile | 1 + math/suitesparse-Example/Makefile | 40 +++++++++++++++++++++++++++++++++++++ math/suitesparse-Example/pkg-descr | 3 +++ math/suitesparse-Example/pkg-plist | 11 ++++++++++ math/suitesparse/Makefile | 3 ++- math/suitesparse/bsd.suitesparse.mk | 1 + 6 files changed, 58 insertions(+), 1 deletion(-) diff --git a/math/Makefile b/math/Makefile index 7dcdaa9510e1..518d98e22cab 100644 --- a/math/Makefile +++ b/math/Makefile @@ -1222,6 +1222,7 @@ SUBDIR += stanmath SUBDIR += stp SUBDIR += suitesparse + SUBDIR += suitesparse-Example SUBDIR += suitesparse-amd SUBDIR += suitesparse-btf SUBDIR += suitesparse-camd diff --git a/math/suitesparse-Example/Makefile b/math/suitesparse-Example/Makefile new file mode 100644 index 000000000000..24b7070a1f30 --- /dev/null +++ b/math/suitesparse-Example/Makefile @@ -0,0 +1,40 @@ +PORTNAME= ${MPORTNAME:tl} +PORTVERSION= 1.8.9 +CATEGORIES= math + +COMMENT= Examples for SuiteSparse +WWW= https://faculty.cse.tamu.edu/davis/suitesparse.html + +LICENSE= BSD3CLAUSE + +LIB_DEPENDS= libamd.so:math/suitesparse-amd \ + libbtf.so:math/suitesparse-btf \ + libcamd.so:math/suitesparse-camd \ + libccolamd.so:math/suitesparse-ccolamd \ + libcholmod.so:math/suitesparse-cholmod \ + libcolamd.so:math/suitesparse-colamd \ + libcxsparse.so:math/suitesparse-cxsparse \ + libgraphblas.so:math/suitesparse-graphblas \ + libklu_cholmod.so:math/suitesparse-klu \ + liblagraph.so:math/suitesparse-lagraph \ + libldl.so:math/suitesparse-ldl \ + libsuitesparse_mongoose.so:math/suitesparse-mongoose \ + libparu.so:math/suitesparse-paru \ + librbio.so:math/suitesparse-rbio \ + libspex.so:math/suitesparse-spex \ + libspqr.so:math/suitesparse-spqr \ + libumfpack.so:math/suitesparse-umfpack + +USES= localbase:ldflags fortran + +MPORTNAME= Example +USE_LDCONFIG= yes + +.include "${.CURDIR}/../../math/suitesparse/bsd.suitesparse.mk" + +post-stage-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${BUILD_WRKSRC}/README.md \ + ${STAGEDIR}${DOCSDIR}/${MPORTNAME}_README.md + +.include diff --git a/math/suitesparse-Example/pkg-descr b/math/suitesparse-Example/pkg-descr new file mode 100644 index 000000000000..522fc4848f98 --- /dev/null +++ b/math/suitesparse-Example/pkg-descr @@ -0,0 +1,3 @@ +This port installs the 'my' library of SuiteSparse. + +This is only a demonstration package. diff --git a/math/suitesparse-Example/pkg-plist b/math/suitesparse-Example/pkg-plist new file mode 100644 index 000000000000..c7acb7853af9 --- /dev/null +++ b/math/suitesparse-Example/pkg-plist @@ -0,0 +1,11 @@ +/you/have/to/check/what/makeplist/gives/you +include/my.h +lib/libmy.a +lib/libmy.so +lib/libmy.so.1 +lib/libmy.so.%%VER%% +lib/libmy_cxx.a +lib/libmy_cxx.so +lib/libmy_cxx.so.1 +lib/libmy_cxx.so.%%VER%% +%%PORTDOCS%%%%DOCSDIR%%/Example_README.md diff --git a/math/suitesparse/Makefile b/math/suitesparse/Makefile index eeb797e4db65..d0445acf39ac 100644 --- a/math/suitesparse/Makefile +++ b/math/suitesparse/Makefile @@ -25,7 +25,8 @@ RUN_DEPENDS= suitesparse-config>0:math/suitesparse-config \ suitesparse-umfpack>0:math/suitesparse-umfpack \ suitesparse-paru>0:math/suitesparse-paru .if !defined(PACKAGE_BUILDING) -RUN_DEPENDS+= suitesparse-csparse>0:math/suitesparse-csparse +RUN_DEPENDS+= suitesparse-csparse>0:math/suitesparse-csparse \ + suitesparse-Example>0:math/suitesparse-Example .endif USES= metaport diff --git a/math/suitesparse/bsd.suitesparse.mk b/math/suitesparse/bsd.suitesparse.mk index 2d93f637b5d4..6d8bb1c68203 100644 --- a/math/suitesparse/bsd.suitesparse.mk +++ b/math/suitesparse/bsd.suitesparse.mk @@ -35,6 +35,7 @@ LIB_DEPENDS+= libsuitesparseconfig.so:math/suitesparse-config .endif .if ${MPORTNAME} != config && \ ${MPORTNAME} != BTF && \ + ${MPORTNAME} != Example && \ ${MPORTNAME} != ssget OPTIONS_DEFINE+=DEMOS .endif