diff options
author | hoek <hoek@FreeBSD.org> | 2000-06-01 02:17:39 +0800 |
---|---|---|
committer | hoek <hoek@FreeBSD.org> | 2000-06-01 02:17:39 +0800 |
commit | 16cf947a5971c65c133ade870cd4eb851a5bd9bd (patch) | |
tree | 1f48f95f9adf25b57a79e012794485a37296ad0a /japanese | |
parent | 7265dba1e03a70f84a1b4c32d69c8c54fd326d9a (diff) | |
download | freebsd-ports-gnome-16cf947a5971c65c133ade870cd4eb851a5bd9bd.tar.gz freebsd-ports-gnome-16cf947a5971c65c133ade870cd4eb851a5bd9bd.tar.zst freebsd-ports-gnome-16cf947a5971c65c133ade870cd4eb851a5bd9bd.zip |
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')
-rw-r--r-- | japanese/tcl76/Makefile | 5 | ||||
-rw-r--r-- | japanese/tcl80/Makefile | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/japanese/tcl76/Makefile b/japanese/tcl76/Makefile index b761b5e80ea1..2c42cbde7ed6 100644 --- a/japanese/tcl76/Makefile +++ b/japanese/tcl76/Makefile @@ -20,6 +20,8 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/unix USE_AUTOCONF= yes CONFIGURE_ARGS= --enable-shared CONFIGURE_ENV= PORTSDIR=${PORTSDIR} +PKGINSTALL= ${PORTSDIR}/lang/tcl82/pkg/INSTALL.tclsh +PKGDEINSTALL= ${PORTSDIR}/lang/tcl82/pkg/DEINSTALL.tclsh VERSION= ${PORTVERSION}jp @@ -50,6 +52,9 @@ post-install: .if ${PORTOBJFORMAT} == "aout" ${LN} -sf libtcl76jp.so.1.0 ${PREFIX}/lib/libtcl76jp.so .endif +.if exists(${PKGINSTALL}) + ${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} +.endif test: cd ${WRKSRC} && ${SETENV} PORTOBJFORMAT=${PORTOBJFORMAT} ${MAKE} test diff --git a/japanese/tcl80/Makefile b/japanese/tcl80/Makefile index f347f0ae2820..78f61f981168 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: |