diff options
author | hoek <hoek@FreeBSD.org> | 2000-05-31 18:17:39 +0000 |
---|---|---|
committer | hoek <hoek@FreeBSD.org> | 2000-05-31 18:17:39 +0000 |
commit | 16cf947a5971c65c133ade870cd4eb851a5bd9bd (patch) | |
tree | 1f48f95f9adf25b57a79e012794485a37296ad0a /lang/itcl | |
parent | 7265dba1e03a70f84a1b4c32d69c8c54fd326d9a (diff) | |
download | FreeBSD-ports-16cf947a5971c65c133ade870cd4eb851a5bd9bd.zip FreeBSD-ports-16cf947a5971c65c133ade870cd4eb851a5bd9bd.tar.gz |
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 'lang/itcl')
-rw-r--r-- | lang/itcl/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lang/itcl/Makefile b/lang/itcl/Makefile index 0544684..61578ba 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> |