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 /japanese/tcl80/Makefile | |
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 'japanese/tcl80/Makefile')
-rw-r--r-- | japanese/tcl80/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/japanese/tcl80/Makefile b/japanese/tcl80/Makefile index f347f0a..78f61f98 100644 --- a/japanese/tcl80/Makefile +++ b/japanese/tcl80/Makefile @@ -28,6 +28,8 @@ GNU_CONFIGURE= yes USE_AUTOCONF= yes CONFIGURE_ARGS= --enable-shared RANLIB= ranlib +PKGINSTALL= ${PORTSDIR}/lang/tcl82/pkg/INSTALL.tclsh +PKGDEINSTALL= ${PORTSDIR}/lang/tcl82/pkg/DEINSTALL.tclsh .include <bsd.port.pre.mk> @@ -54,6 +56,9 @@ post-install: ${LN} -sf libtcl80jp.so.1.5 ${PREFIX}/lib/libtcl80jp.so ${RANLIB} ${PREFIX}/lib/libtcl80jp.a .endif +.if exists(${PKGINSTALL}) + ${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} +.endif @${CAT} ${PKGDIR}/MESSAGE test: |