aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-HTML-Truncate/Makefile
blob: b0da1d0ce9239869aaed4b4ae90cb32964793a52 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
PORTNAME=	HTML-Truncate
PORTVERSION=	0.20
PORTREVISION=	1
CATEGORIES=	textproc www perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@FreeBSD.org
COMMENT=	Truncate HTML by character count while preserving well-formedness
WWW=		https://metacpan.org/release/HTML-Truncate

BUILD_DEPENDS=	${RUN_DEPENDS}
RUN_DEPENDS=	p5-HTML-Parser>=2:www/p5-HTML-Parser \
		p5-HTML-Tagset>=3:www/p5-HTML-Tagset

USES=		perl5
USE_PERL5=	configure

post-patch:
	${RM} ${WRKSRC}/lib/HTML/Truncate.pm.orig

.include <bsd.port.mk>