pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/ocaml-dune-configurator Added devel/ocaml-dune-c...
details: https://anonhg.NetBSD.org/pkgsrc/rev/20900eff4e44
branches: trunk
changeset: 443228:20900eff4e44
user: jaapb <jaapb%pkgsrc.org@localhost>
date: Wed Dec 09 10:52:17 2020 +0000
description:
Added devel/ocaml-dune-configurator, split off from devel/ocaml-dune
This package helps writing availability tests for ocaml-dune; it had to
be split off because of bootstrap procedure changes in dune itself.
diffstat:
devel/ocaml-dune-configurator/DESCR | 8 ++++
devel/ocaml-dune-configurator/Makefile | 18 +++++++++++
devel/ocaml-dune-configurator/PLIST | 47 +++++++++++++++++++++++++++++
devel/ocaml-dune-configurator/buildlink3.mk | 14 ++++++++
4 files changed, 87 insertions(+), 0 deletions(-)
diffs (103 lines):
diff -r a10457da4617 -r 20900eff4e44 devel/ocaml-dune-configurator/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-dune-configurator/DESCR Wed Dec 09 10:52:17 2020 +0000
@@ -0,0 +1,8 @@
+dune-configurator is a small library that helps writing OCaml scripts that
+test features available on the system, in order to generate config.h files
+for instance. Among other things, dune-configurator allows one to:
+
+* test if a C program compiles
+* query pkg-config
+* import #define from OCaml header files
+* generate config.h file
diff -r a10457da4617 -r 20900eff4e44 devel/ocaml-dune-configurator/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-dune-configurator/Makefile Wed Dec 09 10:52:17 2020 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2020/12/09 10:52:17 jaapb Exp $
+
+.include "../../devel/ocaml-dune/Makefile.common"
+
+PKGNAME= ocaml-dune-configurator-${DUNE_VERSION}
+CATEGORIES= devel
+
+MAINTAINER= jaapb%NetBSD.org@localhost
+HOMEPAGE= https://github.com/ocaml/dune/
+COMMENT= Configuration test library for Dune
+
+OCAML_USE_DUNE= yes
+DUNE_BUILD_PACKAGES= dune-configurator
+
+.include "../../mk/ocaml.mk"
+.include "../../devel/ocaml-csexp/buildlink3.mk"
+.include "../../devel/ocaml-result/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r a10457da4617 -r 20900eff4e44 devel/ocaml-dune-configurator/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-dune-configurator/PLIST Wed Dec 09 10:52:17 2020 +0000
@@ -0,0 +1,47 @@
+@comment $NetBSD: PLIST,v 1.1 2020/12/09 10:52:17 jaapb Exp $
+${OCAML_SITELIB}/dune-configurator/.private/configurator__Dune_lang.cmi
+${OCAML_SITELIB}/dune-configurator/.private/configurator__Import.cmi
+${OCAML_SITELIB}/dune-configurator/.private/configurator__Ocaml_config.cmi
+${OCAML_SITELIB}/dune-configurator/META
+${PLIST.ocaml-opt}${OCAML_SITELIB}/dune-configurator/configurator.a
+${OCAML_SITELIB}/dune-configurator/configurator.cma
+${OCAML_SITELIB}/dune-configurator/configurator.cmi
+${OCAML_SITELIB}/dune-configurator/configurator.cmt
+${PLIST.ocaml-opt}${OCAML_SITELIB}/dune-configurator/configurator.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/dune-configurator/configurator.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/dune-configurator/configurator.cmxs
+${OCAML_SITELIB}/dune-configurator/configurator.ml
+${OCAML_SITELIB}/dune-configurator/configurator__.cmi
+${OCAML_SITELIB}/dune-configurator/configurator__.cmt
+${PLIST.ocaml-opt}${OCAML_SITELIB}/dune-configurator/configurator__.cmx
+${OCAML_SITELIB}/dune-configurator/configurator__.ml
+${OCAML_SITELIB}/dune-configurator/configurator__Dune_lang.cmt
+${OCAML_SITELIB}/dune-configurator/configurator__Dune_lang.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/dune-configurator/configurator__Dune_lang.cmx
+${OCAML_SITELIB}/dune-configurator/configurator__Extract_obj.cmi
+${OCAML_SITELIB}/dune-configurator/configurator__Extract_obj.cmt
+${OCAML_SITELIB}/dune-configurator/configurator__Extract_obj.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/dune-configurator/configurator__Extract_obj.cmx
+${OCAML_SITELIB}/dune-configurator/configurator__Import.cmt
+${PLIST.ocaml-opt}${OCAML_SITELIB}/dune-configurator/configurator__Import.cmx
+${OCAML_SITELIB}/dune-configurator/configurator__Ocaml_config.cmt
+${OCAML_SITELIB}/dune-configurator/configurator__Ocaml_config.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/dune-configurator/configurator__Ocaml_config.cmx
+${OCAML_SITELIB}/dune-configurator/configurator__V1.cmi
+${OCAML_SITELIB}/dune-configurator/configurator__V1.cmt
+${OCAML_SITELIB}/dune-configurator/configurator__V1.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/dune-configurator/configurator__V1.cmx
+${OCAML_SITELIB}/dune-configurator/dune-package
+${OCAML_SITELIB}/dune-configurator/dune_lang.ml
+${OCAML_SITELIB}/dune-configurator/dune_lang.mli
+${OCAML_SITELIB}/dune-configurator/extract_obj.ml
+${OCAML_SITELIB}/dune-configurator/extract_obj.mli
+${OCAML_SITELIB}/dune-configurator/import.ml
+${OCAML_SITELIB}/dune-configurator/ocaml_config.ml
+${OCAML_SITELIB}/dune-configurator/ocaml_config.mli
+${OCAML_SITELIB}/dune-configurator/opam
+${OCAML_SITELIB}/dune-configurator/v1.ml
+${OCAML_SITELIB}/dune-configurator/v1.mli
+share/doc/dune-configurator/CHANGES.md
+share/doc/dune-configurator/LICENSE.md
+share/doc/dune-configurator/README.md
diff -r a10457da4617 -r 20900eff4e44 devel/ocaml-dune-configurator/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-dune-configurator/buildlink3.mk Wed Dec 09 10:52:17 2020 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/12/09 10:52:17 jaapb Exp $
+
+BUILDLINK_TREE+= ocaml-dune-configurator
+
+.if !defined(OCAML_DUNE_CONFIGURATOR_BUILDLINK3_MK)
+OCAML_DUNE_CONFIGURATOR_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-dune-configurator+= ocaml-dune-configurator>=2.7.1
+BUILDLINK_PKGSRCDIR.ocaml-dune-configurator?= ../../devel/ocaml-dune-configurator
+
+.include "../../devel/ocaml-dune/buildlink3.mk"
+.endif # OCAML_DUNE_CONFIGURATOR_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -ocaml-dune-configurator
Home |
Main Index |
Thread Index |
Old Index