pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/wm/uwm user-destdir support



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ff88c8722c14
branches:  trunk
changeset: 561111:ff88c8722c14
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Jul 07 19:32:25 2009 +0000

description:
user-destdir support

diffstat:

 wm/uwm/Makefile |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (31 lines):

diff -r 901ddf3685bf -r ff88c8722c14 wm/uwm/Makefile
--- a/wm/uwm/Makefile   Tue Jul 07 19:31:48 2009 +0000
+++ b/wm/uwm/Makefile   Tue Jul 07 19:32:25 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2007/10/03 07:55:24 obache Exp $
+# $NetBSD: Makefile,v 1.13 2009/07/07 19:32:25 joerg Exp $
 
 DISTNAME=      X.V11R3uwm
 PKGNAME=       uwm-19881027
@@ -10,6 +10,8 @@
 #HOMEPAGE=     http://www.x.org/
 COMMENT=       X11R3 window manager
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 WRKSRC=                ${WRKDIR}/X.V11R3/clients/uwm
 USE_IMAKE=     yes
 USE_TOOLS+=    yacc
@@ -21,9 +23,10 @@
        ${SED} -e 's#/usr/lib/X11#${PREFIX}/lib/X11#g' <${WRKSRC}/uwm.man.src \
                >${WRKSRC}/uwm.man
 
+INSTALLATION_DIRS=     lib/X11/uwm
+
 post-install:
-       ${INSTALL_DATA_DIR} ${PREFIX}/lib/X11/uwm
-       ${INSTALL_DATA} ${WRKSRC}/default.uwmrc ${PREFIX}/lib/X11/uwm/system.uwmrc
+       ${INSTALL_DATA} ${WRKSRC}/default.uwmrc ${DESTDIR}${PREFIX}/lib/X11/uwm/system.uwmrc
 
 .include "../../x11/libX11/buildlink3.mk"
 .include "../../x11/libXext/buildlink3.mk"



Home | Main Index | Thread Index | Old Index