aboutsummaryrefslogtreecommitdiff
path: root/lang/otcl
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/otcl
parentb766e9ce1623aa7195499f76824ff58576b46110 (diff)
downloadports-29870c686d9341c77e1566c3d555a36f42f3c414.tar.gz
ports-29870c686d9341c77e1566c3d555a36f42f3c414.zip
Notes
Diffstat (limited to 'lang/otcl')
-rw-r--r--lang/otcl/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/lang/otcl/Makefile b/lang/otcl/Makefile
index c82aedd43a5c..19e61b6b596d 100644
--- a/lang/otcl/Makefile
+++ b/lang/otcl/Makefile
@@ -17,11 +17,16 @@ LIB_DEPENDS= tk82.1:${PORTSDIR}/x11-toolkits/tk82
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-tcl-ver=8.2 --with-tk-ver=8.2
USE_AUTOCONF= yes
+PKGINSTALL= ${PORTSDIR}/lang/tcl82/pkg/INSTALL.tclsh
+PKGDEINSTALL= ${PORTSDIR}/lang/tcl82/pkg/DEINSTALL.tclsh
post-install:
${LN} -sf libotcl.so ${PREFIX}/lib/libotcl.so.1
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
strip ${PREFIX}/bin/otclsh
strip ${PREFIX}/bin/owish
+.if exists(${PKGINSTALL})
+ ${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL}
+.endif
.include <bsd.port.mk>