diff options
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ocaml-ppx_optcomp/DESCR | 6 | ||||
-rw-r--r-- | devel/ocaml-ppx_optcomp/Makefile | 23 | ||||
-rw-r--r-- | devel/ocaml-ppx_optcomp/PLIST | 9 | ||||
-rw-r--r-- | devel/ocaml-ppx_optcomp/buildlink3.mk | 15 | ||||
-rw-r--r-- | devel/ocaml-ppx_optcomp/distinfo | 6 |
5 files changed, 59 insertions, 0 deletions
diff --git a/devel/ocaml-ppx_optcomp/DESCR b/devel/ocaml-ppx_optcomp/DESCR new file mode 100644 index 00000000000..4b056ab01aa --- /dev/null +++ b/devel/ocaml-ppx_optcomp/DESCR @@ -0,0 +1,6 @@ +ppx_optcomp stands for Optional Compilation. It is a tool used to handle +optional compilations of pieces of code depending of the word size, the version +of the compiler, ... + +ppx_optcomp can be used a a standalone pre-processor, but is also integrated in +the ppx_driver. diff --git a/devel/ocaml-ppx_optcomp/Makefile b/devel/ocaml-ppx_optcomp/Makefile new file mode 100644 index 00000000000..e7db39e4db4 --- /dev/null +++ b/devel/ocaml-ppx_optcomp/Makefile @@ -0,0 +1,23 @@ +# $NetBSD: Makefile,v 1.1 2016/03/04 15:29:40 jaapb Exp $ + +VERSION= 113.24.00 +GITHUB_PROJECT= ppx_optcomp +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_optcomp/} +COMMENT= Optional compilation for OCaml +LICENSE= apache-2.0 + +HAS_CONFIGURE= yes +USE_LANGUAGES= # none +OCAML_USE_OASIS_DYNRUN= yes + +.include "../../mk/ocaml.mk" +.include "../../devel/ocaml-ppx_core/buildlink3.mk" +.include "../../devel/ocaml-ppx_tools/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/ocaml-ppx_optcomp/PLIST b/devel/ocaml-ppx_optcomp/PLIST new file mode 100644 index 00000000000..ae37db86b1c --- /dev/null +++ b/devel/ocaml-ppx_optcomp/PLIST @@ -0,0 +1,9 @@ +@comment $NetBSD: PLIST,v 1.1 2016/03/04 15:29:40 jaapb Exp $ +${OCAML_SITELIB}/ppx_optcomp/META +${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_optcomp/ppx_optcomp.a +${OCAML_SITELIB}/ppx_optcomp/ppx_optcomp.cma +${OCAML_SITELIB}/ppx_optcomp/ppx_optcomp.cmi +${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_optcomp/ppx_optcomp.cmx +${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_optcomp/ppx_optcomp.cmxa +${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_optcomp/ppx_optcomp.cmxs +${OCAML_SITELIB}/ppx_optcomp/ppx_optcomp.mli diff --git a/devel/ocaml-ppx_optcomp/buildlink3.mk b/devel/ocaml-ppx_optcomp/buildlink3.mk new file mode 100644 index 00000000000..ee7699f1cfb --- /dev/null +++ b/devel/ocaml-ppx_optcomp/buildlink3.mk @@ -0,0 +1,15 @@ +# $NetBSD: buildlink3.mk,v 1.1 2016/03/04 15:29:40 jaapb Exp $ + +BUILDLINK_TREE+= ocaml-ppx_optcomp + +.if !defined(OCAML_PPX_OPTCOMP_BUILDLINK3_MK) +OCAML_PPX_OPTCOMP_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.ocaml-ppx_optcomp+= ocaml-ppx_optcomp>=113.24.00 +BUILDLINK_PKGSRCDIR.ocaml-ppx_optcomp?= ../../devel/ocaml-ppx_optcomp + +.include "../../devel/ocaml-ppx_core/buildlink3.mk" +#.include "../../devel/ocaml-ppx_tools/buildlink3.mk" +.endif # OCAML_PPX_OPTCOMP_BUILDLINK3_MK + +BUILDLINK_TREE+= -ocaml-ppx_optcomp diff --git a/devel/ocaml-ppx_optcomp/distinfo b/devel/ocaml-ppx_optcomp/distinfo new file mode 100644 index 00000000000..d163d93d874 --- /dev/null +++ b/devel/ocaml-ppx_optcomp/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2016/03/04 15:29:40 jaapb Exp $ + +SHA1 (ppx_optcomp-113.24.00.tar.gz) = 227eb2511fe83e399a8bf0bf9f2f60b0d0cbbd4b +RMD160 (ppx_optcomp-113.24.00.tar.gz) = 07d28ce202437b0c455c9ed86c3f85c8f7abe86f +SHA512 (ppx_optcomp-113.24.00.tar.gz) = b8a59d3d7bbd4a8a1bb48cf5e74583fd979b7c4ea0b790adced4e5c36f48ee1928844da11c7400a9df0ff62508d83a1aa625beeb95a0313b5917a2b4308bb874 +Size (ppx_optcomp-113.24.00.tar.gz) = 14615 bytes |