summaryrefslogtreecommitdiff
path: root/net/torrentutils
diff options
context:
space:
mode:
authorwiz <wiz>2004-08-29 19:46:45 +0000
committerwiz <wiz>2004-08-29 19:46:45 +0000
commitd694c7ee5ba5121ac3afadcabb6f939819d7b083 (patch)
treee46978f4929589f97fcfdc186654477b71e5cfe4 /net/torrentutils
parenta5299147ee39e96dd760a257e37a190a95e65f31 (diff)
downloadpkgsrc-d694c7ee5ba5121ac3afadcabb6f939819d7b083.tar.gz
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.
Diffstat (limited to 'net/torrentutils')
-rw-r--r--net/torrentutils/Makefile10
-rw-r--r--net/torrentutils/distinfo4
-rw-r--r--net/torrentutils/patches/patch-aa12
3 files changed, 18 insertions, 8 deletions
diff --git a/net/torrentutils/Makefile b/net/torrentutils/Makefile
index c8fb0cbe985..7513f171195 100644
--- a/net/torrentutils/Makefile
+++ b/net/torrentutils/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2004/03/08 09:06:39 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2004/08/29 19:46:45 wiz Exp $
#
DISTNAME= torrentutils-0.3.0
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= net
MASTER_SITES= http://www.student.lu.se/~nbi98oli/src/
@@ -10,6 +10,7 @@ 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
@@ -19,4 +20,9 @@ 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"
diff --git a/net/torrentutils/distinfo b/net/torrentutils/distinfo
index a939b1d9bbf..1b53239833e 100644
--- a/net/torrentutils/distinfo
+++ b/net/torrentutils/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2004/03/04 15:47:34 wiz Exp $
+$NetBSD: distinfo,v 1.2 2004/08/29 19:46:45 wiz Exp $
SHA1 (torrentutils-0.3.0.tar.gz) = d9487551e5de128c31abe7fc404ec3a51d6a83a0
Size (torrentutils-0.3.0.tar.gz) = 21697 bytes
-SHA1 (patch-aa) = 391e7f4973629df65925233e548d688ae9a94c1e
+SHA1 (patch-aa) = 634e8f4e3a14f239731924a5aa5078f8cd78b8a6
diff --git a/net/torrentutils/patches/patch-aa b/net/torrentutils/patches/patch-aa
index 4f91d2afef6..28ba6f2bab5 100644
--- a/net/torrentutils/patches/patch-aa
+++ b/net/torrentutils/patches/patch-aa
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.1.1.1 2004/03/04 15:47:34 wiz Exp $
+$NetBSD: patch-aa,v 1.2 2004/08/29 19:46:45 wiz Exp $
---- Makefile.orig Sun Oct 12 14:13:16 2003
+--- Makefile.orig 2003-10-12 14:13:16.000000000 +0200
+++ Makefile
@@ -1,9 +1,9 @@
# Root of installation tree
@@ -14,8 +14,12 @@ $NetBSD: patch-aa,v 1.1.1.1 2004/03/04 15:47:34 wiz Exp $
# Path to Midnight Commander extfs
MCEXTFSDIR = $(PREFIX)/share/mc/extfs
-@@ -44,19 +44,10 @@ torrentutils.spec: torrentutils.spec.in
- if [[ "$@" != *.spec ]]; then chmod a+x $@; fi
+@@ -41,22 +41,13 @@ torrentutils.spec: torrentutils.spec.in
+ cat $^ | sed "s,@VERSION@,$(VERSION),; \
+ s,@PACKAGE@,$(PACKAGE),; \
+ s,@AUTHORS@,$(AUTHORS)," > $@
+- if [[ "$@" != *.spec ]]; then chmod a+x $@; fi
++ if [ "$@" != *.spec ]; then chmod a+x $@; fi
install: all
- install -d $(BINDIR) $(MANDIR)/man1