summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjaapb <jaapb>2016-03-04 15:33:50 +0000
committerjaapb <jaapb>2016-03-04 15:33:50 +0000
commit6cb0179f437a09e3ee2ec786f3eaa6377c06518c (patch)
treeb0bf9e8e8f252533c1aedfb08f178f2ed21b5334 /devel
parentca63f2e2aeeffd4720787df2e2551a2c36a86463 (diff)
downloadpkgsrc-6cb0179f437a09e3ee2ec786f3eaa6377c06518c.tar.gz
Added devel/ocaml-ppx_driver 113.24.00, a driver for OCaml AST transformers.
Diffstat (limited to 'devel')
-rw-r--r--devel/ocaml-ppx_driver/DESCR10
-rw-r--r--devel/ocaml-ppx_driver/Makefile22
-rw-r--r--devel/ocaml-ppx_driver/PLIST33
-rw-r--r--devel/ocaml-ppx_driver/buildlink3.mk14
-rw-r--r--devel/ocaml-ppx_driver/distinfo6
5 files changed, 85 insertions, 0 deletions
diff --git a/devel/ocaml-ppx_driver/DESCR b/devel/ocaml-ppx_driver/DESCR
new file mode 100644
index 00000000000..d638d9b3b48
--- /dev/null
+++ b/devel/ocaml-ppx_driver/DESCR
@@ -0,0 +1,10 @@
+A driver is an executable created from a set of OCaml AST transformers linked
+together with a command line frontend.
+
+The aim is to provide a tool that can be used to:
+
+ * easily view the pre-processed version of a file, no need to construct a
+ complex command line: ppx file.ml will do
+ * use a single executable to run several transformations: no need to fork
+ many times just for pre-processing
+ * improved errors for misspelled/misplaced attributes and extension points
diff --git a/devel/ocaml-ppx_driver/Makefile b/devel/ocaml-ppx_driver/Makefile
new file mode 100644
index 00000000000..309d8377f64
--- /dev/null
+++ b/devel/ocaml-ppx_driver/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2016/03/04 15:33:50 jaapb Exp $
+
+VERSION= 113.24.00
+GITHUB_PROJECT= ppx_driver
+DISTNAME= ${GITHUB_PROJECT}-${VERSION}
+PKGNAME= ${GITHUB_PROJECT}-${DISTNAME}
+PKGNAME= ocaml-${DISTNAME}
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=janestreet/}
+
+MAINTAINER= jaapb@NetBSD.org
+HOMEPAGE= ${MASTER_SITE_GITHUB:=janestreet/ppx_driver/}
+COMMENT= Feature-full driver for OCaml AST transformers
+LICENSE= apache-2.0
+
+HAS_CONFIGURE= yes
+USE_LANGUAGES= # none
+OCAML_USE_OASIS_DYNRUN= yes
+
+.include "../../mk/ocaml.mk"
+.include "../../devel/ocaml-ppx_optcomp/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/ocaml-ppx_driver/PLIST b/devel/ocaml-ppx_driver/PLIST
new file mode 100644
index 00000000000..c1a29c508e4
--- /dev/null
+++ b/devel/ocaml-ppx_driver/PLIST
@@ -0,0 +1,33 @@
+@comment $NetBSD: PLIST,v 1.1 2016/03/04 15:33:50 jaapb Exp $
+${OCAML_SITELIB}/ppx_driver/META
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_driver/ppx_driver.a
+${OCAML_SITELIB}/ppx_driver/ppx_driver.cma
+${OCAML_SITELIB}/ppx_driver/ppx_driver.cmi
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_driver/ppx_driver.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_driver/ppx_driver.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_driver/ppx_driver.cmxs
+${OCAML_SITELIB}/ppx_driver/ppx_driver.mli
+${OCAML_SITELIB}/ppx_driver_ocamlbuild/META
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_driver_ocamlbuild/ppx_driver_ocamlbuild.a
+${OCAML_SITELIB}/ppx_driver_ocamlbuild/ppx_driver_ocamlbuild.cma
+${OCAML_SITELIB}/ppx_driver_ocamlbuild/ppx_driver_ocamlbuild.cmi
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_driver_ocamlbuild/ppx_driver_ocamlbuild.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_driver_ocamlbuild/ppx_driver_ocamlbuild.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_driver_ocamlbuild/ppx_driver_ocamlbuild.cmxs
+${OCAML_SITELIB}/ppx_driver_ocamlbuild/ppx_driver_ocamlbuild.mli
+${OCAML_SITELIB}/ppx_driver_runner/META
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_driver_runner/ppx_driver_runner.a
+${OCAML_SITELIB}/ppx_driver_runner/ppx_driver_runner.cma
+${OCAML_SITELIB}/ppx_driver_runner/ppx_driver_runner.cmi
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_driver_runner/ppx_driver_runner.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_driver_runner/ppx_driver_runner.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_driver_runner/ppx_driver_runner.cmxs
+${OCAML_SITELIB}/ppx_driver_runner/ppx_driver_runner.ml
+${OCAML_SITELIB}/ppx_driver_runner_as_ppx/META
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_driver_runner_as_ppx/ppx_driver_runner_as_ppx.a
+${OCAML_SITELIB}/ppx_driver_runner_as_ppx/ppx_driver_runner_as_ppx.cma
+${OCAML_SITELIB}/ppx_driver_runner_as_ppx/ppx_driver_runner_as_ppx.cmi
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_driver_runner_as_ppx/ppx_driver_runner_as_ppx.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_driver_runner_as_ppx/ppx_driver_runner_as_ppx.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_driver_runner_as_ppx/ppx_driver_runner_as_ppx.cmxs
+${OCAML_SITELIB}/ppx_driver_runner_as_ppx/ppx_driver_runner_as_ppx.ml
diff --git a/devel/ocaml-ppx_driver/buildlink3.mk b/devel/ocaml-ppx_driver/buildlink3.mk
new file mode 100644
index 00000000000..8733739bc05
--- /dev/null
+++ b/devel/ocaml-ppx_driver/buildlink3.mk
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2016/03/04 15:33:50 jaapb Exp $
+
+BUILDLINK_TREE+= ocaml-ppx_driver
+
+.if !defined(OCAML_PPX_DRIVER_BUILDLINK3_MK)
+OCAML_PPX_DRIVER_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-ppx_driver+= ocaml-ppx_driver>=113.24.00
+BUILDLINK_PKGSRCDIR.ocaml-ppx_driver?= ../../devel/ocaml-ppx_driver
+
+#.include "../../devel/ocaml-ppx_optcomp/buildlink3.mk"
+.endif # OCAML_PPX_DRIVER_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -ocaml-ppx_driver
diff --git a/devel/ocaml-ppx_driver/distinfo b/devel/ocaml-ppx_driver/distinfo
new file mode 100644
index 00000000000..6e1f7f7aa56
--- /dev/null
+++ b/devel/ocaml-ppx_driver/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/03/04 15:33:50 jaapb Exp $
+
+SHA1 (ppx_driver-113.24.00.tar.gz) = dd1d51d7f503d736b7b2a663d2306127b1e2336a
+RMD160 (ppx_driver-113.24.00.tar.gz) = de0c549d9a148f7a4d9793c5ba62f4d250a7039c
+SHA512 (ppx_driver-113.24.00.tar.gz) = 9006ae89bfa3c63f179d4a15ee3ef117eb92b8b4d6301f620b11cd3e6395b2440088f292450873c217caf6b033f5bf5c057700c0223c587458d1286304cbe877
+Size (ppx_driver-113.24.00.tar.gz) = 15463 bytes