summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-07-07 17:41:48 +0000
committerjoerg <joerg@pkgsrc.org>2009-07-07 17:41:48 +0000
commit3ced7caf97f265e02437b36bcc2e819bfecaf6d9 (patch)
treef1471c5242e3b7afd47277910361407fdfae9cc5
parent4c9f4e4d19fb67e95a2e8bc320631993f0e09869 (diff)
downloadpkgsrc-3ced7caf97f265e02437b36bcc2e819bfecaf6d9.tar.gz
user-destdir support
-rw-r--r--x11/xgrk/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/x11/xgrk/Makefile b/x11/xgrk/Makefile
index cd037f233f0..886e6a77387 100644
--- a/x11/xgrk/Makefile
+++ b/x11/xgrk/Makefile
@@ -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 @@ MAINTAINER= is@NetBSD.org
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"