pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/dog DESTDIR support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a76e3b64fd60
branches:  trunk
changeset: 554751:a76e3b64fd60
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Feb 19 16:36:25 2009 +0000

description:
DESTDIR support.

diffstat:

 sysutils/dog/Makefile         |  6 +++++-
 sysutils/dog/distinfo         |  4 ++--
 sysutils/dog/patches/patch-aa |  6 +++---
 3 files changed, 10 insertions(+), 6 deletions(-)

diffs (52 lines):

diff -r df489946da10 -r a76e3b64fd60 sysutils/dog/Makefile
--- a/sysutils/dog/Makefile     Thu Feb 19 16:27:26 2009 +0000
+++ b/sysutils/dog/Makefile     Thu Feb 19 16:36:25 2009 +0000
@@ -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 @@
 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 -r df489946da10 -r a76e3b64fd60 sysutils/dog/distinfo
--- a/sysutils/dog/distinfo     Thu Feb 19 16:27:26 2009 +0000
+++ b/sysutils/dog/distinfo     Thu Feb 19 16:36:25 2009 +0000
@@ -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 -r df489946da10 -r a76e3b64fd60 sysutils/dog/patches/patch-aa
--- a/sysutils/dog/patches/patch-aa     Thu Feb 19 16:27:26 2009 +0000
+++ b/sysutils/dog/patches/patch-aa     Thu Feb 19 16:36:25 2009 +0000
@@ -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 @@
  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 *~



Home | Main Index | Thread Index | Old Index