From nobody Sun Jun 23 12:59:59 2024 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 4W6WQl4bV3z5PT9m; Sun, 23 Jun 2024 12:59:59 +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 4W6WQl3khnz4hf8; Sun, 23 Jun 2024 12:59:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1719147599; 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=2oOOYkjVzVGcQIqMnriALCbHMfId4w/Ffb5M7xsaqnU=; b=iBOlEP1F6Wwnku1/kq3x9Zu0Nhe/HQyAT3bykyC5ukti/Tf9PWgwaj+TCttlPwrrTYXOMH 5RNhzC5ebxdlkVBdsvRksDPU3uk4uHv78nfwWoolKVX3Y1d11zH7WfGea34CCgg9FlY0BI M6DkEWYwxLgHnNw3G8xj1HZUfjmMEQH111jpK2BAt8S6FfJtIGsNNTMnXsJVSmk9oCA6BS VKJu+D+OGPLFAxk0wpwc/Xtq35dffiAvohF408+jFa71c1WyVGSc6mIZXr4YpN1SEn8y38 ttv8zdEj6dYG5+dcaUuLyAELuHqYG+GoerVgxhyRPw/X5hlxazgStB7p7NLUNA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1719147599; a=rsa-sha256; cv=none; b=L9McgaxieNvD9uBEXxuhFlEzPGExceN7BHh5j2HszA5NIfGqF4WimhK6jRGoMMHeaZcCAq UjOCWYJr8SMyDz+sz2iUQdI30AD+vmy8DMbqdO+yxTRBKPUkYFfHqFHJ6wS0/a+1kGJWhv g5I5t9mlql/AvGZehaA3wVZLekxBXf/cXDA7ikZt3nSpjYaVQqCTlUaGS6i3suCN0zn5X0 0wXk8tZbGaMCgApV5MTjBuPfiYuDnaCLBLvgOY3/NglhVX3aIF7SWD0+EPEbQlWpi0om4Y xNtp13U2Yll6/A4wv+odpbaKWGMk6cmuEqCy0aENybBSwu67FlZ78mVxbPkwCA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1719147599; 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=2oOOYkjVzVGcQIqMnriALCbHMfId4w/Ffb5M7xsaqnU=; b=RCDdNJSs1KHQzbLp0BVMjPAeCCGu63Mt4knai4D6SH3ewUFbEwgBEr/rClBhMf9b4xBoZn BtWpLYzquu0qx8Ah5xaDwFpK/nVzvidXGx60YNfnNBiVv1hAtZc7pwN27sXLiPKqeXHx5I z/b5nY8k2sgmXXq3EKpS0Iscv9RDk1LCoBoDwLQFaxL8GjlS2kVAD9eSelxzOTvrDbd+9z NqbJ1PYIAoRE/n+a1O2Zbo9dvDy3BmbccSzYctix3RKxcZZSCoAxlLADke/IeHsJf0NhIO pKPBa5rQmhgivFXXw5Dwz3A0q6UxJV3hmXc2QTUfZ6hCTcUH5Ev19pTku3+RlA== 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 4W6WQl2rz1zbwC; Sun, 23 Jun 2024 12:59:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 45NCxxOM069780; Sun, 23 Jun 2024 12:59:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 45NCxxiF069777; Sun, 23 Jun 2024 12:59:59 GMT (envelope-from git) Date: Sun, 23 Jun 2024 12:59:59 GMT Message-Id: <202406231259.45NCxxiF069777@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: f70288a85207 - main - science/mmg: new port, bidimensional and tridimensional remeshing 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: f70288a8520770f80e566c67d36b2ac5e5321aa2 Auto-Submitted: auto-generated The branch main has been updated by thierry: URL: https://cgit.FreeBSD.org/ports/commit/?id=f70288a8520770f80e566c67d36b2ac5e5321aa2 commit f70288a8520770f80e566c67d36b2ac5e5321aa2 Author: Thierry Thomas AuthorDate: 2024-06-22 21:09:29 +0000 Commit: Thierry Thomas CommitDate: 2024-06-23 12:58:40 +0000 science/mmg: new port, bidimensional and tridimensional remeshing Used by Gmsh, and also it could be used by elmerfem. --- science/mmg/Makefile | 30 ++++++++++++++++++++++++++++++ science/mmg/distinfo | 3 +++ science/mmg/pkg-descr | 14 ++++++++++++++ science/mmg/pkg-plist | 41 +++++++++++++++++++++++++++++++++++++++++ 4 files changed, 88 insertions(+) diff --git a/science/mmg/Makefile b/science/mmg/Makefile new file mode 100644 index 000000000000..9d7280445d4a --- /dev/null +++ b/science/mmg/Makefile @@ -0,0 +1,30 @@ +PORTNAME= mmg +PORTVERSION= 5.7.3 +DISTVERSIONPREFIX= v +CATEGORIES= science + +MAINTAINER= thierry@FreeBSD.org +COMMENT= Bidimensional and tridimensional remeshing +WWW= https://www.mmgtools.org/ + +LICENSE= LGPL3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= git:devel/git \ + bash:shells/bash +LIB_DEPENDS= libscotch.so:cad/scotch \ + libElas.so:science/linearelasticity \ + libvtksys-${VTK_VER}.so:math/vtk${VTK_VER:R} + +USES= cmake:testing perl5 shebangfix +USE_PERL5= build +SHEBANG_FILES= scripts/*.sh + +USE_GITHUB= yes +GH_ACCOUNT= MmgTools + +CMAKE_ON= BUILD_SHARED_LIBS +USE_LDCONFIG= yes + +.include <../../math/vtk9/Makefile.version> +.include diff --git a/science/mmg/distinfo b/science/mmg/distinfo new file mode 100644 index 000000000000..8b9062f46ae9 --- /dev/null +++ b/science/mmg/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1718986408 +SHA256 (MmgTools-mmg-v5.7.3_GH0.tar.gz) = b0a9c5ad6789df369a68f94295df5b324b6348020b73bcc395d32fdd44abe706 +SIZE (MmgTools-mmg-v5.7.3_GH0.tar.gz) = 9645997 diff --git a/science/mmg/pkg-descr b/science/mmg/pkg-descr new file mode 100644 index 000000000000..94c22fa37676 --- /dev/null +++ b/science/mmg/pkg-descr @@ -0,0 +1,14 @@ +Mmg is an open source software for simplicial remeshing. It provides 3 +applications and 4 libraries: + +- the mmg2d application and the libmmg2d library: adaptation and optimization of + a two-dimensional triangulation and generation of a triangulation from a set + of points or from given boundary edges; + +- the mmgs application and the libmmgs library: adaptation and optimization of a + surface triangulation and isovalue discretization; + +- the mmg3d application and the libmmg3d library: adaptation and optimization of + a tetrahedral mesh and implicit domain meshing; + +- the libmmg library gathering the libmmg2d, libmmgs and libmmg3d libraries. diff --git a/science/mmg/pkg-plist b/science/mmg/pkg-plist new file mode 100644 index 000000000000..80ad5b0c74ef --- /dev/null +++ b/science/mmg/pkg-plist @@ -0,0 +1,41 @@ +bin/mmg2d_O3 +bin/mmg3d_O3 +bin/mmgs_O3 +include/mmg/common/git_log_mmg.h +include/mmg/common/libmmgtypes.h +include/mmg/common/libmmgtypesf.h +include/mmg/common/mmg_export.h +include/mmg/common/mmgcmakedefines.h +include/mmg/common/mmgcmakedefinesf.h +include/mmg/common/mmgversion.h +include/mmg/libmmg.h +include/mmg/libmmgf.h +include/mmg/mmg2d/libmmg2d.h +include/mmg/mmg2d/libmmg2df.h +include/mmg/mmg2d/mmg2d_export.h +include/mmg/mmg3d/libmmg3d.h +include/mmg/mmg3d/libmmg3df.h +include/mmg/mmg3d/mmg3d_export.h +include/mmg/mmgs/libmmgs.h +include/mmg/mmgs/libmmgsf.h +include/mmg/mmgs/mmgs_export.h +lib/cmake/mmg/FindElas.cmake +lib/cmake/mmg/FindSCOTCH.cmake +lib/cmake/mmg/MmgTargets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/mmg/MmgTargets.cmake +lib/cmake/mmg/mmgConfig.cmake +lib/libmmg.so +lib/libmmg.so.5 +lib/libmmg.so.5.7.0 +lib/libmmg2d.so +lib/libmmg2d.so.5 +lib/libmmg2d.so.5.7.0 +lib/libmmg3d.so +lib/libmmg3d.so.5 +lib/libmmg3d.so.5.7.0 +lib/libmmgs.so +lib/libmmgs.so.5 +lib/libmmgs.so.5.7.0 +share/man/man1/mmg2d.1.gz +share/man/man1/mmg3d.1.gz +share/man/man1/mmgs.1.gz