pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/ocaml-yojson Added package devel/ocaml-yojson, a...
details: https://anonhg.NetBSD.org/pkgsrc/rev/55ad13d5bd4c
branches: trunk
changeset: 365174:55ad13d5bd4c
user: jaapb <jaapb%pkgsrc.org@localhost>
date: Tue Jul 11 11:29:56 2017 +0000
description:
Added package devel/ocaml-yojson, a JSON library for OCaml.
diffstat:
devel/ocaml-yojson/DESCR | 3 +++
devel/ocaml-yojson/Makefile | 29 +++++++++++++++++++++++++++++
devel/ocaml-yojson/PLIST | 29 +++++++++++++++++++++++++++++
devel/ocaml-yojson/buildlink3.mk | 13 +++++++++++++
devel/ocaml-yojson/distinfo | 6 ++++++
5 files changed, 80 insertions(+), 0 deletions(-)
diffs (100 lines):
diff -r 37151c9d712f -r 55ad13d5bd4c devel/ocaml-yojson/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-yojson/DESCR Tue Jul 11 11:29:56 2017 +0000
@@ -0,0 +1,3 @@
+The Yojson library provides runtime functions for reading and writing JSON
+data from OCaml. It addresses a few shortcomings of its predecessor json-wheel
+and is about twice as fast (2.7x reading, 1.3x writing; results may vary).
diff -r 37151c9d712f -r 55ad13d5bd4c devel/ocaml-yojson/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-yojson/Makefile Tue Jul 11 11:29:56 2017 +0000
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1 2017/07/11 11:29:56 jaapb Exp $
+
+GITHUB_PROJECT= yojson
+GITHUB_TAG= v${PKGVERSION_NOREV}
+DISTNAME= ${GITHUB_PROJECT}-1.3.3
+PKGNAME= ocaml-${DISTNAME}
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=mjambon/}
+
+MAINTAINER= jaapb%NetBSD.org@localhost
+HOMEPAGE= https://github.com/mjambon/yojson/
+COMMENT= JSON parsing and pretty-printing library for OCaml
+LICENSE= modified-bsd
+
+MAKE_JOBS_SAFE= no
+USE_TOOLS+= gmake
+BUILD_TARGET= META all
+OCAML_USE_FINDLIB= yes
+
+.include "../../mk/ocaml.mk"
+
+.if ${OCAML_USE_OPT_COMPILER} == "yes"
+BUILD_TARGET+= opt
+.endif
+
+.include "../../devel/ocaml-biniou/buildlink3.mk"
+.include "../../devel/ocaml-cppo/buildlink3.mk"
+.include "../../textproc/ocaml-easy-format/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 37151c9d712f -r 55ad13d5bd4c devel/ocaml-yojson/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-yojson/PLIST Tue Jul 11 11:29:56 2017 +0000
@@ -0,0 +1,29 @@
+@comment $NetBSD: PLIST,v 1.1 2017/07/11 11:29:56 jaapb Exp $
+${OCAML_SITELIB}/yojson/META
+${OCAML_SITELIB}/yojson/common.mli
+${OCAML_SITELIB}/yojson/pretty.mli
+${OCAML_SITELIB}/yojson/read.mli
+${OCAML_SITELIB}/yojson/safe.mli
+${OCAML_SITELIB}/yojson/util.mli
+${OCAML_SITELIB}/yojson/write.mli
+${OCAML_SITELIB}/yojson/write2.mli
+${OCAML_SITELIB}/yojson/ydump.cmi
+${OCAML_SITELIB}/yojson/ydump.cmt
+${PLIST.ocaml-opt}${OCAML_SITELIB}/yojson/ydump.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/yojson/ydump.o
+${OCAML_SITELIB}/yojson/yojson.cmi
+${OCAML_SITELIB}/yojson/yojson.cmo
+${OCAML_SITELIB}/yojson/yojson.cmt
+${OCAML_SITELIB}/yojson/yojson.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/yojson/yojson.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/yojson/yojson.cmxs
+${OCAML_SITELIB}/yojson/yojson.mli
+${PLIST.ocaml-opt}${OCAML_SITELIB}/yojson/yojson.o
+${OCAML_SITELIB}/yojson/yojson_biniou.cmi
+${OCAML_SITELIB}/yojson/yojson_biniou.cmo
+${OCAML_SITELIB}/yojson/yojson_biniou.cmt
+${OCAML_SITELIB}/yojson/yojson_biniou.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/yojson/yojson_biniou.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/yojson/yojson_biniou.cmxs
+${OCAML_SITELIB}/yojson/yojson_biniou.mli
+${PLIST.ocaml-opt}${OCAML_SITELIB}/yojson/yojson_biniou.o
diff -r 37151c9d712f -r 55ad13d5bd4c devel/ocaml-yojson/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-yojson/buildlink3.mk Tue Jul 11 11:29:56 2017 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2017/07/11 11:29:56 jaapb Exp $
+
+BUILDLINK_TREE+= ocaml-yojson
+
+.if !defined(OCAML_YOJSON_BUILDLINK3_MK)
+OCAML_YOJSON_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-yojson+= ocaml-yojson>=1.3.3
+BUILDLINK_PKGSRCDIR.ocaml-yojson?= ../../devel/ocaml-yojson
+
+.endif # OCAML_YOJSON_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -ocaml-yojson
diff -r 37151c9d712f -r 55ad13d5bd4c devel/ocaml-yojson/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-yojson/distinfo Tue Jul 11 11:29:56 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/07/11 11:29:56 jaapb Exp $
+
+SHA1 (yojson-1.3.3.tar.gz) = 7b8cb2fff4142ac9aed0be5d3cdb32cc00fdd703
+RMD160 (yojson-1.3.3.tar.gz) = 3dda76543700b860deee42ab144e783c504f5eb0
+SHA512 (yojson-1.3.3.tar.gz) = 78d88d470bb64360d020ebc70d9faaa7abca6476fd20d0224e188b44d147c42cea8723adff0845e5444d684b2d0e186154cca288cb236de94a83a44229fcb426
+Size (yojson-1.3.3.tar.gz) = 26940 bytes
Home |
Main Index |
Thread Index |
Old Index