summaryrefslogtreecommitdiff
path: root/lang/tcl-otcl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/tcl-otcl/Makefile')
-rw-r--r--lang/tcl-otcl/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/lang/tcl-otcl/Makefile b/lang/tcl-otcl/Makefile
index 9195372fe60..e70a05ca4d9 100644
--- a/lang/tcl-otcl/Makefile
+++ b/lang/tcl-otcl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2007/04/26 15:28:42 minskim Exp $
+# $NetBSD: Makefile,v 1.21 2009/02/17 19:49:57 joerg Exp $
DISTNAME= otcl-src-1.13
PKGNAME= tcl-${DISTNAME:S/-src//}
@@ -10,6 +10,7 @@ HOMEPAGE= http://otcl-tclcl.sourceforge.net/otcl/
COMMENT= MIT Object Tcl
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
@@ -25,7 +26,7 @@ DOCS= autoload.html capi.html class.html object.html \
tutorial.html otcl-paper.ps.gz
DOCDIR= ${PREFIX}/share/doc/tcl/otcl
-INSTALLATION_DIRS= bin include lib
+INSTALLATION_DIRS= bin include lib ${DOCDIR}
BUILDLINK_DEPMETHOD.libXt?= build
@@ -34,10 +35,9 @@ BUILDLINK_DEPMETHOD.libXt?= build
.include "../../x11/libXt/buildlink3.mk"
post-install:
- ${INSTALL_DATA_DIR} ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/CHANGES.html ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/CHANGES.html ${DESTDIR}${DOCDIR}
.for _file_ in ${DOCS}
- ${INSTALL_DATA} ${WRKSRC}/doc/${_file_} ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/${_file_} ${DESTDIR}${DOCDIR}
.endfor
.include "../../mk/bsd.pkg.mk"