diff options
author | joerg <joerg@pkgsrc.org> | 2009-07-07 17:07:38 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-07-07 17:07:38 +0000 |
commit | 3b433154dcf87503b3188fd68daacdfdf66e2db0 (patch) | |
tree | e74e049bf53d7d1d008e3621856e7fc4321fb36f /x11/xmove | |
parent | c3648bdab5401036b976b2da7da160d524afda5b (diff) | |
download | pkgsrc-3b433154dcf87503b3188fd68daacdfdf66e2db0.tar.gz |
user-destdir support
Diffstat (limited to 'x11/xmove')
-rw-r--r-- | x11/xmove/Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
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" |