summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-02-19 16:36:25 +0000
committerjoerg <joerg@pkgsrc.org>2009-02-19 16:36:25 +0000
commit9f3f552ed440e803e1c7daa1ef887250c259a520 (patch)
treeea28e6826d02e75b200dde517a7983b54635f155
parent7c41642b674a545c52fc432c5ce8a40dbf57b87b (diff)
downloadpkgsrc-9f3f552ed440e803e1c7daa1ef887250c259a520.tar.gz
DESTDIR support.
-rw-r--r--sysutils/dog/Makefile6
-rw-r--r--sysutils/dog/distinfo4
-rw-r--r--sysutils/dog/patches/patch-aa6
3 files changed, 10 insertions, 6 deletions
diff --git a/sysutils/dog/Makefile b/sysutils/dog/Makefile
index fbb61906627..dc0eada4e30 100644
--- a/sysutils/dog/Makefile
+++ b/sysutils/dog/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2006/11/28 16:42:51 tv Exp $
+# $NetBSD: Makefile,v 1.13 2009/02/19 16:36:25 joerg Exp $
DISTNAME= dog-1.7
PKGREVISION= 1
@@ -9,6 +9,10 @@ MAINTAINER= zuntum@NetBSD.org
HOMEPAGE= http://jl.photodex.com/dog/
COMMENT= Dog writes the contents of each given file, URL, or stdin
+PKG_DESTDIR_SUPPORT= user-destdir
+
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+
USE_TOOLS+= gmake
BUILD_TARGET= dog
diff --git a/sysutils/dog/distinfo b/sysutils/dog/distinfo
index 8c0d0cb04ad..3a9d4852e99 100644
--- a/sysutils/dog/distinfo
+++ b/sysutils/dog/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2005/02/24 13:40:52 agc Exp $
+$NetBSD: distinfo,v 1.5 2009/02/19 16:36:25 joerg Exp $
SHA1 (dog-1.7.tar.gz) = a1af9c76daa0c9768cdf0c31839b3004e6ccc417
RMD160 (dog-1.7.tar.gz) = dd8867a5a8ff7208b92df8bc23a9b6b48cc74816
Size (dog-1.7.tar.gz) = 30433 bytes
-SHA1 (patch-aa) = d7fdbe2bfa5c6c69493f8b68802a45841869899f
+SHA1 (patch-aa) = 84b306fb77688786b075a32635d28fd911e0ebd8
diff --git a/sysutils/dog/patches/patch-aa b/sysutils/dog/patches/patch-aa
index f4b6ec3a244..12d5a5717fd 100644
--- a/sysutils/dog/patches/patch-aa
+++ b/sysutils/dog/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.2 2003/09/23 13:34:45 wiz Exp $
+$NetBSD: patch-aa,v 1.3 2009/02/19 16:36:26 joerg Exp $
--- Makefile.orig Wed Jun 21 17:00:57 2000
+++ Makefile Tue Sep 23 10:15:48 2003
@@ -28,8 +28,8 @@ $NetBSD: patch-aa,v 1.2 2003/09/23 13:34:45 wiz Exp $
install: dog
- $(INSTALL) -m 644 dog.1 ${mandir}/man1
- $(INSTALL) -m 755 dog ${bindir}
-+ $(BSD_INSTALL_MAN) dog.1 ${mandir}/man1/dog.1
-+ $(BSD_INSTALL_PROGRAM) dog ${bindir}/dog
++ $(BSD_INSTALL_MAN) dog.1 ${DESTDIR}${mandir}/man1/dog.1
++ $(BSD_INSTALL_PROGRAM) dog ${DESTDIR}${bindir}/dog
clean:
rm -f dog *.o *~