48 lines
1.6 KiB
Makefile
48 lines
1.6 KiB
Makefile
# New ports collection makefile for: p5-Test-Class
|
|
# Date created: January 27th 2003
|
|
# Whom: Erwin Lansing <erwin@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= Test-Class
|
|
PORTVERSION= 0.11
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
MASTER_SITE_SUBDIR= Test
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= perl@FreeBSD.org
|
|
COMMENT= Test::Class - Easily create test classes in an xUnit style
|
|
|
|
BUILD_DEPENDS= ${SITE_PERL}/Test/Builder/Tester.pm:${PORTSDIR}/devel/p5-Test-Builder-Tester \
|
|
${SITE_PERL}/Test/Exception.pm:${PORTSDIR}/devel/p5-Test-Exception \
|
|
${SITE_PERL}/Devel/Symdump.pm:${PORTSDIR}/devel/p5-Devel-Symdump \
|
|
${SITE_PERL}/Test/Differences.pm:${PORTSDIR}/devel/p5-Test-Differences
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
MAN3= Test::Class.3
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
##
|
|
## this port requires PERL 5.6.x or later
|
|
##
|
|
.if ${PERL_LEVEL} < 500601
|
|
IGNORE= Port requires perl 5.6.x or later. Install lang/perl5 then try again
|
|
.endif
|
|
|
|
.if ${PERL_LEVEL} < 500800
|
|
BUILD_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple \
|
|
${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable \
|
|
${SITE_PERL}/Class/ISA.pm:${PORTSDIR}/devel/p5-Class-ISA \
|
|
${SITE_PERL}/Attribute/Handlers.pm:${PORTSDIR}/devel/p5-Attribute-Handlers
|
|
RUN_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple \
|
|
${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable \
|
|
${SITE_PERL}/Class/ISA.pm:${PORTSDIR}/devel/p5-Class-ISA \
|
|
${SITE_PERL}/Attribute/Handlers.pm:${PORTSDIR}/devel/p5-Attribute-Handlers
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|