diff options
author | sakamoto <sakamoto@pkgsrc.org> | 2002-06-10 09:15:23 +0000 |
---|---|---|
committer | sakamoto <sakamoto@pkgsrc.org> | 2002-06-10 09:15:23 +0000 |
commit | e7cac718304a274e3edc754b2fe26b450167af43 (patch) | |
tree | a9937f0620138060387bd1627e4944244f66671c /inputmethod/sj3-dict | |
parent | 326c7083cfc270dec5400ce79e7072eb2d08f139 (diff) | |
download | pkgsrc-e7cac718304a274e3edc754b2fe26b450167af43.tar.gz |
Import sj3-dict-2.0.1.20nb1
Japanese input method (dictionary)
separated from inputmethod/sj3-server, Approved by agc.
Diffstat (limited to 'inputmethod/sj3-dict')
-rw-r--r-- | inputmethod/sj3-dict/DESCR | 20 | ||||
-rw-r--r-- | inputmethod/sj3-dict/INSTALL | 10 | ||||
-rw-r--r-- | inputmethod/sj3-dict/Makefile | 57 | ||||
-rw-r--r-- | inputmethod/sj3-dict/PLIST | 4 |
4 files changed, 91 insertions, 0 deletions
diff --git a/inputmethod/sj3-dict/DESCR b/inputmethod/sj3-dict/DESCR new file mode 100644 index 00000000000..3daaeb2d9b6 --- /dev/null +++ b/inputmethod/sj3-dict/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-dict/INSTALL b/inputmethod/sj3-dict/INSTALL new file mode 100644 index 00000000000..fc05b7f61f5 --- /dev/null +++ b/inputmethod/sj3-dict/INSTALL @@ -0,0 +1,10 @@ +#!/bin/sh + +case $2 in + POST-INSTALL) + dic="${PKG_PREFIX}/sj3/user" + mkdir -p $dic + chmod 755 $dic + chown ${SJ3OWNER}.${SJ3GROUP} $dic + ;; +esac diff --git a/inputmethod/sj3-dict/Makefile b/inputmethod/sj3-dict/Makefile new file mode 100644 index 00000000000..1e376ee055d --- /dev/null +++ b/inputmethod/sj3-dict/Makefile @@ -0,0 +1,57 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/06/10 09:15:23 sakamoto Exp $ +# + +DISTNAME= sj3-2.0.1.20 +PKGNAME= sj3-dict-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 (dictionary) + +BUILD_DEPENDS+= sj3-server-bin>=2.0.1.20nb1:../sj3-server-bin + +FILESDIR= ${.CURDIR}/../sj3-lib/files +DISTINFO_FILE= ${.CURDIR}/../sj3-lib/distinfo +PATCHDIR= ${.CURDIR}/../sj3-lib/patches + +.include "../../mk/bsd.prefs.mk" + +NO_MTREE= YES +LOCALBASE= ${IMDICTDIR} +SJ3OWNER?= daemon +SJ3GROUP?= daemon +MAKE_ENV+= SJ3OWNER=${SJ3OWNER} SJ3GROUP=${SJ3GROUP} \ + IMDICTDIR=${IMDICTDIR} LOCAL_LDFLAGS="${LDFLAGS}" + +INSTALL_SRC= ${PKGDIR}/INSTALL +INSTALL_FILE= ${WRKDIR}/INSTALL + +EVAL_PREFIX+= SJ3SERVERBINDIR=sj3-server-bin + +pre-configure: + @${MV} ${WRKSRC}/dict/dict/Imakefile ${WRKSRC}/dict/dict/Imakefile.orig + @${SED} -e 's|$$(TOOL_DIR)/|${SJ3SERVERBINDIR}/bin/|' \ + ${WRKSRC}/dict/dict/Imakefile.orig \ + > ${WRKSRC}/dict/dict/Imakefile + +do-configure: + @(cd ${WRKSRC}/dict/dict; ${XMKMF_CMD}; \ + ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} Makefiles) + +do-build: + @(cd ${WRKSRC}/dict/dict; ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM}) + +post-build: + @${SED} -e 's|$${SJ3OWNER}|${SJ3OWNER}|' \ + -e 's|$${SJ3GROUP}|${SJ3GROUP}|' \ + -e 's|$${IMDICTDIR}|${IMDICTDIR}|' \ + ${INSTALL_SRC} > ${INSTALL_FILE} + +do-install: + @(cd ${WRKSRC}/dict/dict; ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} install) + +.include "../../devel/nbitools/nbitools.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/inputmethod/sj3-dict/PLIST b/inputmethod/sj3-dict/PLIST new file mode 100644 index 00000000000..6fb60e9f79e --- /dev/null +++ b/inputmethod/sj3-dict/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/06/10 09:15:23 sakamoto Exp $ +sj3/sj3main.dic +@dirrm sj3/user +@dirrm sj3 |