aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Test-Harness/Makefile
blob: c54b5f49ef51c27e1227d47a8523c8e762a702f4 (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# New ports collection makefile for:    p5-Test-Harness
# Date Created:             13 Aug 2001
# Whom:                 Shell Hung <shell@shellhung.org>
#
# $FreeBSD$
#

PORTNAME=   Test-Harness
PORTVERSION=    3.07
CATEGORIES= devel perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= perl@FreeBSD.org
COMMENT=    Run perl standard test scripts with statistics

PERL_CONFIGURE= yes
INSTALL_TARGET= pure_install

MAN1=       prove.1
MAN3=       \
        App::Prove.3 \
        App::Prove::State.3 \
        TAP::Base.3 \
        TAP::Formatter::Color.3 \
        TAP::Formatter::Console.3 \
        TAP::Formatter::Console::ParallelSession.3 \
        TAP::Formatter::Console::Session.3 \
        TAP::Harness.3 \
        TAP::Parser.3 \
        TAP::Parser::Aggregator.3 \
        TAP::Parser::Grammar.3 \
        TAP::Parser::Iterator.3 \
        TAP::Parser::Iterator::Array.3 \
        TAP::Parser::Iterator::Process.3 \
        TAP::Parser::Iterator::Stream.3 \
        TAP::Parser::Multiplexer.3 \
        TAP::Parser::Result.3 \
        TAP::Parser::Result::Bailout.3 \
        TAP::Parser::Result::Comment.3 \
        TAP::Parser::Result::Plan.3 \
        TAP::Parser::Result::Test.3 \
        TAP::Parser::Result::Unknown.3 \
        TAP::Parser::Result::Version.3 \
        TAP::Parser::Result::YAML.3 \
        TAP::Parser::Source.3 \
        TAP::Parser::Source::Perl.3 \
        TAP::Parser::YAMLish::Reader.3 \
        TAP::Parser::YAMLish::Writer.3 \
        Test::HACKING.3 \
        Test::Harness.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} >= 500800
.undef MAN1
PLIST_SUB+= PL_FILES="@comment "
.else
PLIST_SUB+= PL_FILES=""
.endif

post-patch:
    @${REINPLACE_CMD} -e '/INSTALLDIRS/d' ${WRKSRC}/${CONFIGURE_SCRIPT}

post-configure:
.if ${PERL_LEVEL} >= 500800
    @${REINPLACE_CMD} -E -e '/(DESTINSTALLSITEMAN1DIR|DESTINSTALLSCRIPT)/d' \
        ${WRKSRC}/${MAKEFILE}
.endif

.include <bsd.port.post.mk>