aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-HTML-Truncate
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2009-05-11 14:41:30 +0800
committerleeym <leeym@FreeBSD.org>2009-05-11 14:41:30 +0800
commit9a01888ffe7ee5b1dbce16c79ffdb19700818984 (patch)
tree56a1f2f37788d0e88e0e5bc1a09756d916d37d3c /textproc/p5-HTML-Truncate
parent87a494860e8defd945f27c1091a389c4fc3cd256 (diff)
downloadfreebsd-ports-gnome-9a01888ffe7ee5b1dbce16c79ffdb19700818984.tar.gz
freebsd-ports-gnome-9a01888ffe7ee5b1dbce16c79ffdb19700818984.tar.zst
freebsd-ports-gnome-9a01888ffe7ee5b1dbce16c79ffdb19700818984.zip
- update to 0.17
Diffstat (limited to 'textproc/p5-HTML-Truncate')
-rw-r--r--textproc/p5-HTML-Truncate/Makefile15
-rw-r--r--textproc/p5-HTML-Truncate/distinfo6
2 files changed, 12 insertions, 9 deletions
diff --git a/textproc/p5-HTML-Truncate/Makefile b/textproc/p5-HTML-Truncate/Makefile
index 0b952e780c43..04c94364844d 100644
--- a/textproc/p5-HTML-Truncate/Makefile
+++ b/textproc/p5-HTML-Truncate/Makefile
@@ -6,20 +6,23 @@
#
PORTNAME= HTML-Truncate
-PORTVERSION= 0.16
+PORTVERSION= 0.17
CATEGORIES= textproc www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
-COMMENT= truncate HTML by character count while preserving well-formedness
+COMMENT= Truncate HTML by character count while preserving well-formedness
-BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/HTML/TokeParser.pm:${PORTSDIR}/www/p5-HTML-Parser \
- ${SITE_PERL}/${PERL_ARCH}/HTML/Entities.pm:${PORTSDIR}/www/p5-HTML-Parser
-RUN_DEPENDS= ${BUILD_DEPENDS}
+RUN_DEPENDS= p5-HTML-Parser>=2:${PORTSDIR}/www/p5-HTML-Parser \
+ p5-HTML-Tagset>=3:${PORTSDIR}/www/p5-HTML-Tagset
+BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= 5.8.0+
-MAN3= HTML::Truncate.3
+MAN3= HTML::Truncate.3
+
+post-patch:
+ ${REINPLACE_CMD} -e 's,Yesh.pm,HTML/Truncate.pm,' ${WRKSRC}/${CONFIGURE_SCRIPT}
.include <bsd.port.mk>
diff --git a/textproc/p5-HTML-Truncate/distinfo b/textproc/p5-HTML-Truncate/distinfo
index ff46945c9b85..4fa0e514b80c 100644
--- a/textproc/p5-HTML-Truncate/distinfo
+++ b/textproc/p5-HTML-Truncate/distinfo
@@ -1,3 +1,3 @@
-MD5 (HTML-Truncate-0.16.tar.gz) = 01ccbef9cadc299ddd3a10a313fc7a2f
-SHA256 (HTML-Truncate-0.16.tar.gz) = bfa5228c2f769db03bff21a76ac8e6ddc71349dcefe0dbf1bb748450223c71a5
-SIZE (HTML-Truncate-0.16.tar.gz) = 30464
+MD5 (HTML-Truncate-0.17.tar.gz) = a49b2659505be5c6896bd9ec6a989249
+SHA256 (HTML-Truncate-0.17.tar.gz) = 6763c2aeade5a6474320281acfc3da2fd80278a8a51ebb93af56dac6d25d491e
+SIZE (HTML-Truncate-0.17.tar.gz) = 31169