diff options
author | joerg <joerg@pkgsrc.org> | 2010-02-12 20:34:16 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-02-12 20:34:16 +0000 |
commit | 8b0be8c55a64bd3b5213dcb271f0ba162399402a (patch) | |
tree | f09cae4c31809b257343ccd0852716e5c121fdb7 /wm/matchbox-wm | |
parent | f24aec74309fc951883edca8be6c9dcef1ce5712 (diff) | |
download | pkgsrc-8b0be8c55a64bd3b5213dcb271f0ba162399402a.tar.gz |
DESTDIR support
Diffstat (limited to 'wm/matchbox-wm')
-rw-r--r-- | wm/matchbox-wm/Makefile | 11 |
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" |