pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ocaml-ppx_string Created new package devel/ocaml...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4208659e9a20
branches:  trunk
changeset: 378657:4208659e9a20
user:      jaapb <jaapb%pkgsrc.org@localhost>
date:      Thu May 05 06:17:53 2022 +0000

description:
Created new package devel/ocaml-ppx_string, version 0.15.0.

This package essentially recreates printf, but at a higher level. It is
needed as a dependency for the new version of devel/ocaml-ppx_jane.

diffstat:

 devel/ocaml-ppx_string/DESCR         |   6 ++++++
 devel/ocaml-ppx_string/Makefile      |  22 ++++++++++++++++++++++
 devel/ocaml-ppx_string/PLIST         |  17 +++++++++++++++++
 devel/ocaml-ppx_string/buildlink3.mk |  13 +++++++++++++
 devel/ocaml-ppx_string/distinfo      |   5 +++++
 5 files changed, 63 insertions(+), 0 deletions(-)

diffs (83 lines):

diff -r 1b15eb3dabd3 -r 4208659e9a20 devel/ocaml-ppx_string/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_string/DESCR      Thu May 05 06:17:53 2022 +0000
@@ -0,0 +1,6 @@
+This extension provides a syntax for string interpolation.
+
+In essence, this functions like printf, but at a higher level.
+The resulting string can then be easier to understand, and the
+potential mistake of passing the arguments in the wrong order
+can be avoided.
diff -r 1b15eb3dabd3 -r 4208659e9a20 devel/ocaml-ppx_string/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_string/Makefile   Thu May 05 06:17:53 2022 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2022/05/05 06:17:53 jaapb Exp $
+
+DISTNAME=      ${GITHUB_PROJECT}-0.15.0
+PKGNAME=       ocaml-${DISTNAME}
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=janestreet/}
+GITHUB_PROJECT=        ppx_string
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    jaapb%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/janestreet/ppx_string/
+COMMENT=       Extension for string interpolation
+LICENSE=       mit
+
+USE_LANGUAGES= # none
+OCAML_USE_DUNE=        yes
+
+.include "../../devel/ocaml-base/buildlink3.mk"
+.include "../../devel/ocaml-ppx_base/buildlink3.mk"
+.include "../../devel/ocaml-ppxlib/buildlink3.mk"
+.include "../../mk/ocaml.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 1b15eb3dabd3 -r 4208659e9a20 devel/ocaml-ppx_string/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_string/PLIST      Thu May 05 06:17:53 2022 +0000
@@ -0,0 +1,17 @@
+@comment $NetBSD: PLIST,v 1.1 2022/05/05 06:17:53 jaapb Exp $
+${OCAML_SITELIB}/ppx_string/META
+${OCAML_SITELIB}/ppx_string/dune-package
+${OCAML_SITELIB}/ppx_string/opam
+${OCAML_SITELIB}/ppx_string/ppx.exe
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_string/ppx_string.a
+${OCAML_SITELIB}/ppx_string/ppx_string.cma
+${OCAML_SITELIB}/ppx_string/ppx_string.cmi
+${OCAML_SITELIB}/ppx_string/ppx_string.cmt
+${OCAML_SITELIB}/ppx_string/ppx_string.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_string/ppx_string.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_string/ppx_string.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_string/ppx_string.cmxs
+${OCAML_SITELIB}/ppx_string/ppx_string.ml
+${OCAML_SITELIB}/ppx_string/ppx_string.mli
+share/doc/ppx_string/LICENSE.md
+share/doc/ppx_string/README.org
diff -r 1b15eb3dabd3 -r 4208659e9a20 devel/ocaml-ppx_string/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_string/buildlink3.mk      Thu May 05 06:17:53 2022 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/05/05 06:17:53 jaapb Exp $
+
+BUILDLINK_TREE+=       ocaml-ppx_string
+
+.if !defined(OCAML_PPX_STRING_BUILDLINK3_MK)
+OCAML_PPX_STRING_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-ppx_string+=       ocaml-ppx_string>=0.15.0
+BUILDLINK_PKGSRCDIR.ocaml-ppx_string?=         ../../devel/ocaml-ppx_string
+
+.endif # OCAML_PPX_STRING_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -ocaml-ppx_string
diff -r 1b15eb3dabd3 -r 4208659e9a20 devel/ocaml-ppx_string/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_string/distinfo   Thu May 05 06:17:53 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/05/05 06:17:53 jaapb Exp $
+
+BLAKE2s (ppx_string-0.15.0.tar.gz) = ed159882e07b1cd1a039b17b4f8feeaff51b49bb925b84921cb2a6e19553c7b1
+SHA512 (ppx_string-0.15.0.tar.gz) = bb1819017a6c25d581854e8487a0e5535fe282ec421c91e662c310c0d0aa7704be65484b3f2e721b29409e0eb68f72528e60380e036af066b3b1f1f11ea6cd5e
+Size (ppx_string-0.15.0.tar.gz) = 6071 bytes



Home | Main Index | Thread Index | Old Index