pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11 user-destdir support



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d2b1c30ee322
branches:  trunk
changeset: 395214:d2b1c30ee322
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Jul 07 18:34:01 2009 +0000

description:
user-destdir support

diffstat:

 x11/desklaunch/Makefile |  8 +++++---
 x11/deskmenu/Makefile   |  8 +++++---
 2 files changed, 10 insertions(+), 6 deletions(-)

diffs (59 lines):

diff -r 9be735bb8329 -r d2b1c30ee322 x11/desklaunch/Makefile
--- a/x11/desklaunch/Makefile   Tue Jul 07 18:33:52 2009 +0000
+++ b/x11/desklaunch/Makefile   Tue Jul 07 18:34:01 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2007/06/17 14:37:28 joerg Exp $
+# $NetBSD: Makefile,v 1.4 2009/07/07 18:34:06 joerg Exp $
 #
 
 VERSION=       1.1.5
@@ -11,15 +11,17 @@
 HOMEPAGE=      http://www.oroborus.org/?node=Download
 COMMENT=       X utility for binding commands to pixmap icons
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 WRKSRC=                ${WRKDIR}/${PKGNAME_NOREV}
 USE_TOOLS+=    gmake
 
 INSTALLATION_DIRS=     bin share/doc
 
 do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/desklaunch ${PREFIX}/bin
+       ${INSTALL_PROGRAM} ${WRKSRC}/desklaunch ${DESTDIR}${PREFIX}/bin
        ${INSTALL_DATA} ${WRKSRC}/README \
-               ${PREFIX}/share/doc/desklaunch.README
+               ${DESTDIR}${PREFIX}/share/doc/desklaunch.README
 
 .include "../../x11/libX11/buildlink3.mk"
 .include "../../x11/libXext/buildlink3.mk"
diff -r 9be735bb8329 -r d2b1c30ee322 x11/deskmenu/Makefile
--- a/x11/deskmenu/Makefile     Tue Jul 07 18:33:52 2009 +0000
+++ b/x11/deskmenu/Makefile     Tue Jul 07 18:34:01 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2007/06/18 16:16:38 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2009/07/07 18:34:01 joerg Exp $
 #
 
 VERSION=       1.4.2
@@ -11,6 +11,8 @@
 HOMEPAGE=      http://www.oroborus.org/?node=Download
 COMMENT=       X utility for providing root menus
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 WRKSRC=                ${WRKDIR}/${PKGNAME_NOREV}
 USE_TOOLS+=    gmake pkg-config
 GNU_CONFIGURE= yes
@@ -26,9 +28,9 @@
 BUILD_DEFS+=   PKG_SYSCONFBASE
 
 do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/src/deskmenu ${PREFIX}/bin
+       ${INSTALL_PROGRAM} ${WRKSRC}/src/deskmenu ${DESTDIR}${PREFIX}/bin
        ${INSTALL_DATA} ${WRKSRC}/example_rc \
-               ${PREFIX}/share/examples/deskmenu/deskmenurc
+               ${DESTDIR}${PREFIX}/share/examples/deskmenu/deskmenurc
 
 .include "../../x11/libX11/buildlink3.mk"
 .include "../../x11/gtk2/buildlink3.mk"



Home | Main Index | Thread Index | Old Index