pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/ocaml-bigstringaf



Module Name:    pkgsrc
Committed By:   jaapb
Date:           Tue Mar 12 18:09:29 UTC 2019

Added Files:
        pkgsrc/devel/ocaml-bigstringaf: DESCR Makefile PLIST buildlink3.mk
            distinfo

Log Message:
Added devel/ocaml-bigstringaf, bigstring intrinsics and fast blits


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/ocaml-bigstringaf/DESCR \
    pkgsrc/devel/ocaml-bigstringaf/Makefile \
    pkgsrc/devel/ocaml-bigstringaf/PLIST \
    pkgsrc/devel/ocaml-bigstringaf/buildlink3.mk \
    pkgsrc/devel/ocaml-bigstringaf/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/ocaml-bigstringaf/DESCR
diff -u /dev/null pkgsrc/devel/ocaml-bigstringaf/DESCR:1.1
--- /dev/null   Tue Mar 12 18:09:29 2019
+++ pkgsrc/devel/ocaml-bigstringaf/DESCR        Tue Mar 12 18:09:29 2019
@@ -0,0 +1,7 @@
+The OCaml compiler has a bunch of intrinsics for Bigstrings, but they're not
+widely-known, sometimes misused, and programs that use Bigstrings are slower
+than they have to be. And even if a library got that part right and exposed the
+intrinsics properly, the compiler doesn't have any fast blits between Bigstrings
+and other string-like types.
+
+This library implements them.
Index: pkgsrc/devel/ocaml-bigstringaf/Makefile
diff -u /dev/null pkgsrc/devel/ocaml-bigstringaf/Makefile:1.1
--- /dev/null   Tue Mar 12 18:09:29 2019
+++ pkgsrc/devel/ocaml-bigstringaf/Makefile     Tue Mar 12 18:09:29 2019
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2019/03/12 18:09:29 jaapb Exp $
+
+GITHUB_PROJECT=        bigstringaf
+DISTNAME=      ${GITHUB_PROJECT}-0.4.0
+PKGNAME=       ocaml-${DISTNAME}
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=inhabitedtype/}
+
+MAINTAINER=    jaapb%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/inhabitedtype/bigstringaf/
+COMMENT=       Bigstring intrinsics and fast blits based on memcpy/memmmove
+LICENSE=       modified-bsd
+
+USE_LANGUAGES= # none
+OCAML_USE_DUNE=        yes
+
+.include "../../mk/ocaml.mk"
+.include "../../devel/ocaml-base/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/ocaml-bigstringaf/PLIST
diff -u /dev/null pkgsrc/devel/ocaml-bigstringaf/PLIST:1.1
--- /dev/null   Tue Mar 12 18:09:29 2019
+++ pkgsrc/devel/ocaml-bigstringaf/PLIST        Tue Mar 12 18:09:29 2019
@@ -0,0 +1,20 @@
+@comment $NetBSD: PLIST,v 1.1 2019/03/12 18:09:29 jaapb Exp $
+${OCAML_SITELIB}/bigstringaf/META
+${PLIST.ocaml-opt}${OCAML_SITELIB}/bigstringaf/bigstringaf.a
+${OCAML_SITELIB}/bigstringaf/bigstringaf.cma
+${OCAML_SITELIB}/bigstringaf/bigstringaf.cmi
+${OCAML_SITELIB}/bigstringaf/bigstringaf.cmt
+${OCAML_SITELIB}/bigstringaf/bigstringaf.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/bigstringaf/bigstringaf.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/bigstringaf/bigstringaf.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/bigstringaf/bigstringaf.cmxs
+${OCAML_SITELIB}/bigstringaf/bigstringaf.ml
+${OCAML_SITELIB}/bigstringaf/bigstringaf.mli
+${OCAML_SITELIB}/bigstringaf/dune-package
+${OCAML_SITELIB}/bigstringaf/libbigstringaf_stubs.a
+${OCAML_SITELIB}/bigstringaf/opam
+${OCAML_SITELIB}/bigstringaf/runtime.js
+${OCAML_SITELIB}/stublibs/dllbigstringaf_stubs.so
+share/doc/bigstringaf/CHANGES.md
+share/doc/bigstringaf/LICENSE
+share/doc/bigstringaf/README.md
Index: pkgsrc/devel/ocaml-bigstringaf/buildlink3.mk
diff -u /dev/null pkgsrc/devel/ocaml-bigstringaf/buildlink3.mk:1.1
--- /dev/null   Tue Mar 12 18:09:29 2019
+++ pkgsrc/devel/ocaml-bigstringaf/buildlink3.mk        Tue Mar 12 18:09:29 2019
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2019/03/12 18:09:29 jaapb Exp $
+
+BUILDLINK_TREE+=       ocaml-bigstringaf
+
+.if !defined(OCAML_BIGSTRINGAF_BUILDLINK3_MK)
+OCAML_BIGSTRINGAF_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-bigstringaf+=      ocaml-bigstringaf>=0.4.0
+BUILDLINK_PKGSRCDIR.ocaml-bigstringaf?=        ../../devel/ocaml-bigstringaf
+
+.endif # OCAML_BIGSTRINGAF_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -ocaml-bigstringaf
Index: pkgsrc/devel/ocaml-bigstringaf/distinfo
diff -u /dev/null pkgsrc/devel/ocaml-bigstringaf/distinfo:1.1
--- /dev/null   Tue Mar 12 18:09:29 2019
+++ pkgsrc/devel/ocaml-bigstringaf/distinfo     Tue Mar 12 18:09:29 2019
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/03/12 18:09:29 jaapb Exp $
+
+SHA1 (bigstringaf-0.4.0.tar.gz) = ae02b953c510f54f7a3f73296e8ccd66da005d83
+RMD160 (bigstringaf-0.4.0.tar.gz) = c7c5fba54789209174533e9191e0302d387e9ebc
+SHA512 (bigstringaf-0.4.0.tar.gz) = a7300eb45af2a0a8b2efd5a6069d928ab9e8fee256da91c6fb5c4de21d42ecbb23cdabf5b88d9d2e984ed59619523a05f40406c6202f723a4eec61f20663d000
+Size (bigstringaf-0.4.0.tar.gz) = 11329 bytes



Home | Main Index | Thread Index | Old Index