diff options
author | heinz <heinz@pkgsrc.org> | 2007-05-02 08:11:56 +0000 |
---|---|---|
committer | heinz <heinz@pkgsrc.org> | 2007-05-02 08:11:56 +0000 |
commit | 00ed9986cf7a307ad06608f03ab70ca8d028c288 (patch) | |
tree | ce45fbaae14bd9ca3c31df6f43871af4ce8d494f /chat | |
parent | 8f2cb63272210df65be72ba906994fa9beee0591 (diff) | |
download | pkgsrc-00ed9986cf7a307ad06608f03ab70ca8d028c288.tar.gz |
Added DESTDIR support. Successful build with/without USE_DESTDIR=full
on NetBSD/i386.
Diffstat (limited to 'chat')
-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" |