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.
This commit is contained in:
Mikael Urankar 2020-07-24 10:05:02 +00:00
parent 9fbdff401b
commit 60b2de010f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=543235
5 changed files with 45 additions and 0 deletions

View File

@ -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

View File

@ -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>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1594986863
SHA256 (HTML-Gumbo-0.18.tar.gz) = bf50b61c24656cc3fc958602d80a9c7d017247af38d8dbfa0e9dec5b75425d5f
SIZE (HTML-Gumbo-0.18.tar.gz) = 17716

View File

@ -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

View File

@ -0,0 +1,3 @@
%%SITE_ARCH%%/HTML/Gumbo.pm
%%SITE_ARCH%%/auto/HTML/Gumbo/Gumbo.so
%%PERL5_MAN3%%/HTML::Gumbo.3.gz