From owner-svn-ports-head@FreeBSD.ORG Mon Jun 23 19:47:56 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1F558F5F; Mon, 23 Jun 2014 19:47:56 +0000 (UTC) Received: from svn.freebsd.org (svn.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 0C7492CF6; Mon, 23 Jun 2014 19:47:56 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s5NJltdc015590; Mon, 23 Jun 2014 19:47:55 GMT (envelope-from rakuco@svn.freebsd.org) Received: (from rakuco@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s5NJltcX015581; Mon, 23 Jun 2014 19:47:55 GMT (envelope-from rakuco@svn.freebsd.org) Message-Id: <201406231947.s5NJltcX015581@svn.freebsd.org> From: Raphael Kubo da Costa Date: Mon, 23 Jun 2014 19:47:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r359001 - in head/devel: . utf8cpp X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jun 2014 19:47:56 -0000 Author: rakuco Date: Mon Jun 23 19:47:54 2014 New Revision: 359001 URL: http://svnweb.freebsd.org/changeset/ports/359001 QAT: https://qat.redports.org/buildarchive/r359001/ Log: Add devel/utf8cpp. utf8cpp is a C++ library for handling UTF-8 strings. It is also a requirement for updating finance/ledger. PR: 191297 Submitted by: Keith Gaughan Added: head/devel/utf8cpp/ head/devel/utf8cpp/Makefile (contents, props changed) head/devel/utf8cpp/distinfo (contents, props changed) head/devel/utf8cpp/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Mon Jun 23 19:42:55 2014 (r359000) +++ head/devel/Makefile Mon Jun 23 19:47:54 2014 (r359001) @@ -4643,6 +4643,7 @@ SUBDIR += upslug SUBDIR += urjtag SUBDIR += ustl + SUBDIR += utf8cpp SUBDIR += uthash SUBDIR += valgrind SUBDIR += valgrind-devel Added: head/devel/utf8cpp/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/utf8cpp/Makefile Mon Jun 23 19:47:54 2014 (r359001) @@ -0,0 +1,28 @@ +# Created by: Keith Gaughan +# $FreeBSD$ + +PORTNAME= utf8cpp +PORTVERSION= 2.3.4 +CATEGORIES= textproc +MASTER_SITES= SF/utfcpp/${PORTNAME:tl}_2x/Release%20${PORTVERSION}/ +DISTNAME= utf8_v${PORTVERSION:S/./_/g} + +MAINTAINER= k@stereochro.me +COMMENT= Simple, portable, lightweight library for handling UTF-8 strings + +LICENSE= BSL + +USES= zip +NO_WRKSUBDIR= yes +NO_BUILD= yes + +PLIST_FILES= include/utf8.h \ + include/utf8/checked.h \ + include/utf8/core.h \ + include/utf8/unchecked.h +PLIST_DIRS= include/utf8 + +do-install: + (cd ${WRKSRC}/source; ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/include) + +.include Added: head/devel/utf8cpp/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/utf8cpp/distinfo Mon Jun 23 19:47:54 2014 (r359001) @@ -0,0 +1,2 @@ +SHA256 (utf8_v2_3_4.zip) = 3373cebb25d88c662a2b960c4d585daf9ae7b396031ecd786e7bb31b15d010ef +SIZE (utf8_v2_3_4.zip) = 22422 Added: head/devel/utf8cpp/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/utf8cpp/pkg-descr Mon Jun 23 19:47:54 2014 (r359001) @@ -0,0 +1,14 @@ +Many C++ developers miss an easy and portable way of handling Unicode +encoded strings. The original C++ Standard (known as C++98 or C++03) is +Unicode agnostic. C++11 provides some support for Unicode on core +language and library level: u8, u, and U character and string literals, +char16_t and char32_t character types, u16string and u32string library +classes, and codecvt support for conversions between Unicode encoding +forms. In the meantime, developers use third party libraries like ICU, +OS specific capabilities, or simply roll out their own solutions. + +In order to easily handle UTF-8 encoded Unicode strings, I came up with +a small generic library. For anybody used to work with STL algorithms +and iterators, it should be easy and natural to use. + +WWW: http://utfcpp.sourceforge.net/