aboutsummaryrefslogtreecommitdiff
path: root/lang/itcl
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
parentb766e9ce1623aa7195499f76824ff58576b46110 (diff)
downloadports-29870c686d9341c77e1566c3d555a36f42f3c414.tar.gz
ports-29870c686d9341c77e1566c3d555a36f42f3c414.zip
Notes
Diffstat (limited to 'lang/itcl')
-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>