summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjaapb <jaapb@pkgsrc.org>2019-03-25 09:07:07 +0000
committerjaapb <jaapb@pkgsrc.org>2019-03-25 09:07:07 +0000
commit8bee75600346fdd678c29a75df16142f4ed139b0 (patch)
tree95bf6af7fd0a3278d634d117d8cc4ff7c1a3c3bd /devel
parent39e3d2da9e66aa671ba3a7f5ce523a63ddfe7a7e (diff)
downloadpkgsrc-8bee75600346fdd678c29a75df16142f4ed139b0.tar.gz
Added devel/ocaml-spawn, spawning system processes
Diffstat (limited to 'devel')
-rw-r--r--devel/ocaml-spawn/DESCR4
-rw-r--r--devel/ocaml-spawn/Makefile20
-rw-r--r--devel/ocaml-spawn/PLIST19
-rw-r--r--devel/ocaml-spawn/buildlink3.mk13
-rw-r--r--devel/ocaml-spawn/distinfo6
5 files changed, 62 insertions, 0 deletions
diff --git a/devel/ocaml-spawn/DESCR b/devel/ocaml-spawn/DESCR
new file mode 100644
index 00000000000..bd97dc073ae
--- /dev/null
+++ b/devel/ocaml-spawn/DESCR
@@ -0,0 +1,4 @@
+Spawn is a small library exposing only one function: Spawn.spawn. Its purpose is
+to start command in the background. Spawn aims to provide a few missing features
+of Unix.create_process such as providing a working directory as well as
+improving error reporting and performance.
diff --git a/devel/ocaml-spawn/Makefile b/devel/ocaml-spawn/Makefile
new file mode 100644
index 00000000000..bb0a142a3be
--- /dev/null
+++ b/devel/ocaml-spawn/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2019/03/25 09:07:07 jaapb Exp $
+
+GITHUB_PROJECT= spawn
+GITHUB_TAG= v${PKGVERSION_NOREV}
+DISTNAME= ${GITHUB_PROJECT}-0.12.0
+PKGNAME= ocaml-${DISTNAME}
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=janestreet/}
+DIST_SUBDIR= ocaml-${GITHUB_PROJECT}
+
+MAINTAINER= jaapb@NetBSD.org
+HOMEPAGE= https://github.com/janestreet/spawn/
+COMMENT= Spawn sub-processes
+LICENSE= mit
+
+OCAML_USE_DUNE= yes
+
+.include "../../mk/ocaml.mk"
+.include "../../devel/ocaml-ppx_expect/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/ocaml-spawn/PLIST b/devel/ocaml-spawn/PLIST
new file mode 100644
index 00000000000..d3f3c49e71f
--- /dev/null
+++ b/devel/ocaml-spawn/PLIST
@@ -0,0 +1,19 @@
+@comment $NetBSD: PLIST,v 1.1 2019/03/25 09:07:07 jaapb Exp $
+${OCAML_SITELIB}/spawn/META
+${OCAML_SITELIB}/spawn/dune-package
+${OCAML_SITELIB}/spawn/libspawn_stubs.a
+${OCAML_SITELIB}/spawn/opam
+${PLIST.ocaml-opt}${OCAML_SITELIB}/spawn/spawn.a
+${OCAML_SITELIB}/spawn/spawn.cma
+${OCAML_SITELIB}/spawn/spawn.cmi
+${OCAML_SITELIB}/spawn/spawn.cmt
+${OCAML_SITELIB}/spawn/spawn.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/spawn/spawn.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/spawn/spawn.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/spawn/spawn.cmxs
+${OCAML_SITELIB}/spawn/spawn.ml
+${OCAML_SITELIB}/spawn/spawn.mli
+${OCAML_SITELIB}/stublibs/dllspawn_stubs.so
+share/doc/spawn/CHANGES.md
+share/doc/spawn/LICENSE.md
+share/doc/spawn/README.md
diff --git a/devel/ocaml-spawn/buildlink3.mk b/devel/ocaml-spawn/buildlink3.mk
new file mode 100644
index 00000000000..1a89944a760
--- /dev/null
+++ b/devel/ocaml-spawn/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2019/03/25 09:07:07 jaapb Exp $
+
+BUILDLINK_TREE+= ocaml-spawn
+
+.if !defined(OCAML_SPAWN_BUILDLINK3_MK)
+OCAML_SPAWN_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-spawn+= ocaml-spawn>=0.12.0
+BUILDLINK_PKGSRCDIR.ocaml-spawn?= ../../devel/ocaml-spawn
+
+.endif # OCAML_SPAWN_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -ocaml-spawn
diff --git a/devel/ocaml-spawn/distinfo b/devel/ocaml-spawn/distinfo
new file mode 100644
index 00000000000..d4a3baa5a0c
--- /dev/null
+++ b/devel/ocaml-spawn/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/03/25 09:07:07 jaapb Exp $
+
+SHA1 (ocaml-spawn/spawn-0.12.0.tar.gz) = 9edfe08fb1760173f6f9b74c7154df87a8b0a990
+RMD160 (ocaml-spawn/spawn-0.12.0.tar.gz) = 13968a36cd90e843e41bfcb26fbe3b61a19e466a
+SHA512 (ocaml-spawn/spawn-0.12.0.tar.gz) = 98839b272d27daddbb821887a7b2cb2240085b678fdf4fbd1dc34825bd9cd73af7dcac0c03a4e37f4c81d2998fa75e19acf7233db0ecdf98e5c0291da428e813
+Size (ocaml-spawn/spawn-0.12.0.tar.gz) = 13432 bytes