diff options
author | Martin Matuska <mm@FreeBSD.org> | 2010-09-21 16:08:11 +0000 |
---|---|---|
committer | Martin Matuska <mm@FreeBSD.org> | 2010-09-21 16:08:11 +0000 |
commit | 17e550ca2fd180b150f6645ced5f3bb45bc32292 (patch) | |
tree | e856fa025c5b15bbef21f621e347c51780662a47 /net-p2p/p5-Net-BitTorrent | |
parent | b4599e3d63c3a94b17026b18d1f8ac27faac53fc (diff) | |
download | ports-17e550ca2fd180b150f6645ced5f3bb45bc32292.tar.gz ports-17e550ca2fd180b150f6645ced5f3bb45bc32292.zip |
Notes
Diffstat (limited to 'net-p2p/p5-Net-BitTorrent')
-rw-r--r-- | net-p2p/p5-Net-BitTorrent/Makefile | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/net-p2p/p5-Net-BitTorrent/Makefile b/net-p2p/p5-Net-BitTorrent/Makefile index eb60cb70da28..5f19bbfa9b6c 100644 --- a/net-p2p/p5-Net-BitTorrent/Makefile +++ b/net-p2p/p5-Net-BitTorrent/Makefile @@ -7,6 +7,7 @@ PORTNAME= Net-BitTorrent PORTVERSION= 0.052 +PORTREVISION= 1 CATEGORIES= net-p2p perl5 MASTER_SITES= CPAN/../../authors/id/S/SA/SANKO PKGNAMEPREFIX= p5- @@ -14,9 +15,8 @@ PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= BitTorrent peer-to-peer protocol class -RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Digest/SHA.pm:${PORTSDIR}/security/p5-Digest-SHA \ - ${SITE_PERL}/${PERL_ARCH}/version.pm:${PORTSDIR}/devel/p5-version -BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/version.pm:${PORTSDIR}/devel/p5-version +BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/version.pm:${PORTSDIR}/devel/p5-version CONFIGURE_ARGS= </dev/null PERL_MODBUILD= yes @@ -36,4 +36,11 @@ MAN3= Net::BitTorrent.3 \ Net::BitTorrent::Util.3 \ Net::BitTorrent::Version.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 501000 +RUN_DEPENDS+= p5-Digest-SHA>=5.47:${PORTSDIR}/security/p5-Digest-SHA +BUILD_DEPENDS+= p5-Digest-SHA>=5.47:${PORTSDIR}/security/p5-Digest-SHA +.endif + +.include <bsd.port.post.mk> |