mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-21 20:38:45 +00:00
Add ja-wxg, high-quality Canna-compatible Japanese input engine from
A.I.SOFT.
This commit is contained in:
parent
61d92038e2
commit
380a9f28a1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=35675
@ -334,6 +334,7 @@
|
||||
SUBDIR += word
|
||||
SUBDIR += wordnet-fpw
|
||||
SUBDIR += wwasw-fpw
|
||||
SUBDIR += wxg
|
||||
SUBDIR += xchat
|
||||
SUBDIR += xdvik-vflib
|
||||
SUBDIR += xdvik-vflib-pk118
|
||||
|
60
japanese/wxg/Makefile
Normal file
60
japanese/wxg/Makefile
Normal file
@ -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>
|
1
japanese/wxg/distinfo
Normal file
1
japanese/wxg/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (wxg/ja-wxg-1.0b-1.tgz) = 70acdd6f89cfa02645dbaa6d7a17b53f
|
23
japanese/wxg/files/wxg.sh
Normal file
23
japanese/wxg/files/wxg.sh
Normal file
@ -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
|
1
japanese/wxg/pkg-comment
Normal file
1
japanese/wxg/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
High-quality Canna-compatible Japanese input engine from A.I.SOFT
|
11
japanese/wxg/pkg-descr
Normal file
11
japanese/wxg/pkg-descr
Normal file
@ -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)
|
6
japanese/wxg/pkg-message
Normal file
6
japanese/wxg/pkg-message
Normal file
@ -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.
|
||||
************************************************************
|
49
japanese/wxg/pkg-plist
Normal file
49
japanese/wxg/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user