pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ocaml-variantslib Added devel/ocaml-variantslib, ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5670bf3c199e
branches:  trunk
changeset: 331136:5670bf3c199e
user:      jaapb <jaapb%pkgsrc.org@localhost>
date:      Wed Mar 13 10:53:40 2019 +0000

description:
Added devel/ocaml-variantslib, variant types as first-class values

diffstat:

 devel/ocaml-variantslib/DESCR         |   3 +++
 devel/ocaml-variantslib/Makefile      |  19 +++++++++++++++++++
 devel/ocaml-variantslib/PLIST         |  14 ++++++++++++++
 devel/ocaml-variantslib/buildlink3.mk |  13 +++++++++++++
 devel/ocaml-variantslib/distinfo      |   6 ++++++
 5 files changed, 55 insertions(+), 0 deletions(-)

diffs (75 lines):

diff -r aa83754eb44e -r 5670bf3c199e devel/ocaml-variantslib/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-variantslib/DESCR     Wed Mar 13 10:53:40 2019 +0000
@@ -0,0 +1,3 @@
+Syntax extension to define first class values representing variant types.
+
+Part of Jane Street's alternative standard library for OCaml.
diff -r aa83754eb44e -r 5670bf3c199e devel/ocaml-variantslib/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-variantslib/Makefile  Wed Mar 13 10:53:40 2019 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2019/03/13 10:53:40 jaapb Exp $
+
+GITHUB_PROJECT=        variantslib
+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@localhost
+HOMEPAGE=      https://github.com/janestreet/variantslib/
+COMMENT=       OCaml variants as first-class values
+LICENSE=       mit
+
+OCAML_USE_DUNE=        yes
+
+.include "../../mk/ocaml.mk"
+.include "../../devel/ocaml-base/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r aa83754eb44e -r 5670bf3c199e devel/ocaml-variantslib/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-variantslib/PLIST     Wed Mar 13 10:53:40 2019 +0000
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.1 2019/03/13 10:53:40 jaapb Exp $
+${OCAML_SITELIB}/variantslib/META
+${OCAML_SITELIB}/variantslib/dune-package
+${OCAML_SITELIB}/variantslib/opam
+${PLIST.ocaml-opt}${OCAML_SITELIB}/variantslib/variantslib.a
+${OCAML_SITELIB}/variantslib/variantslib.cma
+${OCAML_SITELIB}/variantslib/variantslib.cmi
+${OCAML_SITELIB}/variantslib/variantslib.cmt
+${PLIST.ocaml-opt}${OCAML_SITELIB}/variantslib/variantslib.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/variantslib/variantslib.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/variantslib/variantslib.cmxs
+${OCAML_SITELIB}/variantslib/variantslib.ml
+share/doc/variantslib/CHANGES.md
+share/doc/variantslib/LICENSE.md
diff -r aa83754eb44e -r 5670bf3c199e devel/ocaml-variantslib/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-variantslib/buildlink3.mk     Wed Mar 13 10:53:40 2019 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2019/03/13 10:53:40 jaapb Exp $
+
+BUILDLINK_TREE+=       ocaml-variantslib
+
+.if !defined(OCAML_VARIANTSLIB_BUILDLINK3_MK)
+OCAML_VARIANTSLIB_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-variantslib+=      ocaml-variantslib>=0.12.0
+BUILDLINK_PKGSRCDIR.ocaml-variantslib?=        ../../devel/ocaml-variantslib
+
+.endif # OCAML_VARIANTSLIB_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -ocaml-variantslib
diff -r aa83754eb44e -r 5670bf3c199e devel/ocaml-variantslib/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-variantslib/distinfo  Wed Mar 13 10:53:40 2019 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/03/13 10:53:40 jaapb Exp $
+
+SHA1 (variantslib-0.12.0.tar.gz) = d6e954c453bc551f4120b9ba73cdda02a70cc513
+RMD160 (variantslib-0.12.0.tar.gz) = 79526d7663180bc1cf7565f06e0a24a05e05ff06
+SHA512 (variantslib-0.12.0.tar.gz) = 1b8f0355832c1329a298d7f2697893b943ac6c6a431665623298507c74b0e0b8e89f00e9a3410e122d4f7e34d83825bd1c21d528694ee992cbf41c7f54b74fde
+Size (variantslib-0.12.0.tar.gz) = 2946 bytes



Home | Main Index | Thread Index | Old Index