summaryrefslogtreecommitdiffstats
path: root/net-p2p/p5-Net-BitTorrent/Makefile
blob: 84bad0e06ced9e44731d2b9b90c4f4d5a6702f14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# New ports collection makefile for:	p5-Net-BitTorrent
# Date created:		2008-04-12
# Whom:			Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#

PORTNAME=	Net-BitTorrent
PORTVERSION=	0.052
PORTREVISION=	2
CATEGORIES=	net-p2p perl5
MASTER_SITES=	CPAN
MASTER_SITE_SUBDIR=	CPAN:SANKO
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@FreeBSD.org
COMMENT=	BitTorrent peer-to-peer protocol class

RUN_DEPENDS=	p5-Math-BigInt>=1.78:${PORTSDIR}/math/p5-Math-BigInt

CONFIGURE_ARGS=	</dev/null
PORTSCOUT=	skipv:0.074000_012	

PERL_MODBUILD=	yes

MAN1=		net-bittorrent.pl.1
MAN3=		Net::BitTorrent.3 \
		Net::BitTorrent::Notes.3 \
		Net::BitTorrent::ConfigData.3 \
		Net::BitTorrent::DHT.3 \
		Net::BitTorrent::Peer.3 \
		Net::BitTorrent::Protocol.3 \
		Net::BitTorrent::Torrent.3 \
		Net::BitTorrent::Torrent::File.3 \
		Net::BitTorrent::Torrent::Tracker.3 \
		Net::BitTorrent::Torrent::Tracker::HTTP.3 \
		Net::BitTorrent::Torrent::Tracker::UDP.3 \
		Net::BitTorrent::Util.3 \
		Net::BitTorrent::Version.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 501000
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>
OpenPOWER on IntegriCloud