Update to 0.86

This commit is contained in:
Kevin Lo 2017-02-16 02:31:16 +00:00
parent 676b34a127
commit abd2db2eac
4 changed files with 8 additions and 37 deletions

View file

@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= htmlcxx
PORTVERSION= 0.85
PORTREVISION= 2
PORTVERSION= 0.86
CATEGORIES= www textproc
MASTER_SITES= SF
@ -12,24 +11,14 @@ COMMENT= HTML and CSS APIs for C++
LICENSE= LGPL20
LICENSE_FILE= ${WRKSRC}/LGPL_V2
USES= bison iconv libtool
USES= bison iconv libtool pathfix
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
MAKE_JOBS_UNSAFE=yes
MAKE_ARGS= pkgconfigdir="${PREFIX}/libdata/pkgconfig"
.include <bsd.port.pre.mk>
.if !empty(ICONV_LIB)
CONFIGURE_ARGS+=ac_cv_lib_iconv_iconv_open=yes
.endif
post-patch:
@${REINPLACE_CMD} 's/-liconv/${ICONV_LIB}/' ${WRKSRC}/configure
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View file

@ -1,2 +1,3 @@
SHA256 (htmlcxx-0.85.tar.gz) = ab02a0c4addc82f82d564f7d163fe0cc726179d9045381c288f5b8295996bae5
SIZE (htmlcxx-0.85.tar.gz) = 414624
TIMESTAMP = 1487211277
SHA256 (htmlcxx-0.86.tar.gz) = 07542b5ea2442143b125ba213b6823ff4a23fff352ecdd84bbebe1d154f4f5c1
SIZE (htmlcxx-0.86.tar.gz) = 469416

View file

@ -1,19 +0,0 @@
--- html/ci_string.h.orig 2013-09-13 10:48:21.000000000 +0800
+++ html/ci_string.h 2013-09-13 10:48:35.000000000 +0800
@@ -4,16 +4,7 @@
#include <cctype>
#include <string>
-#if __GNUC__ >= 3
-#include <bits/char_traits.h>
struct ci_char_traits : public std::char_traits<char>
-#elif defined(__GNUC__)
-#include <std/straits.h>
-struct ci_char_traits : public std::string_char_traits<char>
-#else
-//Hope string already include it
-struct ci_char_traits : public std::char_traits<char>
-#endif
// just inherit all the other functions
// that we don't need to override

View file

@ -12,7 +12,6 @@ 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.so
lib/libcss_parser.so.0
lib/libcss_parser.so.0.0.0
@ -22,4 +21,5 @@ lib/libcss_parser_pp.so.0.0.0
lib/libhtmlcxx.so
lib/libhtmlcxx.so.3
lib/libhtmlcxx.so.3.1.0
share/htmlcxx/css/default.css
libdata/pkgconfig/htmlcxx.pc
%%DATADIR%%/css/default.css