summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-07-07 20:39:13 +0000
committerjoerg <joerg@pkgsrc.org>2009-07-07 20:39:13 +0000
commitc0108e7c341bf88b882da04b6102a94b89069140 (patch)
tree9552c7bb117f0fe6cbdfcf85d62ceeee024054a6 /textproc
parenteb35f85d50cc1f51e85379129f48b0cf4c65b299 (diff)
downloadpkgsrc-c0108e7c341bf88b882da04b6102a94b89069140.tar.gz
user-destdir support
Diffstat (limited to 'textproc')
-rw-r--r--textproc/tcl-xml/Makefile18
1 files changed, 10 insertions, 8 deletions
diff --git a/textproc/tcl-xml/Makefile b/textproc/tcl-xml/Makefile
index e86490e1155..a4f3099fe23 100644
--- a/textproc/tcl-xml/Makefile
+++ b/textproc/tcl-xml/Makefile
@@ -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 @@ MAINTAINER= jwise@NetBSD.org
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 @@ CONFLICTS+= TclXML-[0-9]*
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"