From owner-svn-ports-all@freebsd.org Wed Aug 5 18:52:27 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8BA3D9B47FC; Wed, 5 Aug 2015 18:52:27 +0000 (UTC) (envelope-from vg@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7907BCB0; Wed, 5 Aug 2015 18:52:27 +0000 (UTC) (envelope-from vg@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.14.9/8.14.9) with ESMTP id t75IqRnY072887; Wed, 5 Aug 2015 18:52:27 GMT (envelope-from vg@FreeBSD.org) Received: (from vg@localhost) by repo.freebsd.org (8.14.9/8.14.9/Submit) id t75IqQX6072880; Wed, 5 Aug 2015 18:52:26 GMT (envelope-from vg@FreeBSD.org) Message-Id: <201508051852.t75IqQX6072880@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: vg set sender to vg@FreeBSD.org using -f From: Veniamin Gvozdikov Date: Wed, 5 Aug 2015 18:52:26 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r393604 - in head/converters: . ocaml-jsonm X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Aug 2015 18:52:27 -0000 Author: vg Date: Wed Aug 5 18:52:25 2015 New Revision: 393604 URL: https://svnweb.freebsd.org/changeset/ports/393604 Log: New port: converters/ocaml-jsonm Jsonm is an OCaml non-blocking streaming codec to decode and encode the JSON data format. It can process JSON text without blocking on IO and without a complete in-memory representation of the data. The uncut codec also processes whitespace and (non-standard) JSON with JavaScript comments. WWW: http://erratique.ch/software/jsonm Added: head/converters/ocaml-jsonm/ head/converters/ocaml-jsonm/Makefile (contents, props changed) head/converters/ocaml-jsonm/distinfo (contents, props changed) head/converters/ocaml-jsonm/pkg-descr (contents, props changed) Modified: head/converters/Makefile Modified: head/converters/Makefile ============================================================================== --- head/converters/Makefile Wed Aug 5 18:44:07 2015 (r393603) +++ head/converters/Makefile Wed Aug 5 18:52:25 2015 (r393604) @@ -50,6 +50,7 @@ SUBDIR += mpack SUBDIR += nomyso SUBDIR += o3read + SUBDIR += ocaml-jsonm SUBDIR += osm2mp SUBDIR += osm2pgsql SUBDIR += p5-Boulder Added: head/converters/ocaml-jsonm/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/converters/ocaml-jsonm/Makefile Wed Aug 5 18:52:25 2015 (r393604) @@ -0,0 +1,35 @@ +# Created by: Veniamin Gvozdikov +# $FreeBSD$ + +PORTNAME= jsonm +PORTVERSION= 0.9.1 +CATEGORIES= converters +MASTER_SITES= http://erratique.ch/software/jsonm/releases/ +PKGNAMEPREFIX= ocaml- + +MAINTAINER= vg@FreeBSD.org +COMMENT= Non-blocking streaming JSON codec for OCaml + +LICENSE= BSD3CLAUSE + +BUILD_DEPENDS= ${SA_DIR}/uutf/uutf.a:${PORTSDIR}/devel/ocaml-uutf +RUN_DEPENDS= ${SA_DIR}/uutf/uutf.a:${PORTSDIR}/devel/ocaml-uutf + +USES= tar:tbz +USE_OCAML= yes +SA_DIR= ${LOCALBASE}/${OCAML_SITELIBDIR} + +USE_OCAML_FINDLIB= yes +USE_OCAMLFIND_PLIST= yes +USE_OCAML_LDCONFIG= yes + +do-build: + cd ${WRKSRC} && ocamlbuild src/jsonm.cmxs src/jsonm.cma src/jsonm.a + +do-install: + ${MKDIR} ${STAGEDIR}${OCAMLFIND_DESTDIR}/jsonm + cd ${WRKSRC} && ocamlfind install -destdir ${STAGEDIR}${PREFIX}/lib/ocaml/site-lib jsonm src/META _build/src/jsonm.a _build/src/jsonm.cma _build/src/jsonm.cmi _build/src/jsonm.cmx _build/src/jsonm.cmxa _build/src/jsonm.cmxs _build/src/jsonm.mli + ${INSTALL_LIB} ${WRKSRC}/_build/src/jsonm.cmxs \ + ${STAGEDIR}${OCAMLFIND_DESTDIR}/jsonm + +.include Added: head/converters/ocaml-jsonm/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/converters/ocaml-jsonm/distinfo Wed Aug 5 18:52:25 2015 (r393604) @@ -0,0 +1,2 @@ +SHA256 (jsonm-0.9.1.tbz) = 3fd4dca045d82332da847e65e981d8b504883571d299a3f7e71447d46bc65f73 +SIZE (jsonm-0.9.1.tbz) = 64843 Added: head/converters/ocaml-jsonm/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/converters/ocaml-jsonm/pkg-descr Wed Aug 5 18:52:25 2015 (r393604) @@ -0,0 +1,8 @@ +Jsonm is an OCaml non-blocking streaming codec to decode and encode the +JSON data format. It can process JSON text without blocking on IO and +without a complete in-memory representation of the data. + +The uncut codec also processes whitespace and (non-standard) JSON with +JavaScript comments. + +WWW: http://erratique.ch/software/jsonm