diff --git a/www/p5-HTML-Mason/Makefile b/www/p5-HTML-Mason/Makefile
new file mode 100644
index 00000000000..fc1afe1b775
--- /dev/null
+++ b/www/p5-HTML-Mason/Makefile
@@ -0,0 +1,23 @@
+# $OpenBSD: Makefile,v 1.1.1.1 2001/02/01 17:53:51 avsm Exp $
+
+DISTNAME= HTML-Mason-1.0
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= www perl5
+NEED_VERSION= 1.351
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= HTML
+
+MAINTAINER= Anil Madhavapeddy
+
+PERMIT_PACKAGE_CDROM= Yes
+PERMIT_PACKAGE_FTP= Yes
+PERMIT_DISTFILES_CDROM= Yes
+PERMIT_DISTFILES_FTP= Yes
+
+PERL_MODULES= ${LOCALBASE}/libdata/perl5/site_perl
+BUILD_DEPENDS= ${PERL_MODULES}/${ARCH}-openbsd/Time/HiRes.pm::devel/p5-Time-HiRes \
+ ${PERL_MODULES}/MLDBM.pm::devel/p5-MLDBM
+
+CONFIGURE_STYLE= perl
+
+.include
diff --git a/www/p5-HTML-Mason/files/md5 b/www/p5-HTML-Mason/files/md5
new file mode 100644
index 00000000000..1a6d369db59
--- /dev/null
+++ b/www/p5-HTML-Mason/files/md5
@@ -0,0 +1,3 @@
+MD5 (HTML-Mason-1.0.tar.gz) = b3c06efcfe5612d4ac0cdef7e992d2f4
+RMD160 (HTML-Mason-1.0.tar.gz) = 74af759bec4d3a97d50ce18679f9f4f9e9c26c5c
+SHA1 (HTML-Mason-1.0.tar.gz) = 4d04bba369d9b994c187b4eed8a1dff8ea091502
diff --git a/www/p5-HTML-Mason/pkg/COMMENT b/www/p5-HTML-Mason/pkg/COMMENT
new file mode 100644
index 00000000000..5bb283c2851
--- /dev/null
+++ b/www/p5-HTML-Mason/pkg/COMMENT
@@ -0,0 +1 @@
+high-performance dynamic web authoring system
diff --git a/www/p5-HTML-Mason/pkg/DESCR b/www/p5-HTML-Mason/pkg/DESCR
new file mode 100644
index 00000000000..00fd3aab61b
--- /dev/null
+++ b/www/p5-HTML-Mason/pkg/DESCR
@@ -0,0 +1,13 @@
+Mason is a powerful Perl-based web site development and delivery
+engine. With Mason you can embed Perl code in your HTML and construct
+pages from shared, reusable components.
+
+Mason solves the common problems of site development: caching,
+debugging, templating, simulating browser conditions, maintaining
+development and production sites, and more.
+
+Although it can be used from CGI or even stand-alone, it is optimally
+designed for use with two other open source technologies: mod_perl
+and Apache.
+
+WWW: ${HOMEPAGE}
diff --git a/www/p5-HTML-Mason/pkg/PLIST b/www/p5-HTML-Mason/pkg/PLIST
new file mode 100644
index 00000000000..a5303911e8f
--- /dev/null
+++ b/www/p5-HTML-Mason/pkg/PLIST
@@ -0,0 +1,47 @@
+@comment $OpenBSD: PLIST,v 1.1.1.1 2001/02/01 17:53:51 avsm Exp $
+libdata/perl5/site_perl/Apache/Mason.pm
+libdata/perl5/site_perl/Bundle/HTML/Mason.pm
+libdata/perl5/site_perl/HTML/Mason.pm
+libdata/perl5/site_perl/HTML/Mason.pod
+libdata/perl5/site_perl/HTML/Mason/Admin.pod
+libdata/perl5/site_perl/HTML/Mason/ApacheHandler.pm
+libdata/perl5/site_perl/HTML/Mason/ApacheHandler.pod
+libdata/perl5/site_perl/HTML/Mason/Commands.pm
+libdata/perl5/site_perl/HTML/Mason/Commands.pod
+libdata/perl5/site_perl/HTML/Mason/Component.pm
+libdata/perl5/site_perl/HTML/Mason/Component.pod
+libdata/perl5/site_perl/HTML/Mason/Component/FileBased.pm
+libdata/perl5/site_perl/HTML/Mason/Component/Subcomponent.pm
+libdata/perl5/site_perl/HTML/Mason/Components.pod
+libdata/perl5/site_perl/HTML/Mason/Config.pm
+libdata/perl5/site_perl/HTML/Mason/Devel.pod
+libdata/perl5/site_perl/HTML/Mason/FakeApache.pm
+libdata/perl5/site_perl/HTML/Mason/Interp.pm
+libdata/perl5/site_perl/HTML/Mason/Interp.pod
+libdata/perl5/site_perl/HTML/Mason/MethodMaker.pm
+libdata/perl5/site_perl/HTML/Mason/Parser.pm
+libdata/perl5/site_perl/HTML/Mason/Parser.pod
+libdata/perl5/site_perl/HTML/Mason/Preview.pm
+libdata/perl5/site_perl/HTML/Mason/Request.pm
+libdata/perl5/site_perl/HTML/Mason/Request.pod
+libdata/perl5/site_perl/HTML/Mason/Resolver.pm
+libdata/perl5/site_perl/HTML/Mason/Resolver/File.pm
+libdata/perl5/site_perl/HTML/Mason/Tests.pm
+libdata/perl5/site_perl/HTML/Mason/Tools.pm
+libdata/perl5/site_perl/HTML/Mason/Utils.pm
+man/man3/Bundle::HTML::Mason.3p
+man/man3/HTML::Mason.3p
+man/man3/HTML::Mason::Admin.3p
+man/man3/HTML::Mason::ApacheHandler.3p
+man/man3/HTML::Mason::Commands.3p
+man/man3/HTML::Mason::Component.3p
+man/man3/HTML::Mason::Components.3p
+man/man3/HTML::Mason::Devel.3p
+man/man3/HTML::Mason::Interp.3p
+man/man3/HTML::Mason::MethodMaker.3p
+man/man3/HTML::Mason::Parser.3p
+man/man3/HTML::Mason::Request.3p
+man/man3/HTML::Mason::Tests.3p
+@dirrm libdata/perl5/site_perl/HTML/Mason/Resolver
+@dirrm libdata/perl5/site_perl/HTML/Mason/Component
+@dirrm libdata/perl5/site_perl/HTML/Mason