svn commit: r359001 - in head/devel: . utf8cpp
Raphael Kubo da Costa
rakuco at FreeBSD.org
Mon Jun 23 19:47:56 UTC 2014
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 <k at stereochro.me>
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 <k at stereochro.me>
+# $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 at 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 <bsd.port.mk>
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/
More information about the svn-ports-head
mailing list