diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2008-03-21 16:14:31 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2008-03-21 16:14:31 +0000 |
commit | 7c5972877635ab4cc74a56d6dfa82e5fdc750093 (patch) | |
tree | 82392ee30647306e37324a031a34670557bba775 /devel/p5-Module-Load-Conditional | |
parent | 5840d29c60c6f473e25d7098b5627b0e102ad19d (diff) | |
download | ports-7c5972877635ab4cc74a56d6dfa82e5fdc750093.tar.gz ports-7c5972877635ab4cc74a56d6dfa82e5fdc750093.zip |
- fix dependency
- bump PORTREVISION
Notes
Notes:
svn path=/head/; revision=209541
Diffstat (limited to 'devel/p5-Module-Load-Conditional')
-rw-r--r-- | devel/p5-Module-Load-Conditional/Makefile | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/devel/p5-Module-Load-Conditional/Makefile b/devel/p5-Module-Load-Conditional/Makefile index 1bfe3c86dc25..1eb8fa13f8ab 100644 --- a/devel/p5-Module-Load-Conditional/Makefile +++ b/devel/p5-Module-Load-Conditional/Makefile @@ -7,6 +7,7 @@ PORTNAME= Module-Load-Conditional PORTVERSION= 0.26 +PORTREVISION= 1 CATEGORIES= devel perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -14,11 +15,7 @@ PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Looking up Perl modules information/loading at runtime -RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/File/Spec.pm:${PORTSDIR}/devel/p5-PathTools \ - ${SITE_PERL}/Locale/Maketext/Simple.pm:${PORTSDIR}/devel/p5-Locale-Maketext-Simple \ - ${SITE_PERL}/Module/Load.pm:${PORTSDIR}/devel/p5-Module-Load \ - ${SITE_PERL}/Params/Check.pm:${PORTSDIR}/devel/p5-Params-Check \ - p5-version>=0.69:${PORTSDIR}/devel/p5-version +RUN_DEPENDS= p5-Module-Load>=0.11:${PORTSDIR}/devel/p5-Module-Load BUILD_DEPENDS= ${RUN_DEPENDS} PERL_CONFIGURE= yes @@ -34,4 +31,12 @@ post-install: @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." .endif -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500905 +RUN_DEPENDS+= p5-Locale-Maketext-Simple>=0:${PORTSDIR}/devel/p5-Locale-Maketext-Simple \ + p5-Params-Check>=0:${PORTSDIR}/devel/p5-Params-Check \ + p5-version>=0.69:${PORTSDIR}/devel/p5-version +.endif + +.include <bsd.port.post.mk> |