pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/tcl-xml user-destdir support



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3a5cccd9ebb6
branches:  trunk
changeset: 561163:3a5cccd9ebb6
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Jul 07 20:39:13 2009 +0000

description:
user-destdir support

diffstat:

 textproc/tcl-xml/Makefile |  18 ++++++++++--------
 1 files changed, 10 insertions(+), 8 deletions(-)

diffs (39 lines):

diff -r b623ff1829d2 -r 3a5cccd9ebb6 textproc/tcl-xml/Makefile
--- a/textproc/tcl-xml/Makefile Tue Jul 07 20:38:22 2009 +0000
+++ b/textproc/tcl-xml/Makefile Tue Jul 07 20:39:13 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2007/02/22 19:27:17 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2009/07/07 20:39:13 joerg Exp $
 #
 
 DISTNAME=      TclXML-1.2
@@ -10,6 +10,8 @@
 HOMEPAGE=      http://www.zveno.com/zm.cgi/in-tclxml/
 COMMENT=       XML parser implemented entirely in Tcl
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 DEPENDS+=      tcl>=8.3.2:../../lang/tcl
 
 # old name for this package...
@@ -18,13 +20,13 @@
 NO_CONFIGURE=  yes
 NO_BUILD=      yes
 
+INSTALLATION_DIRS=     lib/tcl/TclXML share/doc/tcl/TclXML
+
 do-install:
-       ${INSTALL_DATA_DIR} ${PREFIX}/lib/tcl/TclXML
-       ${INSTALL_DATA} ${WRKSRC}/pkgIndex.tcl ${PREFIX}/lib/tcl/TclXML
-       ${INSTALL_DATA} ${WRKSRC}/sgml.tcl ${PREFIX}/lib/tcl/TclXML
-       ${INSTALL_DATA} ${WRKSRC}/xml.tcl ${PREFIX}/lib/tcl/TclXML
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tcl/TclXML
-       ${INSTALL_DATA} ${WRKSRC}/docs/reference.html ${PREFIX}/share/doc/tcl/TclXML
-       ${INSTALL_DATA} ${WRKSRC}/changes ${PREFIX}/share/doc/tcl/TclXML
+       ${INSTALL_DATA} ${WRKSRC}/pkgIndex.tcl ${DESTDIR}${PREFIX}/lib/tcl/TclXML
+       ${INSTALL_DATA} ${WRKSRC}/sgml.tcl ${DESTDIR}${PREFIX}/lib/tcl/TclXML
+       ${INSTALL_DATA} ${WRKSRC}/xml.tcl ${DESTDIR}${PREFIX}/lib/tcl/TclXML
+       ${INSTALL_DATA} ${WRKSRC}/docs/reference.html ${DESTDIR}${PREFIX}/share/doc/tcl/TclXML
+       ${INSTALL_DATA} ${WRKSRC}/changes ${DESTDIR}${PREFIX}/share/doc/tcl/TclXML
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index