diff options
author | jaapb <jaapb@pkgsrc.org> | 2018-06-05 15:37:21 +0000 |
---|---|---|
committer | jaapb <jaapb@pkgsrc.org> | 2018-06-05 15:37:21 +0000 |
commit | cec46115d31b5f7f12ddebb429caba4de2f0749f (patch) | |
tree | 0053fd6255800f18680013e051bdfb63a701f491 /databases | |
parent | 5e981db9e7ad147636c2f7f52d5e56ab12bc822b (diff) | |
download | pkgsrc-cec46115d31b5f7f12ddebb429caba4de2f0749f.tar.gz |
New package databases/ocaml-macaque, a DSL for SQL queries in OCaml.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/ocaml-macaque/DESCR | 5 | ||||
-rw-r--r-- | databases/ocaml-macaque/Makefile | 22 | ||||
-rw-r--r-- | databases/ocaml-macaque/PLIST | 79 | ||||
-rw-r--r-- | databases/ocaml-macaque/buildlink3.mk | 15 | ||||
-rw-r--r-- | databases/ocaml-macaque/distinfo | 6 |
5 files changed, 127 insertions, 0 deletions
diff --git a/databases/ocaml-macaque/DESCR b/databases/ocaml-macaque/DESCR new file mode 100644 index 00000000000..be090a97f85 --- /dev/null +++ b/databases/ocaml-macaque/DESCR @@ -0,0 +1,5 @@ +MaCaQue (or macaque) is a DSL for SQL Queries in Caml. + +It has the following objectives : +- be highly compositional +- use expressive types to avoid runtime errors diff --git a/databases/ocaml-macaque/Makefile b/databases/ocaml-macaque/Makefile new file mode 100644 index 00000000000..f732df73605 --- /dev/null +++ b/databases/ocaml-macaque/Makefile @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.1 2018/06/05 15:37:21 jaapb Exp $ + +GITHUB_PROJECT= macaque +DISTNAME= ${GITHUB_PROJECT}-0.7.4 +PKGNAME= ocaml-${DISTNAME} +CATEGORIES= databases +MASTER_SITES= ${MASTER_SITE_GITHUB:=ocsigen/} + +MAINTAINER= jaapb@NetBSD.org +HOMEPAGE= https://github.com/ocsigen/macaque/ +COMMENT= Language for SQL queries in OCaml +LICENSE= gnu-lgpl-v2.1 + +HAS_CONFIGURE= yes +USE_LANGUAGES= c +OCAML_USE_FINDLIB= yes +OCAML_USE_OASIS_DYNRUN= yes + +.include "../../databases/pgocaml/buildlink3.mk" +.include "../../lang/camlp4/buildlink3.mk" +.include "../../mk/ocaml.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/databases/ocaml-macaque/PLIST b/databases/ocaml-macaque/PLIST new file mode 100644 index 00000000000..88f2e354514 --- /dev/null +++ b/databases/ocaml-macaque/PLIST @@ -0,0 +1,79 @@ +@comment $NetBSD: PLIST,v 1.1 2018/06/05 15:37:21 jaapb Exp $ +${OCAML_SITELIB}/macaque/META +${OCAML_SITELIB}/macaque/check.annot +${OCAML_SITELIB}/macaque/check.cmi +${OCAML_SITELIB}/macaque/check.cmt +${PLIST.ocaml-opt}${OCAML_SITELIB}/macaque/check.cmx +${OCAML_SITELIB}/macaque/check.ml +${OCAML_SITELIB}/macaque/inner_sql.annot +${OCAML_SITELIB}/macaque/inner_sql.cmi +${OCAML_SITELIB}/macaque/inner_sql.cmt +${PLIST.ocaml-opt}${OCAML_SITELIB}/macaque/inner_sql.cmx +${OCAML_SITELIB}/macaque/inner_sql.ml +${PLIST.ocaml-opt}${OCAML_SITELIB}/macaque/macaque.a +${OCAML_SITELIB}/macaque/macaque.cma +${PLIST.ocaml-opt}${OCAML_SITELIB}/macaque/macaque.cmxa +${PLIST.ocaml-opt}${OCAML_SITELIB}/macaque/macaque.cmxs +${OCAML_SITELIB}/macaque/pa_bananas.annot +${OCAML_SITELIB}/macaque/pa_bananas.cmi +${OCAML_SITELIB}/macaque/pa_bananas.cmt +${PLIST.ocaml-opt}${OCAML_SITELIB}/macaque/pa_bananas.cmx +${OCAML_SITELIB}/macaque/pa_bananas.ml +${OCAML_SITELIB}/macaque/pa_macaque.annot +${OCAML_SITELIB}/macaque/pa_macaque.cmi +${OCAML_SITELIB}/macaque/pa_macaque.cmt +${PLIST.ocaml-opt}${OCAML_SITELIB}/macaque/pa_macaque.cmx +${OCAML_SITELIB}/macaque/pa_macaque.ml +${OCAML_SITELIB}/macaque/query.annot +${OCAML_SITELIB}/macaque/query.cmi +${OCAML_SITELIB}/macaque/query.cmt +${OCAML_SITELIB}/macaque/query.cmti +${PLIST.ocaml-opt}${OCAML_SITELIB}/macaque/query.cmx +${OCAML_SITELIB}/macaque/query.mli +${OCAML_SITELIB}/macaque/sql.annot +${OCAML_SITELIB}/macaque/sql.cmi +${OCAML_SITELIB}/macaque/sql.cmt +${OCAML_SITELIB}/macaque/sql.cmti +${PLIST.ocaml-opt}${OCAML_SITELIB}/macaque/sql.cmx +${OCAML_SITELIB}/macaque/sql.mli +${OCAML_SITELIB}/macaque/sql_base.annot +${OCAML_SITELIB}/macaque/sql_base.cmi +${OCAML_SITELIB}/macaque/sql_base.cmt +${PLIST.ocaml-opt}${OCAML_SITELIB}/macaque/sql_base.cmx +${OCAML_SITELIB}/macaque/sql_base.ml +${OCAML_SITELIB}/macaque/sql_builders.annot +${OCAML_SITELIB}/macaque/sql_builders.cmi +${OCAML_SITELIB}/macaque/sql_builders.cmt +${PLIST.ocaml-opt}${OCAML_SITELIB}/macaque/sql_builders.cmx +${OCAML_SITELIB}/macaque/sql_builders.ml +${PLIST.ocaml-opt}${OCAML_SITELIB}/macaque/sql_flatten.cmx +${PLIST.ocaml-opt}${OCAML_SITELIB}/macaque/sql_internals.cmx +${OCAML_SITELIB}/macaque/sql_keywords.annot +${OCAML_SITELIB}/macaque/sql_keywords.cmi +${OCAML_SITELIB}/macaque/sql_keywords.cmt +${PLIST.ocaml-opt}${OCAML_SITELIB}/macaque/sql_keywords.cmx +${OCAML_SITELIB}/macaque/sql_keywords.ml +${OCAML_SITELIB}/macaque/sql_parsers.annot +${OCAML_SITELIB}/macaque/sql_parsers.cmi +${OCAML_SITELIB}/macaque/sql_parsers.cmt +${PLIST.ocaml-opt}${OCAML_SITELIB}/macaque/sql_parsers.cmx +${OCAML_SITELIB}/macaque/sql_parsers.ml +${OCAML_SITELIB}/macaque/sql_printers.annot +${OCAML_SITELIB}/macaque/sql_printers.cmi +${OCAML_SITELIB}/macaque/sql_printers.cmt +${PLIST.ocaml-opt}${OCAML_SITELIB}/macaque/sql_printers.cmx +${OCAML_SITELIB}/macaque/sql_printers.ml +${OCAML_SITELIB}/macaque/sql_public.annot +${OCAML_SITELIB}/macaque/sql_public.cmi +${OCAML_SITELIB}/macaque/sql_public.cmt +${PLIST.ocaml-opt}${OCAML_SITELIB}/macaque/sql_public.cmx +${OCAML_SITELIB}/macaque/sql_public.ml +${OCAML_SITELIB}/macaque/sql_types.annot +${OCAML_SITELIB}/macaque/sql_types.cmi +${OCAML_SITELIB}/macaque/sql_types.cmt +${PLIST.ocaml-opt}${OCAML_SITELIB}/macaque/sql_types.cmx +${OCAML_SITELIB}/macaque/sql_types.ml +${PLIST.ocaml-opt}${OCAML_SITELIB}/macaque/syntax.a +${OCAML_SITELIB}/macaque/syntax.cma +${PLIST.ocaml-opt}${OCAML_SITELIB}/macaque/syntax.cmxa +${PLIST.ocaml-opt}${OCAML_SITELIB}/macaque/syntax.cmxs diff --git a/databases/ocaml-macaque/buildlink3.mk b/databases/ocaml-macaque/buildlink3.mk new file mode 100644 index 00000000000..7a562f6dc67 --- /dev/null +++ b/databases/ocaml-macaque/buildlink3.mk @@ -0,0 +1,15 @@ +# $NetBSD: buildlink3.mk,v 1.1 2018/06/05 15:37:21 jaapb Exp $ + +BUILDLINK_TREE+= ocaml-macaque + +.if !defined(OCAML_MACAQUE_BUILDLINK3_MK) +OCAML_MACAQUE_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.ocaml-macaque+= ocaml-macaque>=0.7.4 +BUILDLINK_PKGSRCDIR.ocaml-macaque?= ../../databases/ocaml-macaque + +.include "../../databases/pgocaml/buildlink3.mk" +.include "../../lang/camlp4/buildlink3.mk" +.endif # OCAML_MACAQUE_BUILDLINK3_MK + +BUILDLINK_TREE+= -ocaml-macaque diff --git a/databases/ocaml-macaque/distinfo b/databases/ocaml-macaque/distinfo new file mode 100644 index 00000000000..18f79c3bb53 --- /dev/null +++ b/databases/ocaml-macaque/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2018/06/05 15:37:21 jaapb Exp $ + +SHA1 (macaque-0.7.4.tar.gz) = 7d1983a6b4e95456e9f3456b6e4ac623db3ae55d +RMD160 (macaque-0.7.4.tar.gz) = 4f01468aa5958500113defe23c555cbeedbf7bdc +SHA512 (macaque-0.7.4.tar.gz) = db664226e58ad3db2dc00e920dcc757242b0bcc8d1b6406e6743afe6cdbe789546af131a00c07a5e2e63ed39b9017c2d8e2f5bbce63a741df58bf14633aae89a +Size (macaque-0.7.4.tar.gz) = 64896 bytes |