diff --git a/www/p5-HTML-ResolveLink/Makefile b/www/p5-HTML-ResolveLink/Makefile
new file mode 100644
index 00000000000..a243b6c516c
--- /dev/null
+++ b/www/p5-HTML-ResolveLink/Makefile
@@ -0,0 +1,20 @@
+# $OpenBSD: Makefile,v 1.1.1.1 2007/09/25 21:30:27 simon Exp $
+
+COMMENT= resolve relative links in (X)HTML into absolute URI
+
+MODULES= cpan
+DISTNAME= HTML-ResolveLink-0.05
+CATEGORIES= www
+
+MAINTAINER= Simon Bertrang
+
+# Perl
+PERMIT_PACKAGE_CDROM= Yes
+PERMIT_PACKAGE_FTP= Yes
+PERMIT_DISTFILES_CDROM= Yes
+PERMIT_DISTFILES_FTP= Yes
+
+RUN_DEPENDS= ::www/p5-HTML-Parser \
+ ::www/p5-URI
+
+.include
diff --git a/www/p5-HTML-ResolveLink/distinfo b/www/p5-HTML-ResolveLink/distinfo
new file mode 100644
index 00000000000..f539c6ad009
--- /dev/null
+++ b/www/p5-HTML-ResolveLink/distinfo
@@ -0,0 +1,5 @@
+MD5 (HTML-ResolveLink-0.05.tar.gz) = qH/zRFswt/pR+uQi67RgAQ==
+RMD160 (HTML-ResolveLink-0.05.tar.gz) = SsZKHo4zZ4X2cJDn/7oqzAtE+lM=
+SHA1 (HTML-ResolveLink-0.05.tar.gz) = iaP7F5DEls5I64bNXsesA1v6mD4=
+SHA256 (HTML-ResolveLink-0.05.tar.gz) = VKKT74yNJiMtlPPvSGmbRr0tsm+tsTpVXA0tyhna9Wg=
+SIZE (HTML-ResolveLink-0.05.tar.gz) = 3138
diff --git a/www/p5-HTML-ResolveLink/pkg/DESCR b/www/p5-HTML-ResolveLink/pkg/DESCR
new file mode 100644
index 00000000000..60328ed067c
--- /dev/null
+++ b/www/p5-HTML-ResolveLink/pkg/DESCR
@@ -0,0 +1,2 @@
+HTML::ResolveLink is a module to rewrite relative links in XHTML or HTML
+into absolute URI.
diff --git a/www/p5-HTML-ResolveLink/pkg/PLIST b/www/p5-HTML-ResolveLink/pkg/PLIST
new file mode 100644
index 00000000000..f47f1f1d46c
--- /dev/null
+++ b/www/p5-HTML-ResolveLink/pkg/PLIST
@@ -0,0 +1,3 @@
+@comment $OpenBSD: PLIST,v 1.1.1.1 2007/09/25 21:30:27 simon Exp $
+${P5SITE}/HTML/ResolveLink.pm
+@man man/man3p/HTML::ResolveLink.3p