pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/js_of_ocaml-ocamlbuild Added devel/js_of_ocaml-o...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d4ddac76860a
branches:  trunk
changeset: 379791:d4ddac76860a
user:      jaapb <jaapb%pkgsrc.org@localhost>
date:      Mon May 23 15:09:44 2022 +0000

description:
Added devel/js_of_ocaml-ocamlbuild, a js_of_ocaml plugin for ocamlbuild.

This was split off from the main js_of_ocaml distribution; it's a plugin
that uses js_of_ocaml to build to JavaScript.

diffstat:

 devel/js_of_ocaml-ocamlbuild/DESCR         |   2 ++
 devel/js_of_ocaml-ocamlbuild/Makefile      |  28 ++++++++++++++++++++++++++++
 devel/js_of_ocaml-ocamlbuild/PLIST         |  17 +++++++++++++++++
 devel/js_of_ocaml-ocamlbuild/buildlink3.mk |  14 ++++++++++++++
 devel/js_of_ocaml-ocamlbuild/distinfo      |   5 +++++
 5 files changed, 66 insertions(+), 0 deletions(-)

diffs (86 lines):

diff -r cc31adf8ed4b -r d4ddac76860a devel/js_of_ocaml-ocamlbuild/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/js_of_ocaml-ocamlbuild/DESCR        Mon May 23 15:09:44 2022 +0000
@@ -0,0 +1,2 @@
+This is a plugin to ocamlbuild that enables compilation from
+OCaml to Javascript using js_of_ocaml.
diff -r cc31adf8ed4b -r d4ddac76860a devel/js_of_ocaml-ocamlbuild/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/js_of_ocaml-ocamlbuild/Makefile     Mon May 23 15:09:44 2022 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2022/05/23 15:09:44 jaapb Exp $
+#
+
+DISTNAME=      ${GITHUB_PROJECT}-0.0.0.3693
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=ocsigen/}
+GITHUB_PROJECT=        js_of_ocaml-ocamlbuild
+GITHUB_TAG=    852302c
+
+MAINTAINER=    jaapb%NetBSD.org@localhost
+HOMEPAGE=      https://ocsigen.org/js_of_ocaml/
+COMMENT=       Compiler of OCaml bytecode to Javascript
+LICENSE=       gnu-lgpl-v2
+
+USE_TOOLS=     bash
+
+OCAML_USE_FINDLIB=     yes
+OCAML_USE_DUNE=                yes
+
+DUNE_INSTALL_PACKAGES= js_of_ocaml-ocamlbuild
+OPAM_INSTALL_FILES=    ${DUNE_INSTALL_PACKAGES}
+OCAML_FINDLIB_DIRS=    ${DUNE_INSTALL_PACKAGES}
+
+WRKSRC=                ${WRKDIR}/${GITHUB_PROJECT}-852302c8f35b946e2ec275c529a79e46d8749be6
+
+.include "../../mk/ocaml.mk"
+.include "../../devel/ocamlbuild/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r cc31adf8ed4b -r d4ddac76860a devel/js_of_ocaml-ocamlbuild/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/js_of_ocaml-ocamlbuild/PLIST        Mon May 23 15:09:44 2022 +0000
@@ -0,0 +1,17 @@
+@comment $NetBSD: PLIST,v 1.1 2022/05/23 15:09:44 jaapb Exp $
+${OCAML_SITELIB}/js_of_ocaml-ocamlbuild/META
+${OCAML_SITELIB}/js_of_ocaml-ocamlbuild/dune-package
+${PLIST.ocaml-opt}${OCAML_SITELIB}/js_of_ocaml-ocamlbuild/ocamlbuild_js_of_ocaml.a
+${OCAML_SITELIB}/js_of_ocaml-ocamlbuild/ocamlbuild_js_of_ocaml.cma
+${OCAML_SITELIB}/js_of_ocaml-ocamlbuild/ocamlbuild_js_of_ocaml.cmi
+${OCAML_SITELIB}/js_of_ocaml-ocamlbuild/ocamlbuild_js_of_ocaml.cmt
+${OCAML_SITELIB}/js_of_ocaml-ocamlbuild/ocamlbuild_js_of_ocaml.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/js_of_ocaml-ocamlbuild/ocamlbuild_js_of_ocaml.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/js_of_ocaml-ocamlbuild/ocamlbuild_js_of_ocaml.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/js_of_ocaml-ocamlbuild/ocamlbuild_js_of_ocaml.cmxs
+${OCAML_SITELIB}/js_of_ocaml-ocamlbuild/ocamlbuild_js_of_ocaml.ml
+${OCAML_SITELIB}/js_of_ocaml-ocamlbuild/ocamlbuild_js_of_ocaml.mli
+${OCAML_SITELIB}/js_of_ocaml-ocamlbuild/opam
+share/doc/js_of_ocaml-ocamlbuild/CHANGES.md
+share/doc/js_of_ocaml-ocamlbuild/LICENSE
+share/doc/js_of_ocaml-ocamlbuild/README.md
diff -r cc31adf8ed4b -r d4ddac76860a devel/js_of_ocaml-ocamlbuild/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/js_of_ocaml-ocamlbuild/buildlink3.mk        Mon May 23 15:09:44 2022 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/05/23 15:09:44 jaapb Exp $
+
+BUILDLINK_TREE+=       js_of_ocaml-ocamlbuild
+
+.if !defined(JS_OF_OCAML_OCAMLBUILD_BUILDLINK3_MK)
+JS_OF_OCAML_OCAMLBUILD_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.js_of_ocaml-ocamlbuild+= js_of_ocaml-ocamlbuild>=0.0.0.3693
+BUILDLINK_PKGSRCDIR.js_of_ocaml-ocamlbuild?=   ../../devel/js_of_ocaml-ocamlbuild
+
+.include "../../devel/ocamlbuild/buildlink3.mk"
+.endif # JS_OF_OCAML_OCAMLBUILD_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -js_of_ocaml-ocamlbuild
diff -r cc31adf8ed4b -r d4ddac76860a devel/js_of_ocaml-ocamlbuild/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/js_of_ocaml-ocamlbuild/distinfo     Mon May 23 15:09:44 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/05/23 15:09:44 jaapb Exp $
+
+BLAKE2s (js_of_ocaml-ocamlbuild-0.0.0.3693-852302c.tar.gz) = f23a7eb88fb33e455bb135156b6a2eb66f60b88db4df7c24c4ba77f74497ee80
+SHA512 (js_of_ocaml-ocamlbuild-0.0.0.3693-852302c.tar.gz) = 0ba5dd90e8d5c00b988e09ebf8c005c14e2a0ecea29e524af13f161267ad3ce41bfb7afc2d9cf0185ca2ae8344df1156a5efda79e817c13c5f28a468ab1204c1
+Size (js_of_ocaml-ocamlbuild-0.0.0.3693-852302c.tar.gz) = 28465 bytes



Home | Main Index | Thread Index | Old Index