aboutsummaryrefslogtreecommitdiff
path: root/www/p5-HTML-Encoding
diff options
context:
space:
mode:
Diffstat (limited to 'www/p5-HTML-Encoding')
-rw-r--r--www/p5-HTML-Encoding/Makefile14
-rw-r--r--www/p5-HTML-Encoding/distinfo6
2 files changed, 12 insertions, 8 deletions
diff --git a/www/p5-HTML-Encoding/Makefile b/www/p5-HTML-Encoding/Makefile
index 0a9dfebcd6ef..7ba37d7a9bb6 100644
--- a/www/p5-HTML-Encoding/Makefile
+++ b/www/p5-HTML-Encoding/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= HTML-Encoding
-PORTVERSION= 0.57
+PORTVERSION= 0.59
CATEGORIES= www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -15,13 +15,17 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Determine the encoding of HTML/XML/XHTML documents
-BUILD_DEPENDS= p5-Encode>=0:${PORTSDIR}/converters/p5-Encode \
- p5-HTML-Parser>=0:${PORTSDIR}/www/p5-HTML-Parser \
+RUN_DEPENDS= p5-HTML-Parser>=0:${PORTSDIR}/www/p5-HTML-Parser \
p5-libwww>=0:${PORTSDIR}/www/p5-libwww
-RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN3= HTML::Encoding.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500703
+RUN_DEPENDS+= p5-Encode>=0:${PORTSDIR}/converters/p5-Encode
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/www/p5-HTML-Encoding/distinfo b/www/p5-HTML-Encoding/distinfo
index b239accfc3c6..a39fceceb604 100644
--- a/www/p5-HTML-Encoding/distinfo
+++ b/www/p5-HTML-Encoding/distinfo
@@ -1,3 +1,3 @@
-MD5 (HTML-Encoding-0.57.tar.gz) = 4cd6465e1a676ec3ba1e9a30f7788183
-SHA256 (HTML-Encoding-0.57.tar.gz) = 8f63a351ce22c7149361837ddfc2d4904b79ebf0149f59d9bb6418d0dd022b1d
-SIZE (HTML-Encoding-0.57.tar.gz) = 12703
+MD5 (HTML-Encoding-0.59.tar.gz) = 4c4ff4d2fb554b66324003f54faac819
+SHA256 (HTML-Encoding-0.59.tar.gz) = aa53c15d135f0336bf4668bdcab9698d449dece5a4055cf6e5e9654969e7d70d
+SIZE (HTML-Encoding-0.59.tar.gz) = 13235