math/ocaml-zarith 1.13_2 FreeBSD
OCaml arithmetic library for arbitrary precision integers
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- LGPL20
- Categories
- math
- Package size
- 228.6 KiB, 1177.3 KiB installed
Description
The Zarith library implements arithmetic and logical operations over arbitrary precision numbers. It uses GMP to efficiently implement arithmetic over large numbers. Small integers are represented as Caml unboxed integers for speed and space economy.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | math/ocaml-zarith | 1.13_2 |
| OpenBSD | math/ocaml-zarith | 1.12p3 |
| NetBSD | math/ocaml-zarith | 1.14nb3 |
| DragonFly | math/ocaml-zarith | 1.13_2 |
Install
Binary package:
pkg install ocaml-zarith
From the ports tree:
cd /usr/ports/math/ocaml-zarith/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ocaml-zarith>0:math/ocaml-zarith
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.13_2 | 1.13_2 | - | 1.13_2 | 1.13_2 |
| FreeBSD:14:quarterly | 1.13_2 | 1.13_2 | n/a | 1.13_2 | 1.13_2 |
| FreeBSD:15:latest | 1.13_2 | 1.13_2 | n/a | 1.13_2 | 1.13_2 |
| FreeBSD:15:quarterly | 1.13_2 | 1.13_2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.13_2 | 1.13_2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Library 1
libgmp.so: math/gmp
The full lists below include those, and their dependencies in turn.
Build dependencies 23
- archivers/brotli
- devel/gettext-runtime
- devel/gmake
- devel/ocaml-findlib
- graphics/png
- lang/ocaml
- lang/tcl86
- math/gmp
- 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 22
- archivers/brotli
- devel/gettext-runtime
- devel/ocaml-findlib
- graphics/png
- lang/ocaml
- lang/tcl86
- math/gmp
- 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
Configuration
Options name: math_${GH_PROJECT:tl}
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build and/or install documentation |
- USES
- gmake localbase:ldflags ocaml:findlib,ldconfig tar:tgz
- Service scripts
- none
Files
pkg-plist 22
- %%OCAML_SITELIBDIR%%/zarith/META
- %%OCAML_SITELIBDIR%%/zarith/big_int_Z.cmi
- %%OCAML_SITELIBDIR%%/zarith/big_int_Z.cmti
- %%OCAML_SITELIBDIR%%/zarith/big_int_Z.cmx
- %%OCAML_SITELIBDIR%%/zarith/big_int_Z.mli
- %%OCAML_SITELIBDIR%%/zarith/dllzarith.so
- %%OCAML_SITELIBDIR%%/zarith/libzarith.a
- %%OCAML_SITELIBDIR%%/zarith/q.cmi
- %%OCAML_SITELIBDIR%%/zarith/q.cmti
- %%OCAML_SITELIBDIR%%/zarith/q.cmx
- %%OCAML_SITELIBDIR%%/zarith/q.mli
- %%OCAML_SITELIBDIR%%/zarith/z.cmi
- %%OCAML_SITELIBDIR%%/zarith/z.cmti
- %%OCAML_SITELIBDIR%%/zarith/z.cmx
- %%OCAML_SITELIBDIR%%/zarith/z.mli
- %%OCAML_SITELIBDIR%%/zarith/zarith.a
- %%OCAML_SITELIBDIR%%/zarith/zarith.cma
- %%OCAML_SITELIBDIR%%/zarith/zarith.cmxa
- %%OCAML_SITELIBDIR%%/zarith/zarith.cmxs
- %%OCAML_SITELIBDIR%%/zarith/zarith.h
- %%OCAML_SITELIBDIR%%/zarith/zarith_top.cma
- %%OCAML_SITELIBDIR%%/zarith/zarith_version.cmx
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| ocaml-Zarith-release-1.13_GH0.tar.gz | 85994 | a5826d33fea0103ad6e66f92583d8e075fb77976de893ffdd73ada0409b3f83b |
Commit history 0
No commits in the history this site was built from.