freebsd-ports/net-p2p/torrentsniff/Makefile
Mathieu Arnold 7ae7b018cc With the power of USES=dos2unix, get rid of most patches and files
with CRLF.

While there, run make makepatch, rename patches to use the new scheme,
and various fixes.

With hat:	portmgr
Sponsored by:	Absolight
2016-06-20 16:23:28 +00:00

25 lines
709 B
Makefile

# Created by: Pav Lucistnik <pav@oook.cz>
# $FreeBSD$
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= Commandline 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>