aboutsummaryrefslogtreecommitdiff
path: root/ftp/p5-File-Fetch
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2008-03-26 07:25:59 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2008-03-26 07:25:59 +0000
commite98b89dcef5f331cd8471de4abeaa5073625e4ac (patch)
treee72e3e604be064f6e756ee73f867ba65f8d20939 /ftp/p5-File-Fetch
parent61e3d6bb4ae844e9b47548544b25b7b28350af0f (diff)
downloadports-e98b89dcef5f331cd8471de4abeaa5073625e4ac.tar.gz
ports-e98b89dcef5f331cd8471de4abeaa5073625e4ac.zip
- 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
Diffstat (limited to 'ftp/p5-File-Fetch')
-rw-r--r--ftp/p5-File-Fetch/Makefile22
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>