pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/ocaml-logs Added devel/ocaml-logs, logging infra...
details: https://anonhg.NetBSD.org/pkgsrc/rev/9bd1ad03a740
branches: trunk
changeset: 331475:9bd1ad03a740
user: jaapb <jaapb%pkgsrc.org@localhost>
date: Tue Mar 19 11:25:41 2019 +0000
description:
Added devel/ocaml-logs, logging infrastructure for OCaml
diffstat:
devel/ocaml-logs/DESCR | 3 ++
devel/ocaml-logs/Makefile | 22 ++++++++++++++++
devel/ocaml-logs/PLIST | 54 +++++++++++++++++++++++++++++++++++++++++
devel/ocaml-logs/buildlink3.mk | 13 +++++++++
devel/ocaml-logs/distinfo | 6 ++++
devel/ocaml-logs/options.mk | 55 ++++++++++++++++++++++++++++++++++++++++++
6 files changed, 153 insertions(+), 0 deletions(-)
diffs (177 lines):
diff -r eeac7567bd7a -r 9bd1ad03a740 devel/ocaml-logs/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-logs/DESCR Tue Mar 19 11:25:41 2019 +0000
@@ -0,0 +1,3 @@
+Logs provides a logging infrastructure for OCaml. Logging is performed on
+sources whose reporting level can be set independently. Log message report is
+decoupled from logging and is handled by a reporter.
diff -r eeac7567bd7a -r 9bd1ad03a740 devel/ocaml-logs/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-logs/Makefile Tue Mar 19 11:25:41 2019 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2019/03/19 11:25:41 jaapb Exp $
+
+DISTNAME= logs-0.6.2
+PKGNAME= ocaml-${DISTNAME}
+CATEGORIES= devel
+MASTER_SITES= https://erratique.ch/software/logs/releases/
+EXTRACT_SUFX= .tbz
+
+MAINTAINER= jaapb%NetBSD.org@localhost
+HOMEPAGE= https://erratique.ch/software/logs/
+COMMENT= Logging infrastructure for OCaml
+LICENSE= isc
+
+USE_LANGUAGES= # none
+
+OCAML_USE_TOPKG= yes
+OCAML_USE_OPAM= yes
+
+.include "options.mk"
+.include "../../devel/ocamlbuild/buildlink3.mk"
+.include "../../mk/ocaml.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r eeac7567bd7a -r 9bd1ad03a740 devel/ocaml-logs/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-logs/PLIST Tue Mar 19 11:25:41 2019 +0000
@@ -0,0 +1,54 @@
+@comment $NetBSD: PLIST,v 1.1 2019/03/19 11:25:41 jaapb Exp $
+${OCAML_SITELIB}/logs/META
+${PLIST.ocaml-opt}${OCAML_SITELIB}/logs/logs.a
+${OCAML_SITELIB}/logs/logs.cma
+${OCAML_SITELIB}/logs/logs.cmi
+${OCAML_SITELIB}/logs/logs.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/logs/logs.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/logs/logs.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/logs/logs.cmxs
+${OCAML_SITELIB}/logs/logs.mli
+${PLIST.browser}${PLIST.ocaml-opt}${OCAML_SITELIB}/logs/logs_browser.a
+${PLIST.browser}${OCAML_SITELIB}/logs/logs_browser.cma
+${PLIST.browser}${OCAML_SITELIB}/logs/logs_browser.cmi
+${PLIST.browser}${OCAML_SITELIB}/logs/logs_browser.cmti
+${PLIST.browser}${PLIST.ocaml-opt}${OCAML_SITELIB}/logs/logs_browser.cmx
+${PLIST.browser}${PLIST.ocaml-opt}${OCAML_SITELIB}/logs/logs_browser.cmxa
+${PLIST.browser}${PLIST.ocaml-opt}${OCAML_SITELIB}/logs/logs_browser.cmxs
+${PLIST.browser}${OCAML_SITELIB}/logs/logs_browser.mli
+${PLIST.cli}${PLIST.ocaml-opt}${OCAML_SITELIB}/logs/logs_cli.a
+${PLIST.cli}${OCAML_SITELIB}/logs/logs_cli.cma
+${PLIST.cli}${OCAML_SITELIB}/logs/logs_cli.cmi
+${PLIST.cli}${OCAML_SITELIB}/logs/logs_cli.cmti
+${PLIST.cli}${PLIST.ocaml-opt}${OCAML_SITELIB}/logs/logs_cli.cmx
+${PLIST.cli}${PLIST.ocaml-opt}${OCAML_SITELIB}/logs/logs_cli.cmxa
+${PLIST.cli}${PLIST.ocaml-opt}${OCAML_SITELIB}/logs/logs_cli.cmxs
+${PLIST.cli}${OCAML_SITELIB}/logs/logs_cli.mli
+${PLIST.fmt}${PLIST.ocaml-opt}${OCAML_SITELIB}/logs/logs_fmt.a
+${PLIST.fmt}${OCAML_SITELIB}/logs/logs_fmt.cma
+${PLIST.fmt}${OCAML_SITELIB}/logs/logs_fmt.cmi
+${PLIST.fmt}${OCAML_SITELIB}/logs/logs_fmt.cmti
+${PLIST.fmt}${PLIST.ocaml-opt}${OCAML_SITELIB}/logs/logs_fmt.cmx
+${PLIST.fmt}${PLIST.ocaml-opt}${OCAML_SITELIB}/logs/logs_fmt.cmxa
+${PLIST.fmt}${PLIST.ocaml-opt}${OCAML_SITELIB}/logs/logs_fmt.cmxs
+${PLIST.fmt}${OCAML_SITELIB}/logs/logs_fmt.mli
+${PLIST.lwt}${PLIST.ocaml-opt}${OCAML_SITELIB}/logs/logs_lwt.a
+${PLIST.lwt}${OCAML_SITELIB}/logs/logs_lwt.cma
+${PLIST.lwt}${OCAML_SITELIB}/logs/logs_lwt.cmi
+${PLIST.lwt}${OCAML_SITELIB}/logs/logs_lwt.cmti
+${PLIST.lwt}${PLIST.ocaml-opt}${OCAML_SITELIB}/logs/logs_lwt.cmx
+${PLIST.lwt}${PLIST.ocaml-opt}${OCAML_SITELIB}/logs/logs_lwt.cmxa
+${PLIST.lwt}${PLIST.ocaml-opt}${OCAML_SITELIB}/logs/logs_lwt.cmxs
+${PLIST.lwt}${OCAML_SITELIB}/logs/logs_lwt.mli
+${PLIST.ocaml-opt}${OCAML_SITELIB}/logs/logs_top.a
+${OCAML_SITELIB}/logs/logs_top.cma
+${PLIST.ocaml-opt}${OCAML_SITELIB}/logs/logs_top.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/logs/logs_top.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/logs/logs_top.cmxs
+${OCAML_SITELIB}/logs/logs_top_init.ml
+${OCAML_SITELIB}/logs/opam
+share/doc/logs/CHANGES.md
+share/doc/logs/LICENSE.md
+share/doc/logs/README.md
+share/doc/logs/tags.ml
+share/doc/logs/tool.ml
diff -r eeac7567bd7a -r 9bd1ad03a740 devel/ocaml-logs/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-logs/buildlink3.mk Tue Mar 19 11:25:41 2019 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2019/03/19 11:25:41 jaapb Exp $
+
+BUILDLINK_TREE+= ocaml-logs
+
+.if !defined(OCAML_LOGS_BUILDLINK3_MK)
+OCAML_LOGS_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-logs+= ocaml-logs>=0.6.2
+BUILDLINK_PKGSRCDIR.ocaml-logs?= ../../devel/ocaml-logs
+
+.endif # OCAML_LOGS_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -ocaml-logs
diff -r eeac7567bd7a -r 9bd1ad03a740 devel/ocaml-logs/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-logs/distinfo Tue Mar 19 11:25:41 2019 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/03/19 11:25:41 jaapb Exp $
+
+SHA1 (logs-0.6.2.tbz) = 39dc2ba598c77738c4b7479ffe433369d0c40acb
+RMD160 (logs-0.6.2.tbz) = df4cf3340846b3c9d1da4b1b928919c0995a1bce
+SHA512 (logs-0.6.2.tbz) = a669e373652bac6789626ad1d58e414c6d156c646bf0706c9d55b04151850113d45a5c28077707514d1a27d46fcc0f90b39b8652ce7a3980f79675e9874db8b4
+Size (logs-0.6.2.tbz) = 18558 bytes
diff -r eeac7567bd7a -r 9bd1ad03a740 devel/ocaml-logs/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-logs/options.mk Tue Mar 19 11:25:41 2019 +0000
@@ -0,0 +1,55 @@
+# $NetBSD: options.mk,v 1.1 2019/03/19 11:25:41 jaapb Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.ocaml-logs
+PKG_SUPPORTED_OPTIONS= fmt cmdliner lwt js_of_ocaml
+PKG_SUGGESTED_OPTIONS= fmt cmdliner
+
+.include "../../mk/bsd.prefs.mk"
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS+= browser cli fmt lwt
+
+###
+### fmt support
+###
+.if !empty(PKG_OPTIONS:Mfmt)
+.include "../../devel/ocaml-fmt/buildlink3.mk"
+PLIST.fmt= yes
+OCAML_TOPKG_FLAGS+= --with-fmt true
+.else
+OCAML_TOPKG_FLAGS+= --with-fmt false
+.endif
+
+###
+### cmdliner support
+###
+.if !empty(PKG_OPTIONS:Mcmdliner)
+.include "../../devel/ocaml-cmdliner/buildlink3.mk"
+PLIST.cli= yes
+OCAML_TOPKG_FLAGS+= --with-cmdliner true
+.else
+OCAML_TOPKG_FLAGS+= --with-cmdliner false
+.endif
+
+###
+### lwt support
+###
+.if !empty(PKG_OPTIONS:Mlwt)
+.include "../../devel/ocaml-lwt/buildlink3.mk"
+PLIST.lwt= yes
+OCAML_TOPKG_FLAGS+= --with-lwt true
+.else
+OCAML_TOPKG_FLAGS+= --with-lwt false
+.endif
+
+###
+### js_of_ocaml support
+###
+.if !empty(PKG_OPTIONS:Mjs_of_ocaml)
+.include "../../devel/js_of_ocaml/buildlink3.mk"
+PLIST.browser= yes
+OCAML_TOPKG_FLAGS+= --with-js_of_ocaml true
+.else
+OCAML_TOPKG_FLAGS+= --with-js_of_ocaml false
+.endif
Home |
Main Index |
Thread Index |
Old Index