Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Mar 2016 16:26:14 +0000 (UTC)
From:      Olivier Duchateau <olivierd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r411462 - in head/www: . libhubbub libhubbub/files
Message-ID:  <201603201626.u2KGQEM1081890@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olivierd
Date: Sun Mar 20 16:26:14 2016
New Revision: 411462
URL: https://svnweb.freebsd.org/changeset/ports/411462

Log:
  Hubbub is an HTML5 compliant parsing library, written in C. It was developed
  as part of the NetSurf project.
  
  WWW: http://www.netsurf-browser.org/projects/hubbub/

Added:
  head/www/libhubbub/
  head/www/libhubbub/Makefile   (contents, props changed)
  head/www/libhubbub/distinfo   (contents, props changed)
  head/www/libhubbub/files/
  head/www/libhubbub/files/patch-Makefile   (contents, props changed)
  head/www/libhubbub/files/patch-libhubbub.pc.in   (contents, props changed)
  head/www/libhubbub/pkg-descr   (contents, props changed)
  head/www/libhubbub/pkg-plist   (contents, props changed)
Modified:
  head/www/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Sun Mar 20 16:22:42 2016	(r411461)
+++ head/www/Makefile	Sun Mar 20 16:26:14 2016	(r411462)
@@ -371,6 +371,7 @@
     SUBDIR += libgtkhtml
     SUBDIR += libhpack
     SUBDIR += libhtp-suricata
+    SUBDIR += libhubbub
     SUBDIR += libmicrohttpd
     SUBDIR += libsocialweb
     SUBDIR += libwww

Added: head/www/libhubbub/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/libhubbub/Makefile	Sun Mar 20 16:26:14 2016	(r411462)
@@ -0,0 +1,31 @@
+# Created by: Olivier Duchateau
+# $FreeBSD$
+
+PORTNAME=	libhubbub
+PORTVERSION=	0.3.3
+CATEGORIES=	www
+MASTER_SITES=	http://download.netsurf-browser.org/libs/releases/
+DISTNAME=	${PORTNAME}-${PORTVERSION}-src
+
+MAINTAINER=	olivierd@FreeBSD.org
+COMMENT=	HTML5 parser library
+
+LICENSE=	MIT
+
+BUILD_DEPENDS=	netsurf-buildsystem>=1.5:${PORTSDIR}/devel/netsurf-buildsystem
+LIB_DEPENDS=	libparserutils.so:${PORTSDIR}/devel/libparserutils
+
+USES=	gmake iconv:wchar_t localbase pkgconfig
+USE_LDCONFIG=	yes
+
+WRKSRC=	${WRKDIR}/${DISTNAME:S/-src//}
+
+MAKE_ENV+=	COMPONENT_TYPE="lib-shared"
+LDFLAGS+=	${ICONV_LIB}
+
+PLIST_SUB+=	VERSION=${PORTVERSION}
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libhubbub.so*
+
+.include <bsd.port.mk>

Added: head/www/libhubbub/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/libhubbub/distinfo	Sun Mar 20 16:26:14 2016	(r411462)
@@ -0,0 +1,2 @@
+SHA256 (libhubbub-0.3.3-src.tar.gz) = 066dffd127ead12da60050aa13b80891fb996d00197767d038e48ac163402780
+SIZE (libhubbub-0.3.3-src.tar.gz) = 783945

Added: head/www/libhubbub/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/libhubbub/files/patch-Makefile	Sun Mar 20 16:26:14 2016	(r411462)
@@ -0,0 +1,10 @@
+--- Makefile.orig	2016-02-16 10:48:07 UTC
++++ Makefile
+@@ -76,5 +76,5 @@ INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):i
+ INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/hubbub/parser.h
+ INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/hubbub/tree.h
+ INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/hubbub/types.h
+-INSTALL_ITEMS := $(INSTALL_ITEMS) /$(LIBDIR)/pkgconfig:lib$(COMPONENT).pc.in
+-INSTALL_ITEMS := $(INSTALL_ITEMS) /$(LIBDIR):$(OUTPUT)
++INSTALL_ITEMS := $(INSTALL_ITEMS) /libdata/pkgconfig:lib$(COMPONENT).pc.in
++INSTALL_ITEMS := $(INSTALL_ITEMS) /lib:$(OUTPUT)

Added: head/www/libhubbub/files/patch-libhubbub.pc.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/libhubbub/files/patch-libhubbub.pc.in	Sun Mar 20 16:26:14 2016	(r411462)
@@ -0,0 +1,10 @@
+--- libhubbub.pc.in.orig	2016-02-16 10:48:07 UTC
++++ libhubbub.pc.in
+@@ -1,6 +1,6 @@
+ prefix=PREFIX
+ exec_prefix=${prefix}
+-libdir=${exec_prefix}/LIBDIR
++libdir=${exec_prefix}/lib
+ includedir=${prefix}/INCLUDEDIR
+ 
+ Name: libhubbub

Added: head/www/libhubbub/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/libhubbub/pkg-descr	Sun Mar 20 16:26:14 2016	(r411462)
@@ -0,0 +1,4 @@
+Hubbub is an HTML5 compliant parsing library, written in C. It was developed
+as part of the NetSurf project.
+
+WWW: http://www.netsurf-browser.org/projects/hubbub/

Added: head/www/libhubbub/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/libhubbub/pkg-plist	Sun Mar 20 16:26:14 2016	(r411462)
@@ -0,0 +1,10 @@
+include/hubbub/errors.h
+include/hubbub/functypes.h
+include/hubbub/hubbub.h
+include/hubbub/parser.h
+include/hubbub/tree.h
+include/hubbub/types.h
+lib/libhubbub.so
+lib/libhubbub.so.0
+lib/libhubbub.so.%%VERSION%%
+libdata/pkgconfig/libhubbub.pc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603201626.u2KGQEM1081890>