diff options
author | sakamoto <sakamoto> | 2002-06-10 09:15:23 +0000 |
---|---|---|
committer | sakamoto <sakamoto> | 2002-06-10 09:15:23 +0000 |
commit | 0a6c880d9e23fc8ba8dab9ff0a134c8be871265b (patch) | |
tree | a9937f0620138060387bd1627e4944244f66671c /inputmethod | |
parent | 52cc1caa7c97322a537507e476e0e538904cfc8c (diff) | |
download | pkgsrc-0a6c880d9e23fc8ba8dab9ff0a134c8be871265b.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')
-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 |