1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/net-p2p/p5-Net-BitTorrent/Makefile
Erwin Lansing 1b46e4ed05 Update to 0.0.25
PR:		125189
Submitted by:	Wen heping <wenheping@gmail.com>
2008-07-06 18:00:00 +00:00

50 lines
1.4 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.025
CATEGORIES= net-p2p perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= ../../authors/id/S/SA/SANKO
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}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils \
${SITE_PERL}/${PERL_ARCH}/version.pm:${PORTSDIR}/devel/p5-version \
${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
BUILD_DEPENDS= ${RUN_DEPENDS}
CONFIGURE_ARGS= </dev/null
PERL_MODBUILD= yes
MAN3= Net::BitTorrent.3 \
Net::BitTorrent::DHT.3 \
Net::BitTorrent::DHT::Node::Azureus.3 \
Net::BitTorrent::DHT::Node::Mainline.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>