diff --git a/www/pear-HTML-Common/Makefile b/www/pear-HTML-Common/Makefile
new file mode 100644
index 00000000000..4279ed00ae1
--- /dev/null
+++ b/www/pear-HTML-Common/Makefile
@@ -0,0 +1,21 @@
+# $OpenBSD: Makefile,v 1.7 2005/03/09 14:12:38 mbalmer Exp $
+
+COMMENT= "base package for HTML handling in PHP"
+
+DISTNAME= HTML_Common-1.2.1
+PKGNAME= pear-${DISTNAME:S/_/-/}
+CATEGORIES= devel www pear
+
+MASTER_SITES= http://pear.php.net/get/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= Marc Balmer
+MODULES= www/php4/pear
+
+# PHP License
+PERMIT_PACKAGE_CDROM= Yes
+PERMIT_PACKAGE_FTP= Yes
+PERMIT_DISTFILES_CDROM= Yes
+PERMIT_DISTFILES_FTP= Yes
+
+.include
diff --git a/www/pear-HTML-Common/distinfo b/www/pear-HTML-Common/distinfo
new file mode 100644
index 00000000000..f80561ae497
--- /dev/null
+++ b/www/pear-HTML-Common/distinfo
@@ -0,0 +1,4 @@
+MD5 (HTML_Common-1.2.1.tgz) = 0f4b7ed3f3f49590649f5ce4b4892044
+RMD160 (HTML_Common-1.2.1.tgz) = 45dbf3724e2bf04b421cb606693738280da362bf
+SHA1 (HTML_Common-1.2.1.tgz) = 7d4faec3d084d12ad06b17cda1d540dc5e6cf24c
+SIZE (HTML_Common-1.2.1.tgz) = 3637
diff --git a/www/pear-HTML-Common/pkg/DESCR b/www/pear-HTML-Common/pkg/DESCR
new file mode 100644
index 00000000000..0f9567c6dab
--- /dev/null
+++ b/www/pear-HTML-Common/pkg/DESCR
@@ -0,0 +1,6 @@
+The HTML_Common package provides methods for HTML code display and
+attributes handling.
+
+ 1) Methods to set, remove, update HTML attributes.
+ 2) Handles comments in HTML code.
+ 3) Handles layout and tabs for nicer HTML code.
diff --git a/www/pear-HTML-Common/pkg/PLIST b/www/pear-HTML-Common/pkg/PLIST
new file mode 100644
index 00000000000..304af0b820c
--- /dev/null
+++ b/www/pear-HTML-Common/pkg/PLIST
@@ -0,0 +1,6 @@
+@comment $OpenBSD: PLIST,v 1.6 2005/03/09 14:12:38 mbalmer Exp $
+lib/
+lib/php/
+pear/lib/.registry/html_common.reg
+pear/lib/HTML/
+pear/lib/HTML/Common.php