diff options
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/skkfep/Makefile | 29 | ||||
-rw-r--r-- | japanese/skkfep/files/md5 | 3 | ||||
-rw-r--r-- | japanese/skkfep/files/patch-sum | 12 | ||||
-rw-r--r-- | japanese/skkfep/patches/patch-aa | 46 | ||||
-rw-r--r-- | japanese/skkfep/patches/patch-ab | 22 | ||||
-rw-r--r-- | japanese/skkfep/patches/patch-ac | 14 | ||||
-rw-r--r-- | japanese/skkfep/patches/patch-ba | 11 | ||||
-rw-r--r-- | japanese/skkfep/patches/patch-bb | 76 | ||||
-rw-r--r-- | japanese/skkfep/patches/patch-bc | 38 | ||||
-rw-r--r-- | japanese/skkfep/patches/patch-bd | 21 | ||||
-rw-r--r-- | japanese/skkfep/patches/patch-be | 66 | ||||
-rw-r--r-- | japanese/skkfep/patches/patch-bf | 104 | ||||
-rw-r--r-- | japanese/skkfep/patches/patch-bg | 70 | ||||
-rw-r--r-- | japanese/skkfep/pkg/COMMENT | 1 | ||||
-rw-r--r-- | japanese/skkfep/pkg/DESCR | 7 | ||||
-rw-r--r-- | japanese/skkfep/pkg/INSTALL | 34 | ||||
-rw-r--r-- | japanese/skkfep/pkg/MESSAGE | 4 | ||||
-rw-r--r-- | japanese/skkfep/pkg/PLIST | 4 |
18 files changed, 562 insertions, 0 deletions
diff --git a/japanese/skkfep/Makefile b/japanese/skkfep/Makefile new file mode 100644 index 00000000000..d17fa7aa90c --- /dev/null +++ b/japanese/skkfep/Makefile @@ -0,0 +1,29 @@ +# $NetBSD: Makefile,v 1.1.1.1 1999/12/24 03:21:09 itohy Exp $ + +DISTNAME= skkfep0.86c +PKGNAME= skkfep-0.86c +WRKSRC= ${WRKDIR}/skkfep +CATEGORIES= japanese +MASTER_SITES= ftp://ei5nazha.yz.yamagata-u.ac.jp/skkfep/ + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://ei5nazha.yz.yamagata-u.ac.jp/~aito/aito-soft.html + +NO_CONFIGURE= +MAKE_ENV= MAKE_FLAGS='EXECBASE=${LOCALBASE} CC=${CC}' + +DESCR_SRC= ${WRKDIR}/DESCR +INSTALL_FILE= ${WRKDIR}/INSTALL +MESSAGE_FILE= ${WRKDIR}/MESSAGE + +post-build: + ${SED} 's#@PKGBASE@#${LOCALBASE}#g' ${PKGDIR}/DESCR >${DESCR_SRC} + ${SED} 's#@PKGBASE@#${LOCALBASE}#g' ${PKGDIR}/INSTALL >${INSTALL_FILE} + ${SED} 's#@PKGBASE@#${LOCALBASE}#g' ${PKGDIR}/MESSAGE >${MESSAGE_FILE} + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/skkfep ${PREFIX}/bin/skkfep + ${INSTALL_MAN} ${WRKSRC}/skkfep.1 ${PREFIX}/man/man1/skkfep.1 + ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL + +.include "../../mk/bsd.pkg.mk" diff --git a/japanese/skkfep/files/md5 b/japanese/skkfep/files/md5 new file mode 100644 index 00000000000..d051d58e843 --- /dev/null +++ b/japanese/skkfep/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 1999/12/24 03:21:09 itohy Exp $ + +MD5 (skkfep0.86c.tar.gz) = 0e06d473b70bd0233e25195e062bb663 diff --git a/japanese/skkfep/files/patch-sum b/japanese/skkfep/files/patch-sum new file mode 100644 index 00000000000..8179de54fd2 --- /dev/null +++ b/japanese/skkfep/files/patch-sum @@ -0,0 +1,12 @@ +$NetBSD: patch-sum,v 1.1.1.1 1999/12/24 03:21:10 itohy Exp $ + +MD5 (patch-aa) = 84c103884bd79f318a3546dd4977981e +MD5 (patch-ab) = e9414c89e920656dfd758331a7b9d422 +MD5 (patch-ac) = 1cd030d9e8c852e50e4c11699228b5e2 +MD5 (patch-ba) = 59fac3f97502a5438a748f84faf0e4a8 +MD5 (patch-bb) = 8cd6def270742eddc486e20d1589b2f1 +MD5 (patch-bc) = af0017e03a4e4296bb1e3aee9669115d +MD5 (patch-bd) = f9d9674136b815f656a7596eb7c21672 +MD5 (patch-be) = 94f4c81f3a01a6f6487fcb0733b31274 +MD5 (patch-bf) = e390252d174b71263daae62a285a715a +MD5 (patch-bg) = 294505134a842407b02f5165bed26336 diff --git a/japanese/skkfep/patches/patch-aa b/japanese/skkfep/patches/patch-aa new file mode 100644 index 00000000000..c7a5238246b --- /dev/null +++ b/japanese/skkfep/patches/patch-aa @@ -0,0 +1,46 @@ +$NetBSD: patch-aa,v 1.1.1.1 1999/12/24 03:21:10 itohy Exp $ + +--- config.h.orig Tue Sep 22 01:45:27 1998 ++++ config.h Tue Dec 21 00:09:13 1999 +@@ -2,10 +2,24 @@ + * Configuration for SKKFEP + */ + +-#include "configs/solaris2.h" ++#ifdef sun ++# ifdef __SVR4 ++# include "configs/solaris2.h" ++# undef TERMINFO ++# else ++# include "configs/sun.h" ++# endif ++#elif defined(__NetBSD__) ++#include "configs/netbsd.h" ++#elif defined(__FreeBSD__) ++#include "configs/freebsd.h" ++#elif defined(__bsdi__) ++#include "configs/bsdi.h" ++#elif defined(__linux__) ++#include "configs/linux.h" ++#endif + + #if makefile_parameter +-CC=gcc + DEFINE=-DUSE_LOCALE + OPTIMIZE=-O + EXTRALIBS= +@@ -14,7 +28,7 @@ + #define DEFAULT_KANAKEY "^j" + + /* By Y. Kaneko */ +-/*#define KUTOUTEN /* "."->maru, ","->ten */ ++#define KUTOUTEN /* "."->maru, ","->ten */ + + #define KANJIBS /* do/don't shuft-out BS code in JIS mode */ + #define KANJIBS_DEFAULT 0 /* 0 -> shift out / 1 -> don't shift out */ +@@ -28,4 +42,4 @@ + + #define NATIVECODE euc /* EUC Kanji code */ + +-#define SKK_SERVER_HOST "ei5nazha" /* SKK server host */ ++#define SKK_SERVER_HOST "localhost" /* SKK server host */ diff --git a/japanese/skkfep/patches/patch-ab b/japanese/skkfep/patches/patch-ab new file mode 100644 index 00000000000..22d3bb4f108 --- /dev/null +++ b/japanese/skkfep/patches/patch-ab @@ -0,0 +1,22 @@ +$NetBSD: patch-ab,v 1.1.1.1 1999/12/24 03:21:10 itohy Exp $ + +--- configs/netbsd.h.orig Tue Jul 7 00:31:13 1998 ++++ configs/netbsd.h Mon Dec 20 23:53:25 1999 +@@ -1,5 +1,5 @@ + /* +- * Configuration for NetBSD-1.2 (x68k) ++ * Configuration for NetBSD + */ + + #define BSD /* My machine is BSD system */ +@@ -8,7 +8,9 @@ + #define HAVE_SETENV /* My machine has setenv() */ + #define HAVE_BSD_OPENPTY /* BSD type openpty() */ + +-#include <stdlib.h> /* just in case of NetBSD/Alpha */ ++#include <stdlib.h> ++#include <string.h> ++#include <unistd.h> + #include <util.h> /* for openpty() */ + + #if makefile_parameter diff --git a/japanese/skkfep/patches/patch-ac b/japanese/skkfep/patches/patch-ac new file mode 100644 index 00000000000..176be3f12c0 --- /dev/null +++ b/japanese/skkfep/patches/patch-ac @@ -0,0 +1,14 @@ +$NetBSD: patch-ac,v 1.1.1.1 1999/12/24 03:21:10 itohy Exp $ + +--- Makefile.orig Tue Jul 7 00:31:14 1998 ++++ Makefile Mon Dec 20 23:45:52 1999 +@@ -15,5 +15,8 @@ + rm -f genMakefile + + genMakefile: protoMakefile config.h +- awk -f extrpar `grep 'configs/.*\.h' config.h | sed 's/.*\(configs\/.*\.h\).*/\1/'` > genMakefile ++ rm -f genMakefile ++ cp config.h junk.c ++ awk -f extrpar `cc -E junk.c | sed -n 's/^#[^"]*"\([^/][^"]*onfigs[^"]*\)".*/\1/p' | sort | uniq` > genMakefile ++ rm -f junk.c + awk -f extrpar config.h | cat - protoMakefile >> genMakefile diff --git a/japanese/skkfep/patches/patch-ba b/japanese/skkfep/patches/patch-ba new file mode 100644 index 00000000000..43c17ea2e9e --- /dev/null +++ b/japanese/skkfep/patches/patch-ba @@ -0,0 +1,11 @@ +$NetBSD: patch-ba,v 1.1.1.1 1999/12/24 03:21:10 itohy Exp $ + +--- protoMakefile.orig Tue Jul 7 00:31:15 1998 ++++ protoMakefile Mon Dec 20 23:49:42 1999 +@@ -1,4 +1,5 @@ +-CFLAGS=$(SYSINCLUDE) $(SYSDEFINE) $(DEFINE) $(OPTIMIZE) ++CFLAGS=$(SYSINCLUDE) $(SYSDEFINE) $(DEFINE) $(OPTIMIZE) \ ++ -DSKK_CONF=\"$(EXECBASE)/etc/skk.conf\" + LIBS =$(SYSLIBS) $(EXTRALIBS) -ltermcap + + OBJS=fep.o connsh.o readwrite.o terms.o stty.o keybind.o romkan.o etc.o\ diff --git a/japanese/skkfep/patches/patch-bb b/japanese/skkfep/patches/patch-bb new file mode 100644 index 00000000000..d3310515a3c --- /dev/null +++ b/japanese/skkfep/patches/patch-bb @@ -0,0 +1,76 @@ +$NetBSD: patch-bb,v 1.1.1.1 1999/12/24 03:21:10 itohy Exp $ + +--- connserv.c.orig Tue Jul 7 00:31:16 1998 ++++ connserv.c Fri Dec 24 00:25:24 1999 +@@ -40,8 +40,33 @@ + struct hostent *entry; + struct servent *serv; + struct protoent *proto; +- int a1,a2,a3,a4; + char *hostname; ++#ifdef SKK_CONF /* use skk.conf */ ++ FILE *conffp; ++ char line[128]; ++ char hostbuf[128]; ++ char *confhost = NULL; ++ int confport = 0; ++ ++ if ((conffp = fopen(SKK_CONF, "r")) != NULL) { ++ char *p, *data; ++ ++ while (fgets(line, sizeof line, conffp) != NULL) { ++ if ((p = strchr(line, '#')) != NULL) ++ *p = '\0'; ++ if ((p = strtok(line, ": \t\n")) == NULL) ++ continue; ++ if ((data = strtok((char *) NULL, " \t\n")) == NULL) ++ continue; ++ if (!strcmp(p, "skkserv_host")) { ++ strcpy(hostbuf, data); ++ confhost = hostbuf; ++ } else if (!strcmp(p, "skkserv_port")) { ++ confport = atoi(data); ++ } ++ } ++ } ++#endif + + serv = getservbyname(SKK_SERVICENAME,"tcp"); + fillzero((char*)&hostaddr,sizeof(struct sockaddr_in)); +@@ -56,27 +81,27 @@ + if (SKKServerHost) + hostname = SKKServerHost; + else if ((hostname = getenv("SKKSERVER")) == NULL) { ++#ifdef SKK_CONF ++ if ((hostname = confhost) == NULL) ++#endif + #ifdef SKK_SERVER_HOST + hostname = SKK_SERVER_HOST; + #else + return -1; + #endif + } +- if ('0' <= *hostname && *hostname <= '9') { +- if (sscanf(hostname,"%d.%d.%d.%d",&a1,&a2,&a3,&a4) != 4) { +- return -1; +- } +- a1 = (a1<<24)|(a2<<16)|(a3<<8)|a4; +- hostaddr.sin_addr.s_addr = htonl(a1); +- } +- else { ++ if ((hostaddr.sin_addr.s_addr = inet_addr(hostname)) == INADDR_NONE) { + if ((entry = gethostbyname(hostname)) == NULL) { + return -1; + } + bincopy(entry->h_addr, &hostaddr.sin_addr, entry->h_length); + } + hostaddr.sin_family = AF_INET; +- hostaddr.sin_port = serv ? serv->s_port : htons(SKK_PORT_NUMBER); ++ hostaddr.sin_port = ++#ifdef SKK_CONF ++ confport ? htons(confport) : ++#endif ++ serv ? serv->s_port : htons(SKK_PORT_NUMBER); + if (connect(sock,(struct sockaddr *)&hostaddr,sizeof(struct sockaddr_in)) < 0) { + return -1; + } diff --git a/japanese/skkfep/patches/patch-bc b/japanese/skkfep/patches/patch-bc new file mode 100644 index 00000000000..64046866552 --- /dev/null +++ b/japanese/skkfep/patches/patch-bc @@ -0,0 +1,38 @@ +$NetBSD: patch-bc,v 1.1.1.1 1999/12/24 03:21:10 itohy Exp $ + +--- connsh.c.orig Tue Sep 22 01:50:12 1998 ++++ connsh.c Sun Sep 27 13:41:53 1998 +@@ -21,6 +21,10 @@ + #define vfork fork + #endif + ++#ifdef USE_SERVER ++extern int skkservsock; ++#endif ++ + #define DEVICELEN 16 + #define DEFAULT_SHELL "/bin/csh" + +@@ -171,8 +175,9 @@ + #endif /* not HPUX */ + + if((i = vfork()) < 0) { +- fprintf(stderr,"fork error\n"); +- abort(); ++ perror("fork"); ++ reset_tty(); ++ Exit(1); + } + + if(i == 0) { /* child */ +@@ -226,6 +231,10 @@ + dup2(slave,1); + dup2(slave,2); + close(slave); ++#ifdef USE_SERVER ++ if (skkservsock >= 0) ++ close(skkservsock); ++#endif + + seteuid(getuid()); + p = &ShellName[strlen(ShellName)]; diff --git a/japanese/skkfep/patches/patch-bd b/japanese/skkfep/patches/patch-bd new file mode 100644 index 00000000000..2dc1a44d40a --- /dev/null +++ b/japanese/skkfep/patches/patch-bd @@ -0,0 +1,21 @@ +$NetBSD: patch-bd,v 1.1.1.1 1999/12/24 03:21:10 itohy Exp $ + +--- fep.c.orig Tue Jul 7 00:31:16 1998 ++++ fep.c Tue Dec 21 00:42:53 1999 +@@ -219,7 +219,6 @@ + /* Initialize */ + setKanaKey(); + getTCstr(); +- tty_ready(); + get_winsize(); + set_tty(); + set_int(); +@@ -308,7 +307,7 @@ + break; + } + } +- return jisAJ; /* default */ ++ return jisBB; /* default */ + } + + flushOut(minchar) diff --git a/japanese/skkfep/patches/patch-be b/japanese/skkfep/patches/patch-be new file mode 100644 index 00000000000..af11be77efc --- /dev/null +++ b/japanese/skkfep/patches/patch-be @@ -0,0 +1,66 @@ +$NetBSD: patch-be,v 1.1.1.1 1999/12/24 03:21:10 itohy Exp $ + +--- readwrite.c.orig Tue Jul 7 00:31:15 1998 ++++ readwrite.c Sun Sep 27 10:24:06 1998 +@@ -4,6 +4,14 @@ + #include "kanjicode.h" + #include "ctrlcode.h" + ++#ifndef STDIN_FILENO ++#define STDIN_FILENO 0 ++#endif ++ ++#ifndef STDOUT_FILENO ++#define STDOUT_FILENO 1 ++#endif ++ + #ifdef DEBUG + extern FILE *wrlog; + #endif +@@ -29,12 +37,10 @@ + SIC_B,SOC_B,"JIS",3,3, + }; + +-extern int tty; +- + char read1() + { char c; + +- if (read(tty,&c,1) != 0) ++ if (read(STDIN_FILENO,&c,1) != 0) + return c; + return EOF; + } +@@ -320,13 +326,13 @@ + char *s; + { int l = strlen(s); + +- writeTTYorg(tty,s,l,INTERNALCODE,OutCode,&TInter_Stat,&To_TTY_Stat); ++ writeTTYorg(STDOUT_FILENO,s,l,INTERNALCODE,OutCode,&TInter_Stat,&To_TTY_Stat); + } + + write1(c) + char c; + { +- writeTTYorg(tty,&c,1,INTERNALCODE,OutCode,&TInter_Stat,&To_TTY_Stat); ++ writeTTYorg(STDOUT_FILENO,&c,1,INTERNALCODE,OutCode,&TInter_Stat,&To_TTY_Stat); + } + + writeShTty(s,l) +@@ -334,14 +340,14 @@ + int l; + { + +- writeTTYorg(tty,s,l,WriteCode,OutCode,&From_SH_Stat,&To_TTY_Stat); ++ writeTTYorg(STDOUT_FILENO,s,l,WriteCode,OutCode,&From_SH_Stat,&To_TTY_Stat); + } + + writeTty(s,l) + char *s; + int l; + { +- writeTTYorg(tty,s,l,INTERNALCODE,OutCode,&TInter_Stat,&To_TTY_Stat); ++ writeTTYorg(STDOUT_FILENO,s,l,INTERNALCODE,OutCode,&TInter_Stat,&To_TTY_Stat); + } + + diff --git a/japanese/skkfep/patches/patch-bf b/japanese/skkfep/patches/patch-bf new file mode 100644 index 00000000000..113477e8d80 --- /dev/null +++ b/japanese/skkfep/patches/patch-bf @@ -0,0 +1,104 @@ +$NetBSD: patch-bf,v 1.1.1.1 1999/12/24 03:21:10 itohy Exp $ + +--- stty.c.orig Wed Sep 23 01:22:53 1998 ++++ stty.c Sun Sep 27 10:21:12 1998 +@@ -31,12 +31,15 @@ + + #endif + ++#ifndef STDIN_FILENO ++#define STDIN_FILENO 0 ++#endif ++ + #ifndef NO_SUSPEND + SignalFunc suspend(); + #endif + + TERMPARAM d_ioval; +-int tty; + #ifdef TIOCSWINSZ + struct winsize d_winsize; + #endif /* TIOCSWINSZ */ +@@ -142,7 +145,7 @@ + #ifdef TIOCSWINSZ + extern int lines, columns; + +- ioctl(tty, TIOCGWINSZ, &d_winsize); ++ ioctl(STDIN_FILENO, TIOCGWINSZ, &d_winsize); + if (d_winsize.ws_col == 0) { + d_winsize.ws_col = columns; + } else { +@@ -153,7 +156,7 @@ + } else { + lines = d_winsize.ws_row; + } +- ioctl(tty, TIOCSWINSZ, &d_winsize); ++ ioctl(STDIN_FILENO, TIOCSWINSZ, &d_winsize); + #endif /* TIOCSWINSZ */ + } + +@@ -161,7 +164,7 @@ + { int er; + TERMPARAM ioval; + +- GET_TTY(tty, &d_ioval); ++ GET_TTY(STDIN_FILENO, &d_ioval); + ioval = d_ioval; + + #if defined TERMIOS || defined TERMIO +@@ -195,7 +198,7 @@ + ioval.m_ttyb.sg_flags = RAW; + #endif + +- er = SET_TTY(tty, &ioval); ++ er = SET_TTY(STDIN_FILENO, &ioval); + + initFep(); + +@@ -208,14 +211,8 @@ + + reset_tty() + { +- reset_tty_without_close(); +- close(tty); +-} +- +-reset_tty_without_close() +-{ + termFep(); +- SET_TTY(tty, &d_ioval); ++ SET_TTY(STDIN_FILENO, &d_ioval); + } + + set_tty_sane(tty) +@@ -258,12 +255,6 @@ + } + } + +-tty_ready() +-{ char *ttyname(); +- +- tty = open(ttyname(0),O_RDWR); +-} +- + SignalFunc + reset_exit() + { +@@ -315,7 +306,7 @@ + union wait statusp; + #endif + +-#ifndef NO_SUSPEND ++#ifdef NO_SUSPEND + while ((cpid = wait((int *)&statusp)) != -1 && cpid != ShellPID) + ; + #else +@@ -385,7 +376,7 @@ + SignalFunc + suspend() + { +- reset_tty_without_close(); ++ reset_tty(); + signal(SIGTSTP,SIG_DFL); + kill(0,SIGTSTP); + diff --git a/japanese/skkfep/patches/patch-bg b/japanese/skkfep/patches/patch-bg new file mode 100644 index 00000000000..5db363f9830 --- /dev/null +++ b/japanese/skkfep/patches/patch-bg @@ -0,0 +1,70 @@ +$NetBSD: patch-bg,v 1.1.1.1 1999/12/24 03:21:10 itohy Exp $ + +--- skkfep.1.orig Tue Jul 7 00:31:16 1998 ++++ skkfep.1 Tue Dec 21 00:44:13 1999 +@@ -21,12 +21,13 @@ + EUC (or DEC code). + .IP \fBsj\fR + MS-Kanji (Shift-JIS) code. +-.IP \fBjis\fIIO\fR ++.IP \fBjis\fIIO\fR + JIS code. \fII\fR and \fIO\fR are characters which +-represent shift-in/out escape sequence respectively. For shift-in, +-\fBA,@\fR(ESC $ @) or \fBB\fR(ESC $ B) can be specified; for +-shift-out, \fBH\fR(ESC ( H), \fBJ\fR(ESC ( J) or \fBB\fR(ESC ( B) can ++represent kanji/ASCII escape sequences respectively. For kanji sequence, ++\fBA\fR, \fB@\fR (ESC $ @) or \fBB\fR (ESC $ B) can be specified; for ++ASCII sequence, \fBH\fR (ESC ( H), \fBJ\fR (ESC ( J) or \fBB\fR (ESC ( B) can + be specified. ++If the \fIIO\fR characters are omitted, the character is default to \fBBB\fR. + .RE + .TP + .BI -f kanjicode +@@ -34,7 +35,7 @@ + .TP + .BI -udic \0dictionary + Specifies the user dictionary file. +-Default is $(HOME)/.skk-jisyo. ++Default is $HOME/.skk-jisyo. + .TP + .B -bs + Toggle BS behavior when the +@@ -46,12 +47,12 @@ + Choose the mode of learning words got from skk server. + \fImode\fR is one of following: + .RS +-.IP \fBnone\fR or \fBoff\fR or \fB0\fR ++.IP "\fBnone\fR or \fBoff\fR or \fB0\fR" + Do not learn the words at all. +-.IP \fBtemporal\fR or \fB1\fR ++.IP "\fBtemporal\fR or \fB1\fR" + Learn the words while the skkfep process is alive, but do not record + the learned information. +-.IP \fBpermanent\fR or \fB2\fR ++.IP "\fBpermanent\fR or \fB2\fR" + Learn the words and record them on the user dictionary. + .RE + .TP +@@ -61,12 +62,20 @@ + .TP + .BI -k char + Specify the kanji toggle key. A control character is +-expressed as ^ followed by an alphabet (for example, ^t). Default is +-^T. ++expressed as ^ followed by an alphabet (for example, ^j). Default is ++^J. + .TP + .B -esc + With this option, ESC key becomes `RETUEN-TO-SKK-MODE' key. + This option is useful for vi-users. ++.TP ++.B -viesc ++With this option, ESC key becomes `RETUEN-TO-SKK-MODE' key and ++one of i, a, o, I, A, S, and R key restores the last mode. ++.TP ++.B -emacsesc ++With this option, control characters go though to the shell and disables ++conversion temporarily. + .TP + .B -rs + Reverse status line. diff --git a/japanese/skkfep/pkg/COMMENT b/japanese/skkfep/pkg/COMMENT new file mode 100644 index 00000000000..3c4e9a39f00 --- /dev/null +++ b/japanese/skkfep/pkg/COMMENT @@ -0,0 +1 @@ +Terminal based SKK-like Kana-to-Kanji FrontEnd Processor diff --git a/japanese/skkfep/pkg/DESCR b/japanese/skkfep/pkg/DESCR new file mode 100644 index 00000000000..add0ec8cb03 --- /dev/null +++ b/japanese/skkfep/pkg/DESCR @@ -0,0 +1,7 @@ + skkfep is a SKK-like Kana-to-Kanji FrontEnd Processor. It works +on terminals and realizes SKK-like conversion without emacs. + +Features: + - realize SKK-like Kana/Kanji user interface on terminals, + - shares private and common dictionaries with SKK, + - word registration is not currently supported. diff --git a/japanese/skkfep/pkg/INSTALL b/japanese/skkfep/pkg/INSTALL new file mode 100644 index 00000000000..7856bf67eec --- /dev/null +++ b/japanese/skkfep/pkg/INSTALL @@ -0,0 +1,34 @@ +#! /bin/sh +# $NetBSD: INSTALL,v 1.1.1.1 1999/12/24 03:21:10 itohy Exp $ + +case "$2" in +POST-INSTALL) + # install skkserv port number + if egrep '^skkserv[ ]' /etc/services >/dev/null; then + : + else + echo ' +skkserv 1178/tcp # SKK server' >>/etc/services + fi + + # install skk.cf + if [ ! -f @PKGBASE@/etc/skk.conf ]; then + cat <<'END' >@PKGBASE@/etc/skk.conf +# skk.conf - configuration file for SKK client programs + +# Syntax +# Lines start with '#' are comments. +# +# skkserv_host: <hostnme> # Host which skkserv is running on. +# # default: localhost +# +# skkserv_port: <port_number> # TCP port number of skkserv. +# # default: lookup "skkserv" in services +# + +# skkserv_host: localhost +# skkserv_port: 1178 +END + fi + ;; +esac diff --git a/japanese/skkfep/pkg/MESSAGE b/japanese/skkfep/pkg/MESSAGE new file mode 100644 index 00000000000..16f6a2db563 --- /dev/null +++ b/japanese/skkfep/pkg/MESSAGE @@ -0,0 +1,4 @@ + To use skkfep, the dictionary server (skkserv) is almost +required. Use "skkserv" pkg, or, if you have another machine +running skkserv, put the hostname in @PKGBASE@/etc/skk.conf +file, and skkfep will connect to the host. diff --git a/japanese/skkfep/pkg/PLIST b/japanese/skkfep/pkg/PLIST new file mode 100644 index 00000000000..0709bfdbabe --- /dev/null +++ b/japanese/skkfep/pkg/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 1999/12/24 03:21:10 itohy Exp $ +bin/skkfep +man/man1/skkfep.1 +@unexec if [ -f %D/etc/skk.conf ]; then echo 'Remove "%D/etc/skk.conf" if you will not use SKK programs any longer.'; fi |