diff options
author | jaapb <jaapb@pkgsrc.org> | 2017-07-21 10:20:04 +0000 |
---|---|---|
committer | jaapb <jaapb@pkgsrc.org> | 2017-07-21 10:20:04 +0000 |
commit | cdfeaace9dd587f4fb04125f3758050cc04b14ba (patch) | |
tree | b53614b07811fb282855d2e4f1e3e9e5eea52064 /devel/ocaml-compiler-libs | |
parent | 1a0c2eb82eda6a98447d742ff79e728e118246d3 (diff) | |
download | pkgsrc-cdfeaace9dd587f4fb04125f3758050cc04b14ba.tar.gz |
Added package devel/ocaml-compiler-libs, a repackaging of the standard
OCaml compiler libraries, as a prerequisite for an update of
devel/ocaml-ppx_core.
Diffstat (limited to 'devel/ocaml-compiler-libs')
-rw-r--r-- | devel/ocaml-compiler-libs/DESCR | 2 | ||||
-rw-r--r-- | devel/ocaml-compiler-libs/Makefile | 21 | ||||
-rw-r--r-- | devel/ocaml-compiler-libs/PLIST | 37 | ||||
-rw-r--r-- | devel/ocaml-compiler-libs/buildlink3.mk | 12 | ||||
-rw-r--r-- | devel/ocaml-compiler-libs/distinfo | 6 |
5 files changed, 78 insertions, 0 deletions
diff --git a/devel/ocaml-compiler-libs/DESCR b/devel/ocaml-compiler-libs/DESCR new file mode 100644 index 00000000000..b46e9d24a5e --- /dev/null +++ b/devel/ocaml-compiler-libs/DESCR @@ -0,0 +1,2 @@ +This package simply repackages the OCaml compiler libraries so they don't +expose everything at toplevel. diff --git a/devel/ocaml-compiler-libs/Makefile b/devel/ocaml-compiler-libs/Makefile new file mode 100644 index 00000000000..1bf2a93beb3 --- /dev/null +++ b/devel/ocaml-compiler-libs/Makefile @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1 2017/07/21 10:20:04 jaapb Exp $ + +VERSION= 0.9.0 +GITHUB_PROJECT= ocaml-compiler-libs +GITHUB_TAG= v${VERSION} +DISTNAME= ${GITHUB_PROJECT}-${VERSION} +CATEGORIES= devel +MASTER_SITES= ${MASTER_SITE_GITHUB:=janestreet/} + +MAINTAINER= jaapb@NetBSD.org +HOMEPAGE= https://github.com/janestreet/ocaml-compiler-libs/ +COMMENT= Repackaging of OCaml compiler libraries +LICENSE= apache-2.0 + +OCAML_USE_FINDLIB= yes +OCAML_USE_JBUILDER= yes + +OCAML_TOPKG_NAME= ${GITHUB_PROJECT} + +.include "../../mk/ocaml.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/ocaml-compiler-libs/PLIST b/devel/ocaml-compiler-libs/PLIST new file mode 100644 index 00000000000..e06776f1053 --- /dev/null +++ b/devel/ocaml-compiler-libs/PLIST @@ -0,0 +1,37 @@ +@comment $NetBSD: PLIST,v 1.1 2017/07/21 10:20:04 jaapb Exp $ +${OCAML_SITELIB}/ocaml-compiler-libs/META +${PLIST.ocaml-opt}${OCAML_SITELIB}/ocaml-compiler-libs/bytecomp/ocaml_bytecomp.a +${OCAML_SITELIB}/ocaml-compiler-libs/bytecomp/ocaml_bytecomp.cma +${OCAML_SITELIB}/ocaml-compiler-libs/bytecomp/ocaml_bytecomp.cmi +${OCAML_SITELIB}/ocaml-compiler-libs/bytecomp/ocaml_bytecomp.cmt +${PLIST.ocaml-opt}${OCAML_SITELIB}/ocaml-compiler-libs/bytecomp/ocaml_bytecomp.cmx +${PLIST.ocaml-opt}${OCAML_SITELIB}/ocaml-compiler-libs/bytecomp/ocaml_bytecomp.cmxa +${PLIST.ocaml-opt}${OCAML_SITELIB}/ocaml-compiler-libs/bytecomp/ocaml_bytecomp.cmxs +${OCAML_SITELIB}/ocaml-compiler-libs/bytecomp/ocaml_bytecomp.ml +${PLIST.ocaml-opt}${OCAML_SITELIB}/ocaml-compiler-libs/common/ocaml_common.a +${OCAML_SITELIB}/ocaml-compiler-libs/common/ocaml_common.cma +${OCAML_SITELIB}/ocaml-compiler-libs/common/ocaml_common.cmi +${OCAML_SITELIB}/ocaml-compiler-libs/common/ocaml_common.cmt +${PLIST.ocaml-opt}${OCAML_SITELIB}/ocaml-compiler-libs/common/ocaml_common.cmx +${PLIST.ocaml-opt}${OCAML_SITELIB}/ocaml-compiler-libs/common/ocaml_common.cmxa +${PLIST.ocaml-opt}${OCAML_SITELIB}/ocaml-compiler-libs/common/ocaml_common.cmxs +${OCAML_SITELIB}/ocaml-compiler-libs/common/ocaml_common.ml +${OCAML_SITELIB}/ocaml-compiler-libs/opam +${PLIST.ocaml-opt}${OCAML_SITELIB}/ocaml-compiler-libs/shadow/ocaml_shadow.a +${OCAML_SITELIB}/ocaml-compiler-libs/shadow/ocaml_shadow.cma +${OCAML_SITELIB}/ocaml-compiler-libs/shadow/ocaml_shadow.cmi +${OCAML_SITELIB}/ocaml-compiler-libs/shadow/ocaml_shadow.cmt +${PLIST.ocaml-opt}${OCAML_SITELIB}/ocaml-compiler-libs/shadow/ocaml_shadow.cmx +${PLIST.ocaml-opt}${OCAML_SITELIB}/ocaml-compiler-libs/shadow/ocaml_shadow.cmxa +${PLIST.ocaml-opt}${OCAML_SITELIB}/ocaml-compiler-libs/shadow/ocaml_shadow.cmxs +${OCAML_SITELIB}/ocaml-compiler-libs/shadow/ocaml_shadow.ml +${PLIST.ocaml-opt}${OCAML_SITELIB}/ocaml-compiler-libs/toplevel/ocaml_toplevel.a +${OCAML_SITELIB}/ocaml-compiler-libs/toplevel/ocaml_toplevel.cma +${OCAML_SITELIB}/ocaml-compiler-libs/toplevel/ocaml_toplevel.cmi +${OCAML_SITELIB}/ocaml-compiler-libs/toplevel/ocaml_toplevel.cmt +${PLIST.ocaml-opt}${OCAML_SITELIB}/ocaml-compiler-libs/toplevel/ocaml_toplevel.cmx +${PLIST.ocaml-opt}${OCAML_SITELIB}/ocaml-compiler-libs/toplevel/ocaml_toplevel.cmxa +${PLIST.ocaml-opt}${OCAML_SITELIB}/ocaml-compiler-libs/toplevel/ocaml_toplevel.cmxs +${OCAML_SITELIB}/ocaml-compiler-libs/toplevel/ocaml_toplevel.ml +share/doc/ocaml-compiler-libs/LICENSE.txt +share/doc/ocaml-compiler-libs/README.org diff --git a/devel/ocaml-compiler-libs/buildlink3.mk b/devel/ocaml-compiler-libs/buildlink3.mk new file mode 100644 index 00000000000..8fdc6c778c9 --- /dev/null +++ b/devel/ocaml-compiler-libs/buildlink3.mk @@ -0,0 +1,12 @@ +# $NetBSD: buildlink3.mk,v 1.1 2017/07/21 10:20:04 jaapb Exp $ + +BUILDLINK_TREE+= ocaml-compiler-libs + +.if !defined(OCAML_COMPILER_LIBS_BUILDLINK3_MK) +OCAML_COMPILER_LIBS_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.ocaml-compiler-libs+= ocaml-compiler-libs>=0.9.0 +BUILDLINK_PKGSRCDIR.ocaml-compiler-libs?= ../../devel/ocaml-compiler-libs +.endif # OCAML_COMPILER_LIBS_BUILDLINK3_MK + +BUILDLINK_TREE+= -ocaml-compiler-libs diff --git a/devel/ocaml-compiler-libs/distinfo b/devel/ocaml-compiler-libs/distinfo new file mode 100644 index 00000000000..147c2a310fc --- /dev/null +++ b/devel/ocaml-compiler-libs/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2017/07/21 10:20:04 jaapb Exp $ + +SHA1 (ocaml-compiler-libs-0.9.0.tar.gz) = 9af1994913170aed6953ca492076f7a719d3a295 +RMD160 (ocaml-compiler-libs-0.9.0.tar.gz) = 177fba56a9485de27850548741750f1e60c8dca7 +SHA512 (ocaml-compiler-libs-0.9.0.tar.gz) = ee0751bcfb9cb75d272f7af4f7da184c0a8e348384a2481da9dea0245a4133de908a23d0a324e0353397a4f0c5bfd71d40a6a46dbd8e4acea922bad7cdc5ef64 +Size (ocaml-compiler-libs-0.9.0.tar.gz) = 6937 bytes |