summaryrefslogtreecommitdiff
path: root/misc/buffer
diff options
context:
space:
mode:
authorjoerg <joerg>2008-06-20 01:09:05 +0000
committerjoerg <joerg>2008-06-20 01:09:05 +0000
commitd8368bbc25c90072a19b5e48f0fba26251b6877f (patch)
treebb388f6b2532587595653e67cce25229ed050cb8 /misc/buffer
parentf1b924fda77b6920565e56f54c9391b4dc68f8ca (diff)
downloadpkgsrc-d8368bbc25c90072a19b5e48f0fba26251b6877f.tar.gz
Add DESTDIR support.
Diffstat (limited to 'misc/buffer')
-rw-r--r--misc/buffer/Makefile6
-rw-r--r--misc/buffer/distinfo4
-rw-r--r--misc/buffer/patches/patch-aa6
3 files changed, 10 insertions, 6 deletions
diff --git a/misc/buffer/Makefile b/misc/buffer/Makefile
index b3f151ae865..512913f8ba2 100644
--- a/misc/buffer/Makefile
+++ b/misc/buffer/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2008/05/25 14:45:17 tron Exp $
+# $NetBSD: Makefile,v 1.18 2008/06/20 01:09:25 joerg Exp $
DISTNAME= buffer-1.17
CATEGORIES= misc
@@ -7,6 +7,10 @@ MASTER_SITES= #
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Buffer sporadic binary I/O for faster tape use
+PKG_DESTDIR_SUPPORT= user-destdir
+
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
diff --git a/misc/buffer/distinfo b/misc/buffer/distinfo
index 0c5665195b9..97ce77b3b61 100644
--- a/misc/buffer/distinfo
+++ b/misc/buffer/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.6 2005/12/05 20:50:38 rillig Exp $
+$NetBSD: distinfo,v 1.7 2008/06/20 01:09:25 joerg Exp $
SHA1 (buffer-1.17.tar.gz) = 88201f677485880cd508430015b7ce7d9663b6e7
RMD160 (buffer-1.17.tar.gz) = c7f87873f8f74b900609ef495ebabc8596729fb8
Size (buffer-1.17.tar.gz) = 17131 bytes
-SHA1 (patch-aa) = 8b1a563728b6a67e49123e2c48d9d39d55a91476
+SHA1 (patch-aa) = 3fd94e382e9444fd88a17bcef348800767f8a8d0
SHA1 (patch-ab) = 70c28daab40f6c5ab2fae5d19fc0e98fdefbdf69
SHA1 (patch-ac) = 2edead52c6a79a04e11ddabef1e140ac24d7d379
diff --git a/misc/buffer/patches/patch-aa b/misc/buffer/patches/patch-aa
index 2f0e1798a54..71831e67d92 100644
--- a/misc/buffer/patches/patch-aa
+++ b/misc/buffer/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.6 1999/09/12 16:50:41 kim Exp $
+$NetBSD: patch-aa,v 1.7 2008/06/20 01:09:25 joerg Exp $
--- Makefile.orig Wed Jul 14 11:59:17 1993
+++ Makefile Sun Sep 12 12:35:57 1999
@@ -37,8 +37,8 @@ $NetBSD: patch-aa,v 1.6 1999/09/12 16:50:41 kim Exp $
- rm -f $(INSTMAN)/buffer.$S
- cp buffer.man $(INSTMAN)/buffer.$S
- chmod 444 $(INSTMAN)/buffer.$S
-+ ${BSD_INSTALL_PROGRAM} buffer $(INSTBIN)/buffer
-+ ${BSD_INSTALL_MAN} buffer.man $(INSTMAN)/buffer.$S
++ ${BSD_INSTALL_PROGRAM} buffer ${DESTDIR}$(INSTBIN)/buffer
++ ${BSD_INSTALL_MAN} buffer.man ${DESTDIR}$(INSTMAN)/buffer.$S
buffer.tar: $(ALL)
$(RM) -f buffer.tar