aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-HTML-Truncate
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2009-05-11 06:41:30 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2009-05-11 06:41:30 +0000
commit4324f584052f12ac50d06db5ad7e1a58bb65fee9 (patch)
tree1f73d3e046cd9ee9bcf19bcd4560a758d5fd6a1e /textproc/p5-HTML-Truncate
parentc42250053d6b3d4bc34149fbb280a180069f55e9 (diff)
downloadports-4324f584052f12ac50d06db5ad7e1a58bb65fee9.tar.gz
ports-4324f584052f12ac50d06db5ad7e1a58bb65fee9.zip
Notes
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