aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2011-06-13 02:40:20 +0800
committersunpoet <sunpoet@FreeBSD.org>2011-06-13 02:40:20 +0800
commit99b0a6b3bb316fa94ad5d7b73e8ac169d18b209b (patch)
tree6a6937a4af77d9ef599419744aec6ee486f3bb26
parent0a0dd22bdd2535c4ef18baa8256b52c93b2e5c2d (diff)
downloadfreebsd-ports-gnome-99b0a6b3bb316fa94ad5d7b73e8ac169d18b209b.tar.gz
freebsd-ports-gnome-99b0a6b3bb316fa94ad5d7b73e8ac169d18b209b.tar.zst
freebsd-ports-gnome-99b0a6b3bb316fa94ad5d7b73e8ac169d18b209b.zip
- Fix {BUILD|RUN}_DEPENDS
- Change to new CPAN :id subdir macro - Bump PORTREVISION for dependency change
-rw-r--r--net-p2p/p5-Net-BitTorrent/Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/net-p2p/p5-Net-BitTorrent/Makefile b/net-p2p/p5-Net-BitTorrent/Makefile
index 6f3f1d248899..84bad0e06ced 100644
--- a/net-p2p/p5-Net-BitTorrent/Makefile
+++ b/net-p2p/p5-Net-BitTorrent/Makefile
@@ -7,16 +7,16 @@
PORTNAME= Net-BitTorrent
PORTVERSION= 0.052
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net-p2p perl5
-MASTER_SITES= CPAN/../../authors/id/S/SA/SANKO
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= CPAN:SANKO
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= BitTorrent peer-to-peer protocol class
-RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/version.pm:${PORTSDIR}/devel/p5-version
-BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/version.pm:${PORTSDIR}/devel/p5-version
+RUN_DEPENDS= p5-Math-BigInt>=1.78:${PORTSDIR}/math/p5-Math-BigInt
CONFIGURE_ARGS= </dev/null
PORTSCOUT= skipv:0.074000_012
@@ -41,8 +41,11 @@ MAN3= Net::BitTorrent.3 \
.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
+BUILD_DEPENDS+= p5-Digest-SHA>=5.45:${PORTSDIR}/security/p5-Digest-SHA \
+ p5-Module-Build>=0.3:${PORTSDIR}/devel/p5-Module-Build \
+ p5-version>=0.74:${PORTSDIR}/devel/p5-version
+RUN_DEPENDS+= p5-Digest-SHA>=5.45:${PORTSDIR}/security/p5-Digest-SHA \
+ p5-version>=0.74:${PORTSDIR}/devel/p5-version
.endif
.include <bsd.port.post.mk>