1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/net-p2p/p5-Net-BitTorrent/Makefile
Sunpoet Po-Chuan Hsieh 7767cd3801 - Fix {BUILD|RUN}_DEPENDS
- Change to new CPAN :id subdir macro
- Bump PORTREVISION for dependency change
2011-06-12 18:40:20 +00:00

52 lines
1.3 KiB
Makefile

# 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>