BSD Ports

devel/ocaml-magic-mime 1.3.1 FreeBSD

Embedded MIME type database for OCaml

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ISCL
Categories
devel
Package size
415.0 KiB, 2014.1 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

SystemPortVersion
FreeBSDdevel/ocaml-magic-mime1.3.1
NetBSDmisc/ocaml-magic-mime1.2.0nb2
GhostBSDdevel/ocaml-magic-mime1.3.1

Install

Binary package:

pkg install ocaml-magic-mime

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	ocaml-magic-mime>0:devel/ocaml-magic-mime

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.3.11.3.1--1.3.1
FreeBSD:14:quarterly1.3.11.3.1n/a-1.3.1
FreeBSD:15:latest1.3.11.3.1n/a--
FreeBSD:15:quarterly1.3.11.3.1n/an/an/a
FreeBSD:16:latest1.3.11.3.1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 2
Run dependencies 1

No port depends on this one.

Configuration

Options name: devel_magic-mime

OptionDefaultDescription
DOCSoffBuild and/or install documentation
USES
ocaml:dune tar:tbz
Service scripts
none

Files

pkg-plist 19
  • %%OCAML_SITELIBDIR%%/magic-mime/META
  • %%OCAML_SITELIBDIR%%/magic-mime/dune-package
  • %%OCAML_SITELIBDIR%%/magic-mime/magic_mime.cmi
  • %%OCAML_SITELIBDIR%%/magic-mime/magic_mime.cmt
  • %%OCAML_SITELIBDIR%%/magic-mime/magic_mime.cmti
  • %%OCAML_SITELIBDIR%%/magic-mime/magic_mime.cmx
  • %%OCAML_SITELIBDIR%%/magic-mime/magic_mime.ml
  • %%OCAML_SITELIBDIR%%/magic-mime/magic_mime.mli
  • %%OCAML_SITELIBDIR%%/magic-mime/magic_mime_library.a
  • %%OCAML_SITELIBDIR%%/magic-mime/magic_mime_library.cma
  • %%OCAML_SITELIBDIR%%/magic-mime/magic_mime_library.cmxa
  • %%OCAML_SITELIBDIR%%/magic-mime/magic_mime_library.cmxs
  • %%OCAML_SITELIBDIR%%/magic-mime/mime_types.cmi
  • %%OCAML_SITELIBDIR%%/magic-mime/mime_types.cmt
  • %%OCAML_SITELIBDIR%%/magic-mime/mime_types.cmti
  • %%OCAML_SITELIBDIR%%/magic-mime/mime_types.cmx
  • %%OCAML_SITELIBDIR%%/magic-mime/mime_types.ml
  • %%OCAML_SITELIBDIR%%/magic-mime/mime_types.mli
  • %%OCAML_SITELIBDIR%%/magic-mime/opam
distinfo 1
FileSizeSHA256
magic-mime-1.3.1.tbz13405e0234d03625dba1efac58e57e387672d75a5e9a621ff49acfe0f609c00f13b08
Master sites 1
  • https://github.com/mirage/ocaml-magic-mime/releases/download/v1.3.1/

Commit history 0

No commits in the history this site was built from.