pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/wm/mlvwm Add DESTDIR support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8c4c0ea2fee5
branches:  trunk
changeset: 539000:8c4c0ea2fee5
user:      obache <obache%pkgsrc.org@localhost>
date:      Sat Feb 23 03:52:30 2008 +0000

description:
Add DESTDIR support.

diffstat:

 wm/mlvwm/Makefile |  10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r 1d46818961b3 -r 8c4c0ea2fee5 wm/mlvwm/Makefile
--- a/wm/mlvwm/Makefile Sat Feb 23 03:03:10 2008 +0000
+++ b/wm/mlvwm/Makefile Sat Feb 23 03:52:30 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2008/02/23 02:24:05 obache Exp $
+# $NetBSD: Makefile,v 1.9 2008/02/23 03:52:30 obache Exp $
 #
 
 DISTNAME=      mlvwm091
@@ -11,6 +11,8 @@
 HOMEPAGE=      http://www2u.biglobe.ne.jp/~y-miyata/mlvwm.html
 COMMENT=       Macintosh Like Virtual Window Manager
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 USE_IMAKE=     yes
 
 EGDIR=                 ${PREFIX}/share/examples/mlvwm
@@ -18,12 +20,12 @@
 
 post-install:
 .for f in README CONFIGURATION
-       ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/mlvwm
+       ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/share/doc/mlvwm
 .endfor
 .for f in Mlvwmrc Mlvwmrc-Xterm
-       ${INSTALL_DATA} ${WRKSRC}/sample_rc/${f} ${EGDIR}
+       ${INSTALL_DATA} ${WRKSRC}/sample_rc/${f} ${DESTDIR}${EGDIR}
 .endfor
-       ${INSTALL_DATA} ${WRKSRC}/pixmap/*.xpm ${PREFIX}/share/mlvwm
+       ${INSTALL_DATA} ${WRKSRC}/pixmap/*.xpm ${DESTDIR}${PREFIX}/share/mlvwm
 
 SUBST_CLASSES+=                xpm
 SUBST_STAGE.xpm=       post-configure



Home | Main Index | Thread Index | Old Index