pkgsrc-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/56f0b359a169
branches:  trunk
changeset: 395179:56f0b359a169
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Jul 07 17:41:48 2009 +0000

description:
user-destdir support

diffstat:

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

diffs (29 lines):

diff -r 4d88a7c3b181 -r 56f0b359a169 x11/xgrk/Makefile
--- a/x11/xgrk/Makefile Tue Jul 07 17:41:46 2009 +0000
+++ b/x11/xgrk/Makefile Tue Jul 07 17:41:48 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2009/05/30 02:00:49 zafer Exp $
+# $NetBSD: Makefile,v 1.6 2009/07/07 17:41:48 joerg Exp $
 #
 
 DISTNAME=              xgrk-1.6.3
@@ -11,14 +11,16 @@
 HOMEPAGE=              http://www.softlab.ece.ntua.gr/~sivann/xgrk/
 COMMENT=               Greek keyboard switcher for X11
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 USE_TOOLS=     gmake
 
 INSTALLATION_DIRS=             bin share/doc/xgrk
 
 do-install:
-       ${INSTALL_PROGRAM}      ${WRKSRC}/xgrk  ${PREFIX}/bin
-       ${INSTALL_PROGRAM}      ${WRKSRC}/xgrk2 ${PREFIX}/bin
-       ${INSTALL_DATA}         ${WRKSRC}/README ${PREFIX}/share/doc/xgrk
+       ${INSTALL_PROGRAM}      ${WRKSRC}/xgrk  ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_PROGRAM}      ${WRKSRC}/xgrk2 ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_DATA}         ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/xgrk
 
 .include "../../x11/libX11/buildlink3.mk"
 .include "../../x11/libXpm/buildlink3.mk"



Home | Main Index | Thread Index | Old Index