pkgsrc-Changes-HG archive

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

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



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

description:
user-destdir support

diffstat:

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

diffs (26 lines):

diff -r 44c54e729b26 -r 290c1cd26754 wm/skippy/Makefile
--- a/wm/skippy/Makefile        Tue Jul 07 19:28:24 2009 +0000
+++ b/wm/skippy/Makefile        Tue Jul 07 19:31:32 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2007/04/13 09:06:15 xtraeme Exp $
+# $NetBSD: Makefile,v 1.14 2009/07/07 19:31:32 joerg Exp $
 #
 
 DISTNAME=      skippy-0.5.0
@@ -11,13 +11,15 @@
 HOMEPAGE=      http://thegraveyard.org/skippy.php
 COMMENT=       Fullscreen task switcher for X11
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 USE_TOOLS+=            pkg-config
 EGDIR=                 ${PREFIX}/share/examples/${PKGBASE}
 
 INSTALLATION_DIRS=     share/examples/${PKGBASE}
 
 post-install:
-       ${INSTALL_DATA} ${WRKSRC}/skippyrc-default ${EGDIR}/skippyrc
+       ${INSTALL_DATA} ${WRKSRC}/skippyrc-default ${DESTDIR}${EGDIR}/skippyrc
 
 .include "../../graphics/imlib2/buildlink3.mk"
 .include "../../x11/libXft/buildlink3.mk"



Home | Main Index | Thread Index | Old Index