Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jul 2020 10:05:02 +0000 (UTC)
From:      Mikael Urankar <mikael@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r543235 - in head/www: . p5-HTML-Gumbo
Message-ID:  <202007241005.06OA52J2081654@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mikael
Date: Fri Jul 24 10:05:02 2020
New Revision: 543235
URL: https://svnweb.freebsd.org/changeset/ports/543235

Log:
  www/p5-HTML-Gumbo: create port
  
  Gumbo is an implementation of the HTML5 parsing algorithm implemented as a pure
  C99 library with no outside dependencies.
  
  Goals and features of the C library:
   - Fully conformant with the HTML5 spec.
   - Robust and resilient to bad input.
   - Simple API that can be easily wrapped by other languages.
     (This is one of such wrappers.)
   - Support for source locations and pointers back to the original text.
     (Not exposed by this implementation at the moment.)
   - Relatively lightweight, with no outside dependencies.
   - Passes all html5lib-0.95 tests.
   - Tested on over 2.5 billion pages from Google's index.

Added:
  head/www/p5-HTML-Gumbo/
  head/www/p5-HTML-Gumbo/Makefile   (contents, props changed)
  head/www/p5-HTML-Gumbo/distinfo   (contents, props changed)
  head/www/p5-HTML-Gumbo/pkg-descr   (contents, props changed)
  head/www/p5-HTML-Gumbo/pkg-plist   (contents, props changed)
Modified:
  head/www/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Fri Jul 24 10:03:40 2020	(r543234)
+++ head/www/Makefile	Fri Jul 24 10:05:02 2020	(r543235)
@@ -808,6 +808,7 @@
     SUBDIR += p5-HTML-GenToc
     SUBDIR += p5-HTML-GenerateUtil
     SUBDIR += p5-HTML-GoogleMaps
+    SUBDIR += p5-HTML-Gumbo
     SUBDIR += p5-HTML-Highlight
     SUBDIR += p5-HTML-LinkExtractor
     SUBDIR += p5-HTML-LinkList

Added: head/www/p5-HTML-Gumbo/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/p5-HTML-Gumbo/Makefile	Fri Jul 24 10:05:02 2020	(r543235)
@@ -0,0 +1,22 @@
+# $FreeBSD$
+
+PORTNAME=	HTML-Gumbo
+PORTVERSION=	0.18
+CATEGORIES=	www perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	mikael@FreeBSD.org
+COMMENT=	HTML5 parser based on gumbo C library
+
+LICENSE=	ART10 GPLv1+
+LICENSE_COMB=	dual
+
+BUILD_DEPENDS=	p5-Alien-Build>0:devel/p5-Alien-Build \
+		p5-Alien-LibGumbo>0:devel/p5-Alien-LibGumbo \
+		p5-PkgConfig>0:devel/p5-PkgConfig
+
+USES=		perl5
+USE_PERL5=	modbuild
+
+.include <bsd.port.mk>

Added: head/www/p5-HTML-Gumbo/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/p5-HTML-Gumbo/distinfo	Fri Jul 24 10:05:02 2020	(r543235)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1594986863
+SHA256 (HTML-Gumbo-0.18.tar.gz) = bf50b61c24656cc3fc958602d80a9c7d017247af38d8dbfa0e9dec5b75425d5f
+SIZE (HTML-Gumbo-0.18.tar.gz) = 17716

Added: head/www/p5-HTML-Gumbo/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/p5-HTML-Gumbo/pkg-descr	Fri Jul 24 10:05:02 2020	(r543235)
@@ -0,0 +1,16 @@
+Gumbo is an implementation of the HTML5 parsing algorithm implemented as a pure
+C99 library with no outside dependencies.
+
+Goals and features of the C library:
+ - Fully conformant with the HTML5 spec.
+ - Robust and resilient to bad input.
+ - Simple API that can be easily wrapped by other languages.
+   (This is one of such wrappers.)
+ - Support for source locations and pointers back to the original text.
+   (Not exposed by this implementation at the moment.)
+ - Relatively lightweight, with no outside dependencies.
+ - Passes all html5lib-0.95 tests.
+ - Tested on over 2.5 billion pages from Google's index.
+
+WWW: https://metacpan.org/pod/HTML::Gumbo
+WWW: https://github.com/ruz/HTML-Gumbo

Added: head/www/p5-HTML-Gumbo/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/p5-HTML-Gumbo/pkg-plist	Fri Jul 24 10:05:02 2020	(r543235)
@@ -0,0 +1,3 @@
+%%SITE_ARCH%%/HTML/Gumbo.pm
+%%SITE_ARCH%%/auto/HTML/Gumbo/Gumbo.so
+%%PERL5_MAN3%%/HTML::Gumbo.3.gz



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