diff --git a/www/p5-HTML-Gumbo/Makefile b/www/p5-HTML-Gumbo/Makefile
new file mode 100644
index 00000000000..b615842b04a
--- /dev/null
+++ b/www/p5-HTML-Gumbo/Makefile
@@ -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
diff --git a/www/p5-HTML-Gumbo/distinfo b/www/p5-HTML-Gumbo/distinfo
new file mode 100644
index 00000000000..6e9407549ab
--- /dev/null
+++ b/www/p5-HTML-Gumbo/distinfo
@@ -0,0 +1,2 @@
+SHA256 (HTML-Gumbo-0.18.tar.gz) = v1C2HCRlbMP8lYYC2AqcfQFyR6842Nv6Dp3sW3VCXV8=
+SIZE (HTML-Gumbo-0.18.tar.gz) = 17716
diff --git a/www/p5-HTML-Gumbo/pkg/DESCR b/www/p5-HTML-Gumbo/pkg/DESCR
new file mode 100644
index 00000000000..ac988724e83
--- /dev/null
+++ b/www/p5-HTML-Gumbo/pkg/DESCR
@@ -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.
diff --git a/www/p5-HTML-Gumbo/pkg/PLIST b/www/p5-HTML-Gumbo/pkg/PLIST
new file mode 100644
index 00000000000..3e9293d4aeb
--- /dev/null
+++ b/www/p5-HTML-Gumbo/pkg/PLIST
@@ -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