FreeBSD Ports

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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.0.4_41.0.4_41.0.4_11.0.4_41.0.4_4
FreeBSD:14:quarterly1.0.4_41.0.4_4n/a1.0.4_41.0.4_4
FreeBSD:15:latest1.0.4_41.0.4_4n/a1.0.4_41.0.4_4
FreeBSD:15:quarterly1.0.4_41.0.4_4n/an/an/a
FreeBSD:16:latest1.0.4_41.0.4_4n/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.

All build dependencies 4
All run dependencies 1

Configuration

Options name: devel_cmdliner

OptionDefaultDescription
DOCSoffBuild 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
FileSizeSHA256
cmdliner-1.0.4.tbz495585c2a93d44af8a38996a2c0f80fbd7970fe4751f104be470cafa069353fc004c0
Master sites 1
  • https://erratique.ch/software/cmdliner/releases/

Commit history 0

No commits in the history this site was built from.