1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Net::BitTorrent is a class based implementation of the current

BitTorrent Protocol Specification. Each Net::BitTorrent object is
capable of handling several concurrent .torrent sessions.

WWW:	http://search.cpan.org/dist/Net-BitTorrent/

PR:		ports/122678
Submitted by:	Gea-Suan Lin <gslin at gslin.org>
This commit is contained in:
Cheng-Lung Sung 2008-04-13 02:35:51 +00:00
parent 19a2e51ec8
commit 03975f4031
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=211137
5 changed files with 74 additions and 0 deletions

View File

@ -86,6 +86,7 @@
SUBDIR += nicotine-plus
SUBDIR += opendchub
SUBDIR += opennap
SUBDIR += p5-Net-BitTorrent
SUBDIR += p5-Net-BitTorrent-File
SUBDIR += p5-Net-BitTorrent-PeerPacket
SUBDIR += p5-WWW-BitTorrent

View File

@ -0,0 +1,47 @@
# 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.015
CATEGORIES= net-p2p perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= Net
PKGNAMEPREFIX= p5-
MAINTAINER= gslin@gslin.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}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils \
${SITE_PERL}/${PERL_ARCH}/version.pm:${PORTSDIR}/devel/p5-version
BUILD_DEPENDS= ${RUN_DEPENDS}
CONFIGURE_ARGS= </dev/null
PERL_MODBUILD= yes
MAN3= Net::BitTorrent.3 \
Net::BitTorrent::FAQ.3 \
Net::BitTorrent::PeerID.3 \
Net::BitTorrent::Session.3 \
Net::BitTorrent::Session::File.3 \
Net::BitTorrent::Session::Peer.3 \
Net::BitTorrent::Session::Peer::Request.3 \
Net::BitTorrent::Session::Piece.3 \
Net::BitTorrent::Session::Piece::Block.3 \
Net::BitTorrent::Session::Tracker.3 \
Net::BitTorrent::Util.3
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/scripts/client.pl ${PREFIX}/bin
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500800
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,3 @@
MD5 (Net-BitTorrent-0.015.tar.gz) = 43daf7213a8657bb144a26a6d7129d85
SHA256 (Net-BitTorrent-0.015.tar.gz) = 67cddae9552bb4b0966d461aa61b475ba57f0598934dfddb1e132e1846a63db6
SIZE (Net-BitTorrent-0.015.tar.gz) = 121909

View File

@ -0,0 +1,5 @@
Net::BitTorrent is a class based implementation of the current
BitTorrent Protocol Specification. Each Net::BitTorrent object is
capable of handling several concurrent .torrent sessions.
WWW: http://search.cpan.org/dist/Net-BitTorrent/

View File

@ -0,0 +1,18 @@
@comment $FreeBSD$
%%SITE_PERL%%/Net/BitTorrent.pm
%%SITE_PERL%%/Net/BitTorrent/FAQ.pod
%%SITE_PERL%%/Net/BitTorrent/PeerID.pod
%%SITE_PERL%%/Net/BitTorrent/Session.pm
%%SITE_PERL%%/Net/BitTorrent/Session/File.pm
%%SITE_PERL%%/Net/BitTorrent/Session/Peer.pm
%%SITE_PERL%%/Net/BitTorrent/Session/Peer/Request.pm
%%SITE_PERL%%/Net/BitTorrent/Session/Piece.pm
%%SITE_PERL%%/Net/BitTorrent/Session/Piece/Block.pm
%%SITE_PERL%%/Net/BitTorrent/Session/Tracker.pm
%%SITE_PERL%%/Net/BitTorrent/Util.pm
bin/client.pl
@dirrmtry %%SITE_PERL%%/Net/BitTorrent/Session/Piece
@dirrmtry %%SITE_PERL%%/Net/BitTorrent/Session/Peer
@dirrmtry %%SITE_PERL%%/Net/BitTorrent/Session
@dirrmtry %%SITE_PERL%%/Net/BitTorrent
@dirrmtry %%SITE_PERL%%/Net