diff --git a/www/htmlobject/Makefile b/www/htmlobject/Makefile
index 6eaf0a76d2f1..3ce4294bcacd 100644
--- a/www/htmlobject/Makefile
+++ b/www/htmlobject/Makefile
@@ -7,15 +7,18 @@
#
PORTNAME= htmlobject
-PORTVERSION= 2.26
+PORTVERSION= 2.27
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= lib${PORTNAME}-perl-${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= laszlof@vonostingroup.com
COMMENT= HTML Document Object
+BUILD_DEPENDS= ${SITE_PERL}/Data/FormValidator.pm:${PORTSDIR}/textproc/p5-Data-FormValidator \
+ ${SITE_PERL}/Date/Manip.pm:${PORTSDIR}/devel/p5-Date-Manip
+
PERL_CONFIGURE= yes
MAN3= HTMLObject::Base.3 HTMLObject::Form.3 \
@@ -23,6 +26,13 @@ MAN3= HTMLObject::Base.3 HTMLObject::Form.3 \
HTMLObject::HDMLDeck.3 HTMLObject::Normal.3 \
HTMLObject::ReadCookie.3 HTMLObject::Template.3 \
HTMLObject::WAP.3 HTMLObject::WMLCard.3 \
- HTMLObject::WMLDeck.3
+ HTMLObject::WMLDeck.3 HTMLObject::Widgets.3 \
+ HTMLObject::ErrorBase.3
-.include
+.include
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= requires perl 5.6.0 or higher. Please install lang/perl5.8 and try again.
+.endif
+
+.include
diff --git a/www/htmlobject/distinfo b/www/htmlobject/distinfo
index 8cc42389d0ae..884e885f0321 100644
--- a/www/htmlobject/distinfo
+++ b/www/htmlobject/distinfo
@@ -1,3 +1,3 @@
-MD5 (libhtmlobject-perl-2.26.tar.gz) = b65ccd0073a6025fbd70a510a9fa0ce4
-SHA256 (libhtmlobject-perl-2.26.tar.gz) = b7fe4171cf23c2a3d70af40538c6b3599fea95371f22418b4a86d364cc554bfc
-SIZE (libhtmlobject-perl-2.26.tar.gz) = 149809
+MD5 (libhtmlobject-perl-2.27.tar.gz) = 21e610a08f67cb37ca4668d1028f286a
+SHA256 (libhtmlobject-perl-2.27.tar.gz) = 3bb1627cb92dfa57b7f3da11d9435de6e81e17baefaf3f814d6b083c26d1b443
+SIZE (libhtmlobject-perl-2.27.tar.gz) = 176424
diff --git a/www/htmlobject/pkg-plist b/www/htmlobject/pkg-plist
index cddb9b4010c8..ba38567f4b48 100644
--- a/www/htmlobject/pkg-plist
+++ b/www/htmlobject/pkg-plist
@@ -10,6 +10,8 @@
%%SITE_PERL%%/HTMLObject/WAP.pm
%%SITE_PERL%%/HTMLObject/WMLCard.pm
%%SITE_PERL%%/HTMLObject/WMLDeck.pm
+%%SITE_PERL%%/HTMLObject/Widgets.pm
+%%SITE_PERL%%/HTMLObject/ErrorBase.pm
%%SITE_PERL%%/auto/HTMLObject/Base/autosplit.ix
%%SITE_PERL%%/auto/HTMLObject/Form/autosplit.ix
%%SITE_PERL%%/auto/HTMLObject/FrameSet/autosplit.ix
@@ -21,6 +23,8 @@
%%SITE_PERL%%/auto/HTMLObject/WAP/autosplit.ix
%%SITE_PERL%%/auto/HTMLObject/WMLCard/autosplit.ix
%%SITE_PERL%%/auto/HTMLObject/WMLDeck/autosplit.ix
+%%SITE_PERL%%/auto/HTMLObject/Widgets/autosplit.ix
+%%SITE_PERL%%/auto/HTMLObject/ErrorBase/autosplit.ix
%%SITE_PERL%%/%%PERL_ARCH%%/auto/HTMLObject/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/HTMLObject
@dirrm %%SITE_PERL%%/auto/HTMLObject/WMLDeck
@@ -34,5 +38,7 @@
@dirrm %%SITE_PERL%%/auto/HTMLObject/FrameSet
@dirrm %%SITE_PERL%%/auto/HTMLObject/Form
@dirrm %%SITE_PERL%%/auto/HTMLObject/Base
+@dirrm %%SITE_PERL%%/auto/HTMLObject/Widgets
+@dirrm %%SITE_PERL%%/auto/HTMLObject/ErrorBase
@dirrm %%SITE_PERL%%/auto/HTMLObject
@dirrm %%SITE_PERL%%/HTMLObject