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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/ocaml-magic-mime | 1.3.1 |
| NetBSD | misc/ocaml-magic-mime | 1.2.0nb2 |
| GhostBSD | devel/ocaml-magic-mime | 1.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.3.1 | 1.3.1 | - | - | 1.3.1 |
| FreeBSD:14:quarterly | 1.3.1 | 1.3.1 | n/a | - | 1.3.1 |
| FreeBSD:15:latest | 1.3.1 | 1.3.1 | n/a | - | - |
| FreeBSD:15:quarterly | 1.3.1 | 1.3.1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.3.1 | 1.3.1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/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
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build 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
| File | Size | SHA256 |
|---|---|---|
| magic-mime-1.3.1.tbz | 13405 | e0234d03625dba1efac58e57e387672d75a5e9a621ff49acfe0f609c00f13b08 |
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.