pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/torrentutils Fixed PKGMANDIR. Added the missing de...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/65e252b370ae
branches:  trunk
changeset: 520692:65e252b370ae
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Wed Oct 25 21:07:11 2006 +0000

description:
Fixed PKGMANDIR. Added the missing dependency to bash. PKGREVISION++

diffstat:

 net/torrentutils/Makefile |  13 +++++--------
 1 files changed, 5 insertions(+), 8 deletions(-)

diffs (30 lines):

diff -r 92ae7885fe6d -r 65e252b370ae net/torrentutils/Makefile
--- a/net/torrentutils/Makefile Wed Oct 25 21:06:14 2006 +0000
+++ b/net/torrentutils/Makefile Wed Oct 25 21:07:11 2006 +0000
@@ -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+=              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"



Home | Main Index | Thread Index | Old Index