devel/ocaml-cmdliner 1.0.4_4
OCaml module for handling command-line interfaces
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ISCL
- Categories
- devel
- Package size
- 469.1 KiB, 2058.9 KiB installed
Description
Cmdliner is an OCaml module for the declarative definition of command line interfaces.
It provides a simple and compositional mechanism to convert command line arguments to OCaml values and pass them to your functions. The module automatically handles syntax errors, help messages and UNIX man page generation. It supports programs with single or multiple commands (like darcs or git) and respects most of the POSIX and GNU conventions.
Install
As a binary package — by origin, or by package name:
pkg install devel/ocaml-cmdliner
pkg install ocaml-cmdliner
From the ports tree:
cd /usr/ports/devel/ocaml-cmdliner/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ocaml-cmdliner>0:devel/ocaml-cmdliner
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.0.4_4 | 1.0.4_4 | 1.0.4_1 | 1.0.4_4 | 1.0.4_4 |
| FreeBSD:14:quarterly | 1.0.4_4 | 1.0.4_4 | n/a | 1.0.4_4 | 1.0.4_4 |
| FreeBSD:15:latest | 1.0.4_4 | 1.0.4_4 | n/a | 1.0.4_4 | 1.0.4_4 |
| FreeBSD:15:quarterly | 1.0.4_4 | 1.0.4_4 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.0.4_4 | 1.0.4_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.
All build dependencies 4
All run dependencies 1
Required by 17
- converters/ocaml-base64
- converters/ocaml-hex
- databases/ocaml-pgocaml
- devel/ocaml-bos
- devel/ocaml-camlp5
- devel/ocaml-cstruct
- devel/ocaml-dolmen
- devel/ocaml-eqaf
- devel/ocaml-fmt
- devel/ocaml-ipaddr
- devel/ocaml-linol
- devel/ocaml-logs
- devel/ocaml-uutf
- math/abella
- math/alt-ergo
- math/ocaml-ocplib-simplex
- security/ocaml-digestif
Configuration
Options name: devel_cmdliner
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build and/or install documentation |
- USES
- gmake ocaml:ldconfig tar:tbz
- Service scripts
- none
Files
pkg-plist 23
- %%OCAML_SITELIBDIR%%/cmdliner/META
- %%OCAML_SITELIBDIR%%/cmdliner/cmdliner.a
- %%OCAML_SITELIBDIR%%/cmdliner/cmdliner.cma
- %%OCAML_SITELIBDIR%%/cmdliner/cmdliner.cmi
- %%OCAML_SITELIBDIR%%/cmdliner/cmdliner.cmti
- %%OCAML_SITELIBDIR%%/cmdliner/cmdliner.cmx
- %%OCAML_SITELIBDIR%%/cmdliner/cmdliner.cmxa
- %%OCAML_SITELIBDIR%%/cmdliner/cmdliner.cmxs
- %%OCAML_SITELIBDIR%%/cmdliner/cmdliner.mli
- %%OCAML_SITELIBDIR%%/cmdliner/cmdliner_arg.cmx
- %%OCAML_SITELIBDIR%%/cmdliner/cmdliner_base.cmx
- %%OCAML_SITELIBDIR%%/cmdliner/cmdliner_cline.cmx
- %%OCAML_SITELIBDIR%%/cmdliner/cmdliner_docgen.cmx
- %%OCAML_SITELIBDIR%%/cmdliner/cmdliner_info.cmx
- %%OCAML_SITELIBDIR%%/cmdliner/cmdliner_manpage.cmx
- %%OCAML_SITELIBDIR%%/cmdliner/cmdliner_msg.cmx
- %%OCAML_SITELIBDIR%%/cmdliner/cmdliner_suggest.cmx
- %%OCAML_SITELIBDIR%%/cmdliner/cmdliner_term.cmx
- %%OCAML_SITELIBDIR%%/cmdliner/cmdliner_trie.cmx
- %%OCAML_SITELIBDIR%%/cmdliner/opam
- share/doc/ocaml/cmdliner/CHANGES.md
- share/doc/ocaml/cmdliner/LICENSE.md
- share/doc/ocaml/cmdliner/README.md
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| cmdliner-1.0.4.tbz | 49558 | 5c2a93d44af8a38996a2c0f80fbd7970fe4751f104be470cafa069353fc004c0 |
Master sites 1
- https://erratique.ch/software/cmdliner/releases/
Commit history 0
No commits in the history this site was built from.