1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/devel/p5-Test-Tester/Makefile
2005-11-16 15:25:37 +00:00

48 lines
1.1 KiB
Makefile

# New ports collection makefile for: p5-Test-Tester
# Date created: May 12th 2004
# Whom: Alex Kapranoff <alex@kapranoff.ru>
#
# $FreeBSD$
#
PORTNAME= Test-Tester
PORTVERSION= 0.10.3
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Test
PKGNAMEPREFIX= p5-
DISTNAME= ${PORTNAME}-${PORTVERSION:C/\.(.)$/\1/}
MAINTAINER= mat@FreeBSD.org
COMMENT= Helps to test various Test::Builder derivatives
PERL_CONFIGURE= yes
INSTALL_TARGET= pure_install
MAN3= Test::Tester.3 Test::Tester::Capture.3 \
Test::Tester::CaptureRunner.3
.if !defined(NOPORTDOCS)
PORTDOCS= CHANGES
post-install:
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500800
BUILD_DEPENDS+= ${SITE_PERL}/Test/Builder.pm:${PORTSDIR}/devel/p5-Test-Simple
RUN_DEPENDS+= ${BUILD_DEPENDS}
.if ${PERL_LEVEL} < 500601
post-patch:
@${PERL} -pi -e '$$_ = "" if /(use|no) warnings/g;' \
${WRKSRC}/lib/Test/Tester.pm ${WRKSRC}/lib/Test/Tester/Delegate.pm \
${WRKSRC}/t/*
.endif
.endif
.include <bsd.port.post.mk>