From 3b433154dcf87503b3188fd68daacdfdf66e2db0 Mon Sep 17 00:00:00 2001 From: joerg Date: Tue, 7 Jul 2009 17:07:38 +0000 Subject: user-destdir support --- x11/xmove/Makefile | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'x11/xmove') diff --git a/x11/xmove/Makefile b/x11/xmove/Makefile index 836e5932ef9..105afc4815c 100644 --- a/x11/xmove/Makefile +++ b/x11/xmove/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2009/05/12 21:03:33 zafer Exp $ +# $NetBSD: Makefile,v 1.17 2009/07/07 17:07:38 joerg Exp $ # DISTNAME= xmove.2.0beta2 @@ -10,10 +10,14 @@ MASTER_SITES= ftp://ftp.ntplx.net/pub/unix/source/ MAINTAINER= pkgsrc-users@NetBSD.org COMMENT= Move an X11 display between screens and displays +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/xmove USE_IMAKE= yes XMOVEDOCDIR= ${PREFIX}/share/doc/xmove +INSTALLATION_DIRS= ${XMOVEDOCDIR} + pre-configure: @${SED} -e 's|@x11base@|'${X11PREFIX}'|' < ${WRKSRC}/xmove/Imakefile > ${WRKSRC}/xmove/Imakefile.new && \ ${MV} ${WRKSRC}/xmove/Imakefile.new ${WRKSRC}/xmove/Imakefile @@ -21,10 +25,9 @@ pre-configure: ${CP} ${WRKSRC}/man/man1/xmovectrl.1 ${WRKSRC}/xmovectrl/xmovectrl.man post-install: - @${INSTALL_DATA_DIR} ${XMOVEDOCDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/features.txt ${XMOVEDOCDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/limitations.txt ${XMOVEDOCDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/using_xmove.txt ${XMOVEDOCDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/features.txt ${DESTDIR}${XMOVEDOCDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/limitations.txt ${DESTDIR}${XMOVEDOCDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/using_xmove.txt ${DESTDIR}${XMOVEDOCDIR} .include "../../x11/libX11/buildlink3.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3