pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ocaml-mmap Added package devel/ocaml-mmap.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2f26ac891545
branches:  trunk
changeset: 395741:2f26ac891545
user:      jaapb <jaapb%pkgsrc.org@localhost>
date:      Mon May 13 10:54:47 2019 +0000

description:
Added package devel/ocaml-mmap.

This is a compatibility package for a function introduced in OCaml 4.06;
it is needed as a dependency for devel/ocaml-lwt.

diffstat:

 devel/ocaml-mmap/DESCR         |   2 ++
 devel/ocaml-mmap/Makefile      |  17 +++++++++++++++++
 devel/ocaml-mmap/PLIST         |  17 +++++++++++++++++
 devel/ocaml-mmap/buildlink3.mk |  12 ++++++++++++
 devel/ocaml-mmap/distinfo      |   6 ++++++
 5 files changed, 54 insertions(+), 0 deletions(-)

diffs (74 lines):

diff -r bd0e66c56056 -r 2f26ac891545 devel/ocaml-mmap/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-mmap/DESCR    Mon May 13 10:54:47 2019 +0000
@@ -0,0 +1,2 @@
+This package provides functions for mapping files in memory,
+as a compatibility layer for pre-4.06 version of OCaml.
diff -r bd0e66c56056 -r 2f26ac891545 devel/ocaml-mmap/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-mmap/Makefile Mon May 13 10:54:47 2019 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2019/05/13 10:54:47 jaapb Exp $
+
+GITHUB_PROJECT=        mmap
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+DISTNAME=      ocaml-${GITHUB_PROJECT}-1.1.0
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=mirage/}
+
+MAINTAINER=    jaapb%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/mirage/mmap/
+COMMENT=       File mapping for Ocaml
+LICENSE=       gnu-lgpl-v2.1
+
+OCAML_USE_DUNE=        yes
+
+.include "../../mk/ocaml.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r bd0e66c56056 -r 2f26ac891545 devel/ocaml-mmap/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-mmap/PLIST    Mon May 13 10:54:47 2019 +0000
@@ -0,0 +1,17 @@
+@comment $NetBSD: PLIST,v 1.1 2019/05/13 10:54:47 jaapb Exp $
+${OCAML_SITELIB}/mmap/META
+${OCAML_SITELIB}/mmap/dune-package
+${PLIST.ocaml-opt}${OCAML_SITELIB}/mmap/mmap.a
+${OCAML_SITELIB}/mmap/mmap.cma
+${OCAML_SITELIB}/mmap/mmap.cmi
+${OCAML_SITELIB}/mmap/mmap.cmt
+${OCAML_SITELIB}/mmap/mmap.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/mmap/mmap.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/mmap/mmap.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/mmap/mmap.cmxs
+${OCAML_SITELIB}/mmap/mmap.ml
+${OCAML_SITELIB}/mmap/mmap.mli
+${OCAML_SITELIB}/mmap/opam
+share/doc/mmap/CHANGES.md
+share/doc/mmap/LICENSE
+share/doc/mmap/README.md
diff -r bd0e66c56056 -r 2f26ac891545 devel/ocaml-mmap/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-mmap/buildlink3.mk    Mon May 13 10:54:47 2019 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2019/05/13 10:54:47 jaapb Exp $
+
+BUILDLINK_TREE+=       ocaml-mmap
+
+.if !defined(OCAML_MMAP_BUILDLINK3_MK)
+OCAML_MMAP_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-mmap+=     ocaml-mmap>=1.1.0
+BUILDLINK_PKGSRCDIR.ocaml-mmap?=       ../../devel/ocaml-mmap
+.endif # OCAML_MMAP_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -ocaml-mmap
diff -r bd0e66c56056 -r 2f26ac891545 devel/ocaml-mmap/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-mmap/distinfo Mon May 13 10:54:47 2019 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/05/13 10:54:47 jaapb Exp $
+
+SHA1 (ocaml-mmap-1.1.0.tar.gz) = a85fab53c7723a33e6e75f43c0a41ec1fbe7821b
+RMD160 (ocaml-mmap-1.1.0.tar.gz) = fceebc6ecc6239d4fd2cbcb7769af15eed1bf091
+SHA512 (ocaml-mmap-1.1.0.tar.gz) = 8540a5ca1cde87cb5c7bf9b987aac1b180e95c13578db2aa6775908df416c4ce6bba7bdd8ee616c9a50d175b58ee84234e7ed7ecc6276b3af6aac0b6ef09c37c
+Size (ocaml-mmap-1.1.0.tar.gz) = 15136 bytes



Home | Main Index | Thread Index | Old Index