pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ocaml-ppx_optional Added devel/ocaml-ppx_optiona...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5aff6ab4262b
branches:  trunk
changeset: 393430:5aff6ab4262b
user:      jaapb <jaapb%pkgsrc.org@localhost>
date:      Tue Mar 19 10:12:39 2019 +0000

description:
Added devel/ocaml-ppx_optional, pattern matching on flat options.

diffstat:

 devel/ocaml-ppx_optional/DESCR         |   2 ++
 devel/ocaml-ppx_optional/Makefile      |  21 +++++++++++++++++++++
 devel/ocaml-ppx_optional/PLIST         |  17 +++++++++++++++++
 devel/ocaml-ppx_optional/buildlink3.mk |  13 +++++++++++++
 devel/ocaml-ppx_optional/distinfo      |   6 ++++++
 5 files changed, 59 insertions(+), 0 deletions(-)

diffs (79 lines):

diff -r 8eacfb83c2a5 -r 5aff6ab4262b devel/ocaml-ppx_optional/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_optional/DESCR    Tue Mar 19 10:12:39 2019 +0000
@@ -0,0 +1,2 @@
+A ppx rewriter that rewrites simple match statements with an
+if-then-else expression.
diff -r 8eacfb83c2a5 -r 5aff6ab4262b devel/ocaml-ppx_optional/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_optional/Makefile Tue Mar 19 10:12:39 2019 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2019/03/19 10:12:39 jaapb Exp $
+
+GITHUB_PROJECT=        ppx_optional
+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/ppx_optional/
+COMMENT=       PPX rewriter for pattern matching on flat options
+LICENSE=       mit
+
+USE_LANGUAGES= # none
+OCAML_USE_DUNE=        yes
+
+.include "../../devel/ocaml-base/buildlink3.mk"
+.include "../../devel/ocaml-ppxlib/buildlink3.mk"
+.include "../../mk/ocaml.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 8eacfb83c2a5 -r 5aff6ab4262b devel/ocaml-ppx_optional/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_optional/PLIST    Tue Mar 19 10:12:39 2019 +0000
@@ -0,0 +1,17 @@
+@comment $NetBSD: PLIST,v 1.1 2019/03/19 10:12:39 jaapb Exp $
+${OCAML_SITELIB}/ppx_optional/META
+${OCAML_SITELIB}/ppx_optional/dune-package
+${OCAML_SITELIB}/ppx_optional/opam
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_optional/ppx_optional.a
+${OCAML_SITELIB}/ppx_optional/ppx_optional.cma
+${OCAML_SITELIB}/ppx_optional/ppx_optional.cmi
+${OCAML_SITELIB}/ppx_optional/ppx_optional.cmt
+${OCAML_SITELIB}/ppx_optional/ppx_optional.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_optional/ppx_optional.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_optional/ppx_optional.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_optional/ppx_optional.cmxs
+${OCAML_SITELIB}/ppx_optional/ppx_optional.ml
+${OCAML_SITELIB}/ppx_optional/ppx_optional.mli
+share/doc/ppx_optional/CHANGES.md
+share/doc/ppx_optional/LICENSE.md
+share/doc/ppx_optional/README.md
diff -r 8eacfb83c2a5 -r 5aff6ab4262b devel/ocaml-ppx_optional/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_optional/buildlink3.mk    Tue Mar 19 10:12:39 2019 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2019/03/19 10:12:39 jaapb Exp $
+
+BUILDLINK_TREE+=       ocaml-ppx_optional
+
+.if !defined(OCAML_PPX_OPTIONAL_BUILDLINK3_MK)
+OCAML_PPX_OPTIONAL_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-ppx_optional+=     ocaml-ppx_optional>=0.12.0
+BUILDLINK_PKGSRCDIR.ocaml-ppx_optional?=       ../../devel/ocaml-ppx_optional
+
+.endif # OCAML_PPX_OPTIONAL_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -ocaml-ppx_optional
diff -r 8eacfb83c2a5 -r 5aff6ab4262b devel/ocaml-ppx_optional/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_optional/distinfo Tue Mar 19 10:12:39 2019 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/03/19 10:12:39 jaapb Exp $
+
+SHA1 (ppx_optional-0.12.0.tar.gz) = 8b9170b80cd447848b92e520d07971faa764bfc9
+RMD160 (ppx_optional-0.12.0.tar.gz) = 9dfff95159b3ee1371f01fe61b53c039048552a3
+SHA512 (ppx_optional-0.12.0.tar.gz) = d797f5d8cad6e7a2dba0c0f4b7e28b1386a65912a2c72fa1b99d8ea04c9ae7ad5450bf0ad38c98629cf89e66f0f1db34070d84804560b31e50b6eecb50fefe50
+Size (ppx_optional-0.12.0.tar.gz) = 5092 bytes



Home | Main Index | Thread Index | Old Index