Volunteers wanted to help translate FreshPorts
Searches without login should now work. You must get asked to click a button.
Port details
ocaml-duration OCaml library for converting time units
0.2.1 devel Σ=0 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 0.2.1Version of this port present on the latest quarterly branch.
Maintainer: freebsd@dev.thsi.be search for ports maintained by this maintainer
Port Added: 2026-06-28 22:12:37
Last Update: 2026-06-28 22:08:53
Commit Hash: ecf3718
License: ISCL
WWW:
https://github.com/hannesm/duration
Description: #
Library to convert between various time units in OCaml. The underlying representation uses nanoseconds on a 64 bits unsigned integer, for a range of about 584 years.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port
Manual pages: #
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist #
Expand this list (19 items)
Collapse this list.
  1. /usr/local/share/licenses/ocaml-duration-0.2.1/catalog.mk
  2. /usr/local/share/licenses/ocaml-duration-0.2.1/LICENSE
  3. /usr/local/share/licenses/ocaml-duration-0.2.1/ISCL
  4. lib/ocaml/site-lib/duration/META
  5. lib/ocaml/site-lib/duration/dune-package
  6. lib/ocaml/site-lib/duration/duration.a
  7. lib/ocaml/site-lib/duration/duration.cma
  8. lib/ocaml/site-lib/duration/duration.cmi
  9. lib/ocaml/site-lib/duration/duration.cmt
  10. lib/ocaml/site-lib/duration/duration.cmti
  11. lib/ocaml/site-lib/duration/duration.cmx
  12. lib/ocaml/site-lib/duration/duration.cmxa
  13. lib/ocaml/site-lib/duration/duration.cmxs
  14. lib/ocaml/site-lib/duration/duration.ml
  15. lib/ocaml/site-lib/duration/duration.mli
  16. lib/ocaml/site-lib/duration/opam
  17. @owner
  18. @group
  19. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ocaml-duration>0:devel/ocaml-duration
To install the port: #
cd /usr/ports/devel/ocaml-duration/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/ocaml-duration
  • pkg install ocaml-duration
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: ocaml-duration
Flavors: there is no flavor information for this port. #
distinfo: #
TIMESTAMP = 1752072436 SHA256 (duration-0.2.1.tbz) = c738c1f38cfb99820c121cd3ddf819de4b2228f0d50eacbd1cc3ce99e7c71e2b SIZE (duration-0.2.1.tbz) = 4699

Packages (timestamps in pop-ups are UTC): #
ocaml-duration
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest0.2.10.2.1--0.2.1
FreeBSD:14:quarterly0.2.10.2.1--0.2.1
FreeBSD:15:latest0.2.10.2.1n/a-n/a
FreeBSD:15:quarterly0.2.10.2.1n/a-n/a
FreeBSD:16:latest0.2.10.2.1n/a-n/a
Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. ocaml-dune>=3.7.1_2 : devel/ocaml-dune
  2. ocamlc : lang/ocaml
Runtime dependencies: #
  1. ocamlc : lang/ocaml
Patch dependencies: #
  1. ocamlc : lang/ocaml
Extract dependencies: #
  1. ocamlc : lang/ocaml
There are no ports dependent upon this port #

Configuration Options: #
===> The following configuration options are available for ocaml-duration-0.2.1: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings
Options name: #
devel_ocaml-duration
USES: #
ocaml:dune tar:tbz
FreshPorts was unable to extract/find any pkg message #
Master Sites: #
Expand this list (1 items)
Collapse this list.
  1. https://github.com/hannesm/duration/releases/download/v0.2.1/
Collapse this list.

Number of commits found: 1 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.2.1
28 Jun 2026 22:08:53
commit hash: ecf37186179995607f52ba7963be2a3fe93388abcommit hash: ecf37186179995607f52ba7963be2a3fe93388abcommit hash: ecf37186179995607f52ba7963be2a3fe93388abcommit hash: ecf37186179995607f52ba7963be2a3fe93388ab files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
Author: Benjamin Jacobs
devel/ocaml-duration: New port

Library to convert between various time units in OCaml. The underlying
representation uses nanoseconds on a 64 bits unsigned integer, for a
range of about 584 years.

WWW: https://github.com/hannesm/duration

Number of commits found: 1