git: a9060c101117 - main - devel/ocaml-js_of_ocaml-ocamlbuild: New port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 28 Jun 2026 22:09:31 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a9060c101117d8260bdd711b7df4603643e0f2a8
commit a9060c101117d8260bdd711b7df4603643e0f2a8
Author: Benjamin Jacobs <freebsd@dev.thsi.be>
AuthorDate: 2026-06-28 20:44:37 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2026-06-28 22:08:54 +0000
devel/ocaml-js_of_ocaml-ocamlbuild: New port
This OCaml library provide a non-blocking interface to OpenSSL that is
compatible with application using the "lwt" cooperative threading
library.
WWW: https://ocsigen.org/js_of_ocaml
---
devel/Makefile | 1 +
devel/ocaml-js_of_ocaml-ocamlbuild/Makefile | 27 +++++++++++++++++++++++++++
devel/ocaml-js_of_ocaml-ocamlbuild/distinfo | 3 +++
devel/ocaml-js_of_ocaml-ocamlbuild/pkg-descr | 3 +++
devel/ocaml-js_of_ocaml-ocamlbuild/pkg-plist | 13 +++++++++++++
5 files changed, 47 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index dccd929c95a7..be45a56baa51 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1802,6 +1802,7 @@
SUBDIR += ocaml-hmap
SUBDIR += ocaml-integers
SUBDIR += ocaml-ipaddr
+ SUBDIR += ocaml-js_of_ocaml-ocamlbuild
SUBDIR += ocaml-lacaml
SUBDIR += ocaml-linol
SUBDIR += ocaml-logs
diff --git a/devel/ocaml-js_of_ocaml-ocamlbuild/Makefile b/devel/ocaml-js_of_ocaml-ocamlbuild/Makefile
new file mode 100644
index 000000000000..8cf0da383797
--- /dev/null
+++ b/devel/ocaml-js_of_ocaml-ocamlbuild/Makefile
@@ -0,0 +1,27 @@
+PORTNAME= js_of_ocaml-ocamlbuild
+DISTVERSION= 5.0
+CATEGORIES= devel
+MASTER_SITES= https://github.com/ocsigen/${PORTNAME}/releases/download/${DISTVERSION}/
+PKGNAMEPREFIX= ocaml-
+
+MAINTAINER= freebsd@dev.thsi.be
+COMMENT= Ocamlbuild plugin for Js_of_ocaml
+WWW= https://ocsigen.org/js_of_ocaml
+
+LICENSE= LGPL21+
+
+BUILD_DEPENDS= ${LOCALBASE}/bin/ocamlbuild:devel/ocaml-ocamlbuild
+RUN_DEPENDS= ${LOCALBASE}/bin/ocamlbuild:devel/ocaml-ocamlbuild
+
+USES= ocaml:dune tar:tbz
+
+DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME}
+PORTDOCS= CHANGES.md LICENSE README.md
+
+OPTIONS_DEFINE= DOCS
+
+post-install:
+ @${STRIP_CMD} \
+ ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/${PORTNAME}/ocamlbuild_js_of_ocaml.cmxs
+
+.include <bsd.port.mk>
diff --git a/devel/ocaml-js_of_ocaml-ocamlbuild/distinfo b/devel/ocaml-js_of_ocaml-ocamlbuild/distinfo
new file mode 100644
index 000000000000..bad75cc9b0d2
--- /dev/null
+++ b/devel/ocaml-js_of_ocaml-ocamlbuild/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1752264786
+SHA256 (js_of_ocaml-ocamlbuild-5.0.tbz) = aa59bcbf1ce27bcb2a3eb77a8a2c1ff17e9ddbe0f240e3a198ca1cebb0a1c07b
+SIZE (js_of_ocaml-ocamlbuild-5.0.tbz) = 17855
diff --git a/devel/ocaml-js_of_ocaml-ocamlbuild/pkg-descr b/devel/ocaml-js_of_ocaml-ocamlbuild/pkg-descr
new file mode 100644
index 000000000000..5a920cf91ddc
--- /dev/null
+++ b/devel/ocaml-js_of_ocaml-ocamlbuild/pkg-descr
@@ -0,0 +1,3 @@
+This OCaml library provide a non-blocking interface to OpenSSL that is
+compatible with application using the "lwt" cooperative threading
+library.
diff --git a/devel/ocaml-js_of_ocaml-ocamlbuild/pkg-plist b/devel/ocaml-js_of_ocaml-ocamlbuild/pkg-plist
new file mode 100644
index 000000000000..bb6b28eed14f
--- /dev/null
+++ b/devel/ocaml-js_of_ocaml-ocamlbuild/pkg-plist
@@ -0,0 +1,13 @@
+%%OCAML_SITELIBDIR%%/js_of_ocaml-ocamlbuild/META
+%%OCAML_SITELIBDIR%%/js_of_ocaml-ocamlbuild/dune-package
+%%OCAML_SITELIBDIR%%/js_of_ocaml-ocamlbuild/ocamlbuild_js_of_ocaml.a
+%%OCAML_SITELIBDIR%%/js_of_ocaml-ocamlbuild/ocamlbuild_js_of_ocaml.cma
+%%OCAML_SITELIBDIR%%/js_of_ocaml-ocamlbuild/ocamlbuild_js_of_ocaml.cmi
+%%OCAML_SITELIBDIR%%/js_of_ocaml-ocamlbuild/ocamlbuild_js_of_ocaml.cmt
+%%OCAML_SITELIBDIR%%/js_of_ocaml-ocamlbuild/ocamlbuild_js_of_ocaml.cmti
+%%OCAML_SITELIBDIR%%/js_of_ocaml-ocamlbuild/ocamlbuild_js_of_ocaml.cmx
+%%OCAML_SITELIBDIR%%/js_of_ocaml-ocamlbuild/ocamlbuild_js_of_ocaml.cmxa
+%%OCAML_SITELIBDIR%%/js_of_ocaml-ocamlbuild/ocamlbuild_js_of_ocaml.cmxs
+%%OCAML_SITELIBDIR%%/js_of_ocaml-ocamlbuild/ocamlbuild_js_of_ocaml.ml
+%%OCAML_SITELIBDIR%%/js_of_ocaml-ocamlbuild/ocamlbuild_js_of_ocaml.mli
+%%OCAML_SITELIBDIR%%/js_of_ocaml-ocamlbuild/opam