notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Some details on the 2023-01-16 website outage.
We just rebooted with several updates: * new HMTLify code * no port maintainer is now highly visible (e.g. * fixed search logic error when using plain/ text details at
Port details
ocaml-cmdliner OCaml module for handling command-line interfaces
1.0.4_1 devel on this many watch lists=1 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout Version of this port present on the latest quarterly branch.
Maintainer: search for ports maintained by this maintainer
Port Added: 2015-05-17 13:01:34
Last Update: 2022-09-07 21:58:51
Commit Hash: fb16dfe
People watching this port, also watch:: ocaml-lwt, osslsigncode, swi-pl
License: ISCL
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb
pkg-plist: as obtained via: make generate-plist
Expand this list (29 items)
Collapse this list.
  1. /usr/local/share/licenses/ocaml-cmdliner-1.0.4_1/
  2. /usr/local/share/licenses/ocaml-cmdliner-1.0.4_1/LICENSE
  3. /usr/local/share/licenses/ocaml-cmdliner-1.0.4_1/ISCL
  4. lib/ocaml/site-lib/cmdliner/META
  5. lib/ocaml/site-lib/cmdliner/cmdliner.a
  6. lib/ocaml/site-lib/cmdliner/cmdliner.cma
  7. lib/ocaml/site-lib/cmdliner/cmdliner.cmi
  8. lib/ocaml/site-lib/cmdliner/cmdliner.cmti
  9. lib/ocaml/site-lib/cmdliner/cmdliner.cmx
  10. lib/ocaml/site-lib/cmdliner/cmdliner.cmxa
  11. lib/ocaml/site-lib/cmdliner/cmdliner.cmxs
  12. lib/ocaml/site-lib/cmdliner/cmdliner.mli
  13. lib/ocaml/site-lib/cmdliner/cmdliner_arg.cmx
  14. lib/ocaml/site-lib/cmdliner/cmdliner_base.cmx
  15. lib/ocaml/site-lib/cmdliner/cmdliner_cline.cmx
  16. lib/ocaml/site-lib/cmdliner/cmdliner_docgen.cmx
  17. lib/ocaml/site-lib/cmdliner/cmdliner_info.cmx
  18. lib/ocaml/site-lib/cmdliner/cmdliner_manpage.cmx
  19. lib/ocaml/site-lib/cmdliner/cmdliner_msg.cmx
  20. lib/ocaml/site-lib/cmdliner/cmdliner_suggest.cmx
  21. lib/ocaml/site-lib/cmdliner/cmdliner_term.cmx
  22. lib/ocaml/site-lib/cmdliner/cmdliner_trie.cmx
  23. lib/ocaml/site-lib/cmdliner/opam
  24. share/doc/ocaml/cmdliner/
  25. share/doc/ocaml/cmdliner/
  26. share/doc/ocaml/cmdliner/
  27. @owner
  28. @group
  29. @mode
Collapse this list.
Dependency lines:
  • ocaml-cmdliner>0:devel/ocaml-cmdliner
To install the port:
cd /usr/ports/devel/ocaml-cmdliner/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/ocaml-cmdliner
  • pkg install ocaml-cmdliner
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: ocaml-cmdliner
Flavors: there is no flavor information for this port.

Packages (timestamps in pop-ups are UTC):
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. ocamlc : lang/ocaml
  2. gmake>=4.3 : devel/gmake
Runtime dependencies:
  1. ocamlc : lang/ocaml
Patch dependencies:
  1. ocamlc : lang/ocaml
Extract dependencies:
  1. ocamlc : lang/ocaml
This port is required by:
for Build
  1. devel/ocaml-uutf

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. lang/js_of_ocaml*
  2. Collapse this list of deleted ports.
for Run

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. lang/js_of_ocaml*
  2. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
Options name:
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
Collapse this list.

Number of commits found: 11

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
07 Sep 2022 21:58:51
commit hash:fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash:fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash:fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash:fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
07 Sep 2022 21:10:59
commit hash:b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash:b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash:b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash:b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
17 Sep 2021 17:12:08
commit hash:5e8a5384cf90a310e4deeaa11a2d71d025c0ffc0commit hash:5e8a5384cf90a310e4deeaa11a2d71d025c0ffc0commit hash:5e8a5384cf90a310e4deeaa11a2d71d025c0ffc0commit hash:5e8a5384cf90a310e4deeaa11a2d71d025c0ffc0 files touched by this commit
Alexey Dokuchaev (danfe) search for other commits by this committer
devel/ocaml-cmdliner: fix installation + other minor changes

- Chase HTTP/1.1 301 redirection when fetching the distfile
- Reword the COMMENT and assume maintainership of the port
- Packages are installed in their dedicated subdirectory under
17 Sep 2021 12:40:10
commit hash:c5a8ab849b253640796e5ac5116238b31c29e513commit hash:c5a8ab849b253640796e5ac5116238b31c29e513commit hash:c5a8ab849b253640796e5ac5116238b31c29e513commit hash:c5a8ab849b253640796e5ac5116238b31c29e513 files touched by this commit
Alexey Dokuchaev (danfe) search for other commits by this committer
devel/ocaml-cmdliner: prepare for OCaml 4.06+

- Update to version 1.0.4, now licensed under ISCL
- Set LICENSE_FILE as it is not just a boilerplate but contains
  actual copyright information
- Drop dependency on `devel/ocaml-ocamlbuild' (unused since v1.0.3)
- Don't hand-roll build and installation routines, use provided
- Convert to static pkg-plist and install documentation files
- Mark as parallel build unsafe for the moment due to this error:

    File "", line 1:
    Error: Corrupted compilation unit description

  or this:

    File "", line 1:
    Error: The files cmdliner_arg.cmi and cmdliner_term.cmi
    make inconsistent assumptions over interface Cmdliner_term
07 Apr 2021 08:09:01
commit hash:cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash:cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash:cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash:cf118ccf875508b9a1c570044c93cfcc82bd455c files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
06 Apr 2021 14:31:07
commit hash:305f148f482daf30dcf728039d03d019f88344ebcommit hash:305f148f482daf30dcf728039d03d019f88344ebcommit hash:305f148f482daf30dcf728039d03d019f88344ebcommit hash:305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
12 Dec 2019 09:40:40
Revision:519856Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Update WWW

Approved by:	portmgr blanket
24 Jun 2019 10:14:57
Revision:505020Original commit files touched by this commit
danfe search for other commits by this committer
Update OCaml to version 4.05.0 (this is the last version where strings
are unsafe by default, which is the main motivation why it was picked,
but not the very latest one) and synchronize the rest of the stack and
dependent ports with it, particularly:

  - Update `devel/ocaml-ocamlbuild' to version 0.14.0 and unbreak,
    register build dependency on all ports that require it (should
    be part of USE_OCAML, but we do not want to make any Mk-related
    changes the for time being)
  - Update `devel/ocaml-camlp4' to version 4.05+2
  - Update `devel/ocaml-camlp5' to version 7.07 (the project had
    moved to GitHub)
  - Mark `devel/ocaml-deriving-ocsigen' as BROKEN for now, it is
    very outdated and requires quite a lot of work
  - Update `x11-toolkits/ocaml-labltk' to version 8.06.3

PR:		218333
Exp-run by:	antoine
14 Dec 2016 21:48:10
Revision:428596Original commit files touched by this commit
johans search for other commits by this committer
Stepping down as maintainer for some ports.
14 Oct 2015 10:48:12
Revision:399245Original commit files touched by this commit
johans search for other commits by this committer
Update ocaml cmdliner to 0.9.8
17 May 2015 13:01:20
Revision:386608Original commit files touched by this commit
johans search for other commits by this committer
Add new port devel/ocaml-cmdliner

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.

This module is required to update lang/js_of_ocaml

Number of commits found: 11