summaryrefslogtreecommitdiff
path: root/net/torrentutils
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-01-27 16:52:13 +0000
committerjoerg <joerg@pkgsrc.org>2010-01-27 16:52:13 +0000
commit693ec8bb1691dba5fb19266be3a686bf78df25f8 (patch)
tree9d6ef92caa3f4da88fc91862fe8a5c808dff16ed /net/torrentutils
parent53e12bf31faa6efecb30c73112ce8bc6ea046721 (diff)
downloadpkgsrc-693ec8bb1691dba5fb19266be3a686bf78df25f8.tar.gz
DESTDIR support
Diffstat (limited to 'net/torrentutils')
-rw-r--r--net/torrentutils/Makefile6
-rw-r--r--net/torrentutils/distinfo4
-rw-r--r--net/torrentutils/patches/patch-aa10
3 files changed, 12 insertions, 8 deletions
diff --git a/net/torrentutils/Makefile b/net/torrentutils/Makefile
index e6a36bf4cde..9b6e084dbe5 100644
--- a/net/torrentutils/Makefile
+++ b/net/torrentutils/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2007/06/22 17:46:19 tron Exp $
+# $NetBSD: Makefile,v 1.15 2010/01/27 17:31:58 joerg Exp $
DISTNAME= torrentutils-0.3.0
PKGREVISION= 4
@@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
# HOMEPAGE= http://oskarsapps.mine.nu/torrentutils.html
COMMENT= Manage BitTorrent files and interact with trackers
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= p5-Digest-SHA1-[0-9]*:../../security/p5-Digest-SHA1
DEPENDS+= p5-Digest-MD5-[0-9]*:../../security/p5-Digest-MD5
@@ -17,4 +19,6 @@ REPLACE_BASH+= defrag.in
REPLACE_PERL= torrenttool.in
MAKE_FLAGS+= MANDIR=${PREFIX}/${PKGMANDIR}
+INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
+
.include "../../mk/bsd.pkg.mk"
diff --git a/net/torrentutils/distinfo b/net/torrentutils/distinfo
index 814a77e5b79..b317638f441 100644
--- a/net/torrentutils/distinfo
+++ b/net/torrentutils/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.4 2006/12/01 20:30:17 rillig Exp $
+$NetBSD: distinfo,v 1.5 2010/01/27 17:31:58 joerg Exp $
SHA1 (torrentutils-0.3.0.tar.gz) = d9487551e5de128c31abe7fc404ec3a51d6a83a0
RMD160 (torrentutils-0.3.0.tar.gz) = bc6dde481113a0a37a1a60fd520c6c28debea34e
Size (torrentutils-0.3.0.tar.gz) = 21697 bytes
-SHA1 (patch-aa) = 634e8f4e3a14f239731924a5aa5078f8cd78b8a6
+SHA1 (patch-aa) = 830df7e0879310b5aaf419ed65fb951e4ce3dff4
SHA1 (patch-ab) = 543d424cb131cdcbe17fb5091c3b7e826294de3c
diff --git a/net/torrentutils/patches/patch-aa b/net/torrentutils/patches/patch-aa
index 28ba6f2bab5..8169ee95a2f 100644
--- a/net/torrentutils/patches/patch-aa
+++ b/net/torrentutils/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.2 2004/08/29 19:46:45 wiz Exp $
+$NetBSD: patch-aa,v 1.3 2010/01/27 17:31:58 joerg Exp $
--- Makefile.orig 2003-10-12 14:13:16.000000000 +0200
+++ Makefile
@@ -35,10 +35,10 @@ $NetBSD: patch-aa,v 1.2 2004/08/29 19:46:45 wiz Exp $
- else \
- echo "$(MCEXTFSDIR) does not exist. Not installing MC extfs support."; \
- fi
-+ ${BSD_INSTALL_SCRIPT} torrenttool $(BINDIR)/torrenttool
-+ ${BSD_INSTALL_SCRIPT} defrag $(BINDIR)
-+ ${BSD_INSTALL_MAN} torrenttool.1 $(MANDIR)/man1
-+ ${BSD_INSTALL_MAN} defrag.1 $(MANDIR)/man1
++ ${BSD_INSTALL_SCRIPT} torrenttool ${DESTDIR}$(BINDIR)/torrenttool
++ ${BSD_INSTALL_SCRIPT} defrag ${DESTDIR}$(BINDIR)
++ ${BSD_INSTALL_MAN} torrenttool.1 ${DESTDIR}$(MANDIR)/man1
++ ${BSD_INSTALL_MAN} defrag.1 ${DESTDIR}$(MANDIR)/man1
clean:
rm -f torrenttool torrentmcfs defrag torrentutils.spec