From nobody Tue Jan 24 08:58:39 2023 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 4P1LVS1cYnz30xPk; Tue, 24 Jan 2023 08:58:40 +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 4P1LVS142Cz3nFm; Tue, 24 Jan 2023 08:58:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674550720; 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=1V8WOpxrl1MuFcxV7+Rs4QKYWSjDVmZupFR2DqRlhCQ=; b=hBLcc5U4ieEKDZRD3WXcEgUEk0Ud36i8T2fvjM5XA+CKQtxQ+z3QTq8EpM+NbcXbkPAK1Q 04Dic0BUPVdSTzALJKWYYeRe0OrjFmqQ9wv7ZE8NDcsnPJPE2kv81mQyfwB9ZV0w4bUEjn AujcAWHwlwAfAWvn2vML1t8O+pA59UG9HpyIW/77cVc8QCj+N1fia7NE6gAZO1fAtb9O8R JrhcTm7WpaZZVnILpRnOILCnHFjLb5hjRRUyhZkISoSEnCWZFQBuD9uwZmlQGOuXk6zzI7 0hy6merfPI3/+vGpIQ5yu2NMdh3Gt7jmyNjTxMS5QnD9CSuuS+sZjkjiQYmRRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674550720; 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=1V8WOpxrl1MuFcxV7+Rs4QKYWSjDVmZupFR2DqRlhCQ=; b=aJPVvhUOhv9P17gqjpUPERc2ZpWc9S4c8szgKuiN1fUDzi5JwUS5zIE/b/dV8/IuP//yTs SW8SOPBq7ZjP15hOY4QTmrW+k9/POQZErYD2ZtWe4sLqBNy56TZUfHDRRIelXUVKDlRuuK M8zR7Cvg1co3URiItPvjY7FaPD36AdF4lm/XwtXIVE09cfJiPssEZICVC6xm1A6ZdXibEH Jxjzar8N0rgSGl5pjAqG7AKAsERn4f0BRPy/Yew4V7MPXNFLLXRgGzE7CkUDk1REceozwd alYEfi+hjPn4K3gOQ3TcGVzrRwPYGG+cdo52OzEXYH09RDT/CstqsyZv1dpIKw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674550720; a=rsa-sha256; cv=none; b=IljMGJjrZnydRJTZQcGqlSl2u/iFj11OBx7vn5PyVnzdIk9aBtA1ub/BVdUl0xBp4BhyQP cVAv8eGz/EGSjbvZQs7GkNsRZIuoRTeXY6jXQqm3rOV+wfH7tBeI18gXX6Rjc2rnULbAUf AOtGo98lidDsVoU4vN8S2Wf4hUf36wmVOJPdjuuaxYFDMDzpTTXLnHM+IlPiUvMSmRcv9w sbWKq0sffjZeX6mGGNGIydDLxm43EeAagAdaourOXP7Ccd7OPPlzTKNEdfwN6pv4qZ4pjJ pa5aoh1Y44uU3mWevh7fzrywDOB25J7lUdAwhhyVMvS6ECHntBYT8dxSIBp+dQ== 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 4P1LVS07Kbz12pc; Tue, 24 Jan 2023 08:58:40 +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 30O8wdYv037106; Tue, 24 Jan 2023 08:58:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30O8wdx5037105; Tue, 24 Jan 2023 08:58:39 GMT (envelope-from git) Date: Tue, 24 Jan 2023 08:58:39 GMT Message-Id: <202301240858.30O8wdx5037105@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 6d9ce49d9243 - main - math/lmfit: New port: Library for Levenberg-Marquardt minimization and least-squares fitting 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: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6d9ce49d9243982d78c3004be9e72a0b0e565096 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=6d9ce49d9243982d78c3004be9e72a0b0e565096 commit 6d9ce49d9243982d78c3004be9e72a0b0e565096 Author: Yuri Victorovich AuthorDate: 2023-01-24 08:58:16 +0000 Commit: Yuri Victorovich CommitDate: 2023-01-24 08:58:16 +0000 math/lmfit: New port: Library for Levenberg-Marquardt minimization and least-squares fitting --- math/Makefile | 1 + math/lmfit/Makefile | 26 ++++++++++++++++++++++++++ math/lmfit/distinfo | 3 +++ math/lmfit/files/patch-CMakeLists.txt | 12 ++++++++++++ math/lmfit/pkg-descr | 2 ++ math/lmfit/pkg-plist | 15 +++++++++++++++ 6 files changed, 59 insertions(+) diff --git a/math/Makefile b/math/Makefile index 86788152869b..33346fa9eeb9 100644 --- a/math/Makefile +++ b/math/Makefile @@ -465,6 +465,7 @@ SUBDIR += linpack SUBDIR += lis SUBDIR += lll_spect + SUBDIR += lmfit SUBDIR += lp_solve SUBDIR += lrcalc SUBDIR += lrng diff --git a/math/lmfit/Makefile b/math/lmfit/Makefile new file mode 100644 index 000000000000..efd8b1b0dff4 --- /dev/null +++ b/math/lmfit/Makefile @@ -0,0 +1,26 @@ +PORTNAME= lmfit +DISTVERSION= 9.0 +CATEGORIES= math +MASTER_SITES= https://jugit.fz-juelich.de/mlz/${PORTNAME}/-/archive/v${DISTVERSION}/ +DISTNAME= ${PORTNAME}-v${DISTVERSION} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Library for Levenberg-Marquardt minimization and least-squares fitting +WWW= https://jugit.fz-juelich.de/mlz/lmfit + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/COPYING + +BUILD_DEPENDS= libheinz>0:devel/libheinz + +USES= cmake:testing perl5 +USE_PERL5= build # only for pod2html +USE_LDCONFIG= yes + +CMAKE_OFF= BUILD_TESTING +CMAKE_TESTING_ON= BUILD_TESTING + +OPTIONS_DEFINE= DOCS +PORTDOCS= * + +.include diff --git a/math/lmfit/distinfo b/math/lmfit/distinfo new file mode 100644 index 000000000000..297874a06a49 --- /dev/null +++ b/math/lmfit/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1674550325 +SHA256 (lmfit-v9.0.tar.gz) = 2e854c4b0a8f0ecddd4b8a63cfb8266ace02d191c4362762cb80aa84e781b0c3 +SIZE (lmfit-v9.0.tar.gz) = 36686 diff --git a/math/lmfit/files/patch-CMakeLists.txt b/math/lmfit/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..90b6136fc6b3 --- /dev/null +++ b/math/lmfit/files/patch-CMakeLists.txt @@ -0,0 +1,12 @@ +--- CMakeLists.txt.orig 2023-01-24 08:53:17 UTC ++++ CMakeLists.txt +@@ -58,7 +58,9 @@ include(CTest) + + add_subdirectory(lib) + add_subdirectory(demo) ++if (BUILD_TESTING) + add_subdirectory(test) ++endif() + if(LMFIT_CPPTEST) + add_subdirectory(democpp) + endif() diff --git a/math/lmfit/pkg-descr b/math/lmfit/pkg-descr new file mode 100644 index 000000000000..195a8d3f8fa4 --- /dev/null +++ b/math/lmfit/pkg-descr @@ -0,0 +1,2 @@ +lmfit is a C library for Levenberg-Marquardt minimization and least-squares +fitting. diff --git a/math/lmfit/pkg-plist b/math/lmfit/pkg-plist new file mode 100644 index 000000000000..5be0a2f8a774 --- /dev/null +++ b/math/lmfit/pkg-plist @@ -0,0 +1,15 @@ +include/lmcurve.h +include/lmcurve2.h +include/lmdecls.h +include/lmfit.hpp +include/lmmin.h +include/lmstruct.h +lib/liblmfit.so +lib/liblmfit.so.9 +lib/liblmfit.so.9.0.0 +libdata/pkgconfig/lmfit.pc +share/man/man3/lmcurve.3.gz +share/man/man3/lmcurve2.3.gz +share/man/man3/lmmin.3.gz +share/man/man3/lmmin2.3.gz +share/man/man7/lmfit.7.gz