summaryrefslogtreecommitdiff
path: root/net-p2p/torrentsniff/Makefile
blob: c2d8db4101e40781c52953939d3276a1751a7e73 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Created by: Pav Lucistnik <pav@oook.cz>
# $FreeBSD$

PORTNAME=	torrentsniff
PORTVERSION=	0.3.0
CATEGORIES=	net-p2p perl5
MASTER_SITES=	http://www.highprogrammer.com/alan/perl/

MAINTAINER=	jharris@widomaker.com
COMMENT=	Commandline tool for getting status of torrent

RUN_DEPENDS=	p5-libwww>=0:${PORTSDIR}/www/p5-libwww \
		p5-Digest-SHA1>=0:${PORTSDIR}/security/p5-Digest-SHA1

NO_BUILD=	yes
USES=		shebangfix perl5
SHEBANG_FILES=	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>