pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc DESTDIR support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f43b6023c9a4
branches:  trunk
changeset: 554595:f43b6023c9a4
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Feb 16 18:21:24 2009 +0000

description:
DESTDIR support.

diffstat:

 mail/oe2mbx/Makefile         |   4 +++-
 mail/oe2mbx/distinfo         |   4 ++--
 mail/oe2mbx/patches/patch-aa |   6 +++---
 x11/imwheel/Makefile         |   4 +++-
 x11/imwheel/distinfo         |   4 ++--
 x11/imwheel/patches/patch-ab |  10 +++++-----
 6 files changed, 18 insertions(+), 14 deletions(-)

diffs (108 lines):

diff -r a46eab5b9a5f -r f43b6023c9a4 mail/oe2mbx/Makefile
--- a/mail/oe2mbx/Makefile      Mon Feb 16 18:05:44 2009 +0000
+++ b/mail/oe2mbx/Makefile      Mon Feb 16 18:21:24 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2007/02/22 19:20:05 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2009/02/16 18:25:20 joerg Exp $
 #
 
 DISTNAME=      oe2mbx-1.21
@@ -9,6 +9,8 @@
 HOMEPAGE=      http://web.archive.org/2/www.gpl.no/liboe/
 COMMENT=       Outlook Express messages to the Unix mailbox format converter
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 # assumes fpos_t is an integral type
 NOT_FOR_PLATFORM=      Linux-*-*
 
diff -r a46eab5b9a5f -r f43b6023c9a4 mail/oe2mbx/distinfo
--- a/mail/oe2mbx/distinfo      Mon Feb 16 18:05:44 2009 +0000
+++ b/mail/oe2mbx/distinfo      Mon Feb 16 18:21:24 2009 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2005/02/24 09:59:25 agc Exp $
+$NetBSD: distinfo,v 1.4 2009/02/16 18:25:20 joerg Exp $
 
 SHA1 (oe2mbx-1.21.tar.gz) = e3931f0eb8c27c4ba0f1118e6d3bb7342ec172e2
 RMD160 (oe2mbx-1.21.tar.gz) = 147b02fac16d2d5124ee069f2b11c236baf00235
 Size (oe2mbx-1.21.tar.gz) = 22817 bytes
-SHA1 (patch-aa) = 0b1d3ffa42263a21c8449421c3402c146f9e7d7f
+SHA1 (patch-aa) = b43592c823057f57ac091449c8365995c3027440
diff -r a46eab5b9a5f -r f43b6023c9a4 mail/oe2mbx/patches/patch-aa
--- a/mail/oe2mbx/patches/patch-aa      Mon Feb 16 18:05:44 2009 +0000
+++ b/mail/oe2mbx/patches/patch-aa      Mon Feb 16 18:21:24 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.1 2005/02/05 16:27:39 zuntum Exp $
+$NetBSD: patch-aa,v 1.2 2009/02/16 18:25:20 joerg Exp $
 
 --- makefile.orig      Sat Jun 17 17:30:36 2000
 +++ makefile
@@ -27,8 +27,8 @@
  install : 
 -      test -e bin/* && install bin/* $(BINDIR) && echo oe2mbx binary installed || echo oe2mbx binary not prepared
 -      test -e lib/*.so && install lib/*.so $(LIBDIR) && install src/*.h $(INCLUDEDIR) && echo liboe library installed || echo liboe library not prepared
-+      test -r bin/* && ${INSTALL_PROGRAM} bin/* $(BINDIR) && echo oe2mbx binary installed || echo oe2mbx binary not prepared
-+      test -r lib/*.so && ${INSTALL_LIB} lib/*.so $(LIBDIR) && ${INSTALL_DATA} src/*.h $(INCLUDEDIR) && echo liboe library installed || echo liboe library not prepared
++      test -r bin/* && ${INSTALL_PROGRAM} bin/* ${DESTDIR}$(BINDIR) && echo oe2mbx binary installed || echo oe2mbx binary not prepared
++      test -r lib/*.so && ${INSTALL_LIB} lib/*.so ${DESTDIR}$(LIBDIR) && ${INSTALL_DATA} src/*.h ${DESTDIR}$(INCLUDEDIR) && echo liboe library installed || echo liboe library not prepared
  clean :
 -      test -e bin/* && rm -f bin/* || test .
 -      test -e lib/* && rm -f lib/* || test .
diff -r a46eab5b9a5f -r f43b6023c9a4 x11/imwheel/Makefile
--- a/x11/imwheel/Makefile      Mon Feb 16 18:05:44 2009 +0000
+++ b/x11/imwheel/Makefile      Mon Feb 16 18:21:24 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2008/01/15 12:42:52 obache Exp $
+# $NetBSD: Makefile,v 1.13 2009/02/16 18:21:24 joerg Exp $
 #
 
 DISTNAME=      imwheel-0.9.9
@@ -10,6 +10,8 @@
 HOMEPAGE=      http://imwheel.sourceforge.net/
 COMMENT=       Tool which helps to use mousewheels
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 USE_X11BASE=           YES
 
 GNU_CONFIGURE=         YES
diff -r a46eab5b9a5f -r f43b6023c9a4 x11/imwheel/distinfo
--- a/x11/imwheel/distinfo      Mon Feb 16 18:05:44 2009 +0000
+++ b/x11/imwheel/distinfo      Mon Feb 16 18:21:24 2009 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.3 2005/02/23 17:36:12 wiz Exp $
+$NetBSD: distinfo,v 1.4 2009/02/16 18:21:24 joerg Exp $
 
 SHA1 (imwheel-0.9.9.tar.gz) = cbf5d40f764d4b7382538954b68bb9a6c4faa336
 RMD160 (imwheel-0.9.9.tar.gz) = 960aae8a7eabc113e3c4b875f58c4c50e5d87934
 Size (imwheel-0.9.9.tar.gz) = 411882 bytes
 SHA1 (patch-aa) = f869d434415e526b24451205383009be76829f28
-SHA1 (patch-ab) = 2547c10c55626568e9447f2a5f2258e83d26e506
+SHA1 (patch-ab) = 0fc4fb90dd32223b5dff124fb58760a48f0beebd
 SHA1 (patch-ac) = ce2d5ef56c685a68ae735b1d5a354b7b163e5ee5
diff -r a46eab5b9a5f -r f43b6023c9a4 x11/imwheel/patches/patch-ab
--- a/x11/imwheel/patches/patch-ab      Mon Feb 16 18:05:44 2009 +0000
+++ b/x11/imwheel/patches/patch-ab      Mon Feb 16 18:21:24 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.1.1.1 2001/04/27 13:32:01 zuntum Exp $
+$NetBSD: patch-ab,v 1.2 2009/02/16 18:21:24 joerg Exp $
 
 --- Makefile.in.orig   Thu Feb 22 08:41:40 2001
 +++ Makefile.in
@@ -7,12 +7,12 @@
  @SUID_TRUE@   chown @suid@ $$progname ; \
  @SUID_TRUE@   chmod u+s $$progname
 -@SUID_TRUE@   install -m 644 imwheelrc /etc/imwheelrc
-+@SUID_TRUE@   install -d ${PREFIX}/share/examples/imwheel
-+@SUID_TRUE@   install -c -m 644 imwheelrc ${PREFIX}/share/examples/imwheel/imwheelrc
++@SUID_TRUE@   install -d ${DESTDIR}${PREFIX}/share/examples/imwheel
++@SUID_TRUE@   install -c -m 644 imwheelrc ${DESTDIR}${PREFIX}/share/examples/imwheel/imwheelrc
  @SUID_FALSE@install-exec-hook:
 -@SUID_FALSE@  install -m 644 imwheelrc /etc/imwheelrc
-+@SUID_FALSE@  install -d ${PREFIX}/share/examples/imwheel
-+@SUID_FALSE@  install -c -m 644 imwheelrc ${PREFIX}/share/examples/imwheel/imwheelrc
++@SUID_FALSE@  install -d ${DESTDIR}${PREFIX}/share/examples/imwheel
++@SUID_FALSE@  install -c -m 644 imwheelrc ${DESTDIR}${PREFIX}/share/examples/imwheel/imwheelrc
  
  extras: $(EXTRA_PROGRAMS)
  



Home | Main Index | Thread Index | Old Index