pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/qiv Add user-destdir support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/84df337da638
branches:  trunk
changeset: 554622:84df337da638
user:      snj <snj%pkgsrc.org@localhost>
date:      Tue Feb 17 01:08:24 2009 +0000

description:
Add user-destdir support.

diffstat:

 graphics/qiv/Makefile         |  4 +++-
 graphics/qiv/distinfo         |  4 ++--
 graphics/qiv/patches/patch-aa |  6 +++---
 3 files changed, 8 insertions(+), 6 deletions(-)

diffs (50 lines):

diff -r fb45e83986d7 -r 84df337da638 graphics/qiv/Makefile
--- a/graphics/qiv/Makefile     Mon Feb 16 23:31:38 2009 +0000
+++ b/graphics/qiv/Makefile     Tue Feb 17 01:08:24 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2007/01/07 09:13:56 rillig Exp $
+# $NetBSD: Makefile,v 1.22 2009/02/17 01:08:24 snj Exp $
 
 DISTNAME=      qiv-2.0-src
 PKGNAME=       ${DISTNAME:S/-src//}
@@ -13,6 +13,8 @@
 
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 WRKSRC=                ${WRKDIR}/${PKGNAME_NOREV}
 USE_TOOLS+=    gmake
 
diff -r fb45e83986d7 -r 84df337da638 graphics/qiv/distinfo
--- a/graphics/qiv/distinfo     Mon Feb 16 23:31:38 2009 +0000
+++ b/graphics/qiv/distinfo     Tue Feb 17 01:08:24 2009 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.7 2005/02/24 08:45:12 agc Exp $
+$NetBSD: distinfo,v 1.8 2009/02/17 01:08:24 snj Exp $
 
 SHA1 (qiv-2.0-src.tgz) = 46eef04c492b9f01d79eab7c2fec78b4edd13550
 RMD160 (qiv-2.0-src.tgz) = 82b17c20468228258f7c1e7c61588c80e1c40107
 Size (qiv-2.0-src.tgz) = 76561 bytes
-SHA1 (patch-aa) = bcf9b2b335db8235e46ec4a85df32cf945b185b5
+SHA1 (patch-aa) = 5d37ccd524079fe29b2c8c295cc1f4d35dc15946
diff -r fb45e83986d7 -r 84df337da638 graphics/qiv/patches/patch-aa
--- a/graphics/qiv/patches/patch-aa     Mon Feb 16 23:31:38 2009 +0000
+++ b/graphics/qiv/patches/patch-aa     Tue Feb 17 01:08:24 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.5 2004/11/26 22:18:28 snj Exp $
+$NetBSD: patch-aa,v 1.6 2009/02/17 01:08:24 snj Exp $
 
 --- Makefile.orig      2004-05-22 00:21:47.000000000 -0700
 +++ Makefile   2004-11-26 14:05:41.000000000 -0800
@@ -48,8 +48,8 @@
 -      else echo "-- Test Failed --" ; \
 -      fi
 -      @echo -ne "\nDont forget to look into the \"qiv-command\" file and install it!\n-> cp qiv-command.example /usr/local/bin/qiv-command\n\n" 
-+      $(BSD_INSTALL_PROGRAM) $(PROGRAM) $(PREFIX)/bin
-+      $(BSD_INSTALL_DATA) $(PROGRAM).1 $(PREFIX)/man/man1
++      $(BSD_INSTALL_PROGRAM) $(PROGRAM) $(DESTDIR)$(PREFIX)/bin
++      $(BSD_INSTALL_DATA) $(PROGRAM).1 $(DESTDIR)$(PREFIX)/man/man1
  
  install-xscreensaver: install
        @echo "#!/bin/sh" > $(SS_PROG)



Home | Main Index | Thread Index | Old Index