pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/js_of_ocaml-ocamlbuild



Module Name:    pkgsrc
Committed By:   jaapb
Date:           Mon May 23 15:09:44 UTC 2022

Added Files:
        pkgsrc/devel/js_of_ocaml-ocamlbuild: DESCR Makefile PLIST buildlink3.mk
            distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/js_of_ocaml-ocamlbuild/DESCR \
    pkgsrc/devel/js_of_ocaml-ocamlbuild/Makefile \
    pkgsrc/devel/js_of_ocaml-ocamlbuild/PLIST \
    pkgsrc/devel/js_of_ocaml-ocamlbuild/buildlink3.mk \
    pkgsrc/devel/js_of_ocaml-ocamlbuild/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/js_of_ocaml-ocamlbuild/DESCR
diff -u /dev/null pkgsrc/devel/js_of_ocaml-ocamlbuild/DESCR:1.1
--- /dev/null   Mon May 23 15:09:44 2022
+++ pkgsrc/devel/js_of_ocaml-ocamlbuild/DESCR   Mon May 23 15:09:44 2022
@@ -0,0 +1,2 @@
+This is a plugin to ocamlbuild that enables compilation from
+OCaml to Javascript using js_of_ocaml.
Index: pkgsrc/devel/js_of_ocaml-ocamlbuild/Makefile
diff -u /dev/null pkgsrc/devel/js_of_ocaml-ocamlbuild/Makefile:1.1
--- /dev/null   Mon May 23 15:09:44 2022
+++ pkgsrc/devel/js_of_ocaml-ocamlbuild/Makefile        Mon May 23 15:09:44 2022
@@ -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"
Index: pkgsrc/devel/js_of_ocaml-ocamlbuild/PLIST
diff -u /dev/null pkgsrc/devel/js_of_ocaml-ocamlbuild/PLIST:1.1
--- /dev/null   Mon May 23 15:09:44 2022
+++ pkgsrc/devel/js_of_ocaml-ocamlbuild/PLIST   Mon May 23 15:09:44 2022
@@ -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
Index: pkgsrc/devel/js_of_ocaml-ocamlbuild/buildlink3.mk
diff -u /dev/null pkgsrc/devel/js_of_ocaml-ocamlbuild/buildlink3.mk:1.1
--- /dev/null   Mon May 23 15:09:44 2022
+++ pkgsrc/devel/js_of_ocaml-ocamlbuild/buildlink3.mk   Mon May 23 15:09:44 2022
@@ -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
Index: pkgsrc/devel/js_of_ocaml-ocamlbuild/distinfo
diff -u /dev/null pkgsrc/devel/js_of_ocaml-ocamlbuild/distinfo:1.1
--- /dev/null   Mon May 23 15:09:44 2022
+++ pkgsrc/devel/js_of_ocaml-ocamlbuild/distinfo        Mon May 23 15:09:44 2022
@@ -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