diff --git a/textproc/p5-Text-Diff-HTML/Makefile b/textproc/p5-Text-Diff-HTML/Makefile
new file mode 100644
index 00000000000..647dda9763d
--- /dev/null
+++ b/textproc/p5-Text-Diff-HTML/Makefile
@@ -0,0 +1,29 @@
+# $OpenBSD: Makefile,v 1.1.1.1 2006/04/18 16:03:21 espie Exp $
+
+COMMENT= "perl, XHTML format for Text::Diff::Unified"
+
+PKG_ARCH= *
+DISTNAME= Text-Diff-HTML-0.04
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= textproc perl5 www
+
+# Artistic
+PERMIT_PACKAGE_CDROM= Yes
+PERMIT_PACKAGE_FTP= Yes
+PERMIT_DISTFILES_CDROM= Yes
+PERMIT_DISTFILES_FTP= Yes
+
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Text/}
+
+CONFIGURE_STYLE= perl modbuild
+
+DEP= ::www/p5-HTML-Parser \
+ ::textproc/p5-Text-Diff
+
+BUILD_DEPENDS= $(DEP)
+RUN_DEPENDS= $(DEP)
+
+REGRESS_DEPENDS= ::devel/p5-Test-Pod \
+ $(DEP)
+
+.include
diff --git a/textproc/p5-Text-Diff-HTML/distinfo b/textproc/p5-Text-Diff-HTML/distinfo
new file mode 100644
index 00000000000..e54c02b788d
--- /dev/null
+++ b/textproc/p5-Text-Diff-HTML/distinfo
@@ -0,0 +1,4 @@
+MD5 (Text-Diff-HTML-0.04.tar.gz) = cd8a50dd2f9d90be1f949906441035c1
+RMD160 (Text-Diff-HTML-0.04.tar.gz) = 4f4f48a07960978223be5e97e6318cf725fb1db7
+SHA1 (Text-Diff-HTML-0.04.tar.gz) = b52c3573677a533c1c521f3e8ad138a36a3081f5
+SIZE (Text-Diff-HTML-0.04.tar.gz) = 5375
diff --git a/textproc/p5-Text-Diff-HTML/pkg/DESCR b/textproc/p5-Text-Diff-HTML/pkg/DESCR
new file mode 100644
index 00000000000..1bd5345446d
--- /dev/null
+++ b/textproc/p5-Text-Diff-HTML/pkg/DESCR
@@ -0,0 +1,4 @@
+This class subclasses Text::Diff::Unified, a formatting class provided
+by the Text::Diff module, to add XHTML markup to the unified diff
+format. For details on the interface of the "diff()" function, see the
+Text::Diff documentation.
diff --git a/textproc/p5-Text-Diff-HTML/pkg/PLIST b/textproc/p5-Text-Diff-HTML/pkg/PLIST
new file mode 100644
index 00000000000..b1a4a24d7da
--- /dev/null
+++ b/textproc/p5-Text-Diff-HTML/pkg/PLIST
@@ -0,0 +1,3 @@
+@comment $OpenBSD: PLIST,v 1.1.1.1 2006/04/18 16:03:21 espie Exp $
+${P5SITE}/Text/Diff/HTML.pm
+@man man/man3p/Text::Diff::HTML.3p