freebsd-ports/devel/p5-Test-Harness/Makefile
2008-09-23 12:18:49 +00:00

79 lines
1.9 KiB
Makefile

# 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.14
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Run perl standard test scripts with statistics
PERL_CONFIGURE= yes
MAN1= prove.1
MAN3= App::Prove.3 \
App::Prove::State.3 \
App::Prove::State::Result.3 \
App::Prove::State::Result::Test.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::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
.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>