From 723233871ad29c9bd7c0cb9b2653a4d083417e98 Mon Sep 17 00:00:00 2001 From: joerg Date: Fri, 12 Feb 2010 20:34:16 +0000 Subject: DESTDIR support --- wm/matchbox-wm/Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'wm/matchbox-wm') 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" -- cgit v1.2.3