46 lines
1.3 KiB
Makefile
46 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.050
|
|
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::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} < 500800
|
|
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|