pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ocaml-configurator New package devel/ocaml-confi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/300c62b38cfc
branches:  trunk
changeset: 370349:300c62b38cfc
user:      jaapb <jaapb%pkgsrc.org@localhost>
date:      Mon Oct 16 08:38:27 2017 +0000

description:
New package devel/ocaml-configurator

This package, a helper library for gathering system configuration, is
needed as a dependency for ocaml-sqlite3.

diffstat:

 devel/ocaml-configurator/DESCR         |   3 +++
 devel/ocaml-configurator/Makefile      |  25 +++++++++++++++++++++++++
 devel/ocaml-configurator/PLIST         |  14 ++++++++++++++
 devel/ocaml-configurator/buildlink3.mk |  13 +++++++++++++
 devel/ocaml-configurator/distinfo      |   6 ++++++
 5 files changed, 61 insertions(+), 0 deletions(-)

diffs (81 lines):

diff -r f76bf0ab4ac7 -r 300c62b38cfc devel/ocaml-configurator/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-configurator/DESCR    Mon Oct 16 08:38:27 2017 +0000
@@ -0,0 +1,3 @@
+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.
diff -r f76bf0ab4ac7 -r 300c62b38cfc devel/ocaml-configurator/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-configurator/Makefile Mon Oct 16 08:38:27 2017 +0000
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2017/10/16 08:38:27 jaapb Exp $
+
+GITHUB_PROJECT=        configurator
+DISTNAME=      ${GITHUB_PROJECT}-0.9.1
+PKGNAME=       ocaml-${DISTNAME}
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=janestreet/}
+
+MAINTAINER=    jaapb%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/janestreet/configurator/
+COMMENT=       Helper library for gathering system configuration
+LICENSE=       apache-2.0
+
+USE_LANGUAGES= # none
+USE_TOOLS+=    gmake
+OCAML_USE_JBUILDER=    yes
+
+.include "../../mk/ocaml.mk"
+.include "../../devel/ocaml-base/buildlink3.mk"
+.include "../../devel/ocaml-ppx_base/buildlink3.mk"
+.include "../../devel/ocaml-ppx_driver/buildlink3.mk"
+.include "../../devel/ocaml-stdio/buildlink3.mk"
+.include "../../devel/ocaml-migrate-parsetree/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r f76bf0ab4ac7 -r 300c62b38cfc devel/ocaml-configurator/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-configurator/PLIST    Mon Oct 16 08:38:27 2017 +0000
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.1 2017/10/16 08:38:27 jaapb Exp $
+${OCAML_SITELIB}/configurator/META
+${PLIST.ocaml-opt}${OCAML_SITELIB}/configurator/configurator.a
+${OCAML_SITELIB}/configurator/configurator.cma
+${OCAML_SITELIB}/configurator/configurator.cmi
+${OCAML_SITELIB}/configurator/configurator.cmt
+${OCAML_SITELIB}/configurator/configurator.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/configurator/configurator.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/configurator/configurator.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/configurator/configurator.cmxs
+${OCAML_SITELIB}/configurator/configurator.mli
+${OCAML_SITELIB}/configurator/opam
+share/doc/configurator/LICENSE.txt
+share/doc/configurator/README.org
diff -r f76bf0ab4ac7 -r 300c62b38cfc devel/ocaml-configurator/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-configurator/buildlink3.mk    Mon Oct 16 08:38:27 2017 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2017/10/16 08:38:27 jaapb Exp $
+
+BUILDLINK_TREE+=       ocaml-configurator
+
+.if !defined(OCAML_CONFIGURATOR_BUILDLINK3_MK)
+OCAML_CONFIGURATOR_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-configurator+=     ocaml-configurator>=0.9.1
+BUILDLINK_PKGSRCDIR.ocaml-configurator?=       ../../devel/ocaml-configurator
+
+.endif # OCAML_CONFIGURATOR_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -ocaml-configurator
diff -r f76bf0ab4ac7 -r 300c62b38cfc devel/ocaml-configurator/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-configurator/distinfo Mon Oct 16 08:38:27 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/10/16 08:38:27 jaapb Exp $
+
+SHA1 (configurator-0.9.1.tar.gz) = acbc6517596493bd976405476a1883048b76a26e
+RMD160 (configurator-0.9.1.tar.gz) = 17fe5e5ac2c5e30fbcdb05c8d1ccc4e05acbec9f
+SHA512 (configurator-0.9.1.tar.gz) = 43d864d3317241dd66829747dd956ac42614cc687bbca23e2575cb1b3ab9d0c628dfbdd8f026bcd4d76cb87cf282d955d6a90f0e69543ee1ee1f01a1efa9b54b
+Size (configurator-0.9.1.tar.gz) = 10231 bytes



Home | Main Index | Thread Index | Old Index