Created package devel/ocaml-ppx_disable_unused_warnings, v0.15.0.
This is a package that simplifies disabling warnings in OCaml that have to do with things (not) being used. Needed as a dependency of the new version of devel/ocaml-ppx_jane.
This commit is contained in:
parent
db12ad7f17
commit
c077c2e0e1
5 changed files with 60 additions and 0 deletions
4
devel/ocaml-ppx_disable_unused_warnings/DESCR
Normal file
4
devel/ocaml-ppx_disable_unused_warnings/DESCR
Normal file
|
@ -0,0 +1,4 @@
|
|||
This extension adds an annotation that disables the many
|
||||
OCaml compiler warnings that have to do with something
|
||||
being used (variable, constructor, declaration, open, rec,
|
||||
keyword, etc.)
|
21
devel/ocaml-ppx_disable_unused_warnings/Makefile
Normal file
21
devel/ocaml-ppx_disable_unused_warnings/Makefile
Normal file
|
@ -0,0 +1,21 @@
|
|||
# $NetBSD: Makefile,v 1.1 2022/05/05 06:36:25 jaapb Exp $
|
||||
|
||||
DISTNAME= ${GITHUB_PROJECT}-0.15.0
|
||||
PKGNAME= ocaml-${DISTNAME}
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ${MASTER_SITE_GITHUB:=janestreet/}
|
||||
GITHUB_PROJECT= ppx_disable_unused_warnings
|
||||
GITHUB_TAG= v${PKGVERSION_NOREV}
|
||||
|
||||
MAINTAINER= jaapb@NetBSD.org
|
||||
HOMEPAGE= https://github.com/janestreet/ppx_disable_unused_warnings/
|
||||
COMMENT= Extension to simplify disabling unused warnings
|
||||
LICENSE= mit
|
||||
|
||||
USE_LANGUAGES= # none
|
||||
OCAML_USE_DUNE= yes
|
||||
|
||||
.include "../../devel/ocaml-base/buildlink3.mk"
|
||||
.include "../../devel/ocaml-ppxlib/buildlink3.mk"
|
||||
.include "../../mk/ocaml.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
17
devel/ocaml-ppx_disable_unused_warnings/PLIST
Normal file
17
devel/ocaml-ppx_disable_unused_warnings/PLIST
Normal file
|
@ -0,0 +1,17 @@
|
|||
@comment $NetBSD: PLIST,v 1.1 2022/05/05 06:36:25 jaapb Exp $
|
||||
${OCAML_SITELIB}/ppx_disable_unused_warnings/META
|
||||
${OCAML_SITELIB}/ppx_disable_unused_warnings/dune-package
|
||||
${OCAML_SITELIB}/ppx_disable_unused_warnings/opam
|
||||
${OCAML_SITELIB}/ppx_disable_unused_warnings/ppx.exe
|
||||
${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_disable_unused_warnings/ppx_disable_unused_warnings.a
|
||||
${OCAML_SITELIB}/ppx_disable_unused_warnings/ppx_disable_unused_warnings.cma
|
||||
${OCAML_SITELIB}/ppx_disable_unused_warnings/ppx_disable_unused_warnings.cmi
|
||||
${OCAML_SITELIB}/ppx_disable_unused_warnings/ppx_disable_unused_warnings.cmt
|
||||
${OCAML_SITELIB}/ppx_disable_unused_warnings/ppx_disable_unused_warnings.cmti
|
||||
${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_disable_unused_warnings/ppx_disable_unused_warnings.cmx
|
||||
${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_disable_unused_warnings/ppx_disable_unused_warnings.cmxa
|
||||
${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_disable_unused_warnings/ppx_disable_unused_warnings.cmxs
|
||||
${OCAML_SITELIB}/ppx_disable_unused_warnings/ppx_disable_unused_warnings.ml
|
||||
${OCAML_SITELIB}/ppx_disable_unused_warnings/ppx_disable_unused_warnings.mli
|
||||
share/doc/ppx_disable_unused_warnings/LICENSE.md
|
||||
share/doc/ppx_disable_unused_warnings/README.md
|
13
devel/ocaml-ppx_disable_unused_warnings/buildlink3.mk
Normal file
13
devel/ocaml-ppx_disable_unused_warnings/buildlink3.mk
Normal file
|
@ -0,0 +1,13 @@
|
|||
# $NetBSD: buildlink3.mk,v 1.1 2022/05/05 06:36:25 jaapb Exp $
|
||||
|
||||
BUILDLINK_TREE+= ocaml-ppx_disable_unused_warnings
|
||||
|
||||
.if !defined(OCAML_PPX_DISABLE_UNUSED_WARNINGS_BUILDLINK3_MK)
|
||||
OCAML_PPX_DISABLE_UNUSED_WARNINGS_BUILDLINK3_MK:=
|
||||
|
||||
BUILDLINK_API_DEPENDS.ocaml-ppx_disable_unused_warnings+= ocaml-ppx_disable_unused_warnings>=0.15.0
|
||||
BUILDLINK_PKGSRCDIR.ocaml-ppx_disable_unused_warnings?= ../../devel/ocaml-ppx_disable_unused_warnings
|
||||
|
||||
.endif # OCAML_PPX_DISABLE_UNUSED_WARNINGS_BUILDLINK3_MK
|
||||
|
||||
BUILDLINK_TREE+= -ocaml-ppx_disable_unused_warnings
|
5
devel/ocaml-ppx_disable_unused_warnings/distinfo
Normal file
5
devel/ocaml-ppx_disable_unused_warnings/distinfo
Normal file
|
@ -0,0 +1,5 @@
|
|||
$NetBSD: distinfo,v 1.1 2022/05/05 06:36:25 jaapb Exp $
|
||||
|
||||
BLAKE2s (ppx_disable_unused_warnings-0.15.0.tar.gz) = e93b970c617080ce5c4171acf4d7f3df9800a66d5cec61b6a70cbf9268d28aaf
|
||||
SHA512 (ppx_disable_unused_warnings-0.15.0.tar.gz) = 837bb96b5cc2623205ce778e6100d97a0a029e8c20a945509c06ee44784e67b8e9033b5387681c0f86c07f48ca4541e356ca62e19c1baa8d1b52c813400bb024
|
||||
Size (ppx_disable_unused_warnings-0.15.0.tar.gz) = 3966 bytes
|
Loading…
Reference in a new issue