diff options
author | jaapb <jaapb@pkgsrc.org> | 2019-07-15 10:45:28 +0000 |
---|---|---|
committer | jaapb <jaapb@pkgsrc.org> | 2019-07-15 10:45:28 +0000 |
commit | efc152cd0cc8aa90effd4fc05aed66e06f4242c8 (patch) | |
tree | 79710c1d9652882accf773670d6c1e0523c9d250 /devel | |
parent | f14f7ee58d272c964076c2b0ec41795cb42c4a80 (diff) | |
download | pkgsrc-efc152cd0cc8aa90effd4fc05aed66e06f4242c8.tar.gz |
Added devel/ocaml-ppxfind, an ocamlfind tool for ppx
Needed as a dependency for a new version of devel/ocaml-ppx_deriving.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ocaml-ppxfind/DESCR | 3 | ||||
-rw-r--r-- | devel/ocaml-ppxfind/Makefile | 19 | ||||
-rw-r--r-- | devel/ocaml-ppxfind/PLIST | 8 | ||||
-rw-r--r-- | devel/ocaml-ppxfind/buildlink3.mk | 13 | ||||
-rw-r--r-- | devel/ocaml-ppxfind/distinfo | 6 |
5 files changed, 49 insertions, 0 deletions
diff --git a/devel/ocaml-ppxfind/DESCR b/devel/ocaml-ppxfind/DESCR new file mode 100644 index 00000000000..4397fcf2dbe --- /dev/null +++ b/devel/ocaml-ppxfind/DESCR @@ -0,0 +1,3 @@ +Ppxfind is a small command line tool that allow to apply ppx rewriters installed +on the system on a file. It supports both new style ppx rewriters (driverised) +and old style ones. diff --git a/devel/ocaml-ppxfind/Makefile b/devel/ocaml-ppxfind/Makefile new file mode 100644 index 00000000000..e8aa1a099d4 --- /dev/null +++ b/devel/ocaml-ppxfind/Makefile @@ -0,0 +1,19 @@ +# $NetBSD: Makefile,v 1.1 2019/07/15 10:45:28 jaapb Exp $ + +GITHUB_PROJECT= ppxfind +DISTNAME= ${GITHUB_PROJECT}-1.3 +PKGNAME= ocaml-${DISTNAME} +CATEGORIES= devel +MASTER_SITES= ${MASTER_SITE_GITHUB:=diml/} + +MAINTAINER= jaapb@NetBSD.org +HOMEPAGE= https://github.com/diml/ppxfind/ +COMMENT= OCamlfind ppx tool +LICENSE= modified-bsd + +OCAML_USE_DUNE= yes +INSTALL_UNSTRIPPED= yes + +.include "../../mk/ocaml.mk" +.include "../../devel/ocaml-migrate-parsetree/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/ocaml-ppxfind/PLIST b/devel/ocaml-ppxfind/PLIST new file mode 100644 index 00000000000..951eea6d9cb --- /dev/null +++ b/devel/ocaml-ppxfind/PLIST @@ -0,0 +1,8 @@ +@comment $NetBSD: PLIST,v 1.1 2019/07/15 10:45:28 jaapb Exp $ +bin/ppxfind +${OCAML_SITELIB}/ppxfind/META +${OCAML_SITELIB}/ppxfind/dune-package +${OCAML_SITELIB}/ppxfind/opam +share/doc/ppxfind/CHANGES.md +share/doc/ppxfind/LICENSE.md +share/doc/ppxfind/README.md diff --git a/devel/ocaml-ppxfind/buildlink3.mk b/devel/ocaml-ppxfind/buildlink3.mk new file mode 100644 index 00000000000..ac1822156c8 --- /dev/null +++ b/devel/ocaml-ppxfind/buildlink3.mk @@ -0,0 +1,13 @@ +# $NetBSD: buildlink3.mk,v 1.1 2019/07/15 10:45:28 jaapb Exp $ + +BUILDLINK_TREE+= ocaml-ppxfind + +.if !defined(OCAML_PPXFIND_BUILDLINK3_MK) +OCAML_PPXFIND_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.ocaml-ppxfind+= ocaml-ppxfind>=1.3 +BUILDLINK_PKGSRCDIR.ocaml-ppxfind?= ../../devel/ocaml-ppxfind + +.endif # OCAML_PPXFIND_BUILDLINK3_MK + +BUILDLINK_TREE+= -ocaml-ppxfind diff --git a/devel/ocaml-ppxfind/distinfo b/devel/ocaml-ppxfind/distinfo new file mode 100644 index 00000000000..aa910213c40 --- /dev/null +++ b/devel/ocaml-ppxfind/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2019/07/15 10:45:28 jaapb Exp $ + +SHA1 (ppxfind-1.3.tar.gz) = 7a3f3df793bce75f6d5aac212b805ce0930afccd +RMD160 (ppxfind-1.3.tar.gz) = daceff8c4b9d120ab1f7bd3abdb82b2bd6b2217f +SHA512 (ppxfind-1.3.tar.gz) = fcfb5df45c14b80a661944db690c1f99c67363c181ec410f30569b971fe61ea58e021065c5cfe5a9e2ef7b101ac88dc37d4c925f7270ef98dd7ba301fcae13eb +Size (ppxfind-1.3.tar.gz) = 4040 bytes |