diff options
author | Tim Vanderhoek <hoek@FreeBSD.org> | 2000-05-31 18:17:39 +0000 |
---|---|---|
committer | Tim Vanderhoek <hoek@FreeBSD.org> | 2000-05-31 18:17:39 +0000 |
commit | 29870c686d9341c77e1566c3d555a36f42f3c414 (patch) | |
tree | 3d90adccda6e1f821d9a977aac601b6af3b314ff /japanese | |
parent | b766e9ce1623aa7195499f76824ff58576b46110 (diff) | |
download | ports-29870c686d9341c77e1566c3d555a36f42f3c414.tar.gz ports-29870c686d9341c77e1566c3d555a36f42f3c414.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.
Notes
Notes:
svn path=/head/; revision=29020
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: |