aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/torrentsniff/Makefile
blob: 7d088d1acc91849c8e3ce8964d18a339cf6ad8ec (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>

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

MAINTAINER=	jharris@widomaker.com
COMMENT=	Command-line tool for getting status of torrent

RUN_DEPENDS=	p5-libwww>=0:www/p5-libwww \
		p5-Digest-SHA1>=0:security/p5-Digest-SHA1

NO_BUILD=	yes
USES=		dos2unix shebangfix perl5
SHEBANG_FILES=	torrentsniff

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/torrentsniff ${STAGEDIR}${PREFIX}/bin
	${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/BitTorrent
	${INSTALL_DATA} ${WRKSRC}/BitTorrent/BDecode.pm ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/BitTorrent

.include <bsd.port.mk>