1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/net-p2p/torrentsniff/Makefile
Pav Lucistnik ee3e9393b0 Add torrentsniff, a commandline tool to display information
about a torrent like file names and a number of seeds and peers.

PR:		ports/54272 (based on)
Approved by:	adamw (mentor)
2003-11-14 22:49:14 +00:00

31 lines
813 B
Makefile

# New ports collection makefile for: torrentsniff
# Date created: 06 July 2003
# Whom: Pav Lucistnik <pav@oook.cz>
#
# $FreeBSD$
#
PORTNAME= torrentsniff
PORTVERSION= 0.3.0
CATEGORIES= net perl5
MASTER_SITES= http://www.highprogrammer.com/alan/perl/
MAINTAINER= pav@FreeBSD.org
COMMENT= Commandline tool for getting status of torrent
RUN_DEPENDS= ${SITE_PERL}/LWP/UserAgent.pm:${PORTSDIR}/www/p5-libwww \
${SITE_PERL}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1
USE_PERL5= yes
NO_BUILD= yes
post-patch:
${PERL} -pi -e "s#/usr/local/bin/perl#${PERL5}#" ${WRKSRC}/torrentsniff
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/torrentsniff ${LOCALBASE}/bin
${MKDIR} ${SITE_PERL}/BitTorrent
${INSTALL_DATA} ${WRKSRC}/BitTorrent/BDecode.pm ${SITE_PERL}/BitTorrent
.include <bsd.port.mk>