summaryrefslogtreecommitdiff
path: root/lang/itcl/Makefile
diff options
context:
space:
mode:
authorTim Vanderhoek <hoek@FreeBSD.org>2000-05-31 18:17:39 +0000
committerTim Vanderhoek <hoek@FreeBSD.org>2000-05-31 18:17:39 +0000
commit29870c686d9341c77e1566c3d555a36f42f3c414 (patch)
tree3d90adccda6e1f821d9a977aac601b6af3b314ff /lang/itcl/Makefile
parentLet the user know about itcl installations, too. (diff)
PKGDEINSTALL=${PORTSDIR}/lang/tcl82/pkg/DEINSTALL.tclsh, or from
${PKGDIR} if DEINSTALL.tclsh exists there. Also, add INSTALL.tclsh to ja-tcl*, otcl, and itcl. The latter two technically don't need it since they depend on another library which will pull the (DE)?INSTALL.tclsh stuff in, but I'm changing them anyways as a defensive measure.
Diffstat (limited to '')
-rw-r--r--lang/itcl/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/lang/itcl/Makefile b/lang/itcl/Makefile
index 054468465927..61578bafee3f 100644
--- a/lang/itcl/Makefile
+++ b/lang/itcl/Makefile
@@ -19,6 +19,8 @@ WRKSRC= ${WRKDIR}/itcl3.0.1/itcl/unix
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared --with-tcl=${PREFIX}/lib/tcl8.2
CONFIGURE_ENV= PORTSDIR=${PORTSDIR} ITCL_LIB_FILE=${ITCL_LIB_FILE}
+PKGINSTALL= ${PORTSDIR}/lang/tcl82/pkg/INSTALL.tclsh
+PKGDEINSTALL= ${PORTSDIR}/lang/tcl82/pkg/DEINSTALL.tclsh
SHLIB_MAJOR= 1
SHLIB_MINOR= 1
@@ -47,5 +49,8 @@ post-install:
${LN} -sf ${PREFIX}/bin/itclsh3.0 ${PREFIX}/bin/itclsh
${LN} -sf ${ITCL_LIB_FILE} ${PREFIX}/lib/${ITCL_LIB}
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
+.if exists(${PKGINSTALL})
+ ${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL}
+.endif
.include <bsd.port.post.mk>