aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Test-Harness/Makefile
blob: 83ddccbc24cae928d90dc27253216eb760042297 (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
72
73
74
75
76
77
78
79
80
# 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.17
CATEGORIES=	devel perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

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

PERL_CONFIGURE=	yes

MAN3=		App::Prove.3 \
		App::Prove::State.3 \
		App::Prove::State::Result.3 \
		App::Prove::State::Result::Test.3 TAP::Base.3 \
		TAP::Formatter::Base.3 \
		TAP::Formatter::Color.3 \
		TAP::Formatter::Console.3 \
		TAP::Formatter::Console::ParallelSession.3 \
		TAP::Formatter::Console::Session.3 \
		TAP::Formatter::File.3 \
		TAP::Formatter::File::Session.3 \
		TAP::Formatter::Session.3 \
		TAP::Harness.3 \
		TAP::Object.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::IteratorFactory.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::Pragma.3 \
		TAP::Parser::Result::Test.3 \
		TAP::Parser::Result::Unknown.3 \
		TAP::Parser::Result::Version.3 \
		TAP::Parser::Result::YAML.3 \
		TAP::Parser::ResultFactory.3 \
		TAP::Parser::Scheduler.3 \
		TAP::Parser::Scheduler::Job.3 \
		TAP::Parser::Scheduler::Spinner.3 \
		TAP::Parser::Source.3 \
		TAP::Parser::Source::Perl.3 \
		TAP::Parser::Utils.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
PLIST_SUB=	P5_PREFIX="p5"
MAN1=		p5prove.1
pre-patch:
	@${MV} ${WRKSRC}/bin/prove ${WRKSRC}/bin/p5prove
	@${PERL} -pi -e "s,^bin/prove$$,bin/p5prove," ${WRKSRC}/MANIFEST
	@${PERL} -pi -e "s,'bin/prove','bin/p5prove'," ${WRKSRC}/Makefile.PL
.else
MAN1=		prove.1
PLIST_SUB=	P5_PREFIX=""
.endif

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

.include <bsd.port.post.mk>