Import of p5-HTML-Gumbo-0.18; ok ajacoutot@

This commit is contained in:
robert 2021-01-18 13:37:20 +00:00
parent bb152ae541
commit 0962510621
4 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,19 @@
# $OpenBSD: Makefile,v 1.1.1.1 2021/01/18 13:37:20 robert Exp $
COMMENT = HTML5 parser based on gumbo C library
MODULES = cpan
DISTNAME = HTML-Gumbo-0.18
CATEGORIES = www
RUN_DEPENDS = devel/p5-Alien-LibGumbo
BUILD_DEPENDS = ${RUN_DEPENDS}
# Perl
PERMIT_PACKAGE = Yes
WANTLIB += c perl gumbo
CONFIGURE_STYLE = perl modbuild
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (HTML-Gumbo-0.18.tar.gz) = v1C2HCRlbMP8lYYC2AqcfQFyR6842Nv6Dp3sW3VCXV8=
SIZE (HTML-Gumbo-0.18.tar.gz) = 17716

View File

@ -0,0 +1,11 @@
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.
- Support for source locations and pointers back to the original text.
- Relatively lightweight, with no outside dependencies.
- Tested on over 2.5 billion pages from Google's index.

View File

@ -0,0 +1,10 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2021/01/18 13:37:20 robert Exp $
${P5ARCH}/
${P5ARCH}/HTML/
${P5ARCH}/HTML/Gumbo.pm
${P5ARCH}/auto/
${P5ARCH}/auto/HTML/
${P5ARCH}/auto/HTML/Gumbo/
${P5ARCH}/auto/HTML/Gumbo/Gumbo.bs
@so ${P5ARCH}/auto/HTML/Gumbo/Gumbo.so
@man man/man3p/HTML::Gumbo.3p