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/f78e7fe08785
branches:  trunk
changeset: 521144:f78e7fe08785
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sun Nov 05 17:17:04 2006 +0000

description:
DESTDIR support.

diffstat:

 fonts/mplayer-fonts/Makefile         |  12 +++++++-----
 fonts/ms-ttf/Makefile                |  12 +++++++-----
 graphics/cairo/Makefile              |   4 +++-
 graphics/cairomm/Makefile            |   4 +++-
 graphics/glitz/Makefile              |   4 +++-
 graphics/gnome-icon-theme/Makefile   |   4 +++-
 graphics/hicolor-icon-theme/Makefile |   3 ++-
 graphics/icon-naming-utils/Makefile  |   4 +++-
 graphics/inkscape/Makefile           |   4 +++-
 graphics/lcms/Makefile               |   5 +++--
 graphics/libart2/Makefile            |   3 ++-
 graphics/libexif/Makefile            |   3 ++-
 graphics/libgnomecanvas/Makefile     |   4 +++-
 graphics/librsvg2/Makefile           |   4 +++-
 graphics/libungif/Makefile           |  13 +++++++------
 graphics/libwmf/Makefile             |   8 +++++---
 graphics/mng/Makefile                |  13 +++++++------
 graphics/scrot/Makefile              |   5 +++--
 math/p5-Math-BigInteger/Makefile     |   3 ++-
 misc/dialog/Makefile                 |   4 +++-
 misc/gnome-dirs/Makefile             |   4 +++-
 misc/gnome2-dirs/Makefile            |   4 +++-
 multimedia/libdv/Makefile.common     |   4 +++-
 multimedia/libdvdread/Makefile       |   3 ++-
 multimedia/libtheora/Makefile        |   4 +++-
 25 files changed, 88 insertions(+), 47 deletions(-)

diffs (truncated from 563 to 300 lines):

diff -r 0a596f74c512 -r f78e7fe08785 fonts/mplayer-fonts/Makefile
--- a/fonts/mplayer-fonts/Makefile      Sun Nov 05 17:06:43 2006 +0000
+++ b/fonts/mplayer-fonts/Makefile      Sun Nov 05 17:17:04 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2006/08/04 20:42:18 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2006/11/05 17:17:04 joerg Exp $
 
 DISTNAME=      mplayer-fonts-20030714
 PKGREVISION=   1
@@ -19,6 +19,8 @@
 HOMEPAGE=      http://www.mplayerhq.hu/
 COMMENT=       Fonts for mplayer and gmplayer
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 CONFLICTS=     mplayer-share<1.0rc7nb2
 
 DIST_SUBDIR=   ${DISTNAME}
@@ -26,15 +28,15 @@
 NO_BUILD=      YES
 NO_CONFIGURE=  YES
 
+INSTALLATION_DIRS= share/mplayer/fonts
+
 do-install:
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/mplayer
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/mplayer/fonts
        for D in font-arial-cp1250 font-arial-iso-8859-1 \
                font-arial-iso-8859-2 font-arial-iso-8859-7; do \
                (cd ${WRKDIR}/$$D && \
-                       ${PAX} -rwpppm * ${PREFIX}/share/mplayer/fonts); \
+                       ${PAX} -rwpppm * ${DESTDIR}${PREFIX}/share/mplayer/fonts); \
        done
        ${LN} -s ${PREFIX}/share/mplayer/fonts/font-arial-18-iso-8859-1 \
-               ${PREFIX}/share/mplayer/font
+               ${DESTDIR}${PREFIX}/share/mplayer/font
 
 .include "../../mk/bsd.pkg.mk"
diff -r 0a596f74c512 -r f78e7fe08785 fonts/ms-ttf/Makefile
--- a/fonts/ms-ttf/Makefile     Sun Nov 05 17:06:43 2006 +0000
+++ b/fonts/ms-ttf/Makefile     Sun Nov 05 17:17:04 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2006/03/04 21:29:39 jlam Exp $
+# $NetBSD: Makefile,v 1.15 2006/11/05 17:17:04 joerg Exp $
 
 DISTNAME=      # empty
 PKGNAME=       ms-ttf-20020306
@@ -13,6 +13,8 @@
 HOMEPAGE=      http://corefonts.sourceforge.net/
 COMMENT=       TrueType fonts from Microsoft
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 BUILD_DEPENDS+=        cabextract-[0-9]*:../../archivers/cabextract
 
 LICENSE=        ms-ttf-license
@@ -34,6 +36,8 @@
 DOCDIR=                ${PREFIX}/share/doc/ms-ttf
 FONTS_DIRS.ttf=        ${FONTDIR}
 
+INSTALLATION_DIRS=     ${FONTDIR} ${DOCDIR}
+
 post-extract:
        ${_PKG_SILENT}${_PKG_DEBUG}                                     \
        for f in ${WRKSRC}/*.TTF ; do                                   \
@@ -41,11 +45,9 @@
        done
 
 do-install:
-       ${INSTALL_DATA_DIR} ${FONTDIR}
-       ${INSTALL_DATA_DIR} ${DOCDIR}
        cd ${WRKSRC} && for f in *.ttf ; do \
-               ${INSTALL_DATA} $$f ${FONTDIR}/$$f; \
+               ${INSTALL_DATA} $$f ${DESTDIR}${FONTDIR}/$$f; \
        done
-       ${INSTALL_DATA} ${.CURDIR}/../../licenses/${LICENSE} ${DOCDIR}
+       ${INSTALL_DATA} ${.CURDIR}/../../licenses/${LICENSE} ${DESTDIR}${DOCDIR}
 
 .include "../../mk/bsd.pkg.mk"
diff -r 0a596f74c512 -r f78e7fe08785 graphics/cairo/Makefile
--- a/graphics/cairo/Makefile   Sun Nov 05 17:06:43 2006 +0000
+++ b/graphics/cairo/Makefile   Sun Nov 05 17:17:04 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.48 2006/09/29 13:43:41 drochner Exp $
+# $NetBSD: Makefile,v 1.49 2006/11/05 17:23:44 joerg Exp $
 
 DISTNAME=      cairo-1.2.4
 PKGREVISION=   3
@@ -9,6 +9,8 @@
 HOMEPAGE=      http://cairographics.org/
 COMMENT=       Vector graphics library with cross-device output support
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 USE_LIBTOOL=           yes
 USE_PKGLOCALEDIR=      yes
 USE_TOOLS+=            pkg-config
diff -r 0a596f74c512 -r f78e7fe08785 graphics/cairomm/Makefile
--- a/graphics/cairomm/Makefile Sun Nov 05 17:06:43 2006 +0000
+++ b/graphics/cairomm/Makefile Sun Nov 05 17:17:04 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2006/09/06 19:56:40 adam Exp $
+# $NetBSD: Makefile,v 1.2 2006/11/05 17:23:44 joerg Exp $
 
 DISTNAME=      cairomm-1.2.2
 CATEGORIES=    graphics
@@ -8,6 +8,8 @@
 HOMEPAGE=      http://cairographics.org/cairomm/
 COMMENT=       C++ API for cairo
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 USE_LANGUAGES=         c c++
 USE_LIBTOOL=           yes
 USE_PKGLOCALEDIR=      yes
diff -r 0a596f74c512 -r f78e7fe08785 graphics/glitz/Makefile
--- a/graphics/glitz/Makefile   Sun Nov 05 17:06:43 2006 +0000
+++ b/graphics/glitz/Makefile   Sun Nov 05 17:17:04 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2006/08/03 18:22:17 rillig Exp $
+# $NetBSD: Makefile,v 1.22 2006/11/05 17:23:44 joerg Exp $
 
 DISTNAME=      glitz-0.5.6
 PKGREVISION=   2
@@ -9,6 +9,8 @@
 HOMEPAGE=      http://freedesktop.org/Software/glitz
 COMMENT=       OpenGL 2D graphics library and a backend for gl output in cairo
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 USE_LIBTOOL=           yes
 GNU_CONFIGURE=         yes
 PKGCONFIG_OVERRIDE=    src/agl/glitz-agl.pc.in src/glx/glitz-glx.pc.in \
diff -r 0a596f74c512 -r f78e7fe08785 graphics/gnome-icon-theme/Makefile
--- a/graphics/gnome-icon-theme/Makefile        Sun Nov 05 17:06:43 2006 +0000
+++ b/graphics/gnome-icon-theme/Makefile        Sun Nov 05 17:17:04 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.41 2006/09/15 15:09:19 jmmv Exp $
+# $NetBSD: Makefile,v 1.42 2006/11/05 17:23:44 joerg Exp $
 #
 
 DISTNAME=              gnome-icon-theme-2.16.0.1
@@ -10,6 +10,8 @@
 HOMEPAGE=              http://www.gnome.org/
 COMMENT=               Theme consisting of a set of icons for GNOME
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 GNU_CONFIGURE=         yes
 USE_DIRS+=             xdg-1.1
 USE_TOOLS+=            gmake intltool msgfmt perl pkg-config
diff -r 0a596f74c512 -r f78e7fe08785 graphics/hicolor-icon-theme/Makefile
--- a/graphics/hicolor-icon-theme/Makefile      Sun Nov 05 17:06:43 2006 +0000
+++ b/graphics/hicolor-icon-theme/Makefile      Sun Nov 05 17:17:04 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2006/07/22 04:46:16 rillig Exp $
+# $NetBSD: Makefile,v 1.12 2006/11/05 17:23:44 joerg Exp $
 #
 
 DISTNAME=      hicolor-icon-theme-0.9
@@ -11,6 +11,7 @@
 COMMENT=       Standard icon theme called hicolor
 
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
+PKG_DESTDIR_SUPPORT=   user-destdir
 
 GNU_CONFIGURE= YES
 NO_BUILD=      YES
diff -r 0a596f74c512 -r f78e7fe08785 graphics/icon-naming-utils/Makefile
--- a/graphics/icon-naming-utils/Makefile       Sun Nov 05 17:06:43 2006 +0000
+++ b/graphics/icon-naming-utils/Makefile       Sun Nov 05 17:17:04 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2006/09/17 14:48:18 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2006/11/05 17:23:44 joerg Exp $
 #
 
 DISTNAME=      icon-naming-utils-0.8.1
@@ -10,6 +10,8 @@
 HOMEPAGE=      http://tango.freedesktop.org/
 COMMENT=       Adapts GNOME and KDE icon names to the Icon Naming Specification
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 DEPENDS+=      p5-XML-Simple>=2.14:../../textproc/p5-XML-Simple
 
 GNU_CONFIGURE= yes
diff -r 0a596f74c512 -r f78e7fe08785 graphics/inkscape/Makefile
--- a/graphics/inkscape/Makefile        Sun Nov 05 17:06:43 2006 +0000
+++ b/graphics/inkscape/Makefile        Sun Nov 05 17:17:04 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2006/10/06 20:29:11 adam Exp $
+# $NetBSD: Makefile,v 1.29 2006/11/05 17:23:44 joerg Exp $
 
 DISTNAME=      inkscape-0.44.1
 CATEGORIES=    graphics
@@ -8,6 +8,8 @@
 HOMEPAGE=      http://www.inkscape.org/
 COMMENT=       Scalable Vector Graphics (SVG) editor
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 .if !exists (/usr/bin/iconv)
 BUILD_DEPENDS+=                libiconv-[0-9]*:../../converters/libiconv
 .endif
diff -r 0a596f74c512 -r f78e7fe08785 graphics/lcms/Makefile
--- a/graphics/lcms/Makefile    Sun Nov 05 17:06:43 2006 +0000
+++ b/graphics/lcms/Makefile    Sun Nov 05 17:17:04 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2006/02/21 14:00:42 gdt Exp $
+# $NetBSD: Makefile,v 1.22 2006/11/05 17:23:44 joerg Exp $
 
 DISTNAME=      lcms-1.15
 PKGREVISION=   2
@@ -11,6 +11,7 @@
 COMMENT=       Light Color Management System -- a color management library
 
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
+PKG_DESTDIR_SUPPORT=   user-destdir
 
 GNU_CONFIGURE=         yes
 USE_LIBTOOL=           yes
@@ -29,7 +30,7 @@
 
 post-install:
 .for _f_ in LCMSAPI.TXT TUTORIAL.TXT
-       ${INSTALL_DATA} ${WRKSRC}/doc/${_f_} ${PREFIX}/share/doc/lcms/${_f_}
+       ${INSTALL_DATA} ${WRKSRC}/doc/${_f_} ${DESTDIR}${PREFIX}/share/doc/lcms/${_f_}
 .endfor
 
 .include "../../graphics/jpeg/buildlink3.mk"
diff -r 0a596f74c512 -r f78e7fe08785 graphics/libart2/Makefile
--- a/graphics/libart2/Makefile Sun Nov 05 17:06:43 2006 +0000
+++ b/graphics/libart2/Makefile Sun Nov 05 17:17:04 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2005/12/27 17:40:50 reed Exp $
+# $NetBSD: Makefile,v 1.21 2006/11/05 17:23:45 joerg Exp $
 
 DISTNAME=              libart_lgpl-2.3.17
 PKGNAME=               ${DISTNAME:S/_lgpl/2/}
@@ -12,6 +12,7 @@
 COMMENT=               High-performance 2D graphics library
 
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
+PKG_DESTDIR_SUPPORT=   user-destdir
 
 GNU_CONFIGURE=         YES
 USE_LIBTOOL=           YES
diff -r 0a596f74c512 -r f78e7fe08785 graphics/libexif/Makefile
--- a/graphics/libexif/Makefile Sun Nov 05 17:06:43 2006 +0000
+++ b/graphics/libexif/Makefile Sun Nov 05 17:17:04 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2006/02/05 23:09:34 joerg Exp $
+# $NetBSD: Makefile,v 1.30 2006/11/05 17:23:45 joerg Exp $
 
 DISTNAME=      libexif-0.6.13
 PKGREVISION=   1
@@ -11,6 +11,7 @@
 COMMENT=       EXIF file library
 
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
+PKG_DESTDIR_SUPPORT=   user-destdir
 
 USE_LIBTOOL=           yes
 USE_PKGLOCALEDIR=      yes
diff -r 0a596f74c512 -r f78e7fe08785 graphics/libgnomecanvas/Makefile
--- a/graphics/libgnomecanvas/Makefile  Sun Nov 05 17:06:43 2006 +0000
+++ b/graphics/libgnomecanvas/Makefile  Sun Nov 05 17:17:04 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.42 2006/04/17 13:46:09 wiz Exp $
+# $NetBSD: Makefile,v 1.43 2006/11/05 17:23:45 joerg Exp $
 #
 
 DISTNAME=              libgnomecanvas-2.14.0
@@ -11,6 +11,8 @@
 HOMEPAGE=              http://www.gnome.org/
 COMMENT=               GNOME Canvas library
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 GNU_CONFIGURE=         yes
 USE_PKGLOCALEDIR=      yes
 USE_TOOLS+=            gmake msgfmt pkg-config
diff -r 0a596f74c512 -r f78e7fe08785 graphics/librsvg2/Makefile
--- a/graphics/librsvg2/Makefile        Sun Nov 05 17:06:43 2006 +0000
+++ b/graphics/librsvg2/Makefile        Sun Nov 05 17:17:04 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.54 2006/10/23 02:30:19 dan Exp $
+# $NetBSD: Makefile,v 1.55 2006/11/05 17:23:45 joerg Exp $
 
 DISTNAME=      librsvg-2.16.0
 PKGNAME=       ${DISTNAME:S/-/2-/}
@@ -11,6 +11,8 @@
 HOMEPAGE=      http://librsvg.sourceforge.net/
 COMMENT=       SVG library for GNOME2
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 CONFLICTS+=    librsvg2-gtk-[0-9]*
 MAKE_JOBS_SAFE=        NO
 



Home | Main Index | Thread Index | Old Index