diff options
Diffstat (limited to 'japanese/canna-server')
-rw-r--r-- | japanese/canna-server/Makefile | 72 | ||||
-rw-r--r-- | japanese/canna-server/distinfo | 3 | ||||
-rw-r--r-- | japanese/canna-server/files/canna.sh.in | 44 | ||||
-rw-r--r-- | japanese/canna-server/files/patch-ac | 12 | ||||
-rw-r--r-- | japanese/canna-server/files/patch-cmd-catdic-Imakefile | 11 | ||||
-rw-r--r-- | japanese/canna-server/files/patch-lib-RK-ncache.c | 11 | ||||
-rw-r--r-- | japanese/canna-server/pkg-descr | 18 | ||||
-rw-r--r-- | japanese/canna-server/pkg-install | 7 | ||||
-rw-r--r-- | japanese/canna-server/pkg-message | 13 | ||||
-rw-r--r-- | japanese/canna-server/pkg-plist | 129 |
10 files changed, 0 insertions, 320 deletions
diff --git a/japanese/canna-server/Makefile b/japanese/canna-server/Makefile deleted file mode 100644 index 461d32e52ed8..000000000000 --- a/japanese/canna-server/Makefile +++ /dev/null @@ -1,72 +0,0 @@ -# New ports collection makefile for: Canna -# Date created: 3 November 1995 -# Whom: Nobuhiro Yasutomi <nobu@psrc.isac.co.jp> -# NIIMI Satoshi <sa2c@and.or.jp> -# -# $FreeBSD$ -# - -PORTNAME= Canna -PORTVERSION= 3.7p3 -PORTREVISION= 3 -CATEGORIES= japanese -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP} -MASTER_SITE_SUBDIR= canna/9565/ -DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g} - -MAINTAINER= ports@FreeBSD.org -COMMENT= Kana-Kanji conversion system - -USE_RC_SUBR= yes -USE_BZIP2= yes -USE_IMAKE= yes -ALL_TARGET= canna -USE_LDCONFIG= yes - -MANLANG="" ja -MAN1= addwords.1 cannacheck.1 cannakill.1 cannaserver.1 cannastat.1 \ - catdic.1 chmoddic.1 cpdic.1 cshost.1 ctow.1 delwords.1 dicar.1 \ - dpbindic.1 dpromdic.1 lsdic.1 mkbindic.1 mkdic.1 mkromdic.1 \ - mvdic.1 rmdic.1 splitword.1 wtoc.1 -MAN3= RkCloseRoma.3 RkCvtEuc.3 RkCvtHan.3 RkCvtHira.3 RkCvtKana.3 \ - RkCvtRoma.3 RkCvtZen.3 RkDefineDic.3 RkDeleteDic.3 RkEndBun.3 \ - RkEnlarge.3 RkFinalize.3 RkGetDicList.3 RkGetKanji.3 RkGetLex.3 \ - RkGetStat.3 RkGetYomi.3 RkGoto.3 RkInitialize.3 RkIntro.3 RkLeft.3 \ - RkMapPhonogram.3 RkMapRoma.3 RkMountDic.3 RkNext.3 RkNfer.3 \ - RkOpenRoma.3 RkPrev.3 RkRemountDic.3 RkResize.3 RkBgnBun.3 RkRight.3 \ - RkShorten.3 RkStoreYomi.3 RkUnmountDic.3 RkXfer.3 cannalib.3 uilib.3 -MLINKS= uilib.3 XKanjiControl.3 uilib.3 XLookupKanjiString.3 \ - uilib.3 jrKanjiControl.3 uilib.3 jrKanjiString.3 -MANCOMPRESSED= no -XFREE86_HTML_MAN= no - -.if !defined(NOPORTDOCS) -PORTDOCS= canna.bib canna.sty Imakefile README.jp Makefile \ - intern lisp man -.endif - -post-build: - @${SED} -e "s,@PREFIX@,${PREFIX},g; s,@RC_SUBR@,${RC_SUBR},g; \ - s,@RM@,${RM},g; s,@TOUCH@,${TOUCH},g; \ - s,@CHOWN@,${CHOWN},g" ${FILESDIR}/canna.sh.in \ - > ${WRKDIR}/canna.sh - -post-install: -.for f in user user/user group - @${MKDIR} ${PREFIX}/lib/canna/dic/$f - @${CHOWN} bin:bin ${PREFIX}/lib/canna/dic/$f - @${CHMOD} 775 ${PREFIX}/lib/canna/dic/$f -.endfor - @${ECHO} "Installing a startup script as ${PREFIX}/etc/rc.d/canna.sh." - @${INSTALL_SCRIPT} ${WRKDIR}/canna.sh ${PREFIX}/etc/rc.d/canna.sh - @${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL - @${CAT} ${PKGMESSAGE} -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} -.for f in ${PORTDOCS} - @${CP} -R ${WRKSRC}/doc/$f ${DOCSDIR} -.endfor - @${CHOWN} -R root:wheel ${DOCSDIR} -.endif - -.include <bsd.port.mk> diff --git a/japanese/canna-server/distinfo b/japanese/canna-server/distinfo deleted file mode 100644 index b286bb8b1728..000000000000 --- a/japanese/canna-server/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (Canna37p3.tar.bz2) = 0b8c241f63ab4cd3c0b9be569456dc33 -SHA256 (Canna37p3.tar.bz2) = 7d98d925043d3af24f99a8a2a09e3b4d6dfe881efc1303ef4a7f495a0f4542a7 -SIZE (Canna37p3.tar.bz2) = 1263065 diff --git a/japanese/canna-server/files/canna.sh.in b/japanese/canna-server/files/canna.sh.in deleted file mode 100644 index 236d28e9b454..000000000000 --- a/japanese/canna-server/files/canna.sh.in +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -# PROVIDE: canna -# REQUIRE: DAEMON -# BEFORE: LOGIN -# KEYWORD: shutdown - -# Define these canna_* variables in one of these files: -# /etc/rc.conf -# /etc/rc.conf.local -# /etc/rc.conf.d/canna -# -# DO NOT CHANGE THESE DEFAULT VALUES HERE -# -canna_enable=${canna_enable:-"NO"} # Enable canna -#canna_program="@PREFIX@/sbin/cannaserver" # Location of canna -canna_flags=${canna_flags:-"-u bin"} # Flags to canna program -# Put the following into /etc/rc.conf if you want to use a TCP -# connection instead of a UNIX domain socket. -#canna_flags="-u bin -inet" - -. @RC_SUBR@ - -name="canna" -rcvar=`set_rcvar` -command="@PREFIX@/sbin/cannaserver" -start_precmd="canna_prestart" -stop_cmd="canna_stop" - -canna_prestart() { - @RM@ -f /tmp/.iroha_unix/IROHA - @TOUCH@ /var/log/CANNA0msgs - @CHOWN@ bin:bin /var/log/CANNA0msgs -} - -canna_stop() { - @PREFIX@/sbin/cannakill && echo "Stopping ${name}." -} - -load_rc_config $name -run_rc_command "$1" diff --git a/japanese/canna-server/files/patch-ac b/japanese/canna-server/files/patch-ac deleted file mode 100644 index a3bef982a0f9..000000000000 --- a/japanese/canna-server/files/patch-ac +++ /dev/null @@ -1,12 +0,0 @@ ---- Canna.conf.orig Fri Jan 2 21:26:27 2004 -+++ Canna.conf Thu Jan 22 18:42:43 2004 -@@ -109,7 +109,8 @@ - # define DefErrDir $(cannaPrefix)/log - # define DefLibCannaDir $(cannaExecPrefix)/lib - #else --# define DefCannaPrefix /usr/local/canna -+PREFIX?= /usr/local -+# define DefCannaPrefix $(PREFIX) - # ifdef ObsoleteInstallDir - # define DefErrDir /usr/spool/canna - # define DefLibCannaDir /usr/lib diff --git a/japanese/canna-server/files/patch-cmd-catdic-Imakefile b/japanese/canna-server/files/patch-cmd-catdic-Imakefile deleted file mode 100644 index ef8460e240fb..000000000000 --- a/japanese/canna-server/files/patch-cmd-catdic-Imakefile +++ /dev/null @@ -1,11 +0,0 @@ ---- cmd/catdic/Imakefile.orig 2003-10-02 16:40:30.000000000 +0900 -+++ cmd/catdic/Imakefile 2008-09-15 23:40:07.819285237 +0900 -@@ -2,7 +2,7 @@ - #include "../../Canna.conf" - #include "../cmd.tmpl" - -- DEFINES = $(SIGNAL_DEFINES) $(ENGINE_DEFS) -+ DEFINES = $(SIGNAL_DEFINES) $(ENGINE_DEFS) -DUSE_VARARGS - INCLUDES = -I$(CANNAROOT)/include - SRCS = can.c rutil.c RKdelline.c - OBJS = can.o rutil.o RKdelline.o diff --git a/japanese/canna-server/files/patch-lib-RK-ncache.c b/japanese/canna-server/files/patch-lib-RK-ncache.c deleted file mode 100644 index 1695441e8b3b..000000000000 --- a/japanese/canna-server/files/patch-lib-RK-ncache.c +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/RK/ncache.c.orig 2003-09-17 17:50:52.000000000 +0900 -+++ lib/RK/ncache.c 2008-09-20 01:46:07.000000000 +0900 -@@ -27,7 +27,7 @@ - #include "RKintern.h" - - #define NCHASH 101 --#define hash(x) ((int)((x)%NCHASH)) -+#define hash(x) ((int)(((unsigned long)(x))%NCHASH)) - - static struct ncache Nchash[NCHASH]; - static struct ncache Ncfree; diff --git a/japanese/canna-server/pkg-descr b/japanese/canna-server/pkg-descr deleted file mode 100644 index d825639763b8..000000000000 --- a/japanese/canna-server/pkg-descr +++ /dev/null @@ -1,18 +0,0 @@ -Canna is a Kana-Kanji conversion server. -It supports Mule(Multi-lingual extention Emacs), kinput2 X11 input -method, etc. - - - To use from Mule (CANNA version), add the following to your .emacs file: - - (if (and (boundp 'CANNA) CANNA) ; Is it CANNA MULE? - (progn - (load-library "canna") - (canna) )) - - Then use the `C-o' key to begin kana-kanji conversion. Refer to the -Info file and the documents for more detail. - -WWW: http://canna.sourceforge.jp/ - -- Max diff --git a/japanese/canna-server/pkg-install b/japanese/canna-server/pkg-install deleted file mode 100644 index df6e13e689fd..000000000000 --- a/japanese/canna-server/pkg-install +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh -if [ "$2" != "POST-INSTALL" ]; then exit 0; fi -(grep -v ^# /etc/services | grep canna >/dev/null) || \ -(echo "Now, you need to add following entry to your /etc/services:" ; - echo ; - echo " canna 5680/tcp" ; - echo ) diff --git a/japanese/canna-server/pkg-message b/japanese/canna-server/pkg-message deleted file mode 100644 index 77b15661590c..000000000000 --- a/japanese/canna-server/pkg-message +++ /dev/null @@ -1,13 +0,0 @@ - -Now the cannaserver uses a UNIX domain scoekt by default. If you need -to use a TCP connection, please edit your /etc/rc.conf (or alike) and -add the -inet command-line option to canna_flags, i.e.: - - canna_flags="-u bin -inet" - -Also, note that canna startup script now uses the rcNG mechanism, so -if you'd like to start Canna server on local system, enable it in your -/etc/rc.conf, i.e.: - - canna_enable="yes" - diff --git a/japanese/canna-server/pkg-plist b/japanese/canna-server/pkg-plist deleted file mode 100644 index df6de75d0526..000000000000 --- a/japanese/canna-server/pkg-plist +++ /dev/null @@ -1,129 +0,0 @@ -bin/addwords -bin/canlisp -bin/cannacheck -bin/cannastat -bin/catdic -bin/chkconc -bin/chmoddic -bin/cpdic -bin/crfreq -bin/crxdic -bin/crxgram -bin/cshost -bin/ctow -bin/delwords -bin/dicar -bin/dpbindic -bin/dpromdic -bin/dpxdic -bin/forcpp -bin/forsort -bin/kpdic -bin/lsdic -bin/mergeword -bin/mkbindic -bin/mkdic -bin/mkromdic -bin/mvdic -bin/rmdic -bin/splitword -bin/syncdic -bin/wtoc -etc/rc.d/canna.sh -include/canna/RK.h -include/canna/jrkanji.h -include/canna/keydef.h -include/canna/mfdef.h -include/canna/pubconf.h -include/canna/sysdep.h -share/canna/default.canna -share/canna/dic/canna/bushu.cld -share/canna/dic/canna/chimei.ctd -share/canna/dic/canna/dics.dir -share/canna/dic/canna/fuzokugo.cbd -share/canna/dic/canna/hojomwd.ctd -share/canna/dic/canna/hojoswd.ctd -share/canna/dic/canna/iroha.cbd -share/canna/dic/canna/iroha.cld -share/canna/dic/canna/kanasmpl.ctd -share/canna/dic/canna/katakana.ctd -share/canna/dic/canna/keishiki.ctd -share/canna/dic/canna/necgaiji.ctd -share/canna/dic/canna/number.ctd -share/canna/dic/canna/software.ctd -share/canna/dic/canna/suffix.ctd -share/canna/dic/default.cbp -share/canna/dic/english.cbp -share/canna/dic/jdaemon.cbp -share/canna/dic/just.cbp -share/canna/dic/kaisoku.cbp -share/canna/dic/kana.cbp -share/canna/dic/lan5.cbp -share/canna/dic/matsu.cbp -share/canna/dic/newjis.cbp -share/canna/dic/romaji.cbp -share/canna/dic/sokuon.cbp -share/canna/dic/tut.cbp -share/canna/dic/vje.cbp -share/canna/dic/wx2+.cbp -share/canna/sample/1.1.canna -share/canna/sample/1.2.canna -share/canna/sample/fixer.canna -share/canna/sample/jdemon.canna -share/canna/sample/just.canna -share/canna/sample/lan5.canna -share/canna/sample/matsu.canna -share/canna/sample/modes.canna -share/canna/sample/sample.canna -share/canna/sample/skk.canna -share/canna/sample/src/default.ctd -share/canna/sample/src/english.ctd -share/canna/sample/src/is.c -share/canna/sample/src/jdaemon.ctd -share/canna/sample/src/just.ctd -share/canna/sample/src/kaisoku.ctd -share/canna/sample/src/kana.ctd -share/canna/sample/src/lan5.ctd -share/canna/sample/src/matsu.ctd -share/canna/sample/src/newjis.ctd -share/canna/sample/src/romaji.ctd -share/canna/sample/src/sokuon.ctd -share/canna/sample/src/tut.ctd -share/canna/sample/src/vje.ctd -share/canna/sample/src/wx2+.ctd -share/canna/sample/tut.canna -share/canna/sample/unix.canna -share/canna/sample/verbose.canna -share/canna/sample/vje.canna -share/canna/sample/wx2+.canna -lib/libRKC.a -lib/libRKC.so -lib/libRKC.so.1 -lib/libRKC16.a -lib/libRKC16.so -lib/libRKC16.so.1 -lib/libcanna.a -lib/libcanna.so -lib/libcanna.so.1 -lib/libcanna16.a -lib/libcanna16.so -lib/libcanna16.so.1 -sbin/cannaserver -sbin/cannakill -@exec mkdir -p %D/share/canna/dic/user/user %D/share/canna/dic/group -@exec chown bin:bin %D/share/canna/dic/user/user %D/share/canna/dic/user %D/share/canna/dic/group -@exec chmod 775 %D/share/canna/dic/user/user %D/share/canna/dic/user %D/share/canna/dic/group -@dirrm share/canna/sample/src -@dirrm share/canna/sample -@dirrm share/canna/dic/canna -@dirrm include/canna -@dirrm lib/canna/dic/user/user -@dirrm lib/canna/dic/user -@dirrm lib/canna/dic/group -@dirrm lib/canna/dic -@dirrm lib/canna -@dirrmtry share/canna/dic/user/user -@dirrmtry share/canna/dic/user -@dirrmtry share/canna/dic/group -@dirrmtry share/canna/dic -@dirrmtry share/canna |