Added devel/ocaml-duff, libXdiff implementation in OCaml

This commit is contained in:
jaapb 2019-03-19 11:31:30 +00:00
parent 106d7225ec
commit 0409a27b79
5 changed files with 63 additions and 0 deletions

1
devel/ocaml-duff/DESCR Normal file
View file

@ -0,0 +1 @@
Duff is a little library to implement libXdiff (from git) in OCaml.

25
devel/ocaml-duff/Makefile Normal file
View file

@ -0,0 +1,25 @@
# $NetBSD: Makefile,v 1.1 2019/03/19 11:31:30 jaapb Exp $
GITHUB_PROJECT= duff
GITHUB_TAG= v${PKGVERSION_NOREV}
DISTNAME= ${GITHUB_PROJECT}-0.2
PKGNAME= ocaml-${DISTNAME}
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=mirage/}
MAINTAINER= jaapb@NetBSD.org
HOMEPAGE= https://github.com/mirage/duff/
COMMENT= Library to generate ocaml-angstrom decoders and encoders
LICENSE= modified-bsd
USE_LANGUAGES= # none
OCAML_USE_DUNE= yes
.include "../../mk/ocaml.mk"
.include "../../devel/ocaml-bos/buildlink3.mk"
.include "../../devel/ocaml-cmdliner/buildlink3.mk"
.include "../../devel/ocaml-cstruct/buildlink3.mk"
.include "../../devel/ocaml-fmt/buildlink3.mk"
.include "../../devel/ocaml-fpath/buildlink3.mk"
.include "../../devel/ocaml-logs/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

18
devel/ocaml-duff/PLIST Normal file
View file

@ -0,0 +1,18 @@
@comment $NetBSD: PLIST,v 1.1 2019/03/19 11:31:30 jaapb Exp $
bin/xduff
${OCAML_SITELIB}/duff/META
${PLIST.ocaml-opt}${OCAML_SITELIB}/duff/duff.a
${OCAML_SITELIB}/duff/duff.cma
${OCAML_SITELIB}/duff/duff.cmi
${OCAML_SITELIB}/duff/duff.cmt
${OCAML_SITELIB}/duff/duff.cmti
${PLIST.ocaml-opt}${OCAML_SITELIB}/duff/duff.cmx
${PLIST.ocaml-opt}${OCAML_SITELIB}/duff/duff.cmxa
${PLIST.ocaml-opt}${OCAML_SITELIB}/duff/duff.cmxs
${OCAML_SITELIB}/duff/duff.ml
${OCAML_SITELIB}/duff/duff.mli
${OCAML_SITELIB}/duff/dune-package
${OCAML_SITELIB}/duff/opam
share/doc/duff/CHANGES.md
share/doc/duff/LICENSE.md
share/doc/duff/README.md

View file

@ -0,0 +1,13 @@
# $NetBSD: buildlink3.mk,v 1.1 2019/03/19 11:31:30 jaapb Exp $
BUILDLINK_TREE+= ocaml-duff
.if !defined(OCAML_DUFF_BUILDLINK3_MK)
OCAML_DUFF_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.ocaml-duff+= ocaml-duff>=0.2
BUILDLINK_PKGSRCDIR.ocaml-duff?= ../../devel/ocaml-duff
.endif # OCAML_DUFF_BUILDLINK3_MK
BUILDLINK_TREE+= -ocaml-duff

View file

@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.1 2019/03/19 11:31:30 jaapb Exp $
SHA1 (duff-0.2.tar.gz) = f0273ff0f84e7fb5d199f9c31532a0b6221413d4
RMD160 (duff-0.2.tar.gz) = 0e00e1b7e1e0d10a34c245b8b5066680d763827f
SHA512 (duff-0.2.tar.gz) = e8a10c289e7a1024eeeebf3fa46aec72818cbf28fd28b3da69b9e66add82ac252f652ae70b63a7307c0994193f0b3c27e790d2f751bb652d9200efec1915c284
Size (duff-0.2.tar.gz) = 15471 bytes