From owner-svn-ports-all@freebsd.org Wed Aug 5 18:31:20 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 6C3F19B43F7; Wed, 5 Aug 2015 18:31:20 +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 5A6531E43; Wed, 5 Aug 2015 18:31:20 +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 t75IVKOk063093; Wed, 5 Aug 2015 18:31:20 GMT (envelope-from vg@FreeBSD.org) Received: (from vg@localhost) by repo.freebsd.org (8.14.9/8.14.9/Submit) id t75IVJgX062613; Wed, 5 Aug 2015 18:31:19 GMT (envelope-from vg@FreeBSD.org) Message-Id: <201508051831.t75IVJgX062613@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:31:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r393601 - in head/devel: . ocaml-uutf 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:31:20 -0000 Author: vg Date: Wed Aug 5 18:31:18 2015 New Revision: 393601 URL: https://svnweb.freebsd.org/changeset/ports/393601 Log: New port: devel/ocaml-uutf Uutf is an non-blocking streaming Unicode codec for OCaml to decode and encode the UTF-8, UTF-16, UTF-16LE and UTF-16BE encoding schemes. It can efficiently work character by character without blocking on IO. Decoders perform character position tracking and support newline normalization. Functions are also provided to fold over the characters of UTF encoded OCaml string values and to directly encode characters in OCaml Buffer.t values. WWW: http://erratique.ch/software/uutf Added: head/devel/ocaml-uutf/ head/devel/ocaml-uutf/Makefile (contents, props changed) head/devel/ocaml-uutf/distinfo (contents, props changed) head/devel/ocaml-uutf/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Wed Aug 5 17:25:19 2015 (r393600) +++ head/devel/Makefile Wed Aug 5 18:31:18 2015 (r393601) @@ -1491,6 +1491,7 @@ SUBDIR += ocaml-sexplib SUBDIR += ocaml-typeconv SUBDIR += ocaml-ulex + SUBDIR += ocaml-uutf SUBDIR += ocaml-xstr SUBDIR += ocaml-xstrp4 SUBDIR += ocfpcsc Added: head/devel/ocaml-uutf/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/ocaml-uutf/Makefile Wed Aug 5 18:31:18 2015 (r393601) @@ -0,0 +1,31 @@ +# Created by: Veniamin Gvozdikov +# $FreeBSD$ + +PORTNAME= uutf +PORTVERSION= 0.9.4 +CATEGORIES= devel +MASTER_SITES= http://erratique.ch/software/uutf/releases/ +PKGNAMEPREFIX= ocaml- + +MAINTAINER= vg@FreeBSD.org +COMMENT= Non-blocking streaming Unicode codec for OCaml + +LICENSE= BSD3CLAUSE + +USES= tar:tbz +USE_OCAML= yes + +USE_OCAML_FINDLIB= yes +USE_OCAMLFIND_PLIST= yes +USE_OCAML_LDCONFIG= yes + +do-build: + cd ${WRKSRC} && ocamlbuild uutf.cmxs uutf.cma uutf.a + +do-install: + ${MKDIR} ${STAGEDIR}${OCAMLFIND_DESTDIR}/uutf + cd ${WRKSRC} && ocamlfind install -destdir ${STAGEDIR}${PREFIX}/lib/ocaml/site-lib uutf pkg/META _build/src/uutf.a _build/src/uutf.cma _build/src/uutf.cmi _build/src/uutf.cmx _build/src/uutf.cmxa _build/src/uutf.cmxs _build/src/uutf.mli + ${INSTALL_LIB} ${WRKSRC}/_build/src/uutf.cmxs \ + ${STAGEDIR}${OCAMLFIND_DESTDIR}/uutf + +.include Added: head/devel/ocaml-uutf/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/ocaml-uutf/distinfo Wed Aug 5 18:31:18 2015 (r393601) @@ -0,0 +1,2 @@ +SHA256 (uutf-0.9.4.tbz) = 13706722a0037b167eef359bac68d5426d05f64aa308f44c1784aace9577e1b8 +SIZE (uutf-0.9.4.tbz) = 36987 Added: head/devel/ocaml-uutf/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/ocaml-uutf/pkg-descr Wed Aug 5 18:31:18 2015 (r393601) @@ -0,0 +1,11 @@ +Uutf is an non-blocking streaming Unicode codec for OCaml to decode and +encode the UTF-8, UTF-16, UTF-16LE and UTF-16BE encoding schemes. It +can efficiently work character by character without blocking on IO. +Decoders perform character position tracking and support newline +normalization. + +Functions are also provided to fold over the characters of UTF encoded +OCaml string values and to directly encode characters in OCaml Buffer.t +values. + +WWW: http://erratique.ch/software/uutf