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 | 88e3fdee39e86eb70799eb8001e9059ecb40e101 (patch) | |
tree | ce45fbaae14bd9ca3c31df6f43871af4ce8d494f /chat/xchat | |
parent | 95bad7c245d1c062bc1e3697d4677832fe435b68 (diff) | |
download | pkgsrc-88e3fdee39e86eb70799eb8001e9059ecb40e101.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" |