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 photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
After the ports freeze to fix some stuff, the freeze is over. I have some work to do before FreshPorts can start processing commits again before it can start processing again. I've created an issue for that.
Port details on branch 2026Q1
mkvtoolnix Tools to extract from/get info about/create Matroska media streams
97.0 multimedia on this many watch lists=0 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 100.0Version of this port present on the latest quarterly branch.
Maintainer: riggs@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-02-15 22:00:14
Last Update: 2026-02-15 21:59:44
Commit Hash: c6fe30f
Also Listed In: audio
License: GPLv2
WWW:
https://www.bunkus.org/videotools/mkvtoolnix/
Description:
[ excerpt (with adaptations) from developer's website with modifications ] MKVtoolnix will evolve into a set of tools to create, alter and inspect Matroska files under Linux and other Unices, just what the OGMtools do for the OGM format.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • mkvtoolnix>0:multimedia/mkvtoolnix
Conflicts:
CONFLICTS_INSTALL:
  • mkvtoolnix-nogui
To install the port:
cd /usr/ports/multimedia/mkvtoolnix/ && make install clean
To add the package, run one of these commands:
  • pkg install multimedia/mkvtoolnix
  • pkg install mkvtoolnix
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: mkvtoolnix
Package flavors (<flavor>: <package>)
  • qt6: mkvtoolnix
  • nogui: mkvtoolnix-nogui
distinfo:
TIMESTAMP = 1767531486 SHA256 (mkvtoolnix-97.0.tar.xz) = 5d43bf66e011ff5af09516a2dba2fb717b1631791a3a7498fcf74849a86929d3 SIZE (mkvtoolnix-97.0.tar.xz) = 11749232

No package information for this port in our database
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. rake : devel/rubygem-rake
  2. docbook-xsl>=0 : textproc/docbook-xsl
  3. xsltproc : textproc/libxslt
  4. update-desktop-database : devel/desktop-file-utils
  5. pkgconf>=1.3.0_1 : devel/pkgconf
  6. update-mime-database : misc/shared-mime-info
  7. gettext-runtime>=0.26 : devel/gettext-runtime
  8. gettext-tools>=0.26 : devel/gettext-tools
  9. xorgproto>=0 : x11/xorgproto
  10. lupdate : devel/qt6-tools
Runtime dependencies:
  1. update-desktop-database : devel/desktop-file-utils
  2. update-mime-database : misc/shared-mime-info
  3. lupdate : devel/qt6-tools
Library dependencies:
  1. libvorbis.so : audio/libvorbis
  2. libogg.so : audio/libogg
  3. libebml.so : textproc/libebml
  4. libboost_thread.so : devel/boost-libs
  5. libpugixml.so : textproc/pugixml
  6. libmatroska.so : multimedia/libmatroska
  7. libcmark.so : textproc/cmark
  8. libgmp.so : math/gmp
  9. libFLAC.so : audio/flac
  10. libGL.so : graphics/libglvnd
  11. libOpenGL.so : graphics/libglvnd
  12. libintl.so : devel/gettext-runtime
  13. libQt6Core.so : devel/qt6-base
  14. libQt6Qml.so : x11-toolkits/qt6-declarative
  15. libQt6Multimedia.so : multimedia/qt6-multimedia
  16. libQt6Svg.so : graphics/qt6-svg
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for mkvtoolnix-97.0: DVDREAD=off: Support reading DVD chapters via libdvdread FLAC=on: FLAC lossless audio codec support GUI=off: GUI (Graphical User Interface) support MANTRANS=off: Build and install manpage translations NLS=on: Native Language Support ===> Use 'make config' to modify these settings
Options name:
multimedia_mkvtoolnix
USES:
compiler:c++20-lang desktop-file-utils gl iconv localbase pkgconfig qmake:no_env qt:6 shared-mime-info tar:xz gettext
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://mkvtoolnix.download/sources/
  2. https://www.bunkus.org/videotools/mkvtoolnix/sources/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
97.0
15 Feb 2026 21:59:44
commit hash: c6fe30f32c249aabb6db44c5368225089c562fd7commit hash: c6fe30f32c249aabb6db44c5368225089c562fd7commit hash: c6fe30f32c249aabb6db44c5368225089c562fd7commit hash: c6fe30f32c249aabb6db44c5368225089c562fd7 files touched by this commit
Dimitry Andric (dim) search for other commits by this committer
multimedia/mkvtoolnix: fix build with libc++ 21

With libc++ 21 multimedia/mkvtoolnix fails to build, with errors similar
to:

    In file included from lib/fmt/src/os.cc:13:
    In file included from lib/fmt/include/fmt/os.h:11:
    lib/fmt/include/fmt/format.h:745:28: fatal error: use of undeclared
identifier 'malloc'
      745 |     T* p = static_cast<T*>(malloc(n * sizeof(T)));
          |                            ^~~~~~

This is because malloc and free are defined in <cstdlib>, and os.h does
not explicitly include it. (Before libc++ 21, the fmt library was
"lucky" that <cstdlib> was included transitively, but this is no longer
the case.)

PR:		293182
Approved by:	riggs (maintainer)
MFH:		2026Q1

(cherry picked from commit 4d7c78c3d2e4d40c851da6e6161d29d6a62d3b31)

Number of commits found: 1