pkgsrc-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/182bf359b515
branches:  trunk
changeset: 331090:182bf359b515
user:      jaapb <jaapb%pkgsrc.org@localhost>
date:      Tue Mar 12 18:16:18 2019 +0000

description:
Added devel/ocaml-fieldslib, for OCaml records as first class values

diffstat:

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

diffs (74 lines):

diff -r 2cf68ff411e7 -r 182bf359b515 devel/ocaml-fieldslib/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-fieldslib/DESCR       Tue Mar 12 18:16:18 2019 +0000
@@ -0,0 +1,3 @@
+Syntax extension to define first class values representing record fields, to get
+and set record fields, iterate and fold over all fields of a record and create
+n ew record values
diff -r 2cf68ff411e7 -r 182bf359b515 devel/ocaml-fieldslib/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-fieldslib/Makefile    Tue Mar 12 18:16:18 2019 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2019/03/12 18:16:18 jaapb Exp $
+
+GITHUB_PROJECT=        fieldslib
+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/fieldslib/
+COMMENT=       OCaml record fields 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 2cf68ff411e7 -r 182bf359b515 devel/ocaml-fieldslib/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-fieldslib/PLIST       Tue Mar 12 18:16:18 2019 +0000
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.1 2019/03/12 18:16:18 jaapb Exp $
+${OCAML_SITELIB}/fieldslib/META
+${OCAML_SITELIB}/fieldslib/dune-package
+${PLIST.ocaml-opt}${OCAML_SITELIB}/fieldslib/fieldslib.a
+${OCAML_SITELIB}/fieldslib/fieldslib.cma
+${OCAML_SITELIB}/fieldslib/fieldslib.cmi
+${OCAML_SITELIB}/fieldslib/fieldslib.cmt
+${PLIST.ocaml-opt}${OCAML_SITELIB}/fieldslib/fieldslib.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/fieldslib/fieldslib.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/fieldslib/fieldslib.cmxs
+${OCAML_SITELIB}/fieldslib/fieldslib.ml
+${OCAML_SITELIB}/fieldslib/opam
+share/doc/fieldslib/CHANGES.md
+share/doc/fieldslib/LICENSE.md
diff -r 2cf68ff411e7 -r 182bf359b515 devel/ocaml-fieldslib/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-fieldslib/buildlink3.mk       Tue Mar 12 18:16:18 2019 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2019/03/12 18:16:18 jaapb Exp $
+
+BUILDLINK_TREE+=       ocaml-fieldslib
+
+.if !defined(OCAML_FIELDSLIB_BUILDLINK3_MK)
+OCAML_FIELDSLIB_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-fieldslib+=        ocaml-fieldslib>=0.12.0
+BUILDLINK_PKGSRCDIR.ocaml-fieldslib?=  ../../devel/ocaml-fieldslib
+.endif # OCAML_FIELDSLIB_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -ocaml-fieldslib
diff -r 2cf68ff411e7 -r 182bf359b515 devel/ocaml-fieldslib/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-fieldslib/distinfo    Tue Mar 12 18:16:18 2019 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/03/12 18:16:18 jaapb Exp $
+
+SHA1 (fieldslib-0.12.0.tar.gz) = 2992121e392dc6fe2aa27769ae205540ac551dc2
+RMD160 (fieldslib-0.12.0.tar.gz) = 6f4a027d040de3e663ba69d85cd541460927c79c
+SHA512 (fieldslib-0.12.0.tar.gz) = 6b9c1b171edd7e8161c07a16728ed17591bcecd5203fcc710fc6d68370187f93399f0616739f3d807dd74c8b1373f9bf68003dedcd3d04af8cc580056859fd23
+Size (fieldslib-0.12.0.tar.gz) = 3682 bytes



Home | Main Index | Thread Index | Old Index