New package devel/ocaml-configurator

This package, a helper library for gathering system configuration, is
needed as a dependency for ocaml-sqlite3.
This commit is contained in:
jaapb 2017-10-16 08:38:27 +00:00
parent b0bc40ab9c
commit 27889e311b
5 changed files with 61 additions and 0 deletions

View file

@ -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.

View file

@ -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
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"

View file

@ -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

View file

@ -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

View file

@ -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