notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Port details
ocaml-ppx_optcomp OCaml syntax extension for optional compilation
0.16.0 develnew! on this many watch lists=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 Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: freebsd@dev.thsi.be search for ports maintained by this maintainer
Port Added: 2026-06-28 22:12:22
Last Update: 2026-06-28 22:08:52
Commit Hash: a88290e
License: MIT
WWW:
https://github.com/janestreet/ppx_optcomp
Description:
Ppx_optcomp is an PPX OCaml syntax extention to introduce conditional compilation in OCaml sources. It includes a simple expression language to evaluate condition predicates.
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 (33 items)
Collapse this list.
  1. /usr/local/share/licenses/ocaml-ppx_optcomp-0.16.0/catalog.mk
  2. /usr/local/share/licenses/ocaml-ppx_optcomp-0.16.0/LICENSE
  3. /usr/local/share/licenses/ocaml-ppx_optcomp-0.16.0/MIT
  4. lib/ocaml/site-lib/ppx_optcomp/META
  5. lib/ocaml/site-lib/ppx_optcomp/cparser.ml
  6. lib/ocaml/site-lib/ppx_optcomp/dune-package
  7. lib/ocaml/site-lib/ppx_optcomp/interpreter.ml
  8. lib/ocaml/site-lib/ppx_optcomp/opam
  9. lib/ocaml/site-lib/ppx_optcomp/ppx_optcomp.a
  10. lib/ocaml/site-lib/ppx_optcomp/ppx_optcomp.cma
  11. lib/ocaml/site-lib/ppx_optcomp/ppx_optcomp.cmi
  12. lib/ocaml/site-lib/ppx_optcomp/ppx_optcomp.cmt
  13. lib/ocaml/site-lib/ppx_optcomp/ppx_optcomp.cmx
  14. lib/ocaml/site-lib/ppx_optcomp/ppx_optcomp.cmxa
  15. lib/ocaml/site-lib/ppx_optcomp/ppx_optcomp.cmxs
  16. lib/ocaml/site-lib/ppx_optcomp/ppx_optcomp.ml
  17. lib/ocaml/site-lib/ppx_optcomp/ppx_optcomp__.cmi
  18. lib/ocaml/site-lib/ppx_optcomp/ppx_optcomp__.cmt
  19. lib/ocaml/site-lib/ppx_optcomp/ppx_optcomp__.cmx
  20. lib/ocaml/site-lib/ppx_optcomp/ppx_optcomp__.ml
  21. lib/ocaml/site-lib/ppx_optcomp/ppx_optcomp__Cparser.cmi
  22. lib/ocaml/site-lib/ppx_optcomp/ppx_optcomp__Cparser.cmt
  23. lib/ocaml/site-lib/ppx_optcomp/ppx_optcomp__Cparser.cmx
  24. lib/ocaml/site-lib/ppx_optcomp/ppx_optcomp__Interpreter.cmi
  25. lib/ocaml/site-lib/ppx_optcomp/ppx_optcomp__Interpreter.cmt
  26. lib/ocaml/site-lib/ppx_optcomp/ppx_optcomp__Interpreter.cmx
  27. lib/ocaml/site-lib/ppx_optcomp/ppx_optcomp__Token.cmi
  28. lib/ocaml/site-lib/ppx_optcomp/ppx_optcomp__Token.cmt
  29. lib/ocaml/site-lib/ppx_optcomp/ppx_optcomp__Token.cmx
  30. lib/ocaml/site-lib/ppx_optcomp/token.ml
  31. @owner
  32. @group
  33. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ocaml-ppx_optcomp>0:devel/ocaml-ppx_optcomp
To install the port:
cd /usr/ports/devel/ocaml-ppx_optcomp/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/ocaml-ppx_optcomp
  • pkg install ocaml-ppx_optcomp
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: ocaml-ppx_optcomp
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1710626966 SHA256 (janestreet-ppx_optcomp-v0.16.0_GH0.tar.gz) = 22782ce22423612eecf9bc49d36ba51dd32416feed7b28e81364fb27211aff02 SIZE (janestreet-ppx_optcomp-v0.16.0_GH0.tar.gz) = 16789

Packages (timestamps in pop-ups are UTC):
ocaml-ppx_optcomp
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-----n/an/an/a
FreeBSD:13:quarterly-----n/an/an/a
FreeBSD:14:latest0.16.0---0.16.0---
FreeBSD:14:quarterly--------
FreeBSD:15:latest-0.16.0n/a-n/an/a--
FreeBSD:15:quarterly--n/a-n/an/a--
FreeBSD:16:latest-0.16.0n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. META : devel/ocaml-base
  2. META : devel/ocaml-ppxlib
  3. META : devel/ocaml-stdio
  4. ocaml-dune>=3.7.1_2 : devel/ocaml-dune
  5. ocamlc : lang/ocaml
Runtime dependencies:
  1. META : devel/ocaml-base
  2. META : devel/ocaml-ppxlib
  3. META : devel/ocaml-stdio
  4. ocamlc : lang/ocaml
Patch dependencies:
  1. ocamlc : lang/ocaml
Extract dependencies:
  1. ocamlc : lang/ocaml
This port is required by:
for Build
  1. databases/ocaml-pgocaml

Configuration Options:
===> The following configuration options are available for ocaml-ppx_optcomp-0.16.0: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings
Options name:
devel_ocaml-ppx_optcomp
USES:
ocaml:dune
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/janestreet/ppx_optcomp/tar.gz/v0.16.0?dummy=/
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.16.0
28 Jun 2026 22:08:52
commit hash: a88290ec739d1bb93a2b2d9bbff610c8e2adc12fcommit hash: a88290ec739d1bb93a2b2d9bbff610c8e2adc12fcommit hash: a88290ec739d1bb93a2b2d9bbff610c8e2adc12fcommit hash: a88290ec739d1bb93a2b2d9bbff610c8e2adc12f files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
Author: Benjamin Jacobs
devel/ocaml-ppx_optcomp: New port

Ppx_optcomp is an PPX OCaml syntax extention to introduce conditional
compilation in OCaml sources. It includes a simple expression language
to evaluate condition predicates.

WWW: https://github.com/janestreet/ppx_optcomp

Number of commits found: 1