aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2018-05-28 15:52:26 +0800
committerwen <wen@FreeBSD.org>2018-05-28 15:52:26 +0800
commitc8637ec6f38d08ef0877d131af994fb9de2dc82c (patch)
tree96fe4daf7734f2ac7055978eec4f97680331d96c
parent5f558b875b9fc2dfc88bbacec182b59f83997a01 (diff)
downloadfreebsd-ports-graphics-c8637ec6f38d08ef0877d131af994fb9de2dc82c.tar.gz
freebsd-ports-graphics-c8637ec6f38d08ef0877d131af994fb9de2dc82c.tar.zst
freebsd-ports-graphics-c8637ec6f38d08ef0877d131af994fb9de2dc82c.zip
HTML5::DOM is a fast HTML5 parser and DOM manipulatin library with CSS4
selectors, fully conformant with the HTML5 specification. It based on https://github.com/lexborisov/Modest as selector engine and https://github.com/lexborisov/myhtml as HTML5 parser. WWW: https://metacpan.org/release/HTML5-DOM
-rw-r--r--www/Makefile1
-rw-r--r--www/p5-HTML5-DOM/Makefile18
-rw-r--r--www/p5-HTML5-DOM/distinfo3
-rw-r--r--www/p5-HTML5-DOM/pkg-descr7
-rw-r--r--www/p5-HTML5-DOM/pkg-plist20
5 files changed, 49 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 21d313dd502..1388244346e 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -972,6 +972,7 @@
SUBDIR += p5-HTML-WikiConverter-UseMod
SUBDIR += p5-HTML-WikiConverter-WakkaWiki
SUBDIR += p5-HTML-WikiConverter-WikkaWiki
+ SUBDIR += p5-HTML5-DOM
SUBDIR += p5-HTTP-Async
SUBDIR += p5-HTTP-Body
SUBDIR += p5-HTTP-BrowserDetect
diff --git a/www/p5-HTML5-DOM/Makefile b/www/p5-HTML5-DOM/Makefile
new file mode 100644
index 00000000000..d236f164815
--- /dev/null
+++ b/www/p5-HTML5-DOM/Makefile
@@ -0,0 +1,18 @@
+# $FreeBSD$
+
+PORTNAME= HTML5-DOM
+PORTVERSION= 1.07
+CATEGORIES= www perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= CPAN:ZHUMARIN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= wen@FreeBSD.org
+COMMENT= Super fast html5 DOM library with css selectors
+
+LICENSE= MIT
+
+USES= perl5
+USE_PERL5= configure
+
+.include <bsd.port.mk>
diff --git a/www/p5-HTML5-DOM/distinfo b/www/p5-HTML5-DOM/distinfo
new file mode 100644
index 00000000000..df034e5b3bd
--- /dev/null
+++ b/www/p5-HTML5-DOM/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1527521877
+SHA256 (HTML5-DOM-1.07.tar.gz) = a254289ef90ccf5bb1c581e622fd2d4ad70a15e7801c974adc9688c59b303624
+SIZE (HTML5-DOM-1.07.tar.gz) = 1514320
diff --git a/www/p5-HTML5-DOM/pkg-descr b/www/p5-HTML5-DOM/pkg-descr
new file mode 100644
index 00000000000..67594edf74d
--- /dev/null
+++ b/www/p5-HTML5-DOM/pkg-descr
@@ -0,0 +1,7 @@
+HTML5::DOM is a fast HTML5 parser and DOM manipulatin library with CSS4
+selectors, fully conformant with the HTML5 specification.
+
+It based on https://github.com/lexborisov/Modest as selector engine and
+https://github.com/lexborisov/myhtml as HTML5 parser.
+
+WWW: https://metacpan.org/release/HTML5-DOM
diff --git a/www/p5-HTML5-DOM/pkg-plist b/www/p5-HTML5-DOM/pkg-plist
new file mode 100644
index 00000000000..389031f88ee
--- /dev/null
+++ b/www/p5-HTML5-DOM/pkg-plist
@@ -0,0 +1,20 @@
+%%SITE_ARCH%%/HTML5/DOM.pm
+%%SITE_ARCH%%/HTML5/DOM.pod
+%%SITE_ARCH%%/HTML5/DOM/CSS.pm
+%%SITE_ARCH%%/HTML5/DOM/CSS/Selector.pm
+%%SITE_ARCH%%/HTML5/DOM/CSS/Selector/Entry.pm
+%%SITE_ARCH%%/HTML5/DOM/Collection.pm
+%%SITE_ARCH%%/HTML5/DOM/Comment.pm
+%%SITE_ARCH%%/HTML5/DOM/DocType.pm
+%%SITE_ARCH%%/HTML5/DOM/Document.pm
+%%SITE_ARCH%%/HTML5/DOM/Element.pm
+%%SITE_ARCH%%/HTML5/DOM/Encoding.pm
+%%SITE_ARCH%%/HTML5/DOM/Fragment.pm
+%%SITE_ARCH%%/HTML5/DOM/Node.pm
+%%SITE_ARCH%%/HTML5/DOM/Text.pm
+%%SITE_ARCH%%/HTML5/DOM/TokenList.pm
+%%SITE_ARCH%%/HTML5/DOM/Tree.pm
+%%SITE_ARCH%%/HTML5/README.pod
+%%SITE_ARCH%%/HTML5/leaks.pl
+%%SITE_ARCH%%/auto/HTML5/DOM/DOM.so
+%%PERL5_MAN3%%/HTML5::DOM.3.gz