summaryrefslogtreecommitdiff
path: root/japanese/expect
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1997-03-11 11:52:43 +0000
committerSatoshi Asami <asami@FreeBSD.org>1997-03-11 11:52:43 +0000
commit3d47f4132c764df116a125dfe8d747a3e519c600 (patch)
tree3ffea95106b3708cede4eb011396ee7f69ff34d2 /japanese/expect
parentUpgrade to 5.22.0. Closes PR ports/2935. (diff)
Japanized expect, uses some files from lang/expect port. Closes
PR ports/2940. Submitted by: Taguchi Takeshi <taguchi@tohoku.iij.ad.jp>
Notes
Notes: svn path=/head/; revision=5937
Diffstat (limited to 'japanese/expect')
-rw-r--r--japanese/expect/Makefile23
-rw-r--r--japanese/expect/files/patch-aa161
-rw-r--r--japanese/expect/files/patch-ab77
-rw-r--r--japanese/expect/files/patch-ac8
-rw-r--r--japanese/expect/files/patch-ad8
-rw-r--r--japanese/expect/files/patch-ae11
-rw-r--r--japanese/expect/files/patch-af64
-rw-r--r--japanese/expect/pkg-comment1
-rw-r--r--japanese/expect/pkg-descr10
-rw-r--r--japanese/expect/pkg-plist42
10 files changed, 405 insertions, 0 deletions
diff --git a/japanese/expect/Makefile b/japanese/expect/Makefile
new file mode 100644
index 000000000000..548d406e69a4
--- /dev/null
+++ b/japanese/expect/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: expect
+# Version required: 5.22.0
+# Date created: 10 March 1997
+# Whom: taguchi
+#
+# $Id$
+#
+
+FILESDIR= ${.CURDIR}/../../lang/expect/files
+
+.include "${.CURDIR}/../../lang/expect/Makefile"
+
+PKGNAME= jp-expect-5.22.0
+CATEGORIES= japanese
+MAINTAINER= taguchi@tohoku.iij.ad.jp
+
+LIB_DEPENDS= tk42jp\\.1\\.:${PORTSDIR}/japanese/tk42
+
+CFLAGS+= -DKANJI -DKINPUT2
+CONFIGURE_ARGS= --enable-shared --with-tclconfig=${PREFIX}/lib/tcl7.6jp \
+ --with-tkconfig=${PREFIX}/lib/tk4.2jp \
+ --with-tclinclude=${PREFIX}/include/tcl7.6jp \
+ --with-tkinclude=${PREFIX}/include/tk4.2jp
diff --git a/japanese/expect/files/patch-aa b/japanese/expect/files/patch-aa
new file mode 100644
index 000000000000..459a2bb7bd52
--- /dev/null
+++ b/japanese/expect/files/patch-aa
@@ -0,0 +1,161 @@
+--- Makefile.in.ORIG Mon Mar 10 18:12:08 1997
++++ Makefile.in Mon Mar 10 18:15:58 1997
+@@ -29,7 +29,7 @@
+ TCL_LIBRARY = @TCL_LIBRARY@
+
+ # Tcl library uninstalled. Should be something like -ltcl or ../tcl/libtcl.a
+-TCLLIB = @TCL_BUILD_LIB_SPEC@
++TCLLIB = @TCL_LIB_SPEC@
+ # Tcl library installed. Should be something like -ltcl or ../tcl/libtcl.a
+ TCLLIB_INSTALLED = @TCL_LIB_SPEC@
+
+@@ -37,7 +37,7 @@
+ # Tk include files
+ TKHDIRDASHI = @TKHDIRDASHI@
+ # Tk library
+-TKLIB = @TK_BUILD_LIB_SPEC@
++TKLIB = @TK_LIB_SPEC@
+ TKLIB_INSTALLED = @TK_LIB_SPEC@
+ # X11 include files and other flags to compiler
+ X11_CFLAGS = @TK_XINCLUDES@
+@@ -172,7 +172,7 @@
+ man1dir = $(mandir)/man1
+ man3dir = $(mandir)/man3
+ infodir = @infodir@
+-includedir = @includedir@
++includedir = @includedir@/expect$(SHORT_VERSION)
+
+ # Expect's utility script directories - arch-independent and arch-non-
+ # independent. These correspond to the variables "exp_library" and
+@@ -184,12 +184,13 @@
+
+ INSTALL = @INSTALL@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
++INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_DATA = @INSTALL_DATA@
+
+ AR = ar
+ ARFLAGS = cr
+
+-LOCAL_EXPECT=LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH ./expect
++LOCAL_EXPECT=LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH ./expectjp
+
+ # These definitions are used by the "subdirs_do" target to pass
+ # the compile flags down recursively.
+@@ -200,6 +201,7 @@
+ "HDEFS=$(HDEFS)" \
+ "INSTALL=$(INSTALL)" \
+ "INSTALL_DATA=$(INSTALL_DATA)" \
++ "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
+ "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
+ "LDFLAGS=$(LDFLAGS)" \
+ "RUNTEST=$(RUNTEST)" \
+@@ -215,9 +217,9 @@
+ # These let the DejaGnu test suite run when DejaGnu isn't
+ # installed yet, so run it from the srcdir and objdir.
+ EXPECT = ` \
+- if [ -f $${rootme}/expect ] ; then \
+- echo $${rootme}/expect ; \
+- else echo expect ; fi`
++ if [ -f $${rootme}/expectjp ] ; then \
++ echo $${rootme}/expectjp ; \
++ else echo expectjp ; fi`
+
+ RUNTESTFLAGS =
+ RUNTEST = ` \
+@@ -317,16 +319,16 @@
+ $(CC) -c $(CFLAGS_INT) @EXP_SHLIB_CFLAGS@ $(STTY) $(HDEFS) $< -o shared/$@ ; \
+ fi
+
+-all: expect $(EXP_LIB_FILES) ${X11_PROGS} pkgIndex.tcl
++all: expectjp $(EXP_LIB_FILES) ${X11_PROGS} pkgIndex.tcl
+ @$(MAKE) subdir_do DO=$@ $(FLAGS_TO_PASS)
+
+ info:
+ dvi:
+
+ # build expect binary that does not depend on Expect's shared libs
+-expect: exp_main_exp.o $(EXP_NONSHARED_LIB_FILE)
+- $(CC) $(XCFLAGS) @TCL_LD_FLAGS@ -o expect exp_main_exp.o $(EXP_NONSHARED_LIB_FILE) $(TCLLIB) $(EXP_AND_TCL_LIBS)
+- $(SETUID) expect
++expectjp: exp_main_exp.o $(EXP_NONSHARED_LIB_FILE)
++ $(CC) $(XCFLAGS) @TCL_LD_FLAGS@ -o expectjp exp_main_exp.o $(EXP_NONSHARED_LIB_FILE) $(TCLLIB) $(EXP_AND_TCL_LIBS)
++ $(SETUID) expectjp
+
+ # install Expect library
+ # This is done before the install target because the libraries have to be
+@@ -356,9 +358,9 @@
+ # together. I could fix it by testing all the libraries (again, in Expect's
+ # configure) separately for Expectk, but as far as I know, it doesn't hurt
+ # anything here, so I'm not worrying about it.
+-expectk: exp_main_tk.o $(EXP_NONSHARED_LIB_FILE)
+- $(CC) $(XCFLAGS) @TCL_LD_FLAGS@ -o expectk exp_main_tk.o $(EXP_NONSHARED_LIB_FILE) $(TKLIB) $(TCLLIB) $(X11_LD_FLAGS) $(EXP_AND_TK_LIBS)
+- $(SETUID) expectk
++expectkjp: exp_main_tk.o $(EXP_NONSHARED_LIB_FILE)
++ $(CC) $(XCFLAGS) @TCL_LD_FLAGS@ -o expectkjp exp_main_tk.o $(EXP_NONSHARED_LIB_FILE) $(TKLIB) $(TCLLIB) $(X11_LD_FLAGS) $(EXP_AND_TK_LIBS)
++ $(SETUID) expectkjp
+
+ expectk_installed: exp_main_tk.o $(EXP_LIB_FILE)
+ $(CC) $(XCFLAGS) @EXP_SHLIB_CFLAGS@ @TCL_LD_FLAGS@ -o expectk_installed exp_main_tk.o @EXP_LIB_SPEC@ $(TKLIB_INSTALLED) $(TCLLIB_INSTALLED) $(X11_LD_FLAGS) $(EXP_AND_TK_LIBS)
+@@ -385,7 +387,7 @@
+ # Delete all the installed files that the `install' target creates
+ # (but not the noninstalled files such as `make all' creates)
+ uninstall:
+- -rm -f $(bindir)/expectk \
++ -rm -f $(bindir)/expectkjp \
+ $(man1dir)/expect.1 \
+ $(man1dir)/expectk.1 \
+ $(libdir)/$(EXP_SHARED_LIB_FILE) \
+@@ -400,7 +402,7 @@
+ # debugger is not removed, since other things could depend on it
+ # remove standalone scripts and man pages
+ -for i in $(SCRIPT_LIST) ; do \
+- rm -f $(bindir_arch_indep)/$$i ; \
++ rm -f $(bindir_arch_indep)/$$i-jp ; \
+ done
+ -for i in $(SCRIPT_MANPAGE_LIST) ; do \
+ rm -f $(man1dir)/$$i.1 ; \
+@@ -409,13 +411,13 @@
+ .PHONY: install-info install info
+ install-info:
+
+-install: expect expect_installed ${X11_PROGS_INSTALLED} $(SCRIPTS) pkgIndex.tcl
++install: expectjp expect_installed ${X11_PROGS_INSTALLED} $(SCRIPTS) pkgIndex.tcl
+ ${srcdir}/mkinstalldirs $(man1dir) $(man3dir) $(bindir) $(libdir) $(includedir)
+ # install Expect
+- $(INSTALL_PROGRAM) expect_installed $(bindir)/expect
++ $(INSTALL_PROGRAM) expect_installed $(bindir)/expectjp
+ # install Expectk (and man page) if present
+ -if [ -s expectk_installed ] ; then \
+- $(INSTALL_PROGRAM) expectk_installed $(bindir)/expectk ; \
++ $(INSTALL_PROGRAM) expectk_installed $(bindir)/expectkjp ; \
+ $(INSTALL_DATA) $(srcdir)/expectk.man $(man1dir)/expectk.1 ; \
+ else true; fi
+ # install Expect man page
+@@ -442,7 +444,7 @@
+ ${srcdir}/mkinstalldirs $(bindir_arch_indep) $(man1dir) $(SCRIPTDIR) $(EXECSCRIPTDIR)
+ -for i in $(SCRIPT_LIST) ; do \
+ if [ -f $$i ] ; then \
+- $(INSTALL_PROGRAM) $$i $(bindir_arch_indep)/$$i ; \
++ $(INSTALL_SCRIPT) $$i $(bindir_arch_indep)/$$i-jp ; \
+ rm -f $$i ; \
+ else true; fi ; \
+ done
+@@ -539,7 +541,7 @@
+ # delete all files from current directory that are created by "make"
+ clean:
+ -rm -rf *~ *.o shared core \
+- expect expect_installed expectk expectk_installed \
++ expectjp expect_installed expectkjp expectk_installed \
+ dumb exho devtty \
+ $(EXP_NONSHARED_LIB_FILE) $(EXP_SHARED_LIB_FILE) \
+ $(SCRIPT_LIST)
+@@ -555,7 +557,7 @@
+ # because most people don't have to worry about them
+ mostlyclean:
+ -rm -rf *~ *.o shared core \
+- expect expect_installed expectk expectk_installed \
++ expectjp expect_installed expectkjp expectk_installed \
+ $(EXP_NONSHARED_LIB_FILE) $(EXP_SHARED_LIB_FILE)
+ @$(MAKE) subdir_do DO=$@ $(FLAGS_TO_PASS)
+
diff --git a/japanese/expect/files/patch-ab b/japanese/expect/files/patch-ab
new file mode 100644
index 000000000000..1cc741cff2b4
--- /dev/null
+++ b/japanese/expect/files/patch-ab
@@ -0,0 +1,77 @@
+--- configure.ORIG Mon Mar 10 18:11:52 1997
++++ configure Mon Mar 10 18:15:02 1997
+@@ -527,7 +527,7 @@
+ # note when updating version numbers here, also update pkgIndex.in (see
+ # comments in Makefile)
+ EXP_MAJOR_VERSION=5
+-EXP_MINOR_VERSION=22
++EXP_MINOR_VERSION=22jp
+ EXP_MICRO_VERSION=0
+ EXP_VERSION=$EXP_MAJOR_VERSION.$EXP_MINOR_VERSION
+ EXP_VERSION_NODOTS=$EXP_MAJOR_VERSION$EXP_MINOR_VERSION
+@@ -1161,6 +1161,8 @@
+ # It thinks the first close brace ends the variable substitution.
+ test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
+
++test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
++
+ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
+
+
+@@ -1986,7 +1988,7 @@
+ # this hack is cause the TCLHDIR won't print if there is a "-I" in it.
+ TCLHDIR="${ac_cv_c_tclh}"
+ TCLHDIRDASHI="-I${ac_cv_c_tclh}"
+- TCL_LIBRARY=`echo $TCLHDIR | sed -e 's/generic//'`/library
++ TCL_LIBRARY=`echo $TCLHDIR | sed -e 's/generic//'`
+ fi
+ fi
+
+@@ -5630,14 +5632,14 @@
+ if test x"$no_tk" != x"true" ; then
+ # libexpectk no longer exists
+ # X_PROGS="expectk \$(LIBEXPECTK)"
+- X_PROGS=expectk
++ X_PROGS=expectkjp
+ # should really generate following symbol, but I'm hitting configure's limit on substs.
+ X_PROGS_INSTALLED=expectk_installed
+ else
+ X_PROGS="# no X support on this system"
+ echo "configure: warning: No X based programs will be built" 1>&2
+ echo " WARNING: Can't find Tk headers or library. You can still"
+- echo " build expect, but not expectk. See Expect's README for"
++ echo " build expect, but not expectkjp. See Expect's README for"
+ echo " information on how to obtain Tk. If Tk is installed, see"
+ echo " Expect's INSTALL on how to tell configure where Tk is"
+ echo " installed."
+@@ -5728,15 +5730,17 @@
+ EXP_LIB_VERSION=$EXP_VERSION_NODOTS
+ fi
+
+-EXP_BUILD_LIB_SPEC="-L`pwd` -lexpect${EXP_LIB_VERSION}"
+-EXP_LIB_SPEC="-L\${exec_prefix}/lib -lexpect${EXP_LIB_VERSION}"
+-EXP_NONSHARED_LIB_FILE=libexpect${EXP_LIB_VERSION}.a
++VERSION=${EXP_LIB_VERSION}
++
++EXP_BUILD_LIB_SPEC="-L`pwd` -lexpectjp${EXP_LIB_VERSION}"
++EXP_LIB_SPEC="-L\${exec_prefix}/lib -lexpectjp${EXP_LIB_VERSION}"
++eval EXP_NONSHARED_LIB_FILE=libexpectjp${TCL_UNSHARED_LIB_SUFFIX}
+
+ echo $ac_n "checking for type of library to build""... $ac_c" 1>&6
+ echo "configure:5737: checking for type of library to build" >&5
+-if test "$enable_shared" = "yes" && test "x${TCL_SHLIB_SUFFIX}" != "x" ; then
++if test "$enable_shared" = "yes" -a "x${TCL_SHARED_LIB_SUFFIX}" != "x" ; then
+ EXP_SHLIB_CFLAGS=$TCL_SHLIB_CFLAGS
+- EXP_SHARED_LIB_FILE=libexpect$EXP_LIB_VERSION$TCL_SHLIB_SUFFIX
++ eval EXP_SHARED_LIB_FILE=libexpectjp${TCL_SHARED_LIB_SUFFIX}
+ EXP_LIB_FILE=$EXP_SHARED_LIB_FILE
+ EXP_LIB_FILES="$EXP_SHARED_LIB_FILE $EXP_NONSHARED_LIB_FILE"
+ echo "$ac_t""both shared and nonshared" 1>&6
+@@ -5908,6 +5912,7 @@
+ s%@TK_LIB_SPEC@%$TK_LIB_SPEC%g
+ s%@CC@%$CC%g
+ s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
++s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
+ s%@INSTALL_DATA@%$INSTALL_DATA%g
+ s%@subdirs@%$subdirs%g
+ s%@CPP@%$CPP%g
diff --git a/japanese/expect/files/patch-ac b/japanese/expect/files/patch-ac
new file mode 100644
index 000000000000..89e85a913f45
--- /dev/null
+++ b/japanese/expect/files/patch-ac
@@ -0,0 +1,8 @@
+--- fixcat.ORIG Mon Mar 10 18:13:20 1997
++++ fixcat Mon Mar 10 18:15:06 1997
+@@ -1,4 +1,4 @@
+-#!expect --
++#!expectjp --
+ # Synopsis: fixcat
+ # Author: Don Libes
+
diff --git a/japanese/expect/files/patch-ad b/japanese/expect/files/patch-ad
new file mode 100644
index 000000000000..fcf69131e084
--- /dev/null
+++ b/japanese/expect/files/patch-ad
@@ -0,0 +1,8 @@
+--- fixline1.ORIG Mon Mar 10 18:13:33 1997
++++ fixline1 Mon Mar 10 18:15:06 1997
+@@ -1,4 +1,4 @@
+-#!expect --
++#!expectjp --
+ # Synopsis: fixline1 newpath < input > output
+ # Author: Don Libes
+
diff --git a/japanese/expect/files/patch-ae b/japanese/expect/files/patch-ae
new file mode 100644
index 000000000000..e19d36a23e1d
--- /dev/null
+++ b/japanese/expect/files/patch-ae
@@ -0,0 +1,11 @@
+--- pkgIndex.in.ORIG Mon Mar 10 18:13:53 1997
++++ pkgIndex.in Mon Mar 10 18:15:17 1997
+@@ -17,7 +17,7 @@
+ }
+
+ package ifneeded Expect @EXP_VERSION_FULL@ [list tclPkgSetup $prefix/lib Expect @EXP_VERSION_FULL@ \
+-{{libexpect5.22.so load {debug disconnect exp_close exp_continue exp_debug \
++{{libexpectjp5.22.so load {debug disconnect exp_close exp_continue exp_debug \
+ exp_disconnect exp_exit exp_fork exp_getpid exp_inter_return exp_interact \
+ exp_internal exp_interpreter exp_log_file exp_log_user exp_match_max \
+ exp_open exp_overlay exp_parity exp_pid exp_remove_nulls exp_send \
diff --git a/japanese/expect/files/patch-af b/japanese/expect/files/patch-af
new file mode 100644
index 000000000000..83d60473814a
--- /dev/null
+++ b/japanese/expect/files/patch-af
@@ -0,0 +1,64 @@
+--- Makefile.in.ORIG Mon Mar 10 18:23:39 1997
++++ Makefile.in Mon Mar 10 18:26:05 1997
+@@ -343,9 +343,9 @@
+ $(INSTALL_PROGRAM) $(EXP_SHARED_LIB_FILE) $(libdir)/$(EXP_SHARED_LIB_FILE) ; \
+ else true; fi
+
+-expect_installed: exp_main_exp.o $(EXP_LIB_FILE) install_shared_lib
+- $(CC) $(XCFLAGS) @EXP_SHLIB_CFLAGS@ @TCL_LD_FLAGS@ -o expect_installed exp_main_exp.o @EXP_LIB_SPEC@ $(TCLLIB_INSTALLED) $(EXP_AND_TCL_LIBS)
+- $(SETUID) expect_installed
++expectjp_installed: exp_main_exp.o $(EXP_LIB_FILE) install_shared_lib
++ $(CC) $(XCFLAGS) @EXP_SHLIB_CFLAGS@ @TCL_LD_FLAGS@ -o expectjp_installed exp_main_exp.o @EXP_LIB_SPEC@ $(TCLLIB_INSTALLED) $(EXP_AND_TCL_LIBS)
++ $(SETUID) expectjp_installed
+
+ # Build Expect with TestCenter
+ expect.tc: exp_main_exp.o $(OFILES)
+@@ -362,9 +362,9 @@
+ $(CC) $(XCFLAGS) @TCL_LD_FLAGS@ -o expectkjp exp_main_tk.o $(EXP_NONSHARED_LIB_FILE) $(TKLIB) $(TCLLIB) $(X11_LD_FLAGS) $(EXP_AND_TK_LIBS)
+ $(SETUID) expectkjp
+
+-expectk_installed: exp_main_tk.o $(EXP_LIB_FILE)
+- $(CC) $(XCFLAGS) @EXP_SHLIB_CFLAGS@ @TCL_LD_FLAGS@ -o expectk_installed exp_main_tk.o @EXP_LIB_SPEC@ $(TKLIB_INSTALLED) $(TCLLIB_INSTALLED) $(X11_LD_FLAGS) $(EXP_AND_TK_LIBS)
+- $(SETUID) expectk_installed
++expectkjp_installed: exp_main_tk.o $(EXP_LIB_FILE)
++ $(CC) $(XCFLAGS) @EXP_SHLIB_CFLAGS@ @TCL_LD_FLAGS@ -o expectkjp_installed exp_main_tk.o @EXP_LIB_SPEC@ $(TKLIB_INSTALLED) $(TCLLIB_INSTALLED) $(X11_LD_FLAGS) $(EXP_AND_TK_LIBS)
++ $(SETUID) expectkjp_installed
+
+ # Build Expectk with TestCenter
+ expectk.tc: exp_main_tk.o $(OFILES)
+@@ -411,13 +411,13 @@
+ .PHONY: install-info install info
+ install-info:
+
+-install: expectjp expect_installed ${X11_PROGS_INSTALLED} $(SCRIPTS) pkgIndex.tcl
++install: expectjp expectjp_installed ${X11_PROGS_INSTALLED} $(SCRIPTS) pkgIndex.tcl
+ ${srcdir}/mkinstalldirs $(man1dir) $(man3dir) $(bindir) $(libdir) $(includedir)
+ # install Expect
+- $(INSTALL_PROGRAM) expect_installed $(bindir)/expectjp
++ $(INSTALL_PROGRAM) expectjp_installed $(bindir)/expectjp
+ # install Expectk (and man page) if present
+- -if [ -s expectk_installed ] ; then \
+- $(INSTALL_PROGRAM) expectk_installed $(bindir)/expectkjp ; \
++ -if [ -s expectkjp_installed ] ; then \
++ $(INSTALL_PROGRAM) expectkjp_installed $(bindir)/expectkjp ; \
+ $(INSTALL_DATA) $(srcdir)/expectk.man $(man1dir)/expectk.1 ; \
+ else true; fi
+ # install Expect man page
+@@ -541,7 +541,7 @@
+ # delete all files from current directory that are created by "make"
+ clean:
+ -rm -rf *~ *.o shared core \
+- expectjp expect_installed expectkjp expectk_installed \
++ expectjp expectjp_installed expectkjp expectkjp_installed \
+ dumb exho devtty \
+ $(EXP_NONSHARED_LIB_FILE) $(EXP_SHARED_LIB_FILE) \
+ $(SCRIPT_LIST)
+@@ -557,7 +557,7 @@
+ # because most people don't have to worry about them
+ mostlyclean:
+ -rm -rf *~ *.o shared core \
+- expectjp expect_installed expectkjp expectk_installed \
++ expectjp expectjp_installed expectkjp expectkjp_installed \
+ $(EXP_NONSHARED_LIB_FILE) $(EXP_SHARED_LIB_FILE)
+ @$(MAKE) subdir_do DO=$@ $(FLAGS_TO_PASS)
+
diff --git a/japanese/expect/pkg-comment b/japanese/expect/pkg-comment
new file mode 100644
index 000000000000..8259b4389081
--- /dev/null
+++ b/japanese/expect/pkg-comment
@@ -0,0 +1 @@
+A sophisticated scripter based on Japanized tcl/tk.
diff --git a/japanese/expect/pkg-descr b/japanese/expect/pkg-descr
new file mode 100644
index 000000000000..4836d37737c7
--- /dev/null
+++ b/japanese/expect/pkg-descr
@@ -0,0 +1,10 @@
+Expect is a program that performs programmed dialogue with other
+interactive programs. It is briefly described by its man page, expect(1).
+
+This version is based on Japanized Tcl/Tk, so it has 'kanji' command.
+
+It uses pseudo-tty's to control the child processes, so it is not affected
+by programs that refuse to read from stdin or pipes. (eg: passwd(1) etc).
+
+The Expect home page is: http://expect.nist.gov
+The Expect FAQ is: http://expect.nist.gov/FAQ.html
diff --git a/japanese/expect/pkg-plist b/japanese/expect/pkg-plist
new file mode 100644
index 000000000000..a0d3d2fc2dea
--- /dev/null
+++ b/japanese/expect/pkg-plist
@@ -0,0 +1,42 @@
+bin/autoexpect-jp
+bin/autopasswd-jp
+bin/cryptdir-jp
+bin/decryptdir-jp
+bin/dislocate-jp
+bin/expectjp
+bin/expectkjp
+bin/ftp-rfc-jp
+bin/kibitz-jp
+bin/lpunlock-jp
+bin/mkpasswd-jp
+bin/passmass-jp
+bin/rftp-jp
+bin/rlogin-cwd-jp
+bin/timed-read-jp
+bin/timed-run-jp
+bin/tknewsbiff-jp
+bin/tkpasswd-jp
+bin/unbuffer-jp
+bin/weather-jp
+bin/xkibitz-jp
+bin/xpstat-jp
+include/expect5.22jp/Dbg.h
+include/expect5.22jp/expect.h
+include/expect5.22jp/expect_comm.h
+include/expect5.22jp/expect_tcl.h
+lib/expect5.22jp/pkgIndex.tcl
+lib/libexpect522jp.a
+lib/libexpect522jp.so.1.0
+man/man1/autoexpect.1.gz
+man/man1/cryptdir.1.gz
+man/man1/decryptdir.1.gz
+man/man1/dislocate.1.gz
+man/man1/expect.1.gz
+man/man1/expectk.1.gz
+man/man1/kibitz.1.gz
+man/man1/mkpasswd.1.gz
+man/man1/passmass.1.gz
+man/man1/tknewsbiff.1.gz
+man/man1/unbuffer.1.gz
+man/man1/xkibitz.1.gz
+man/man3/libexpect.3.gz