summaryrefslogtreecommitdiff
path: root/textproc/p5-Marpa-HTML
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2012-03-13 16:15:36 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2012-03-13 16:15:36 +0000
commitb59621d3ae883bef429a8fae6073bfa293a55222 (patch)
treeb415c7b2903cf47ada68c5557c3c6ac33a25fc41 /textproc/p5-Marpa-HTML
parent- Update to 0.8.2 (diff)
- Revert ports/165605 as requested by portmgr@
Note: devel/p5-B-Size and devel/p5-Devel-Arena where intentionally not restored. PR: ports/165605 Approved by: portmgr (bapt) Feature safe: yes (I sure hope so)
Notes
Notes: svn path=/head/; revision=293247
Diffstat (limited to 'textproc/p5-Marpa-HTML')
-rw-r--r--textproc/p5-Marpa-HTML/Makefile16
1 files changed, 13 insertions, 3 deletions
diff --git a/textproc/p5-Marpa-HTML/Makefile b/textproc/p5-Marpa-HTML/Makefile
index 801b9cbd47f1..7b8763fcc77d 100644
--- a/textproc/p5-Marpa-HTML/Makefile
+++ b/textproc/p5-Marpa-HTML/Makefile
@@ -19,16 +19,26 @@ COMMENT= High-level HTML Parser
BUILD_DEPENDS= p5-HTML-Parser>=3.64:${PORTSDIR}/www/p5-HTML-Parser \
p5-Marpa-PP>=0.012:${PORTSDIR}/lang/p5-Marpa-PP \
p5-Marpa-XS>=0.026:${PORTSDIR}/lang/p5-Marpa-XS
-RUN_DEPENDS:= ${BUILD_DEPENDS}
+RUN_DEPENDS= p5-HTML-Parser>=3.64:${PORTSDIR}/www/p5-HTML-Parser \
+ p5-Marpa-PP>=0.012:${PORTSDIR}/lang/p5-Marpa-PP \
+ p5-Marpa-XS>=0.026:${PORTSDIR}/lang/p5-Marpa-XS
-PERL_CONFIGURE= yes
+PERL_CONFIGURE= 5.10.0+
MAN1= html_fmt.1 \
html_score.1
MAN3= Marpa::HTML.3 \
Marpa::HTML::Support.3
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501200
+BUILD_DEPENDS+= p5-Data-Dumper>=2.125:${PORTSDIR}/devel/p5-Data-Dumper
+RUN_DEPENDS+= p5-Data-Dumper>=2.125:${PORTSDIR}/devel/p5-Data-Dumper
+TEST_DEPENDS+= p5-Test-Simple>=0.94:${PORTSDIR}/devel/p5-Test-Simple
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|lib/Marpa/Support.pod|lib/Marpa/HTML/Support.pod|' ${WRKSRC}/Build.PL
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>