pkgsrc/net/torrentutils/Makefile
wiz 84cb4ee1c5 Fix installation to make less warnings, and make defrag use
bash, since it uses lots of bash features. Addresses PR 26799
by Simon Hitzemann.
Bump PKGREVISION for bash dependency.
2004-08-29 19:46:45 +00:00

28 lines
762 B
Makefile

# $NetBSD: Makefile,v 1.3 2004/08/29 19:46:45 wiz Exp $
#
DISTNAME= torrentutils-0.3.0
PKGREVISION= 2
CATEGORIES= net
MASTER_SITES= http://www.student.lu.se/~nbi98oli/src/
MAINTAINER= wiz@NetBSD.org
HOMEPAGE= http://www.student.lu.se/~nbi98oli/src/
COMMENT= Manage BitTorrent files and interact with trackers
DEPENDS+= bash-[0-9]*:../../shells/bash2
DEPENDS+= p5-Digest-SHA1-[0-9]*:../../security/p5-Digest-SHA1
DEPENDS+= p5-Digest-MD5-[0-9]*:../../security/p5-Digest-MD5
USE_BUILDLINK3= yes
USE_GNU_TOOLS= make
USE_PERL5= yes
REPLACE_PERL= torrenttool.in
post-build:
${SED} "s!/bin/sh!${PREFIX}/bin/bash!" ${WRKSRC}/defrag \
> ${WRKSRC}/defrag.patched && \
${MV} ${WRKSRC}/defrag.patched ${WRKSRC}/defrag
.include "../../mk/bsd.pkg.mk"