summaryrefslogtreecommitdiff
path: root/japanese/tcl80/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/tcl80/Makefile')
-rw-r--r--japanese/tcl80/Makefile5
1 files changed, 5 insertions, 0 deletions
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: