pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/xxkb Add DESTDIR support, part of PR 38340.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/49cbf7b6f259
branches:  trunk
changeset: 540152:49cbf7b6f259
user:      obache <obache%pkgsrc.org@localhost>
date:      Sun Mar 30 11:25:49 2008 +0000

description:
Add DESTDIR support, part of PR 38340.

diffstat:

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

diffs (27 lines):

diff -r 915af7047bdc -r 49cbf7b6f259 x11/xxkb/Makefile
--- a/x11/xxkb/Makefile Sun Mar 30 11:24:38 2008 +0000
+++ b/x11/xxkb/Makefile Sun Mar 30 11:25:49 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2007/12/02 00:06:59 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2008/03/30 11:25:49 obache Exp $
 
 DISTNAME=      xxkb-1.11-src
 PKGNAME=       ${DISTNAME:S/-src//}
@@ -11,6 +11,8 @@
 HOMEPAGE=      http://pascal.tsu.ru/other/xxkb/
 COMMENT=       XXKB - switches and indicates a current keyboard layout
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 USE_TOOLS+=            xmkmf
 USE_IMAKE=             yes
 DOC_FILES=             LICENSE README.koi8 README
@@ -21,7 +23,7 @@
 
 post-install:
 .for i in ${DOC_FILES}
-       ${INSTALL_DATA} ${WRKSRC}/${i} ${DOC_DIR}
+       ${INSTALL_DATA} ${WRKSRC}/${i} ${DESTDIR}${DOC_DIR}
 .endfor
 
 .include "../../x11/libXext/buildlink3.mk"



Home | Main Index | Thread Index | Old Index