summaryrefslogtreecommitdiffstats
path: root/www/p5-HTML-FromText/Makefile
blob: f618c5b0ca9559cd8e622192f4d8ba76253b5d60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# New ports collection makefile for:	HTML::FromText
# Date created:				04 November 2002
# Whom:					Seamus Venasse <svenasse@polaris.ca>
#
# $FreeBSD$
#

PORTNAME=		HTML-FromText
PORTVERSION=		2.05
CATEGORIES=		www perl5
MASTER_SITES=		${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR=	HTML
PKGNAMEPREFIX=		p5-

MAINTAINER=		svenasse@polaris.ca
COMMENT=	Mark up text as HTML

BUILD_DEPENDS=	${SITE_PERL}/Email/Find.pm:${PORTSDIR}/mail/p5-Email-Find \
		${SITE_PERL}/Exporter/Lite.pm:${PORTSDIR}/devel/p5-Exporter-Lite \
		${SITE_PERL}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils \
		${SITE_PERL}/${PERL_ARCH}/HTML/Entities.pm:${PORTSDIR}/www/p5-HTML-Parser
RUN_DEPENDS=	${BUILD_DEPENDS}

PERL_CONFIGURE=		yes

MAN1=			text2html.1
MAN3=			HTML::FromText.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500600
post-patch:
	@${PERL} -pi -e 's/_ foreach/_() foreach/' ${WRKSRC}/lib/HTML/FromText.pm
.endif

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud