aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2008-03-26 15:25:59 +0800
committerleeym <leeym@FreeBSD.org>2008-03-26 15:25:59 +0800
commit33128bfb64cc245f4742131887fadbe2bfcdd442 (patch)
tree4cafec11148d41f234c22117c95a5dda1a34ba45
parent04615f07f41eeaf12ab5ee60b4401e85693d83d8 (diff)
downloadfreebsd-ports-gnome-33128bfb64cc245f4742131887fadbe2bfcdd442.tar.gz
freebsd-ports-gnome-33128bfb64cc245f4742131887fadbe2bfcdd442.tar.zst
freebsd-ports-gnome-33128bfb64cc245f4742131887fadbe2bfcdd442.zip
- use CPAN macro
- fix dependency - bump PORTREVISION PR: based on 121634 Submitted by: leeym Approved by: maintainer timeout
-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>