summaryrefslogtreecommitdiff
path: root/net/torrentutils
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-10-25 21:07:11 +0000
committerrillig <rillig@pkgsrc.org>2006-10-25 21:07:11 +0000
commit80f6336c8aec2d3ee7ee849d564263b5e6bebaf6 (patch)
tree70618da530abeae01aa9dddb3f509a3e91147241 /net/torrentutils
parent895e23377b141df1b8b2c5a30d639e0985a0b930 (diff)
downloadpkgsrc-80f6336c8aec2d3ee7ee849d564263b5e6bebaf6.tar.gz
Fixed PKGMANDIR. Added the missing dependency to bash. PKGREVISION++
Diffstat (limited to 'net/torrentutils')
-rw-r--r--net/torrentutils/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/net/torrentutils/Makefile b/net/torrentutils/Makefile
index c501dbe534d..507c4ea4472 100644
--- a/net/torrentutils/Makefile
+++ b/net/torrentutils/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.11 2006/10/04 21:53:18 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2006/10/25 21:07:11 rillig Exp $
#
DISTNAME= torrentutils-0.3.0
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= net
MASTER_SITES= http://oskarsapps.mine.nu/src/
@@ -14,12 +14,9 @@ DEPENDS+= bash-[0-9]*:../../shells/bash
DEPENDS+= p5-Digest-SHA1-[0-9]*:../../security/p5-Digest-SHA1
DEPENDS+= p5-Digest-MD5-[0-9]*:../../security/p5-Digest-MD5
-USE_TOOLS+= gmake perl:run
+USE_TOOLS+= bash:run gmake perl:run
+REPLACE_BASH+= defrag.in
REPLACE_PERL= torrenttool.in
-
-post-build:
- ${SED} "s!/bin/sh!${PREFIX}/bin/bash!" ${WRKSRC}/defrag \
- > ${WRKSRC}/defrag.patched && \
- ${MV} ${WRKSRC}/defrag.patched ${WRKSRC}/defrag
+MAKE_FLAGS+= MANDIR=${PREFIX}/${PKGMANDIR}
.include "../../mk/bsd.pkg.mk"