diff options
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: |