BSD Ports

devel/ocaml-magic-mime 1.3.1 DragonFly

Embedded MIME type database for OCaml

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ISCL
Categories
devel
Package size
283.5 KiB, 1622.5 KiB installed

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.

In the other systems

The newest version among them is 1.3.1, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/ocaml-magic-mime1.3.1 newestnone known-[email protected]-
FreeBSDdevel/ocaml-magic-mime1.3.1 newestnone known-[email protected]-
NetBSDmisc/ocaml-magic-mime by name1.2.0nb2 behind since 2026-11-11none known-[email protected]-
GhostBSDdevel/ocaml-magic-mime1.3.1 newestno data-[email protected]-

Compare across BSDs

Version history 1

  1. 1.3.1

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkg install ocaml-magic-mime

From DPorts:

cd /usr/dports/devel/ocaml-magic-mime && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 1

No port depends on this one.