summaryrefslogtreecommitdiff
path: root/x11/numlockx
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-07-07 18:10:38 +0000
committerjoerg <joerg@pkgsrc.org>2009-07-07 18:10:38 +0000
commit9cd90d07ec63ae66be0a804ab6a66d64cc4a785f (patch)
tree496493ec2887e82a72e052adf901b8298aa864a7 /x11/numlockx
parentee697a3af728b023a17543d85078229f57e6c797 (diff)
downloadpkgsrc-9cd90d07ec63ae66be0a804ab6a66d64cc4a785f.tar.gz
user-destdir support
Diffstat (limited to 'x11/numlockx')
-rw-r--r--x11/numlockx/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/x11/numlockx/Makefile b/x11/numlockx/Makefile
index bb4e8cffff4..572f0f6223d 100644
--- a/x11/numlockx/Makefile
+++ b/x11/numlockx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2007/02/20 01:04:27 joerg Exp $
+# $NetBSD: Makefile,v 1.9 2009/07/07 18:10:38 joerg Exp $
#
DISTNAME= numlockx-1.1
@@ -10,11 +10,14 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://ktown.kde.org/~seli/numlockx/
COMMENT= Allows you to start X with numlock turned on
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
+INSTALLATION_DIRS= share/doc/numlockx
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/numlockx
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/numlockx
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/numlockx
.include "../../mk/bsd.prefs.mk"