diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2008-03-26 05:54:10 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2008-03-26 05:54:10 +0000 |
commit | 61e3d6bb4ae844e9b47548544b25b7b28350af0f (patch) | |
tree | 8b52fb037f9ecf5e89aa81eeb154cc39c01bc4e8 /devel/p5-Test-Base | |
parent | 17ea6d896a3f92bb937d7d2b007d5e48033566e7 (diff) | |
download | ports-61e3d6bb4ae844e9b47548544b25b7b28350af0f.tar.gz ports-61e3d6bb4ae844e9b47548544b25b7b28350af0f.zip |
- fix conditional dependency of dual-life modules
- bump PORTREVISION
PR: based on 121603
Submitted by: leeym
Approved by: maintainer timeout
Notes
Notes:
svn path=/head/; revision=209842
Diffstat (limited to 'devel/p5-Test-Base')
-rw-r--r-- | devel/p5-Test-Base/Makefile | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/devel/p5-Test-Base/Makefile b/devel/p5-Test-Base/Makefile index 1243b20ddc0c..299aa98adfb6 100644 --- a/devel/p5-Test-Base/Makefile +++ b/devel/p5-Test-Base/Makefile @@ -7,19 +7,16 @@ PORTNAME= Test-Base PORTVERSION= 0.54 +PORTREVISION= 1 CATEGORIES= devel perl5 -MASTER_SITES= ${MASTER_SITE_PERL_CPAN} -MASTER_SITE_SUBDIR= Test +MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= tobez@FreeBSD.org COMMENT= Test::Base - A Data Driven Testing Framework -BUILD_DEPENDS= \ - p5-Spiffy>=0.30:${PORTSDIR}/devel/p5-Spiffy \ - p5-MIME-Base64>0:${PORTSDIR}/converters/p5-MIME-Base64 \ - p5-Test-Simple>=0.62:${PORTSDIR}/devel/p5-Test-Simple -RUN_DEPENDS= ${BUILD_DEPENDS} +RUN_DEPENDS= p5-Spiffy>=0.30:${PORTSDIR}/devel/p5-Spiffy +BUILD_DEPENDS= ${RUN_DEPENDS} PERL_CONFIGURE= yes @@ -27,4 +24,15 @@ MAN3= Test::Base.3 \ Test::Base::Filter.3 \ Module::Install::TestBase.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500703 +RUN_DEPENDS+= p5-Filter>=0:${PORTSDIR}/devel/p5-Filter \ + p5-MIME-Base64>=0:${PORTSDIR}/converters/p5-MIME-Base64 +.endif + +.if ${PERL_LEVEL} < 500808 +RUN_DEPENDS+= p5-Test-Simple>=0.62:${PORTSDIR}/devel/p5-Test-Simple +.endif + +.include <bsd.port.post.mk> |