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.
Port details
ocaml-magic-mime Embedded MIME type database for OCaml
1.3.1 develnew! 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 Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: freebsd@dev.thsi.be search for ports maintained by this maintainer
Port Added: 2026-06-28 22:12:53
Last Update: 2026-06-28 22:08:54
Commit Hash: c521cf2
License: ISCL
WWW:
https://github.com/mirage/ocaml-magic-mime
Description:
This OCaml library provides lookup functions to map a filename to a MIME type (based on the extension of the file), and conversely from a MIME type to a list of file extensions. As the database is bundled inside an OCaml module, the lookups do not access the filesystem.
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
Expand this list (25 items)
Collapse this list.
  1. /usr/local/share/licenses/ocaml-magic-mime-1.3.1/catalog.mk
  2. /usr/local/share/licenses/ocaml-magic-mime-1.3.1/LICENSE
  3. /usr/local/share/licenses/ocaml-magic-mime-1.3.1/ISCL
  4. lib/ocaml/site-lib/magic-mime/META
  5. lib/ocaml/site-lib/magic-mime/dune-package
  6. lib/ocaml/site-lib/magic-mime/magic_mime.cmi
  7. lib/ocaml/site-lib/magic-mime/magic_mime.cmt
  8. lib/ocaml/site-lib/magic-mime/magic_mime.cmti
  9. lib/ocaml/site-lib/magic-mime/magic_mime.cmx
  10. lib/ocaml/site-lib/magic-mime/magic_mime.ml
  11. lib/ocaml/site-lib/magic-mime/magic_mime.mli
  12. lib/ocaml/site-lib/magic-mime/magic_mime_library.a
  13. lib/ocaml/site-lib/magic-mime/magic_mime_library.cma
  14. lib/ocaml/site-lib/magic-mime/magic_mime_library.cmxa
  15. lib/ocaml/site-lib/magic-mime/magic_mime_library.cmxs
  16. lib/ocaml/site-lib/magic-mime/mime_types.cmi
  17. lib/ocaml/site-lib/magic-mime/mime_types.cmt
  18. lib/ocaml/site-lib/magic-mime/mime_types.cmti
  19. lib/ocaml/site-lib/magic-mime/mime_types.cmx
  20. lib/ocaml/site-lib/magic-mime/mime_types.ml
  21. lib/ocaml/site-lib/magic-mime/mime_types.mli
  22. lib/ocaml/site-lib/magic-mime/opam
  23. @owner
  24. @group
  25. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ocaml-magic-mime>0:devel/ocaml-magic-mime
To install the port:
cd /usr/ports/devel/ocaml-magic-mime/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/ocaml-magic-mime
  • pkg install ocaml-magic-mime
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: ocaml-magic-mime
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1752073001 SHA256 (magic-mime-1.3.1.tbz) = e0234d03625dba1efac58e57e387672d75a5e9a621ff49acfe0f609c00f13b08 SIZE (magic-mime-1.3.1.tbz) = 13405

Packages (timestamps in pop-ups are UTC):
ocaml-magic-mime
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-----n/an/an/a
FreeBSD:13:quarterly-----n/an/an/a
FreeBSD:14:latest1.3.11.3.1--1.3.1---
FreeBSD:14:quarterly1.3.11.3.1--1.3.1---
FreeBSD:15:latest1.3.11.3.1n/a-n/an/a--
FreeBSD:15:quarterly1.3.11.3.1n/a-n/an/a--
FreeBSD:16:latest1.3.11.3.1n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. ocaml-dune>=3.7.1_2 : devel/ocaml-dune
  2. ocamlc : lang/ocaml
Runtime dependencies:
  1. ocamlc : lang/ocaml
Patch dependencies:
  1. ocamlc : lang/ocaml
Extract dependencies:
  1. ocamlc : lang/ocaml
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for ocaml-magic-mime-1.3.1: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings
Options name:
devel_ocaml-magic-mime
USES:
ocaml:dune tar:tbz
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://github.com/mirage/ocaml-magic-mime/releases/download/v1.3.1/
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
1.3.1
28 Jun 2026 22:08:54
commit hash: c521cf238c0aa4083b059084b2e305aa246462f7commit hash: c521cf238c0aa4083b059084b2e305aa246462f7commit hash: c521cf238c0aa4083b059084b2e305aa246462f7commit hash: c521cf238c0aa4083b059084b2e305aa246462f7 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
Author: Benjamin Jacobs
devel/ocaml-magic-mime: New port

This OCaml library provides lookup functions to map a filename to a
MIME type (based on the extension of the file), and conversely from a
MIME type to a list of file extensions. As the database is bundled
inside an OCaml module, the lookups do not access the filesystem.

WWW: https://github.com/mirage/ocaml-magic-mime

Number of commits found: 1