- simplify dependency

- bump PORTREVISION

PR:		128797
Submitted by:	leeym
Approved by:	maintainer timeout
This commit is contained in:
Yen-Ming Lee 2008-12-01 20:11:55 +00:00
parent db6967e5c9
commit eaa876894a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=223674

View file

@ -7,6 +7,7 @@
PORTNAME= cpan-upload
PORTVERSION= 2.2
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= ../by-authors/id/N/NE/NEILB/scripts
@ -14,15 +15,19 @@ MASTER_SITE_SUBDIR= ../by-authors/id/N/NE/NEILB/scripts
MAINTAINER= lth@FreeBSD.org
COMMENT= Script for uploading distributions to CPAN
BUILD_DEPENDS= ${SITE_PERL}/AppConfig/Std.pm:${PORTSDIR}/devel/p5-AppConfig-Std \
${SITE_PERL}/Pod/Usage.pm:${PORTSDIR}/textproc/p5-Pod-Parser \
${SITE_PERL}/Net/FTP.pm:${PORTSDIR}/net/p5-Net \
${SITE_PERL}/HTTP/Request/Common.pm:${PORTSDIR}/www/p5-libwww \
${SITE_PERL}/${PERL_ARCH}/Term/ReadKey.pm:${PORTSDIR}/devel/p5-Term-ReadKey
RUN_DEPENDS= ${BUILD_DEPENDS}
RUN_DEPENDS= p5-AppConfig-Std>=1.05:${PORTSDIR}/devel/p5-AppConfig-Std \
p5-Term-ReadKey>=0:${PORTSDIR}/devel/p5-Term-ReadKey \
p5-libwww>=0:${PORTSDIR}/www/p5-libwww
BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
MAN1= cpan-upload.1
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500703
RUN_DEPENDS+= p5-Net>=2.28:${PORTSDIR}/net/p5-Net
.endif
.include <bsd.port.post.mk>