devel/ocaml-magic 0.7.4 FreeBSD
OCaml binding for libmagic(3)
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- LGPL21
- Categories
- devel
- Package size
- 295.6 KiB, 966.9 KiB installed
Description
[ excerpt from developer's www site ]
An ocaml wrapper for the libmagic(3) API. The libmagic API consults on a magic(5) database file in order to provide information to identify the type of a given file.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/ocaml-magic | 0.7.4 |
| DragonFly | devel/ocaml-magic | 0.7.3_7 |
Install
Binary package:
pkg install ocaml-magic
From the ports tree:
cd /usr/ports/devel/ocaml-magic/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ocaml-magic>0:devel/ocaml-magic
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 | 0.7.4 | 0.7.4 | - | 0.7.3_7 | 0.7.4 |
| FreeBSD:14:quarterly | 0.7.4 | 0.7.4 | n/a | 0.7.3_7 | 0.7.4 |
| FreeBSD:15:latest | 0.7.4 | 0.7.4 | n/a | 0.7.3_7 | 0.7.3_7 |
| FreeBSD:15:quarterly | 0.7.4 | 0.7.4 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.7.4 | 0.7.4 | 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 22
- archivers/brotli
- devel/gettext-runtime
- devel/gmake
- devel/ocaml-findlib
- graphics/png
- lang/ocaml
- lang/tcl86
- print/freetype2
- print/indexinfo
- textproc/expat2
- x11-fonts/fontconfig
- x11-fonts/libXft
- x11-toolkits/ocaml-labltk
- x11-toolkits/tk86
- x11/libX11
- x11/libXScrnSaver
- x11/libXau
- x11/libXdmcp
- x11/libXext
- x11/libXrender
- x11/libxcb
- x11/xorgproto
Run dependencies 21
- archivers/brotli
- devel/gettext-runtime
- devel/ocaml-findlib
- graphics/png
- lang/ocaml
- lang/tcl86
- print/freetype2
- print/indexinfo
- textproc/expat2
- x11-fonts/fontconfig
- x11-fonts/libXft
- x11-toolkits/ocaml-labltk
- x11-toolkits/tk86
- x11/libX11
- x11/libXScrnSaver
- x11/libXau
- x11/libXdmcp
- x11/libXext
- x11/libXrender
- x11/libxcb
- x11/xorgproto
No port depends on this one.
Configuration
Options name: devel_magic
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build and/or install documentation |
| EXAMPLES | off | Build and/or install examples |
- USES
- gmake ocaml:findlib,ldconfig
- Service scripts
- none
Files
pkg-plist 28
- %%OCAML_SITELIBDIR%%/magic/META
- %%OCAML_SITELIBDIR%%/magic/dllmagic_stubs.so
- %%OCAML_SITELIBDIR%%/magic/libmagic_stubs.a
- %%OCAML_SITELIBDIR%%/magic/magic.a
- %%OCAML_SITELIBDIR%%/magic/magic.cma
- %%OCAML_SITELIBDIR%%/magic/magic.cmi
- %%OCAML_SITELIBDIR%%/magic/magic.cmx
- %%OCAML_SITELIBDIR%%/magic/magic.cmxa
- %%OCAML_SITELIBDIR%%/magic/magic.mli
- share/doc/ocaml-magic/Magic.html
- share/doc/ocaml-magic/index.html
- share/doc/ocaml-magic/index_attributes.html
- share/doc/ocaml-magic/index_class_types.html
- share/doc/ocaml-magic/index_classes.html
- share/doc/ocaml-magic/index_exceptions.html
- share/doc/ocaml-magic/index_extensions.html
- share/doc/ocaml-magic/index_methods.html
- share/doc/ocaml-magic/index_module_types.html
- share/doc/ocaml-magic/index_modules.html
- share/doc/ocaml-magic/index_types.html
- share/doc/ocaml-magic/index_values.html
- share/doc/ocaml-magic/style.css
- share/doc/ocaml-magic/type_Magic.html
- share/examples/ocaml-magic/Makefile
- share/examples/ocaml-magic/OCamlMakefile
- share/examples/ocaml-magic/file
- share/examples/ocaml-magic/file.ml
- share/examples/ocaml-magic/test.ml
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| ocaml-magic-0.7.4.tar.gz | 61942 | 025d68bc9b6a7f9987defd8157942ffdcba83849e312bf2f890e93bbb3932013 |
Master sites 1
- https://github.com/Chris00/ocaml-magic/releases/download/v0.7.4/
Commit history 0
No commits in the history this site was built from.