diff options
author | heinz <heinz> | 2007-05-02 08:11:56 +0000 |
---|---|---|
committer | heinz <heinz> | 2007-05-02 08:11:56 +0000 |
commit | fbba728e19cd577a6208865ab4630c54754a368c (patch) | |
tree | ce45fbaae14bd9ca3c31df6f43871af4ce8d494f /chat/xchat | |
parent | a2daaed6647085ddd201a65a9b777188c56afae2 (diff) | |
download | pkgsrc-fbba728e19cd577a6208865ab4630c54754a368c.tar.gz |
Added DESTDIR support. Successful build with/without USE_DESTDIR=full
on NetBSD/i386.
Diffstat (limited to 'chat/xchat')
-rw-r--r-- | chat/xchat/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/chat/xchat/Makefile b/chat/xchat/Makefile index ab409486697..9ea5e955d74 100644 --- a/chat/xchat/Makefile +++ b/chat/xchat/Makefile @@ -1,4 +1,6 @@ -# $NetBSD: Makefile,v 1.48 2007/04/19 20:39:38 adrianp Exp $ +# $NetBSD: Makefile,v 1.49 2007/05/02 08:11:56 heinz Exp $ + +PKG_DESTDIR_SUPPORT= user-destdir .include "Makefile.common" @@ -39,9 +41,9 @@ CONFIGURE_ARGS+= --disable-xlib INSTALLATION_DIRS+= share/doc/xchat lib/xchat/plugins post-install: - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xchat/ - ${INSTALL_DATA} ${WRKSRC}/faq.html ${PREFIX}/share/doc/xchat/ + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/xchat/ + ${INSTALL_DATA} ${WRKSRC}/faq.html ${DESTDIR}${PREFIX}/share/doc/xchat/ ${INSTALL_DATA} ${WRKSRC}/plugins/plugin20.html \ - ${PREFIX}/share/doc/xchat/ + ${DESTDIR}${PREFIX}/share/doc/xchat/ .include "../../mk/bsd.pkg.mk" |