summaryrefslogtreecommitdiff
path: root/devel/ocaml-jst-config
diff options
context:
space:
mode:
authorjaapb <jaapb@pkgsrc.org>2019-03-13 11:39:36 +0000
committerjaapb <jaapb@pkgsrc.org>2019-03-13 11:39:36 +0000
commitbf1533471a7eaab76a38eae5d229ff0d6c3b4c21 (patch)
treedaef4972b6f7ca4cd9aecfbcb989fe7480314138 /devel/ocaml-jst-config
parentda24566841048124837eea7e9943301ebb212ba4 (diff)
downloadpkgsrc-bf1533471a7eaab76a38eae5d229ff0d6c3b4c21.tar.gz
Added devel/ocaml-jst-config, compile time config for Jane Street libs
Diffstat (limited to 'devel/ocaml-jst-config')
-rw-r--r--devel/ocaml-jst-config/DESCR4
-rw-r--r--devel/ocaml-jst-config/Makefile22
-rw-r--r--devel/ocaml-jst-config/PLIST16
-rw-r--r--devel/ocaml-jst-config/buildlink3.mk13
-rw-r--r--devel/ocaml-jst-config/distinfo6
5 files changed, 61 insertions, 0 deletions
diff --git a/devel/ocaml-jst-config/DESCR b/devel/ocaml-jst-config/DESCR
new file mode 100644
index 00000000000..950aa5cf7d1
--- /dev/null
+++ b/devel/ocaml-jst-config/DESCR
@@ -0,0 +1,4 @@
+Defines compile-time constants used in Jane Street libraries.
+
+This package has an unstable interface; we do not recommend using this package
+directly.
diff --git a/devel/ocaml-jst-config/Makefile b/devel/ocaml-jst-config/Makefile
new file mode 100644
index 00000000000..f68ebc03f4f
--- /dev/null
+++ b/devel/ocaml-jst-config/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2019/03/13 11:39:36 jaapb Exp $
+
+GITHUB_PROJECT= jst-config
+GITHUB_TAG= v${PKGVERSION_NOREV}
+DISTNAME= ${GITHUB_PROJECT}-0.12.0
+PKGNAME= ocaml-${DISTNAME}
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=janestreet/}
+
+MAINTAINER= jaapb@NetBSD.org
+HOMEPAGE= https://github.com/janestreet/jst-config/
+COMMENT= Compile-time configuration for Jane Street libraries
+LICENSE= mit
+
+USE_LANGUAGES= # none
+OCAML_USE_DUNE= yes
+
+.include "../../mk/ocaml.mk"
+.include "../../devel/ocaml-base/buildlink3.mk"
+.include "../../devel/ocaml-ppx_assert/buildlink3.mk"
+.include "../../devel/ocaml-stdio/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/ocaml-jst-config/PLIST b/devel/ocaml-jst-config/PLIST
new file mode 100644
index 00000000000..a33a8408869
--- /dev/null
+++ b/devel/ocaml-jst-config/PLIST
@@ -0,0 +1,16 @@
+@comment $NetBSD: PLIST,v 1.1 2019/03/13 11:39:36 jaapb Exp $
+${OCAML_SITELIB}/jst-config/META
+${OCAML_SITELIB}/jst-config/config.h
+${PLIST.ocaml-opt}${OCAML_SITELIB}/jst-config/config_h.a
+${OCAML_SITELIB}/jst-config/config_h.cma
+${OCAML_SITELIB}/jst-config/config_h.cmi
+${OCAML_SITELIB}/jst-config/config_h.cmt
+${PLIST.ocaml-opt}${OCAML_SITELIB}/jst-config/config_h.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/jst-config/config_h.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/jst-config/config_h.cmxs
+${OCAML_SITELIB}/jst-config/config_h.ml
+${OCAML_SITELIB}/jst-config/dune-package
+${OCAML_SITELIB}/jst-config/opam
+${OCAML_SITELIB}/jst-config/rt-flags
+${OCAML_SITELIB}/jst-config/thread_id.h
+share/doc/jst-config/LICENSE.md
diff --git a/devel/ocaml-jst-config/buildlink3.mk b/devel/ocaml-jst-config/buildlink3.mk
new file mode 100644
index 00000000000..e20c53f2eb5
--- /dev/null
+++ b/devel/ocaml-jst-config/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2019/03/13 11:39:36 jaapb Exp $
+
+BUILDLINK_TREE+= ocaml-jst-config
+
+.if !defined(OCAML_JST_CONFIG_BUILDLINK3_MK)
+OCAML_JST_CONFIG_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-jst-config+= ocaml-jst-config>=0.12.0
+BUILDLINK_PKGSRCDIR.ocaml-jst-config?= ../../devel/ocaml-jst-config
+
+.endif # OCAML_JST_CONFIG_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -ocaml-jst-config
diff --git a/devel/ocaml-jst-config/distinfo b/devel/ocaml-jst-config/distinfo
new file mode 100644
index 00000000000..6bef81ac4f2
--- /dev/null
+++ b/devel/ocaml-jst-config/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/03/13 11:39:36 jaapb Exp $
+
+SHA1 (jst-config-0.12.0.tar.gz) = 16ccd9efd14c7e57ab9a10f593734bd798868509
+RMD160 (jst-config-0.12.0.tar.gz) = a343f8373b46019907e30e435b3d252372adc2cb
+SHA512 (jst-config-0.12.0.tar.gz) = ee3ba2830c9e1adedaf71bf4333b6a287bb744ad920d2e11f8af3697eac0858899fc60de3f740c1c97654e0120ac1ac5cad6b182d0f093b19868e23f2339978e
+Size (jst-config-0.12.0.tar.gz) = 5093 bytes