pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/ocaml-logs
Module Name: pkgsrc
Committed By: jaapb
Date: Tue Mar 19 11:25:41 UTC 2019
Added Files:
pkgsrc/devel/ocaml-logs: DESCR Makefile PLIST buildlink3.mk distinfo
options.mk
Log Message:
Added devel/ocaml-logs, logging infrastructure for OCaml
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/ocaml-logs/DESCR \
pkgsrc/devel/ocaml-logs/Makefile pkgsrc/devel/ocaml-logs/PLIST \
pkgsrc/devel/ocaml-logs/buildlink3.mk pkgsrc/devel/ocaml-logs/distinfo \
pkgsrc/devel/ocaml-logs/options.mk
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-logs/DESCR
diff -u /dev/null pkgsrc/devel/ocaml-logs/DESCR:1.1
--- /dev/null Tue Mar 19 11:25:41 2019
+++ pkgsrc/devel/ocaml-logs/DESCR Tue Mar 19 11:25:41 2019
@@ -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.
Index: pkgsrc/devel/ocaml-logs/Makefile
diff -u /dev/null pkgsrc/devel/ocaml-logs/Makefile:1.1
--- /dev/null Tue Mar 19 11:25:41 2019
+++ pkgsrc/devel/ocaml-logs/Makefile Tue Mar 19 11:25:41 2019
@@ -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"
Index: pkgsrc/devel/ocaml-logs/PLIST
diff -u /dev/null pkgsrc/devel/ocaml-logs/PLIST:1.1
--- /dev/null Tue Mar 19 11:25:41 2019
+++ pkgsrc/devel/ocaml-logs/PLIST Tue Mar 19 11:25:41 2019
@@ -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
Index: pkgsrc/devel/ocaml-logs/buildlink3.mk
diff -u /dev/null pkgsrc/devel/ocaml-logs/buildlink3.mk:1.1
--- /dev/null Tue Mar 19 11:25:41 2019
+++ pkgsrc/devel/ocaml-logs/buildlink3.mk Tue Mar 19 11:25:41 2019
@@ -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
Index: pkgsrc/devel/ocaml-logs/distinfo
diff -u /dev/null pkgsrc/devel/ocaml-logs/distinfo:1.1
--- /dev/null Tue Mar 19 11:25:41 2019
+++ pkgsrc/devel/ocaml-logs/distinfo Tue Mar 19 11:25:41 2019
@@ -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
Index: pkgsrc/devel/ocaml-logs/options.mk
diff -u /dev/null pkgsrc/devel/ocaml-logs/options.mk:1.1
--- /dev/null Tue Mar 19 11:25:41 2019
+++ pkgsrc/devel/ocaml-logs/options.mk Tue Mar 19 11:25:41 2019
@@ -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