pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/xerces-c Add DESTDIR support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b6ed0af593d9
branches:  trunk
changeset: 532326:b6ed0af593d9
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Aug 16 00:15:56 2007 +0000

description:
Add DESTDIR support.

diffstat:

 textproc/xerces-c/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r e3cadb4d7856 -r b6ed0af593d9 textproc/xerces-c/Makefile
--- a/textproc/xerces-c/Makefile        Thu Aug 16 00:15:19 2007 +0000
+++ b/textproc/xerces-c/Makefile        Thu Aug 16 00:15:56 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2006/08/22 16:30:46 joerg Exp $
+# $NetBSD: Makefile,v 1.31 2007/08/16 00:15:56 joerg Exp $
 #
 
 DISTNAME=      xerces-c-src_2_7_0
@@ -12,6 +12,7 @@
 COMMENT=       Validating C++ XML parser with DOM and SAX support
 
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
+PKG_DESTDIR_SUPPORT=   user-destdir
 
 WRKSRC=                        ${WRKDIR}/${DISTNAME}/src/xercesc
 USE_TOOLS+=            gmake
@@ -60,6 +61,6 @@
 
 post-install:
        ${INSTALL_DATA} ${WRKSRC}/dom/impl/*.hpp \
-               ${PREFIX}/include/xercesc/dom/impl
+               ${DESTDIR}${PREFIX}/include/xercesc/dom/impl
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index