aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-PPI-HTML/Makefile
blob: 5fd3799c1cb4262971afe76d6100a4738737c56e (plain) (blame)
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
37
# New ports collection makefile for:    textproc/p5-PPI-HTML
# Date created:             24 March 2005
# Whom:                 Lars Thegler <lth@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   PPI-HTML
PORTVERSION=    1.07
CATEGORIES= textproc perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ../by-authors/id/A/AD/ADAMK
PKGNAMEPREFIX=  p5-

MAINTAINER= lth@FreeBSD.org
COMMENT=    Generate syntax-hightlighted HTML for Perl using PPI

BUILD_DEPENDS=  p5-PPI>=0.990:${PORTSDIR}/textproc/p5-PPI \
        p5-CSS-Tiny>=0.10:${PORTSDIR}/textproc/p5-CSS-Tiny \
        p5-Params-Util>=0.05:${PORTSDIR}/devel/p5-Params-Util
RUN_DEPENDS=    ${BUILD_DEPENDS}

PERL_CONFIGURE= yes

MAN3=   PPI::HTML.3

post-patch:
    @${PERL} -pi -e '$$_="" if m/Test::More/' ${WRKSRC}/Makefile.PL

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500600
# version limitation inherited from textproc/p5-PPI
IGNORE= requires Perl 5.6 or newer. Install lang/perl5 or lang/perl5.8 and try again
.endif

.include <bsd.port.post.mk>