aboutsummaryrefslogtreecommitdiff
path: root/www/p5-HTML-Parser/Makefile
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2006-01-06 02:04:31 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2006-01-06 02:04:31 +0000
commitda61eecde9f62f3e88af9b1b7651dba3007da659 (patch)
treefc1c7824ea675a20843da183fa9aad5ae4a98a22 /www/p5-HTML-Parser/Makefile
parenta075c67d38d65a9c25ba78656ac5aa081cd31e7d (diff)
downloadports-da61eecde9f62f3e88af9b1b7651dba3007da659.tar.gz
ports-da61eecde9f62f3e88af9b1b7651dba3007da659.zip
Notes
Diffstat (limited to 'www/p5-HTML-Parser/Makefile')
-rw-r--r--www/p5-HTML-Parser/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/www/p5-HTML-Parser/Makefile b/www/p5-HTML-Parser/Makefile
index f333413780e1..f1957f8817f8 100644
--- a/www/p5-HTML-Parser/Makefile
+++ b/www/p5-HTML-Parser/Makefile
@@ -15,8 +15,9 @@ PKGNAMEPREFIX= p5-
MAINTAINER= demon@FreeBSD.org
COMMENT= Perl5 module for parsing HTML documents
-BUILD_DEPENDS= ${SITE_PERL}/HTML/Tagset.pm:${PORTSDIR}/www/p5-HTML-Tagset
-RUN_DEPENDS= ${BUILD_DEPENDS}
+RUN_DEPENDS= ${SITE_PERL}/HTML/Tagset.pm:${PORTSDIR}/www/p5-HTML-Tagset
+BUILD_DEPENDS= ${RUN_DEPENDS}
+BUILD_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
PERL_CONFIGURE= yes
@@ -31,7 +32,11 @@ MAN3= HTML::Entities.3 \
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
-IGNORE= requires Perl version 5.6 or above
+RUN_DEPENDS+= ${SITE_PERL}/XSLoader.pm:${PORTSDIR}/devel/p5-XSLoader
+
+post-patch:
+ ${REINPLACE_CMD} -e '/require 5.006/d' ${WRKSRC}/${CONFIGURE_SCRIPT}
+ ${REINPLACE_CMD} -e '/open/s/", $$file/ $$file"/g' ${WRKSRC}/t/unicode.t
.endif
.include <bsd.port.post.mk>