pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/xchat Added DESTDIR support. Successful build wit...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c0abfd32945c
branches:  trunk
changeset: 528407:c0abfd32945c
user:      heinz <heinz%pkgsrc.org@localhost>
date:      Wed May 02 08:11:56 2007 +0000

description:
Added DESTDIR support. Successful build with/without USE_DESTDIR=full
on NetBSD/i386.

diffstat:

 chat/xchat/Makefile |  10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diffs (24 lines):

diff -r 0e4b62c54d50 -r c0abfd32945c chat/xchat/Makefile
--- a/chat/xchat/Makefile       Wed May 02 05:10:33 2007 +0000
+++ b/chat/xchat/Makefile       Wed May 02 08:11:56 2007 +0000
@@ -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 @@
 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"



Home | Main Index | Thread Index | Old Index