diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2008-03-26 07:25:59 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2008-03-26 07:25:59 +0000 |
commit | e98b89dcef5f331cd8471de4abeaa5073625e4ac (patch) | |
tree | e72e3e604be064f6e756ee73f867ba65f8d20939 | |
parent | - fix conditional dependency of dual-life modules (diff) |
- use CPAN macro
- fix dependency
- bump PORTREVISION
PR: based on 121634
Submitted by: leeym
Approved by: maintainer timeout
Notes
Notes:
svn path=/head/; revision=209843
-rw-r--r-- | ftp/p5-File-Fetch/Makefile | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/ftp/p5-File-Fetch/Makefile b/ftp/p5-File-Fetch/Makefile index 49ad221c43c9..e902684a71cb 100644 --- a/ftp/p5-File-Fetch/Makefile +++ b/ftp/p5-File-Fetch/Makefile @@ -7,23 +7,27 @@ PORTNAME= File-Fetch PORTVERSION= 0.14 +PORTREVISION= 1 CATEGORIES= ftp www perl5 -MASTER_SITES= ${MASTER_SITE_PERL_CPAN} -MASTER_SITE_SUBDIR= File +MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= aaron@FreeBSD.org COMMENT= A generic file fetching mechanism -RUN_DEPENDS= ${SITE_PERL}/IPC/Cmd.pm:${PORTSDIR}/devel/p5-IPC-Cmd \ - ${SITE_PERL}/Locale/Maketext/Simple.pm:${PORTSDIR}/devel/p5-Locale-Maketext-Simple \ - ${SITE_PERL}/Module/Load/Conditional.pm:${PORTSDIR}/devel/p5-Module-Load-Conditional \ - ${SITE_PERL}/${PERL_ARCH}/File/Spec.pm:${PORTSDIR}/devel/p5-PathTools \ - ${SITE_PERL}/Params/Check.pm:${PORTSDIR}/devel/p5-Params-Check BUILD_DEPENDS= ${RUN_DEPENDS} -MAN3= File::Fetch.3 +MAN3= File::Fetch.3 PERL_CONFIGURE= yes -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500905 +RUN_DEPENDS+= p5-IPC-Cmd>=0.36:${PORTSDIR}/devel/p5-IPC-Cmd \ + p5-Locale-Maketext-Simple>=0:${PORTSDIR}/devel/p5-Locale-Maketext-Simple \ + p5-Module-Load-Conditional>=0.04:${PORTSDIR}/devel/p5-Module-Load-Conditional \ + p5-Params-Check>=0.07:${PORTSDIR}/devel/p5-Params-Check +.endif + +.include <bsd.port.post.mk> |