diff options
Diffstat (limited to 'inputmethod')
-rw-r--r-- | inputmethod/sj3-server-bin/DESCR | 20 | ||||
-rw-r--r-- | inputmethod/sj3-server-bin/Makefile | 56 | ||||
-rw-r--r-- | inputmethod/sj3-server-bin/PLIST | 24 |
3 files changed, 100 insertions, 0 deletions
diff --git a/inputmethod/sj3-server-bin/DESCR b/inputmethod/sj3-server-bin/DESCR new file mode 100644 index 00000000000..3daaeb2d9b6 --- /dev/null +++ b/inputmethod/sj3-server-bin/DESCR @@ -0,0 +1,20 @@ +This is SJ3 2.0.1.20, a Japanese input method. +This system developed by Sony Corporation. +SJ3 is composed of Kana-Kanji conversion server(sj3serv), +Kana-Kanji conversion client for terminal(sj3) and Kana-Kanji +conversion library(sj3lib). + +If you start up sj3serv, you must add a following entry into +/etc/services file or NIS/YP services map. + +sj3 3086/tcp + +This port number may be changed by the setup file(See manpages). + +This also include many patches for FreeBSD or others. +(Remove warning, support pseudo-terminal of FreeBSD, + some bug fix and change make rules.) If there are any problem +in this patches, please know me via E-mail. + +Hidekazu Kuroki +(hidekazu@cs.titech.ac.jp) diff --git a/inputmethod/sj3-server-bin/Makefile b/inputmethod/sj3-server-bin/Makefile new file mode 100644 index 00000000000..a11691dd358 --- /dev/null +++ b/inputmethod/sj3-server-bin/Makefile @@ -0,0 +1,56 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/06/10 09:16:37 sakamoto Exp $ +# + +DISTNAME= sj3-2.0.1.20 +PKGNAME= sj3-server-bin-2.0.1.20 +PKGREVISION= 1 +CATEGORIES= japanese inputmethod +MASTER_SITES= ftp://ftp.sony.co.jp/pub/unsupported/src/ \ + ftp://ftp.cs.titech.ac.jp/pub/japanese/sj3/ + +MAINTAINER= tech-pkg-ja@jp.netbsd.org +COMMENT= Japanese input method (server binary) + +FILESDIR= ${.CURDIR}/../sj3-lib/files +DISTINFO_FILE= ${.CURDIR}/../sj3-lib/distinfo +PATCHDIR= ${.CURDIR}/../sj3-lib/patches + +.include "../../mk/bsd.prefs.mk" +SJ3OWNER?= daemon +SJ3GROUP?= daemon +MAKE_ENV+= SJ3OWNER=${SJ3OWNER} SJ3GROUP=${SJ3GROUP} \ + IMDICTDIR=${IMDICTDIR} LOCAL_LDFLAGS="${LDFLAGS}" + +STARTUP_SCRIPT= etc/rc.d/sj3 +STARTUP_SCRIPT_SRC=${WRKDIR}/STARTUP + +pre-configure: + @${MV} ${WRKSRC}/Imakefile ${WRKSRC}/Imakefile.orig + @${SED} -e 's|\(SUBDIRS = .*\)sj3lib \(.*\)|\1\2|' \ + ${WRKSRC}/Imakefile.orig > ${WRKSRC}/Imakefile + @${MV} ${WRKSRC}/dict/Imakefile ${WRKSRC}/dict/Imakefile.orig + @${SED} -e 's|\(SUBDIRS = .*\)dict|\1|' \ + ${WRKSRC}/dict/Imakefile.orig > ${WRKSRC}/dict/Imakefile + @for file in `${FIND} ${WRKSRC} -name Imakefile`; do \ + ${MV} -f $$file $$file.orig; \ + ${SED} -e 's|\(= \).*/lib\(sj3lib\).a|\1-l\2|' \ + $$file.orig > $$file; \ + done + +do-configure: + @(cd ${WRKSRC}; ${XMKMF_CMD}; ${MAKE} Makefiles) + +post-build: + @${ECHO} '#!/bin/sh' > ${STARTUP_SCRIPT_SRC} + @${ECHO} 'sj3=${PREFIX}/bin/sj3serv' >> ${STARTUP_SCRIPT_SRC} + @${ECHO} 'if [ -f $$sj3 ]; then' >> ${STARTUP_SCRIPT_SRC} + @${ECHO} " echo -n ' sj3'" >> ${STARTUP_SCRIPT_SRC} + @${ECHO} ' $$sj3' >> ${STARTUP_SCRIPT_SRC} + @${ECHO} 'fi' >> ${STARTUP_SCRIPT_SRC} + +post-install: + @${INSTALL_SCRIPT} ${STARTUP_SCRIPT_SRC} ${PREFIX}/${STARTUP_SCRIPT} + +.include "../../devel/nbitools/nbitools.mk" +.include "../sj3-lib/buildlink.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/inputmethod/sj3-server-bin/PLIST b/inputmethod/sj3-server-bin/PLIST new file mode 100644 index 00000000000..e26076eedc8 --- /dev/null +++ b/inputmethod/sj3-server-bin/PLIST @@ -0,0 +1,24 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/06/10 09:16:37 sakamoto Exp $ +bin/sj3 +bin/sj3dic +bin/sj3mkdic +bin/sj3serv +bin/sj3stat +etc/rc.d/sj3 +man/ja_JP.EUC/man1/sj3.1 +man/ja_JP.EUC/man1/sj3dic.1 +man/ja_JP.EUC/man1/sj3mkdic.1 +man/ja_JP.EUC/man1/sj3serv.1 +share/sj3/Nihongo.ps.Z +share/sj3/cvtkey.news +share/sj3/cvtkey.nwp511 +share/sj3/cvtkey.nwp517 +share/sj3/cvtkey.xterm +share/sj3/hinsi.ms +share/sj3/makedict.ms +share/sj3/serverrc +share/sj3/sj3lib.ms +share/sj3/sj3serv.ms +share/sj3/sjrc +share/sj3/sjrk +@dirrm share/sj3 |