2001-08-14 17:05:03 +02:00
|
|
|
# New ports collection makefile for: p5-Test-Harness
|
|
|
|
# Date Created: 13 Aug 2001
|
|
|
|
# Whom: Shell Hung <shell@shellhung.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= Test-Harness
|
2005-10-10 20:38:22 +02:00
|
|
|
PORTVERSION= 2.56
|
2001-08-14 17:05:03 +02:00
|
|
|
CATEGORIES= devel perl5
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
|
|
MASTER_SITE_SUBDIR= Test
|
|
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
|
2005-10-10 20:38:22 +02:00
|
|
|
MAINTAINER= perl@FreeBSD.org
|
2003-02-21 12:23:04 +01:00
|
|
|
COMMENT= Run perl standard test scripts with statistics
|
2001-08-14 17:05:03 +02:00
|
|
|
|
|
|
|
PERL_CONFIGURE= yes
|
2004-02-22 11:10:54 +01:00
|
|
|
INSTALL_TARGET= pure_install
|
2001-08-14 17:05:03 +02:00
|
|
|
|
2003-12-20 10:13:33 +01:00
|
|
|
MAN1= prove.1
|
2001-12-24 15:22:29 +01:00
|
|
|
MAN3= Test::Harness.3 Test::Harness::Assert.3 \
|
2005-07-18 13:05:11 +02:00
|
|
|
Test::Harness::Iterator.3 Test::Harness::Point.3 \
|
|
|
|
Test::Harness::Straps.3 Test::Harness::TAP.3
|
2001-08-14 17:05:03 +02:00
|
|
|
|
2004-01-19 07:15:45 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${PERL_LEVEL} < 500601
|
2005-06-11 18:13:12 +02:00
|
|
|
BUILD_DEPENDS+= ${SITE_PERL}/Pod/Usage.pm:${PORTSDIR}/textproc/p5-Pod-Parser
|
2005-03-01 19:17:40 +01:00
|
|
|
RUN_DEPENDS+= ${BUILD_DEPENDS}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${PERL_LEVEL} >= 500800
|
|
|
|
.undef MAN1
|
|
|
|
PLIST_SUB+= PL_FILES="@comment "
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= PL_FILES=""
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
2005-10-10 20:38:22 +02:00
|
|
|
@${REINPLACE_CMD} -e '/INSTALLDIRS/d' ${WRKSRC}/${CONFIGURE_SCRIPT}
|
|
|
|
|
|
|
|
post-configure:
|
2005-03-01 19:17:40 +01:00
|
|
|
.if ${PERL_LEVEL} >= 500800
|
2005-10-10 20:38:22 +02:00
|
|
|
@${REINPLACE_CMD} -E -e '/(DESTINSTALLSITEMAN1DIR|DESTINSTALLSCRIPT)/d' \
|
|
|
|
${WRKSRC}/${MAKEFILE}
|
2004-01-19 07:15:45 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|