From owner-svn-ports-all@FreeBSD.ORG Wed Sep 19 08:08:32 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BC54D106566C; Wed, 19 Sep 2012 08:08:32 +0000 (UTC) (envelope-from kevlo@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 9AF6C8FC16; Wed, 19 Sep 2012 08:08:32 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q8J88WSM053999; Wed, 19 Sep 2012 08:08:32 GMT (envelope-from kevlo@svn.freebsd.org) Received: (from kevlo@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q8J88Wm4053990; Wed, 19 Sep 2012 08:08:32 GMT (envelope-from kevlo@svn.freebsd.org) Message-Id: <201209190808.q8J88Wm4053990@svn.freebsd.org> From: Kevin Lo Date: Wed, 19 Sep 2012 08:08:32 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r304490 - in head/www: . htmlcxx htmlcxx/files X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.5 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, 19 Sep 2012 08:08:32 -0000 Author: kevlo Date: Wed Sep 19 08:08:31 2012 New Revision: 304490 URL: http://svn.freebsd.org/changeset/ports/304490 Log: Initial import of htmlcxx-0.85. htmlcxx is a simple non-validating CSS and HTML parser for C++. Added: head/www/htmlcxx/ head/www/htmlcxx/Makefile (contents, props changed) head/www/htmlcxx/distinfo (contents, props changed) head/www/htmlcxx/files/ head/www/htmlcxx/files/patch-CharsetConverter.cc (contents, props changed) head/www/htmlcxx/files/patch-css_syntax.y (contents, props changed) head/www/htmlcxx/pkg-descr (contents, props changed) head/www/htmlcxx/pkg-plist (contents, props changed) Modified: head/www/Makefile Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Wed Sep 19 07:57:38 2012 (r304489) +++ head/www/Makefile Wed Sep 19 08:08:31 2012 (r304490) @@ -331,6 +331,7 @@ SUBDIR += html2hdml SUBDIR += html2wml SUBDIR += htmlcompressor + SUBDIR += htmlcxx SUBDIR += htmlobject SUBDIR += htmlpp SUBDIR += httest Added: head/www/htmlcxx/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/htmlcxx/Makefile Wed Sep 19 08:08:31 2012 (r304490) @@ -0,0 +1,24 @@ +# $FreeBSD$ + +PORTNAME= htmlcxx +PORTVERSION= 0.85 +CATEGORIES= www textproc +MASTER_SITES= SF + +MAINTAINER= kevlo@FreeBSD.org +COMMENT= HTML and CSS APIs for C++ + +LICENSE= LGPL20 +LICENSE_FILE= ${WRKSRC}/LGPL_V2 + +BUILD_DEPENDS= bison:${PORTSDIR}/devel/bison + +USE_ICONV= yes +USE_LDCONFIG= yes +GNU_CONFIGURE= yes +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib + +MAKE_ARGS= pkgconfigdir="${PREFIX}/libdata/pkgconfig" + +.include Added: head/www/htmlcxx/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/htmlcxx/distinfo Wed Sep 19 08:08:31 2012 (r304490) @@ -0,0 +1,2 @@ +SHA256 (htmlcxx-0.85.tar.gz) = ab02a0c4addc82f82d564f7d163fe0cc726179d9045381c288f5b8295996bae5 +SIZE (htmlcxx-0.85.tar.gz) = 414624 Added: head/www/htmlcxx/files/patch-CharsetConverter.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/htmlcxx/files/patch-CharsetConverter.cc Wed Sep 19 08:08:31 2012 (r304490) @@ -0,0 +1,11 @@ +--- html/CharsetConverter.cc.orig 2012-09-19 14:05:35.000000000 +0800 ++++ html/CharsetConverter.cc 2012-09-19 14:08:42.000000000 +0800 +@@ -37,7 +37,7 @@ + + size_t ret; + while (1) { +- ret = iconv(mIconvDescriptor, const_cast(&inbuf), &inbytesleft, &outbuf, &outbytesleft); ++ ret = iconv(mIconvDescriptor, &inbuf, &inbytesleft, &outbuf, &outbytesleft); + if (ret == 0) break; + if (ret == (size_t)-1 && errno == E2BIG) return string(); + Added: head/www/htmlcxx/files/patch-css_syntax.y ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/htmlcxx/files/patch-css_syntax.y Wed Sep 19 08:08:31 2012 (r304490) @@ -0,0 +1,9 @@ +--- css/css_syntax.y.orig 2012-09-19 15:27:03.000000000 +0800 ++++ css/css_syntax.y 2012-09-19 15:28:12.000000000 +0800 +@@ -1,5 +1,6 @@ + %{ + #include ++#include + #include + #include "css_lex.h" + #include "parser.h" Added: head/www/htmlcxx/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/htmlcxx/pkg-descr Wed Sep 19 08:08:31 2012 (r304490) @@ -0,0 +1,3 @@ +htmlcxx is a simple non-validating css1 and html parser for C++. + +WWW: http://htmlcxx.sourceforge.net/ Added: head/www/htmlcxx/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/htmlcxx/pkg-plist Wed Sep 19 08:08:31 2012 (r304490) @@ -0,0 +1,30 @@ +bin/htmlcxx +include/htmlcxx/css/parser.h +include/htmlcxx/css/parser_pp.h +include/htmlcxx/html/CharsetConverter.h +include/htmlcxx/html/Extensions.h +include/htmlcxx/html/Node.h +include/htmlcxx/html/ParserDom.h +include/htmlcxx/html/ParserSax.h +include/htmlcxx/html/ParserSax.tcc +include/htmlcxx/html/Uri.h +include/htmlcxx/html/ci_string.h +include/htmlcxx/html/tld.h +include/htmlcxx/html/tree.h +include/htmlcxx/html/utils.h +libdata/pkgconfig/htmlcxx.pc +lib/libcss_parser.la +lib/libcss_parser.so +lib/libcss_parser.so.0 +lib/libcss_parser_pp.la +lib/libcss_parser_pp.so +lib/libcss_parser_pp.so.0 +lib/libhtmlcxx.la +lib/libhtmlcxx.so +lib/libhtmlcxx.so.4 +share/htmlcxx/css/default.css +@dirrm share/htmlcxx/css +@dirrm share/htmlcxx +@dirrm include/htmlcxx/html +@dirrm include/htmlcxx/css +@dirrm include/htmlcxx