summaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2000-12-05 12:28:51 +0000
committerknu <knu@FreeBSD.org>2000-12-05 12:28:51 +0000
commitbc30020655cebb4c1d6fdd78d4402566096e61c1 (patch)
tree26c743e60df1ab726902a246071d1361f0362d5e /japanese
parent7d6873a7d46a2eba10840bc390d6148dc1aff2d3 (diff)
downloadFreeBSD-ports-bc30020655cebb4c1d6fdd78d4402566096e61c1.zip
FreeBSD-ports-bc30020655cebb4c1d6fdd78d4402566096e61c1.tar.gz
Add ja-wxg, high-quality Canna-compatible Japanese input engine from
A.I.SOFT.
Diffstat (limited to 'japanese')
-rw-r--r--japanese/Makefile1
-rw-r--r--japanese/wxg/Makefile60
-rw-r--r--japanese/wxg/distinfo1
-rw-r--r--japanese/wxg/files/wxg.sh23
-rw-r--r--japanese/wxg/pkg-comment1
-rw-r--r--japanese/wxg/pkg-descr11
-rw-r--r--japanese/wxg/pkg-message6
-rw-r--r--japanese/wxg/pkg-plist49
8 files changed, 152 insertions, 0 deletions
diff --git a/japanese/Makefile b/japanese/Makefile
index b4dad71..6e493eb 100644
--- a/japanese/Makefile
+++ b/japanese/Makefile
@@ -334,6 +334,7 @@
SUBDIR += word
SUBDIR += wordnet-fpw
SUBDIR += wwasw-fpw
+ SUBDIR += wxg
SUBDIR += xchat
SUBDIR += xdvik-vflib
SUBDIR += xdvik-vflib-pk118
diff --git a/japanese/wxg/Makefile b/japanese/wxg/Makefile
new file mode 100644
index 0000000..1a21792
--- /dev/null
+++ b/japanese/wxg/Makefile
@@ -0,0 +1,60 @@
+# New ports collection makefile for: WXG for FreeBSD
+# Date created: 5 Dec 2000
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= wxg
+PORTVERSION= 1.0.b1
+CATEGORIES= japanese
+MASTER_SITES= http://web.infoweb.ne.jp/aisoft/ekotoba/
+DISTNAME= ja-${PORTNAME}-${PORTVERSION:S/.b/b-/}
+EXTRACT_SUFX= .tgz
+DIST_SUBDIR= wxg
+
+MAINTAINER= knu@FreeBSD.org
+
+# We need Canna libraries to use WXG anyway, and some Canna utilities
+# are useful for WXG too.
+RUN_DEPENDS= cannakill:${PORTSDIR}/japanese/Canna
+
+RESTRICTED= "You must not copy or redistribute the distfile or the package."
+NO_CDROM= ${RESTRICTED}
+NO_PACKAGE= ${RESTRICTED}
+
+NO_WRKSUBDIR= YES
+
+BINS= wxgdic wxgdmp wxgdset
+SBINS= wxgserver
+
+.include <bsd.port.pre.mk>
+
+.if !exists(${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
+IGNORE='You must visit http://www.ekotoba.com/download/dldata.asp?kind=1&data=3 and agree with the licence terms to fetch "${DISTFILE}". After the download is donw, place it in ${_DISTDIR} and run make again.'
+.endif
+
+do-fetch:
+# should not reach here
+
+post-extract:
+ ${MV} ${WRKSRC}/lib/wxg/doc ${WRKSRC}
+ ${RM} -rf ${WRKSRC}/lib/wxg/sample
+
+do-build:
+ ${SED} 's,!!PREFIX!!,${PREFIX},g' ${FILESDIR}/wxg.sh > ${WRKSRC}/wxg.sh
+
+do-install:
+ cd ${WRKSRC}/bin && ${INSTALL_PROGRAM} ${BINS} ${PREFIX}/bin/
+ cd ${WRKSRC}/sbin && ${INSTALL_PROGRAM} ${SBINS} ${PREFIX}/sbin/
+ ${MKDIR} ${PREFIX}/lib/wxg
+ ${INSTALL_SCRIPT} ${WRKSRC}/wxg.sh ${PREFIX}/etc/rc.d/wxg.sh.sample
+ ${CP} -R ${WRKSRC}/lib/wxg/* ${PREFIX}/lib/wxg/
+ [ X${PREFIX} = X"/usr/local" ] || ${LN} -s ${PREFIX}/lib/wxg /usr/local/lib/
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/wxg
+ ${CP} -R ${WRKSRC}/doc/* ${PREFIX}/share/doc/wxg/
+.endif
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.post.mk>
diff --git a/japanese/wxg/distinfo b/japanese/wxg/distinfo
new file mode 100644
index 0000000..67281d6
--- /dev/null
+++ b/japanese/wxg/distinfo
@@ -0,0 +1 @@
+MD5 (wxg/ja-wxg-1.0b-1.tgz) = 70acdd6f89cfa02645dbaa6d7a17b53f
diff --git a/japanese/wxg/files/wxg.sh b/japanese/wxg/files/wxg.sh
new file mode 100644
index 0000000..9cd961b
--- /dev/null
+++ b/japanese/wxg/files/wxg.sh
@@ -0,0 +1,23 @@
+#!/bin/sh
+wxgserver=!!PREFIX!!/sbin/wxgserver
+
+case "$1" in
+start)
+ if [ -f $wxgserver ]; then
+ rm -f /var/run/canna/Canna.pid
+ mkdir -p /var/run/canna
+ chown bin:bin /var/run/canna
+ echo -n ' WXG'
+ $wxgserver &
+ fi
+ ;;
+stop)
+ !!PREFIX!!/sbin/cannakill && echo -n ' WXG'
+ ;;
+*)
+ echo "Usage: `basename $0` {start|stop}" >&2
+ exit 64
+ ;;
+esac
+
+exit 0
diff --git a/japanese/wxg/pkg-comment b/japanese/wxg/pkg-comment
new file mode 100644
index 0000000..a4efe1f
--- /dev/null
+++ b/japanese/wxg/pkg-comment
@@ -0,0 +1 @@
+High-quality Canna-compatible Japanese input engine from A.I.SOFT
diff --git a/japanese/wxg/pkg-descr b/japanese/wxg/pkg-descr
new file mode 100644
index 0000000..2b789d7
--- /dev/null
+++ b/japanese/wxg/pkg-descr
@@ -0,0 +1,11 @@
+WXG is a Kana-Kanji conversion server compatible with Canna. Thus you
+can use WXG from any Canna-compliant client program such as kinput2,
+Mule, and canuum.
+
+Copyright(C) 2000 A.I.SOFT, INC. All Rights Reserved.
+
+Briefly you can use it without charge so long as it is used either on
+a single computer or by a single person. For further licence details,
+please refer to the following website.
+
+WWW: http://www.ekotoba.com/download/dl-soft.html (In Japanese)
diff --git a/japanese/wxg/pkg-message b/japanese/wxg/pkg-message
new file mode 100644
index 0000000..03dd1ec
--- /dev/null
+++ b/japanese/wxg/pkg-message
@@ -0,0 +1,6 @@
+************************************************************
+Note that WXG (wxgserver) cannot be run simultaneously with
+Canna (cannaserver) nor Esecanna (esecannaserver). Please
+check the startup scripts in ${PREFIX}/etc/rc.d/ and disable
+them before enabling WXG.
+************************************************************
diff --git a/japanese/wxg/pkg-plist b/japanese/wxg/pkg-plist
new file mode 100644
index 0000000..3ecd8a1
--- /dev/null
+++ b/japanese/wxg/pkg-plist
@@ -0,0 +1,49 @@
+bin/wxgdic
+bin/wxgdmp
+bin/wxgdset
+etc/rc.d/wxg.sh.sample
+lib/wxg/dic/98dic.txt
+lib/wxg/dic/98txdic.txt
+lib/wxg/dic/chimei.gdj
+lib/wxg/dic/english.gdj
+lib/wxg/dic/kao.gdj
+lib/wxg/dic/seimei.gdj
+lib/wxg/dic/tel.gdj
+lib/wxg/dic/wxg.gdf
+lib/wxg/dic/wxg.gdj
+lib/wxg/dic/wxg.gds
+lib/wxg/dic/wxgrev.gdf
+lib/wxg/dic/wxgsei.gds
+lib/wxg/dic/wxgseiu.gds
+lib/wxg/dic/wxgsp.gdf
+lib/wxg/dic/wxgtx.gdj
+lib/wxg/dic/wxgu.gdj
+lib/wxg/dic/wxgu.gds
+lib/wxg/dic/wxgurev.gdj
+lib/wxg/dic/yubin.gdj
+lib/wxg/roma/wxgroma.grt
+lib/wxg/wxg.gct
+lib/wxg/wxgrc
+@dirrm lib/wxg/roma
+@dirrm lib/wxg/dic
+@dirrm lib/wxg
+sbin/wxgserver
+share/doc/wxg/README
+share/doc/wxg/html/ailogo2.gif
+share/doc/wxg/html/appendix.html
+share/doc/wxg/html/contract.html
+share/doc/wxg/html/custom.html
+share/doc/wxg/html/fcontents.html
+share/doc/wxg/html/hinshi.html
+share/doc/wxg/html/imi.html
+share/doc/wxg/html/index.html
+share/doc/wxg/html/inst.html
+share/doc/wxg/html/intro.html
+share/doc/wxg/html/jinput.html
+share/doc/wxg/html/relcanna.html
+share/doc/wxg/html/uninst.html
+share/doc/wxg/html/uty.html
+@dirrm share/doc/wxg/html
+@dirrm share/doc/wxg
+@unexec [ -L /usr/local/lib/wxg ] && rm /usr/local/lib/wxg || true
+@exec [ X"%D" != X"/usr/local" ] && ln -s %D/lib/wxg /usr/local/lib/ || true
OpenPOWER on IntegriCloud