pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel DESTDIR support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bd4e14428f84
branches:  trunk
changeset: 521149:bd4e14428f84
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sun Nov 05 17:49:33 2006 +0000

description:
DESTDIR support.

diffstat:

 devel/automake14/Makefile           |   4 +++-
 devel/boehm-gc/Makefile             |   5 +++--
 devel/gail/Makefile                 |   4 +++-
 devel/giblib/Makefile               |   5 +++--
 devel/libbonobo/Makefile            |   4 +++-
 devel/libbonoboui/Makefile          |   4 +++-
 devel/libcfg+/Makefile              |   3 ++-
 devel/libgnome/Makefile             |   4 +++-
 devel/libgnomeui/Makefile           |   4 +++-
 devel/libgsf/Makefile               |   4 +++-
 devel/libsigc++2/Makefile           |  13 +++++++------
 devel/ncurses/Makefile              |   4 ++--
 devel/ncurses/Makefile.common       |   3 ++-
 devel/p5-Algorithm-Diff/Makefile    |   3 ++-
 devel/p5-Class-MakeMethods/Makefile |   3 ++-
 devel/p5-Compress-Zlib/Makefile     |   3 ++-
 devel/p5-File-Temp/Makefile         |   3 ++-
 devel/p5-IO-String/Makefile         |   3 ++-
 devel/p5-IO-Zlib/Makefile           |   7 ++++---
 devel/p5-IO-stringy/Makefile        |   3 ++-
 devel/p5-Storable/Makefile          |   3 ++-
 devel/p5-Test-Simple/Makefile       |   3 ++-
 devel/popt/Makefile                 |   3 ++-
 devel/py-readline/Makefile          |   4 +++-
 devel/readline/Makefile             |   3 ++-
 25 files changed, 67 insertions(+), 35 deletions(-)

diffs (truncated from 469 to 300 lines):

diff -r 84cc1e5a0b3e -r bd4e14428f84 devel/automake14/Makefile
--- a/devel/automake14/Makefile Sun Nov 05 17:48:16 2006 +0000
+++ b/devel/automake14/Makefile Sun Nov 05 17:49:33 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2006/03/30 03:44:42 jlam Exp $
+# $NetBSD: Makefile,v 1.17 2006/11/05 17:49:33 joerg Exp $
 #
 
 DISTNAME=      automake-1.4-p6
@@ -10,6 +10,8 @@
 HOMEPAGE=      http://www.gnu.org/software/automake/automake.html
 COMMENT=       GNU Standards-compliant Makefile generator (old version)
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 DEPENDS+=      autoconf213>=2.13:../../devel/autoconf213
 
 CONFLICTS=     automake<1.6
diff -r 84cc1e5a0b3e -r bd4e14428f84 devel/boehm-gc/Makefile
--- a/devel/boehm-gc/Makefile   Sun Nov 05 17:48:16 2006 +0000
+++ b/devel/boehm-gc/Makefile   Sun Nov 05 17:49:33 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.57 2006/07/17 17:08:16 wiz Exp $
+# $NetBSD: Makefile,v 1.58 2006/11/05 17:49:33 joerg Exp $
 
 DISTNAME=      gc6.8
 PKGNAME=       ${DISTNAME:S/gc/boehm-gc-/}
@@ -10,6 +10,7 @@
 COMMENT=       Garbage collection and memory leak detection for C and C++
 
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
+PKG_DESTDIR_SUPPORT=   user-destdir
 
 USE_TOOLS+=            gmake
 USE_LANGUAGES=         c c++
@@ -44,7 +45,7 @@
                ${WRKSRC}/doc/gc.man.in > ${WRKSRC}/doc/gc.man
 
 post-install:
-       ${INSTALL_MAN} ${WRKSRC}/doc/gc.man ${PREFIX}/${PKGMANDIR}/man3/gc.3
+       ${INSTALL_MAN} ${WRKSRC}/doc/gc.man ${DESTDIR}${PREFIX}/${PKGMANDIR}/man3/gc.3
 
 do-test:
        cd ${WRKSRC} && \
diff -r 84cc1e5a0b3e -r bd4e14428f84 devel/gail/Makefile
--- a/devel/gail/Makefile       Sun Nov 05 17:48:16 2006 +0000
+++ b/devel/gail/Makefile       Sun Nov 05 17:49:33 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.46 2006/10/17 16:54:29 drochner Exp $
+# $NetBSD: Makefile,v 1.47 2006/11/05 17:49:33 joerg Exp $
 #
 
 DISTNAME=      gail-1.9.3
@@ -10,6 +10,8 @@
 HOMEPAGE=      http://developer.gnome.org/projects/gap/
 COMMENT=       GNOME Accessibility Implementation Library
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 GNU_CONFIGURE=         yes
 USE_TOOLS+=            gmake pkg-config msgfmt
 USE_LIBTOOL=           yes
diff -r 84cc1e5a0b3e -r bd4e14428f84 devel/giblib/Makefile
--- a/devel/giblib/Makefile     Sun Nov 05 17:48:16 2006 +0000
+++ b/devel/giblib/Makefile     Sun Nov 05 17:49:33 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2006/10/04 21:35:59 wiz Exp $
+# $NetBSD: Makefile,v 1.21 2006/11/05 17:49:33 joerg Exp $
 
 DISTNAME=              giblib-1.2.4
 PKGREVISION=           4
@@ -9,11 +9,12 @@
 HOMEPAGE=              http://linuxbrit.co.uk/giblib/
 COMMENT=               Programming utility library
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 GNU_CONFIGURE=         YES
 PKGCONFIG_OVERRIDE=    giblib.pc.in
 USE_LIBTOOL=           YES
 
 .include "../../graphics/imlib2/buildlink3.mk"
-.include "../../mk/x11.buildlink3.mk"
 
 .include "../../mk/bsd.pkg.mk"
diff -r 84cc1e5a0b3e -r bd4e14428f84 devel/libbonobo/Makefile
--- a/devel/libbonobo/Makefile  Sun Nov 05 17:48:16 2006 +0000
+++ b/devel/libbonobo/Makefile  Sun Nov 05 17:49:33 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.50 2006/09/15 15:06:56 jmmv Exp $
+# $NetBSD: Makefile,v 1.51 2006/11/05 17:49:33 joerg Exp $
 
 DISTNAME=              libbonobo-2.16.0
 CATEGORIES=            devel gnome
@@ -9,6 +9,8 @@
 HOMEPAGE=              http://developer.gnome.org/
 COMMENT=               GNOME2 Object activation framework library
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 CONFLICTS=             bonobo-activation-[0-9]*
 
 GNU_CONFIGURE=         YES
diff -r 84cc1e5a0b3e -r bd4e14428f84 devel/libbonoboui/Makefile
--- a/devel/libbonoboui/Makefile        Sun Nov 05 17:48:16 2006 +0000
+++ b/devel/libbonoboui/Makefile        Sun Nov 05 17:49:33 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.55 2006/09/16 12:20:32 jmmv Exp $
+# $NetBSD: Makefile,v 1.56 2006/11/05 17:49:33 joerg Exp $
 #
 
 DISTNAME=      libbonoboui-2.16.0
@@ -11,6 +11,8 @@
 HOMEPAGE=      http://www.gnome.org/
 COMMENT=       GNOME2 Object activation framework library (graphical version)
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 GNU_CONFIGURE=         yes
 USE_DIRS+=             gnome2-1.5
 USE_PKGLOCALEDIR=      yes
diff -r 84cc1e5a0b3e -r bd4e14428f84 devel/libcfg+/Makefile
--- a/devel/libcfg+/Makefile    Sun Nov 05 17:48:16 2006 +0000
+++ b/devel/libcfg+/Makefile    Sun Nov 05 17:49:33 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2006/03/04 21:29:16 jlam Exp $
+# $NetBSD: Makefile,v 1.6 2006/11/05 17:49:33 joerg Exp $
 #
 
 DISTNAME=              libcfg+-0.6.2
@@ -11,6 +11,7 @@
 COMMENT=               Command line and configuration file parsing library
 
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
+PKG_DESTDIR_SUPPORT=   user-destdir
 
 GNU_CONFIGURE=         yes
 USE_TOOLS+=            gmake
diff -r 84cc1e5a0b3e -r bd4e14428f84 devel/libgnome/Makefile
--- a/devel/libgnome/Makefile   Sun Nov 05 17:48:16 2006 +0000
+++ b/devel/libgnome/Makefile   Sun Nov 05 17:49:33 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.61 2006/10/11 00:53:47 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.62 2006/11/05 17:49:33 joerg Exp $
 #
 
 DISTNAME=      libgnome-2.16.0
@@ -11,6 +11,8 @@
 HOMEPAGE=      http://www.gnome.org/
 COMMENT=       Core GNOME2 library (non-graphical)
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 BUILDLINK_API_DEPENDS.esound+= esound>=0.2.26
 
 GNU_CONFIGURE=         YES
diff -r 84cc1e5a0b3e -r bd4e14428f84 devel/libgnomeui/Makefile
--- a/devel/libgnomeui/Makefile Sun Nov 05 17:48:16 2006 +0000
+++ b/devel/libgnomeui/Makefile Sun Nov 05 17:49:33 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.65 2006/10/13 18:13:33 drochner Exp $
+# $NetBSD: Makefile,v 1.66 2006/11/05 17:49:34 joerg Exp $
 #
 
 DISTNAME=      libgnomeui-2.16.1
@@ -10,6 +10,8 @@
 HOMEPAGE=      http://www.gnome.org/
 COMMENT=       Core GNOME2 graphical libraries
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 CONFLICTS+=            gnome-libs<=1.4.2nb1
 
 GNU_CONFIGURE=         yes
diff -r 84cc1e5a0b3e -r bd4e14428f84 devel/libgsf/Makefile
--- a/devel/libgsf/Makefile     Sun Nov 05 17:48:16 2006 +0000
+++ b/devel/libgsf/Makefile     Sun Nov 05 17:49:33 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.42 2006/10/13 18:21:11 drochner Exp $
+# $NetBSD: Makefile,v 1.43 2006/11/05 17:49:34 joerg Exp $
 #
 
 DISTNAME=      libgsf-1.14.2
@@ -10,6 +10,8 @@
 HOMEPAGE=      http://www.gnome.org/
 COMMENT=       GNOME2 structured file library
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 USE_TOOLS+=            gmake intltool msgfmt pkg-config
 GNU_CONFIGURE=         YES
 USE_LIBTOOL=           YES
diff -r 84cc1e5a0b3e -r bd4e14428f84 devel/libsigc++2/Makefile
--- a/devel/libsigc++2/Makefile Sun Nov 05 17:48:16 2006 +0000
+++ b/devel/libsigc++2/Makefile Sun Nov 05 17:49:33 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2006/02/05 23:08:45 joerg Exp $
+# $NetBSD: Makefile,v 1.17 2006/11/05 17:49:34 joerg Exp $
 
 DISTNAME=      libsigc++-2.0.17
 PKGNAME=       libsigc++2-2.0.17
@@ -11,6 +11,8 @@
 HOMEPAGE=      http://libsigc.sourceforge.net/
 COMMENT=       Type-safe callback system for C++ programs
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 USE_LANGUAGES=         c c++
 USE_LIBTOOL=           yes
 USE_TOOLS+=            gm4 gmake
@@ -29,10 +31,9 @@
 CONFIGURE_ARGS+=       --disable-threads
 .endif
 
-pre-install:
-       ${INSTALL_DATA_DIR} ${PREFIX}/include/sigc++-2.0/sigc++/adaptors/lambda/macros
-       ${INSTALL_DATA_DIR} ${PREFIX}/include/sigc++-2.0/sigc++/adaptors/macros
-       ${INSTALL_DATA_DIR} ${PREFIX}/include/sigc++-2.0/sigc++/functors/macros
-       ${INSTALL_DATA_DIR} ${PREFIX}/include/sigc++-2.0/sigc++/macros
+INSTALLATION_DIRS= include/sigc++-2.0/sigc++/adaptors/lambda/macros \
+       include/sigc++-2.0/sigc++/adaptors/macros \
+       include/sigc++-2.0/sigc++/functors/macros \
+       include/sigc++-2.0/sigc++/macros
 
 .include "../../mk/bsd.pkg.mk"
diff -r 84cc1e5a0b3e -r bd4e14428f84 devel/ncurses/Makefile
--- a/devel/ncurses/Makefile    Sun Nov 05 17:48:16 2006 +0000
+++ b/devel/ncurses/Makefile    Sun Nov 05 17:49:33 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.73 2006/10/13 18:07:49 tron Exp $
+# $NetBSD: Makefile,v 1.74 2006/11/05 17:49:34 joerg Exp $
 
 .include "Makefile.common"
 
@@ -28,6 +28,6 @@
 
 post-install:
        ${INSTALL_DATA} ${WRKSRC}/c++/demo.cc \
-               ${PREFIX}/share/examples/ncurses++demo.cc
+               ${DESTDIR}${PREFIX}/share/examples/ncurses++demo.cc
 
 .include "../../mk/bsd.pkg.mk"
diff -r 84cc1e5a0b3e -r bd4e14428f84 devel/ncurses/Makefile.common
--- a/devel/ncurses/Makefile.common     Sun Nov 05 17:48:16 2006 +0000
+++ b/devel/ncurses/Makefile.common     Sun Nov 05 17:49:33 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.1 2006/10/13 18:07:49 tron Exp $
+# $NetBSD: Makefile.common,v 1.2 2006/11/05 17:49:34 joerg Exp $
 
 DISTNAME=      ncurses-${NC_VERS}
 NC_VERS=       5.5
@@ -11,6 +11,7 @@
 HOMEPAGE=      http://dickey.his.com/ncurses/ncurses.html
 
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
+PKG_DESTDIR_SUPPORT=   user-destdir
 
 USE_LANGUAGES=         c c++
 USE_LIBTOOL=           YES
diff -r 84cc1e5a0b3e -r bd4e14428f84 devel/p5-Algorithm-Diff/Makefile
--- a/devel/p5-Algorithm-Diff/Makefile  Sun Nov 05 17:48:16 2006 +0000
+++ b/devel/p5-Algorithm-Diff/Makefile  Sun Nov 05 17:49:33 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2006/03/04 21:29:19 jlam Exp $
+# $NetBSD: Makefile,v 1.12 2006/11/05 17:49:34 joerg Exp $
 
 DISTNAME=      Algorithm-Diff-1.1901
 PKGNAME=       p5-${DISTNAME:S/1901/19.01/}
@@ -12,6 +12,7 @@
 COMMENT=       Perl module for diffing similar to diff(1)
 
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
+PKG_DESTDIR_SUPPORT=   user-destdir
 
 REPLACE_PERL+=         cdiff.pl diff.pl diffnew.pl htmldiff.pl
 
diff -r 84cc1e5a0b3e -r bd4e14428f84 devel/p5-Class-MakeMethods/Makefile
--- a/devel/p5-Class-MakeMethods/Makefile       Sun Nov 05 17:48:16 2006 +0000
+++ b/devel/p5-Class-MakeMethods/Makefile       Sun Nov 05 17:49:33 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2006/03/22 22:50:32 tv Exp $
+# $NetBSD: Makefile,v 1.6 2006/11/05 17:49:34 joerg Exp $
 #
 
 DISTNAME=              Class-MakeMethods-1.01
@@ -12,6 +12,7 @@
 COMMENT=               Getter/setter OO method maker for class elements
 
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
+PKG_DESTDIR_SUPPORT=   user-destdir
 
 USE_PKGLOCALEDIR=      yes
 PERL5_PACKLIST=                auto/Class/MakeMethods/.packlist
diff -r 84cc1e5a0b3e -r bd4e14428f84 devel/p5-Compress-Zlib/Makefile
--- a/devel/p5-Compress-Zlib/Makefile   Sun Nov 05 17:48:16 2006 +0000
+++ b/devel/p5-Compress-Zlib/Makefile   Sun Nov 05 17:49:33 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2006/07/19 22:36:26 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2006/11/05 17:49:34 joerg Exp $
 



Home | Main Index | Thread Index | Old Index