summaryrefslogtreecommitdiff
path: root/wm/matchbox-wm
diff options
context:
space:
mode:
authorjoerg <joerg>2010-02-12 20:34:16 +0000
committerjoerg <joerg>2010-02-12 20:34:16 +0000
commit723233871ad29c9bd7c0cb9b2653a4d083417e98 (patch)
treef09cae4c31809b257343ccd0852716e5c121fdb7 /wm/matchbox-wm
parent8f03007bea9f9bf63010a50fdd7c3614b08f2d84 (diff)
downloadpkgsrc-723233871ad29c9bd7c0cb9b2653a4d083417e98.tar.gz
DESTDIR support
Diffstat (limited to 'wm/matchbox-wm')
-rw-r--r--wm/matchbox-wm/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/wm/matchbox-wm/Makefile b/wm/matchbox-wm/Makefile
index 4c60509222f..779002f3a5c 100644
--- a/wm/matchbox-wm/Makefile
+++ b/wm/matchbox-wm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2009/07/22 09:01:50 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2010/02/12 20:37:53 joerg Exp $
#
DISTNAME= matchbox-window-manager-1.1
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://projects.o-hand.com/matchbox/
COMMENT= Window manager designed for computers with small displays
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= pkg-config
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
@@ -19,10 +21,11 @@ PKG_SYSCONFSUBDIR= matchbox
EGDIR= ${PREFIX}/share/examples/matchbox
CONF_FILES= ${EGDIR}/kbdconfig ${PKG_SYSCONFDIR}/kbdconfig
+INSTALLATION_DIRS+= share/examples/matchbox
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/matchbox
- ${MV} ${PKG_SYSCONFDIR}/kbdconfig \
- ${PREFIX}/share/examples/matchbox/
+ ${MV} ${DESTDIR}${PKG_SYSCONFDIR}/kbdconfig \
+ ${DESTDIR}${PREFIX}/share/examples/matchbox/
.include "../../devel/libmatchbox/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"