pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/ocaml-yojson



Module Name:    pkgsrc
Committed By:   jaapb
Date:           Tue Jul 11 11:29:56 UTC 2017

Added Files:
        pkgsrc/devel/ocaml-yojson: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
Added package devel/ocaml-yojson, a JSON library for OCaml.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/ocaml-yojson/DESCR \
    pkgsrc/devel/ocaml-yojson/Makefile pkgsrc/devel/ocaml-yojson/PLIST \
    pkgsrc/devel/ocaml-yojson/buildlink3.mk \
    pkgsrc/devel/ocaml-yojson/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/ocaml-yojson/DESCR
diff -u /dev/null pkgsrc/devel/ocaml-yojson/DESCR:1.1
--- /dev/null   Tue Jul 11 11:29:56 2017
+++ pkgsrc/devel/ocaml-yojson/DESCR     Tue Jul 11 11:29:56 2017
@@ -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).
Index: pkgsrc/devel/ocaml-yojson/Makefile
diff -u /dev/null pkgsrc/devel/ocaml-yojson/Makefile:1.1
--- /dev/null   Tue Jul 11 11:29:56 2017
+++ pkgsrc/devel/ocaml-yojson/Makefile  Tue Jul 11 11:29:56 2017
@@ -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"
Index: pkgsrc/devel/ocaml-yojson/PLIST
diff -u /dev/null pkgsrc/devel/ocaml-yojson/PLIST:1.1
--- /dev/null   Tue Jul 11 11:29:56 2017
+++ pkgsrc/devel/ocaml-yojson/PLIST     Tue Jul 11 11:29:56 2017
@@ -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
Index: pkgsrc/devel/ocaml-yojson/buildlink3.mk
diff -u /dev/null pkgsrc/devel/ocaml-yojson/buildlink3.mk:1.1
--- /dev/null   Tue Jul 11 11:29:56 2017
+++ pkgsrc/devel/ocaml-yojson/buildlink3.mk     Tue Jul 11 11:29:56 2017
@@ -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
Index: pkgsrc/devel/ocaml-yojson/distinfo
diff -u /dev/null pkgsrc/devel/ocaml-yojson/distinfo:1.1
--- /dev/null   Tue Jul 11 11:29:56 2017
+++ pkgsrc/devel/ocaml-yojson/distinfo  Tue Jul 11 11:29:56 2017
@@ -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