summaryrefslogtreecommitdiff
path: root/textproc/tcl-expat
diff options
context:
space:
mode:
authorjwise <jwise>2002-08-26 14:34:38 +0000
committerjwise <jwise>2002-08-26 14:34:38 +0000
commitd7fc8d5099a6c50099e72221fadfece709088f94 (patch)
tree687e3df659bd95acc89c5fa3461c78a92a1626ce /textproc/tcl-expat
parentf5373fd2adcc99216cc6d8cdbe0fa1cab0a184c5 (diff)
downloadpkgsrc-d7fc8d5099a6c50099e72221fadfece709088f94.tar.gz
Make sure ${prefix}/lib/tcl exists before installing into it.
Ditto for ${prefix}/share/doc/tcl.
Diffstat (limited to 'textproc/tcl-expat')
-rw-r--r--textproc/tcl-expat/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/textproc/tcl-expat/Makefile b/textproc/tcl-expat/Makefile
index cc8fd54182c..034f8b7a732 100644
--- a/textproc/tcl-expat/Makefile
+++ b/textproc/tcl-expat/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2001/09/28 23:37:09 jwise Exp $
+# $NetBSD: Makefile,v 1.2 2002/08/26 14:34:38 jwise Exp $
#
DISTNAME= TclExpat-1.1
@@ -13,7 +13,11 @@ COMMENT= XML parser implemented entirely in Tcl
DEPENDS+= tcl>=8.3.2:../../lang/tcl
DEPENDS+= expat-[0-9]*:../../textproc/expat
+pre-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/lib/tcl
+
post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tcl
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tcl/TclExpat
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/tcl/TclExpat