diff options
author | jaapb <jaapb@pkgsrc.org> | 2019-03-13 10:40:28 +0000 |
---|---|---|
committer | jaapb <jaapb@pkgsrc.org> | 2019-03-13 10:40:28 +0000 |
commit | 3f96ad25ae9cfdb1f7edc2733fd16c29dcca483b (patch) | |
tree | 996921cd0e40403937c69dda6b9c995525650b73 /devel | |
parent | bd62f303f48214a21da2d10de605232e91151f79 (diff) | |
download | pkgsrc-3f96ad25ae9cfdb1f7edc2733fd16c29dcca483b.tar.gz |
Added devel/ocaml-ppx_custom_printf, user-defined string conversions
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ocaml-ppx_custom_printf/DESCR | 5 | ||||
-rw-r--r-- | devel/ocaml-ppx_custom_printf/Makefile | 23 | ||||
-rw-r--r-- | devel/ocaml-ppx_custom_printf/PLIST | 26 | ||||
-rw-r--r-- | devel/ocaml-ppx_custom_printf/buildlink3.mk | 13 | ||||
-rw-r--r-- | devel/ocaml-ppx_custom_printf/distinfo | 6 |
5 files changed, 73 insertions, 0 deletions
diff --git a/devel/ocaml-ppx_custom_printf/DESCR b/devel/ocaml-ppx_custom_printf/DESCR new file mode 100644 index 00000000000..dbaeacc9690 --- /dev/null +++ b/devel/ocaml-ppx_custom_printf/DESCR @@ -0,0 +1,5 @@ +ppx_custom_printf is a ppx rewriter that allows the use of user-defined string +conversion functions in format strings (that is, strings passed to printf, +sprintf, etc.). + +No new syntax is introduced. diff --git a/devel/ocaml-ppx_custom_printf/Makefile b/devel/ocaml-ppx_custom_printf/Makefile new file mode 100644 index 00000000000..d0511458d38 --- /dev/null +++ b/devel/ocaml-ppx_custom_printf/Makefile @@ -0,0 +1,23 @@ +# $NetBSD: Makefile,v 1.1 2019/03/13 10:40:28 jaapb Exp $ + +GITHUB_PROJECT= ppx_custom_printf +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 +HOMEPAGE= https://github.com/janestreet/ppx_custom_printf/ +COMMENT= Printf-style format-strings for user-defined string conversion +LICENSE= mit + +USE_LANGUAGES= # none + +OCAML_USE_DUNE= yes + +.include "../../mk/ocaml.mk" +.include "../../devel/ocaml-base/buildlink3.mk" +.include "../../devel/ocaml-ppx_sexp_conv/buildlink3.mk" +.include "../../devel/ocaml-ppxlib/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/ocaml-ppx_custom_printf/PLIST b/devel/ocaml-ppx_custom_printf/PLIST new file mode 100644 index 00000000000..38ae970f3c6 --- /dev/null +++ b/devel/ocaml-ppx_custom_printf/PLIST @@ -0,0 +1,26 @@ +@comment $NetBSD: PLIST,v 1.1 2019/03/13 10:40:28 jaapb Exp $ +${OCAML_SITELIB}/ppx_custom_printf/META +${OCAML_SITELIB}/ppx_custom_printf/dune-package +${OCAML_SITELIB}/ppx_custom_printf/format_lifter.ml +${OCAML_SITELIB}/ppx_custom_printf/opam +${OCAML_SITELIB}/ppx_custom_printf/ppx.exe +${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_custom_printf/ppx_custom_printf.a +${OCAML_SITELIB}/ppx_custom_printf/ppx_custom_printf.cma +${OCAML_SITELIB}/ppx_custom_printf/ppx_custom_printf.cmi +${OCAML_SITELIB}/ppx_custom_printf/ppx_custom_printf.cmt +${OCAML_SITELIB}/ppx_custom_printf/ppx_custom_printf.cmti +${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_custom_printf/ppx_custom_printf.cmx +${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_custom_printf/ppx_custom_printf.cmxa +${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_custom_printf/ppx_custom_printf.cmxs +${OCAML_SITELIB}/ppx_custom_printf/ppx_custom_printf.ml +${OCAML_SITELIB}/ppx_custom_printf/ppx_custom_printf.mli +${OCAML_SITELIB}/ppx_custom_printf/ppx_custom_printf__.cmi +${OCAML_SITELIB}/ppx_custom_printf/ppx_custom_printf__.cmt +${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_custom_printf/ppx_custom_printf__.cmx +${OCAML_SITELIB}/ppx_custom_printf/ppx_custom_printf__.ml +${OCAML_SITELIB}/ppx_custom_printf/ppx_custom_printf__Format_lifter.cmi +${OCAML_SITELIB}/ppx_custom_printf/ppx_custom_printf__Format_lifter.cmt +${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_custom_printf/ppx_custom_printf__Format_lifter.cmx +share/doc/ppx_custom_printf/CHANGES.md +share/doc/ppx_custom_printf/LICENSE.md +share/doc/ppx_custom_printf/README.md diff --git a/devel/ocaml-ppx_custom_printf/buildlink3.mk b/devel/ocaml-ppx_custom_printf/buildlink3.mk new file mode 100644 index 00000000000..66838727a7c --- /dev/null +++ b/devel/ocaml-ppx_custom_printf/buildlink3.mk @@ -0,0 +1,13 @@ +# $NetBSD: buildlink3.mk,v 1.1 2019/03/13 10:40:28 jaapb Exp $ + +BUILDLINK_TREE+= ocaml-ppx_custom_printf + +.if !defined(OCAML_PPX_CUSTOM_PRINTF_BUILDLINK3_MK) +OCAML_PPX_CUSTOM_PRINTF_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.ocaml-ppx_custom_printf+= ocaml-ppx_custom_printf>=0.12.0 +BUILDLINK_PKGSRCDIR.ocaml-ppx_custom_printf?= ../../devel/ocaml-ppx_custom_printf + +.endif # OCAML_PPX_CUSTOM_PRINTF_BUILDLINK3_MK + +BUILDLINK_TREE+= -ocaml-ppx_custom_printf diff --git a/devel/ocaml-ppx_custom_printf/distinfo b/devel/ocaml-ppx_custom_printf/distinfo new file mode 100644 index 00000000000..1e53984fdda --- /dev/null +++ b/devel/ocaml-ppx_custom_printf/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2019/03/13 10:40:28 jaapb Exp $ + +SHA1 (ppx_custom_printf-0.12.0.tar.gz) = e0e7d57fc74dc3d7117fd37360ca942f13d9a3d4 +RMD160 (ppx_custom_printf-0.12.0.tar.gz) = 006647f5b75071652bf40b30eb8f641efa6c82ac +SHA512 (ppx_custom_printf-0.12.0.tar.gz) = fac2580360276c84344c9a611c0f0211a3c7f0341e09eaae9c55ea7adb0d0d30ed2729892e5da4672b1b3283316d7a30d5373ca4bda429f2f23594a41c5c689a +Size (ppx_custom_printf-0.12.0.tar.gz) = 9296 bytes |