pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc user-destdir support



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c79e748b64ce
branches:  trunk
changeset: 395541:c79e748b64ce
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Jul 08 16:18:33 2009 +0000

description:
user-destdir support

diffstat:

 devel/isect/Makefile               |   8 +++++---
 devel/libmimedir/Makefile          |   4 +++-
 devel/libmimedir/distinfo          |   4 ++--
 devel/libmimedir/patches/patch-aa  |  10 ++++++----
 filesystems/fuse-chironfs/Makefile |   4 +++-
 5 files changed, 19 insertions(+), 11 deletions(-)

diffs (107 lines):

diff -r 89eed84716e7 -r c79e748b64ce devel/isect/Makefile
--- a/devel/isect/Makefile      Wed Jul 08 16:18:10 2009 +0000
+++ b/devel/isect/Makefile      Wed Jul 08 16:18:33 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2008/01/18 05:14:33 tnn Exp $
+# $NetBSD: Makefile,v 1.37 2009/07/08 16:19:08 joerg Exp $
 #
 
 DISTNAME=      isect-1.6.2
@@ -10,6 +10,8 @@
 HOMEPAGE=      http://isectd.sourceforge.net/
 COMMENT=       Open source middleware daemon
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 GNU_CONFIGURE=         yes
 USE_LIBTOOL=           yes
 PTHREAD_OPTS+=         require
@@ -24,9 +26,9 @@
 
 post-install:
        for file in ${WRKSRC}/doc/*.html; do \
-               ${INSTALL_DATA} $${file} ${DOCDIR}; \
+               ${INSTALL_DATA} $${file} ${DESTDIR}${DOCDIR}; \
        done
-       ${INSTALL_DATA} ${WRKSRC}/COPYING ${EGDIR}
+       ${INSTALL_DATA} ${WRKSRC}/COPYING ${DESTDIR}${EGDIR}
 
 .include "../../www/libwww/buildlink3.mk"
 .include "../../mk/pthread.buildlink3.mk"
diff -r 89eed84716e7 -r c79e748b64ce devel/libmimedir/Makefile
--- a/devel/libmimedir/Makefile Wed Jul 08 16:18:10 2009 +0000
+++ b/devel/libmimedir/Makefile Wed Jul 08 16:18:33 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2007/03/24 19:21:23 joerg Exp $
+# $NetBSD: Makefile,v 1.6 2009/07/08 16:18:33 joerg Exp $
 #
 
 DISTNAME=              libmimedir-0.5
@@ -9,6 +9,8 @@
 HOMEPAGE=              http://sourceforge.net/projects/libmimedir/
 COMMENT=               MIME Directory Profile parser library (RFC 2425)
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 GNU_CONFIGURE=         yes
 USE_LIBTOOL=           yes
 
diff -r 89eed84716e7 -r c79e748b64ce devel/libmimedir/distinfo
--- a/devel/libmimedir/distinfo Wed Jul 08 16:18:10 2009 +0000
+++ b/devel/libmimedir/distinfo Wed Jul 08 16:18:33 2009 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.5 2005/12/29 12:05:19 joerg Exp $
+$NetBSD: distinfo,v 1.6 2009/07/08 16:18:33 joerg Exp $
 
 SHA1 (libmimedir-0.5.tar.gz) = d54856d19d360ade0fa3b503e7c7e3cab0dfc59a
 RMD160 (libmimedir-0.5.tar.gz) = e943e0a9c0191b38168fa2a0c75f5ab9b8d997a4
 Size (libmimedir-0.5.tar.gz) = 283581 bytes
-SHA1 (patch-aa) = 568302422397960a36e4f5581d22023457d15937
+SHA1 (patch-aa) = 75207872d248f012dd156a4a114e445aa93ab250
 SHA1 (patch-ab) = daf643a5bc66b573837244941c527f88fea49d27
diff -r 89eed84716e7 -r c79e748b64ce devel/libmimedir/patches/patch-aa
--- a/devel/libmimedir/patches/patch-aa Wed Jul 08 16:18:10 2009 +0000
+++ b/devel/libmimedir/patches/patch-aa Wed Jul 08 16:18:33 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.2 2005/10/17 08:28:58 wiz Exp $
+$NetBSD: patch-aa,v 1.3 2009/07/08 16:18:34 joerg Exp $
 
 --- Makefile.in.orig   2005-10-17 01:19:55.000000000 +0200
 +++ Makefile.in
@@ -11,13 +11,15 @@
  
  libmimedir.a: ${OBJS}
        ar rc libmimedir.a ${OBJS}
-@@ -56,8 +56,7 @@ check: all
+@@ -55,9 +55,8 @@ check: all
+       ./test
  
  install: all
-       ${INSTALL} -m 444 libmimedir.h ${includedir}
+-      ${INSTALL} -m 444 libmimedir.h ${includedir}
 -      ${INSTALL} -m 444 libmimedir.a ${libdir}
 -      $(LIBTOOL) --mode=install ${INSTALL} -c -m 444 libmimedir.la ${libdir}/libmimedir.la
-+      $(LIBTOOL) --mode=install ${BSD_INSTALL_LIB} libmimedir.la ${libdir}/libmimedir.la
++      ${INSTALL} -m 444 libmimedir.h ${DESTDIR}${includedir}
++      $(LIBTOOL) --mode=install ${BSD_INSTALL_LIB} libmimedir.la ${DESTDIR}${libdir}/libmimedir.la
  
  clean:
        rm -f $(OBJS) $(LOBJS) *.a *.la *.core
diff -r 89eed84716e7 -r c79e748b64ce filesystems/fuse-chironfs/Makefile
--- a/filesystems/fuse-chironfs/Makefile        Wed Jul 08 16:18:10 2009 +0000
+++ b/filesystems/fuse-chironfs/Makefile        Wed Jul 08 16:18:33 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2009/04/09 03:33:12 manu Exp $
+# $NetBSD: Makefile,v 1.3 2009/07/08 16:22:44 joerg Exp $
 #
 
 DISTNAME=      chironfs-1.1.1
@@ -11,6 +11,8 @@
 HOMEPAGE=      http://code.google.com/p/chironfs/
 COMMENT=       Replicating file system
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 GNU_CONFIGURE= yes
 
 .include "../../mk/fuse.buildlink3.mk"



Home | Main Index | Thread Index | Old Index