Import textproc/p5-HTML-Format version 2.10_1
[dports.git] / textproc / p5-HTML-Format / Makefile
1 # New ports collection makefile for:    p5-HTML-Format
2 # Date created:                         25 April 2001
3 # Whom:                                 Pete Fritchman <petef@databits.net>
4 #
5 # $FreeBSD: ports/textproc/p5-HTML-Format/Makefile,v 1.20 2012/11/17 06:02:04 svnexp Exp $
6 #
7
8 PORTNAME=       HTML-Format
9 PORTVERSION=    2.10
10 PORTREVISION=   1
11 CATEGORIES=     textproc perl5
12 MASTER_SITES=   CPAN
13 PKGNAMEPREFIX=  p5-
14
15 MAINTAINER=     perl@FreeBSD.org
16 COMMENT=        A module to format HTML to text or PS
17
18 LICENSE=        ART10 GPLv1
19 LICENSE_COMB=   dual
20
21 BUILD_DEPENDS=  p5-Font-AFM>=0:${PORTSDIR}/x11-fonts/p5-Font-AFM \
22                 p5-HTML-Tree>=3.15:${PORTSDIR}/www/p5-HTML-Tree
23 RUN_DEPENDS=    p5-Font-AFM>=0:${PORTSDIR}/x11-fonts/p5-Font-AFM \
24                 p5-HTML-Tree>=3.15:${PORTSDIR}/www/p5-HTML-Tree
25 TEST_DEPENDS=   p5-File-Slurp>=0:${PORTSDIR}/devel/p5-File-Slurp
26
27 PERL_MODBUILD=  yes
28 INSTALL_TARGET= pure_install
29
30 MAN3=           HTML::FormatPS.3 \
31                 HTML::FormatRTF.3 \
32                 HTML::FormatText.3 \
33                 HTML::Formatter.3
34
35 .include <bsd.port.pre.mk>
36
37 .if ${PERL_LEVEL} < 501400
38 TEST_DEPENDS+=  p5-Test-Simple>=0.98:${PORTSDIR}/devel/p5-Test-Simple
39 .endif
40
41 .include <bsd.port.post.mk>