notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
mmg Bidimensional and tridimensional remeshing
5.8.0 science on this many watch lists=4 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 5.7.3_1Version of this port present on the latest quarterly branch.
Maintainer: alven@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-06-23 13:03:13
Last Update: 2025-11-05 23:33:31
Commit Hash: ab637a8
People watching this port, also watch:: netgen, wa-aspell, qelectrotech, ittapi, php83-pear
License: LGPL3+
WWW:
https://www.mmgtools.org/
https://github.com/MmgTools/mmg/
Description:
Mmg is a Free Software for bidimensional and tridimensional surface and volume 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.
HomepageHomepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
pkg-plist: as obtained via: make generate-plist
Expand this list (48 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/mmg-5.8.0/catalog.mk
  3. /usr/local/share/licenses/mmg-5.8.0/LICENSE
  4. /usr/local/share/licenses/mmg-5.8.0/LGPL3+
  5. bin/mmg2d_O3
  6. bin/mmg3d_O3
  7. bin/mmgs_O3
  8. include/mmg/common/git_log_mmg.h
  9. include/mmg/common/libmmgtypes.h
  10. include/mmg/common/libmmgtypesf.h
  11. include/mmg/common/mmg_export.h
  12. include/mmg/common/mmgcmakedefines.h
  13. include/mmg/common/mmgcmakedefinesf.h
  14. include/mmg/common/mmgversion.h
  15. include/mmg/libmmg.h
  16. include/mmg/libmmgf.h
  17. include/mmg/mmg2d/libmmg2d.h
  18. include/mmg/mmg2d/libmmg2df.h
  19. include/mmg/mmg2d/mmg2d_export.h
  20. include/mmg/mmg3d/libmmg3d.h
  21. include/mmg/mmg3d/libmmg3df.h
  22. include/mmg/mmg3d/mmg3d_export.h
  23. include/mmg/mmgs/libmmgs.h
  24. include/mmg/mmgs/libmmgsf.h
  25. include/mmg/mmgs/mmgs_export.h
  26. lib/cmake/mmg/FindElas.cmake
  27. lib/cmake/mmg/FindSCOTCH.cmake
  28. lib/cmake/mmg/MmgTargets-release.cmake
  29. lib/cmake/mmg/MmgTargets.cmake
  30. lib/cmake/mmg/mmgConfig.cmake
  31. lib/libmmg.so
  32. lib/libmmg.so.5
  33. lib/libmmg.so.5.8.0
  34. lib/libmmg2d.so
  35. lib/libmmg2d.so.5
  36. lib/libmmg2d.so.5.8.0
  37. lib/libmmg3d.so
  38. lib/libmmg3d.so.5
  39. lib/libmmg3d.so.5.8.0
  40. lib/libmmgs.so
  41. lib/libmmgs.so.5
  42. lib/libmmgs.so.5.8.0
  43. share/man/man1/mmg2d.1.gz
  44. share/man/man1/mmg3d.1.gz
  45. share/man/man1/mmgs.1.gz
  46. @owner
  47. @group
  48. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • mmg>0:science/mmg
To install the port:
cd /usr/ports/science/mmg/ && make install clean
To add the package, run one of these commands:
  • pkg install science/mmg
  • pkg install mmg
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: mmg
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1762284434 SHA256 (MmgTools-mmg-v5.8.0_GH0.tar.gz) = 686eaab84de79c072f3aedf26cd11ced44c84b435d51ce34e016ad203172922f SIZE (MmgTools-mmg-v5.8.0_GH0.tar.gz) = 9675000

Packages (timestamps in pop-ups are UTC):
mmg
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest5.8.05.8.0-5.7.3_15.8.0n/an/an/a
FreeBSD:13:quarterly5.7.3_15.8.0-5.7.3_15.8.0n/an/an/a
FreeBSD:14:latest5.8.05.8.0-5.7.3_15.8.0---
FreeBSD:14:quarterly5.8.05.8.0-5.7.3_15.8.0---
FreeBSD:15:latest5.8.05.8.0n/a5.7.3_1n/an/a--
FreeBSD:15:quarterly5.8.05.8.0n/a-n/an/a--
FreeBSD:16:latest5.8.05.8.0n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. bash : shells/bash
  2. cmake : devel/cmake-core
  3. ninja : devel/ninja
  4. perl5>=5.42.r<5.43 : lang/perl5.42
Library dependencies:
  1. libElas.so : science/linearelasticity
  2. libscotch.so : cad/scotch
  3. libvtksys-9.5.so : math/vtk9
This port is required by:
for Libraries
  1. cad/gmsh

Configuration Options:
No options to configure
Options name:
science_mmg
USES:
cmake perl5 shebangfix
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/MmgTools/mmg/tar.gz/v5.8.0?dummy=/
Collapse this list.

Number of commits found: 5

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
5.8.0
05 Nov 2025 23:33:31
commit hash: ab637a8dfd5d4b26b8671f9742576003face6ad0commit hash: ab637a8dfd5d4b26b8671f9742576003face6ad0commit hash: ab637a8dfd5d4b26b8671f9742576003face6ad0commit hash: ab637a8dfd5d4b26b8671f9742576003face6ad0 files touched by this commit
Älven (alven) search for other commits by this committer
science/mmg: Update 5.7.3 => 5.8.0, take maintainership

Changelogs:
* https://github.com/MmgTools/mmg/releases/tag/v5.8.0
* https://github.com/MmgTools/mmg/compare/v5.7.3...v5.8.0

* Add WWW for source code repository
* Clarify LICENSE and pkg-descr
* Pet portclippy(1) and portfmt(1)
* Bash is still needed for running some configure script -
  scripts/git_log_mmg.sh, so is patching it with shebangfix

Approved by:		yuri@ (Mentor)
Differential Revision:	https://reviews.freebsd.org/D53593
5.7.3_1
27 Jun 2025 17:00:41
commit hash: 723e906a7e060a80252ece63d7de6d1152c70313commit hash: 723e906a7e060a80252ece63d7de6d1152c70313commit hash: 723e906a7e060a80252ece63d7de6d1152c70313commit hash: 723e906a7e060a80252ece63d7de6d1152c70313 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
math/vtk9: update 9.2.6 → 9.5.0
5.7.3
30 Jun 2024 07:40:20
commit hash: c222dbace702197660e280c3fe0fa76ecb3c69f0commit hash: c222dbace702197660e280c3fe0fa76ecb3c69f0commit hash: c222dbace702197660e280c3fe0fa76ecb3c69f0commit hash: c222dbace702197660e280c3fe0fa76ecb3c69f0 files touched by this commit
Daniel Engberg (diizzy) search for other commits by this committer
science/mmg: Improve port

* Add patches to remove git build dependency
* Remove "make test" target, test files aren't bundled and also
  also remove bash dependency
* Patch perl script(s) using USES= shebangfix
* Adjust Makefile to more closely follow Porters Handbook

PR:		279935
5.7.3
25 Jun 2024 20:38:51
commit hash: 0aa9caaeb3598d5aa9332ac6d1e1942ef051a656commit hash: 0aa9caaeb3598d5aa9332ac6d1e1942ef051a656commit hash: 0aa9caaeb3598d5aa9332ac6d1e1942ef051a656commit hash: 0aa9caaeb3598d5aa9332ac6d1e1942ef051a656 files touched by this commit
Thierry Thomas (thierry) search for other commits by this committer
science/mmg: back to the pool

Do what you want with it.
5.7.3
23 Jun 2024 12:58:40
commit hash: f70288a8520770f80e566c67d36b2ac5e5321aa2commit hash: f70288a8520770f80e566c67d36b2ac5e5321aa2commit hash: f70288a8520770f80e566c67d36b2ac5e5321aa2commit hash: f70288a8520770f80e566c67d36b2ac5e5321aa2 files touched by this commit
Thierry Thomas (thierry) search for other commits by this committer
science/mmg: new port, bidimensional and tridimensional remeshing

Used by Gmsh, and also it could be used by elmerfem.

Number of commits found: 5