1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Japanse-English dictionaries with access and maintenance utilities.

PR:		ports/4643
Submitted by:	Jonathan Hanna <jhanna@imtcomsys.bc.ca>
This commit is contained in:
Jun Kuriyama 1998-05-30 01:36:05 +00:00
parent b72c90e53c
commit 66e775eeb7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=11190
14 changed files with 668 additions and 0 deletions

View File

@ -0,0 +1,192 @@
# New ports collection makefile for: edict
# Version required: 19980409
# Date created: 18 August 1997
# Whom: Jonathan Hanna
#
# $Id$
#
DISTNAME= edict-19980409
PKGNAME= ja-edict-19980409
CATEGORIES= japanese
MASTER_SITES= ftp://ftp.cc.monash.edu.au/pub/nihongo/
MASTER_SITES+= ftp://enterprise.ic.gc.ca/pub/nihongo/
MASTER_SITES+= ftp://ftp.cdrom.com/pub/japanese/monash/
MASTER_SITES+= ftp://kuso.shef.ac.uk/pub/japanese/monash/
MASTER_SITES+= ftp://ftp.uwtc.washington.edu/pub/Japanese/Monash/
EXTRACT_SUFX=
DISTFILES= ${DICTFILES} ${SRCFILES} ${DOCFILES}
MAINTAINER= jhanna@rogers.wave.ca
BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
DIST_SUBDIR= edict
DOCFILES= edict.doc
DOCFILES+= edicth.doc
DOCFILES+= enamdict.doc
DOCFILES+= compdic.doc
DOCFILES+= jddict.doc
DOCFILES+= kanjidic.doc
DOCFILES+= lifscdic.doc
DOCFILES+= lawgldoc.new
DOCFILES+= geodic.doc
DOCFILES+= aviation.doc
DOCFILES+= findic.doc
DOCFILES+= mktdic.doc
DOCFILES+= compverb.doc
DOCFILES+= 4jwords.doc
DICTFILES= edict.gz
DICTFILES+= edicth
DICTFILES+= enamdict.gz
DICTFILES+= compdic.gz
DICTFILES+= jddict.v02.gz
DICTFILES+= lifscdic.Z
DICTFILES+= kanjidic.gz
DICTFILES+= lawgledt.zip
DICTFILES+= geodic.gz
DICTFILES+= pandpdic.zip
DICTFILES+= aviation.zip
DICTFILES+= findic.zip
DICTFILES+= mktdic.zip
DICTFILES+= compverb.gz
DICTFILES+= 4jwords.gz
SRCFILES= xjdic22.tar.gz
DOCFILES= edict.doc
DOCFILES+= edicth.doc
DOCFILES+= enamdict.doc
DOCFILES+= compdic.doc
DOCFILES+= jddict.doc
DOCFILES+= kanjidic.doc
DOCFILES+= lifscdic.doc
DOCFILES+= lawgldoc.new
DOCFILES+= geodic.doc
DOCFILES+= aviation.doc
DOCFILES+= findic.doc
DOCFILES+= mktdic.doc
DOCFILES+= compverb.doc
DOCFILES+= 4jwords.doc
#
# These change too often and are not made into executables.
#
IGNOREFILES= $(DICTFILES) $(DOCFILES)
BINFILES= exjdxgen
BINFILES+= xjdic22cl
BINFILES+= xjdic22sa
BINFILES+= xjdserver22
BINFILES+= xjdxgen
# Where to install the data files
DATADIR= ${PREFIX}/share/dict/edict
DOCDIR= ${PREFIX}/share/doc/xjdic
NO_WRKSUBDIR=
do-extract:
.if !defined(NO_WRKDIR)
@${RM} -rf ${WRKDIR}
@${MKDIR} ${WRKDIR}
.endif
@for file in ${SRCFILES}; do \
if ! (cd ${WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/$$file ${EXTRACT_AFTER_ARGS});\
then \
exit 1; \
fi \
done
do-install:
@for file in ${BINFILES}; do \
if ! ${INSTALL_PROGRAM} ${WRKDIR}/$$file ${PREFIX}/bin ;\
then \
exit 1; \
fi \
done
@if [ ! -d ${DATADIR} ] ; \
then \
${MKDIR} ${DATADIR} ; \
fi
@for file in ${DICTFILES}; do \
case $$file in \
*.gz) \
instfile=`basename $$file .gz` ; \
if ${GZIP_CMD} -cd ${_DISTDIR}/$$file > ${DATADIR}/$$instfile ; \
then \
true ; \
else \
exit 1; \
fi \
;; \
*.Z) \
instfile=`basename $$file .Z` ; \
if ${GZIP_CMD} -cd ${_DISTDIR}/$$file > ${DATADIR}/$$instfile ; \
then \
true ; \
else \
exit 1; \
fi \
;; \
*.zip) \
instfile=`basename $$file .zip` ; \
if unzip -o ${_DISTDIR}/$$file $$instfile -d ${DATADIR} ; \
then \
true ; \
else \
exit 1; \
fi \
;; \
*) \
instfile=`basename $$file` ; \
${CP} ${_DISTDIR}/$$file ${DATADIR} ; \
;; \
esac ; \
( \
${ECHO} cd ${DATADIR} ; \
cd ${DATADIR} ; \
${ECHO} ${PREFIX}/bin/xjdxgen $$instfile ; \
${PREFIX}/bin/xjdxgen $$instfile ; \
chown ${SHAREOWN}.${SHAREGRP} $$instfile $$instfile.xjdx; \
chmod ${SHAREMODE} $$instfile $$instfile.xjdx ; \
) ; \
done
${RM} -f ${PREFIX}/bin/xjdic
ln -s ${PREFIX}/bin/xjdic22sa ${PREFIX}/bin/xjdic
${INSTALL_DATA} ${WRKDIR}/radicals.tm ${DATADIR} ;
${INSTALL_DATA} ${WRKDIR}/radkfile ${DATADIR} ;
${INSTALL_DATA} ${WRKDIR}/kanjstroke ${DATADIR} ;
${INSTALL_DATA} ${WRKDIR}/romkana.cnv ${DATADIR} ;
${INSTALL_DATA} ${WRKDIR}/vconj ${DATADIR} ;
#
# Only 9 dictionaries can be enabled
#
@${ECHO} dicfile ${DATADIR}/edict > ${DATADIR}/.xjdicrc
@${ECHO} dicfile ${DATADIR}/enamdict >> ${DATADIR}/.xjdicrc
@${ECHO} dicfile ${DATADIR}/compdic >> ${DATADIR}/.xjdicrc
@${ECHO} dicfile ${DATADIR}/lifscdic >> ${DATADIR}/.xjdicrc
# @${ECHO} dicfile ${DATADIR}/jddict.v02 >> ${DATADIR}/.xjdicrc
# @${ECHO} dicfile ${DATADIR}/lawgledt >> ${DATADIR}/.xjdicrc
@${ECHO} dicfile ${DATADIR}/geodic >> ${DATADIR}/.xjdicrc
@${ECHO} dicfile ${DATADIR}/pandpdic >> ${DATADIR}/.xjdicrc
@${ECHO} dicfile ${DATADIR}/aviation >> ${DATADIR}/.xjdicrc
# @${ECHO} dicfile ${DATADIR}/findic >> ${DATADIR}/.xjdicrc
# @${ECHO} dicfile ${DATADIR}/mktdic >> ${DATADIR}/.xjdicrc
@${ECHO} dicfile ${DATADIR}/compverb >> ${DATADIR}/.xjdicrc
@${ECHO} dicfile ${DATADIR}/4jwords >> ${DATADIR}/.xjdicrc
@chown ${SHAREOWN}.${SHAREGRP} ${DATADIR}/.xjdicrc
@chmod ${SHAREMODE} ${DATADIR}/.xjdicrc
@if [ ! -d ${DOCDIR} ] ; \
then \
${MKDIR} ${DOCDIR} ; \
fi
${INSTALL_MAN} ${WRKSRC}/xjdic22.doc ${DOCDIR}
@for docfile in ${DOCFILES} ; do \
${ECHO} Installing ${DOCDIR}/$$docfile ; \
${INSTALL_MAN} ${_DISTDIR}/$$docfile ${DOCDIR} ; \
done
.include <bsd.port.mk>

View File

@ -0,0 +1,30 @@
MD5 (edict/xjdic22.tar.gz) = 2aae116525cde38d4bb2b2cac6c20483
MD5 (edict/edict.gz) = IGNORE
MD5 (edict/edicth) = IGNORE
MD5 (edict/enamdict.gz) = IGNORE
MD5 (edict/compdic.gz) = IGNORE
MD5 (edict/jddict.v02.gz) = IGNORE
MD5 (edict/lifscdic.Z) = IGNORE
MD5 (edict/kanjidic.gz) = IGNORE
MD5 (edict/lawgledt.zip) = IGNORE
MD5 (edict/geodic.gz) = IGNORE
MD5 (edict/pandpdic.zip) = IGNORE
MD5 (edict/aviation.zip) = IGNORE
MD5 (edict/findic.zip) = IGNORE
MD5 (edict/mktdic.zip) = IGNORE
MD5 (edict/compverb.gz) = IGNORE
MD5 (edict/4jwords.gz) = IGNORE
MD5 (edict/edict.doc) = IGNORE
MD5 (edict/edicth.doc) = IGNORE
MD5 (edict/enamdict.doc) = IGNORE
MD5 (edict/compdic.doc) = IGNORE
MD5 (edict/jddict.doc) = IGNORE
MD5 (edict/kanjidic.doc) = IGNORE
MD5 (edict/lifscdic.doc) = IGNORE
MD5 (edict/lawgldoc.new) = IGNORE
MD5 (edict/geodic.doc) = IGNORE
MD5 (edict/aviation.doc) = IGNORE
MD5 (edict/findic.doc) = IGNORE
MD5 (edict/mktdic.doc) = IGNORE
MD5 (edict/compverb.doc) = IGNORE
MD5 (edict/4jwords.doc) = IGNORE

View File

@ -0,0 +1,20 @@
--- Makefile.orig Sun Aug 17 22:45:50 1997
+++ Makefile Sun Aug 17 22:47:02 1997
@@ -48,7 +48,7 @@
# S T A N D _ A L O N E
#
SAOBJECTS = xjdsa.o xjdcomm_sa.o xjdservcomm_sa.o xjdfrontend_sa.o
-SACFLAGS = -DXJDFRONTEND -DXJDDIC -DDEMAND_PAGING
+SACFLAGS = -DXJDFRONTEND -DXJDDIC -DDEMAND_PAGING -D__STRICT_BSD__
xjdic22sa: $(SAOBJECTS)
$(CC) $(SAOBJECTS) -o xjdic22sa
xjdsa.o: xjdsa.c
@@ -64,7 +64,7 @@
# C L I E N T
#
CLOBJECTS = xjdclient.o xjdcomm_cl.o xjdfrontend_cl.o
-CLCFLAGS = -DXJDFRONTEND -DXJDCLSERV
+CLCFLAGS = -DXJDFRONTEND -DXJDCLSERV -D__STRICT_BSD__
xjdic22cl: $(CLOBJECTS)
$(CC) $(CLOBJECTS) -o xjdic22cl
xjdclient.o: xjdclient.c

View File

@ -0,0 +1,10 @@
--- xjdclient.c.orig Sun Aug 17 22:48:25 1997
+++ xjdclient.c Sun Aug 17 22:48:39 1997
@@ -33,7 +33,6 @@
#include "xjdic.h"
extern int errno;
-extern char *sys_errlist[];
unsigned char host[51] = {"localhost"};
unsigned char yn[2];
unsigned int portno = XJ_PORTNO;

View File

@ -0,0 +1 @@
Japanse-English dictionaries with access and maintenance utilities.

View File

@ -0,0 +1,22 @@
XJDIC V2.2, XJDSERVER V2.2 -- (Copyright: J.W. Breen - 1996)
XJDIC is an electronic Japanese-English dictionary program designed to
operate in the X11 window environment. In particular, it must run in an
"xterm" environment which has Japanese language support such as provided by
"kterm" or internationalized xterm, aixterm, etc.
It is based on JDIC and JREADER which were developed to run under MS-DOS on
IBM PCs or clones.
XJDIC functions as:
(a) an English to Japanese dictionary (eiwa jiten), searching for and
displaying entries for key-words entered in English;
(b) a Japanese to English dictionary (waei jiten), searching for and
displaying entries for keywords or phrases entered in Japanese (kanji,
hiragana or katakana);
(c) a Japanese-English Character dictionary (kanei jiten), capable of
selecting kanji characters by JIS code, radical, stroke count, Nelson Index
number or reading, and displaying compounds containing that kanji.

View File

@ -0,0 +1,59 @@
bin/exjdxgen
bin/xjdic
bin/xjdic22sa
bin/xjdic22cl
bin/xjdserver22
bin/xjdxgen
share/dict/edict/4jwords
share/dict/edict/4jwords.xjdx
share/dict/edict/aviation
share/dict/edict/aviation.xjdx
share/dict/edict/compdic
share/dict/edict/compdic.xjdx
share/dict/edict/compverb
share/dict/edict/compverb.xjdx
share/dict/edict/edict
share/dict/edict/edict.xjdx
share/dict/edict/edicth
share/dict/edict/edicth.xjdx
share/dict/edict/enamdict
share/dict/edict/enamdict.xjdx
share/dict/edict/findic
share/dict/edict/findic.xjdx
share/dict/edict/geodic
share/dict/edict/geodic.xjdx
share/dict/edict/jddict.v02
share/dict/edict/jddict.v02.xjdx
share/dict/edict/kanjidic
share/dict/edict/kanjidic.xjdx
share/dict/edict/lawgledt
share/dict/edict/lawgledt.xjdx
share/dict/edict/lifscdic
share/dict/edict/lifscdic.xjdx
share/dict/edict/mktdic
share/dict/edict/mktdic.xjdx
share/dict/edict/pandpdic
share/dict/edict/pandpdic.xjdx
share/dict/edict/radicals.tm
share/dict/edict/radkfile
share/dict/edict/kanjstroke
share/dict/edict/romkana.cnv
share/dict/edict/vconj
share/dict/edict/.xjdicrc
@dirrm share/dict/edict
share/doc/xjdic/4jwords.doc
share/doc/xjdic/aviation.doc
share/doc/xjdic/compdic.doc
share/doc/xjdic/compverb.doc
share/doc/xjdic/edict.doc
share/doc/xjdic/edicth.doc
share/doc/xjdic/enamdict.doc
share/doc/xjdic/findic.doc
share/doc/xjdic/geodic.doc
share/doc/xjdic/jddict.doc
share/doc/xjdic/kanjidic.doc
share/doc/xjdic/lawgldoc.new
share/doc/xjdic/lifscdic.doc
share/doc/xjdic/mktdic.doc
share/doc/xjdic/xjdic22.doc
@dirrm share/doc/xjdic

192
japanese/edict/Makefile Normal file
View File

@ -0,0 +1,192 @@
# New ports collection makefile for: edict
# Version required: 19980409
# Date created: 18 August 1997
# Whom: Jonathan Hanna
#
# $Id$
#
DISTNAME= edict-19980409
PKGNAME= ja-edict-19980409
CATEGORIES= japanese
MASTER_SITES= ftp://ftp.cc.monash.edu.au/pub/nihongo/
MASTER_SITES+= ftp://enterprise.ic.gc.ca/pub/nihongo/
MASTER_SITES+= ftp://ftp.cdrom.com/pub/japanese/monash/
MASTER_SITES+= ftp://kuso.shef.ac.uk/pub/japanese/monash/
MASTER_SITES+= ftp://ftp.uwtc.washington.edu/pub/Japanese/Monash/
EXTRACT_SUFX=
DISTFILES= ${DICTFILES} ${SRCFILES} ${DOCFILES}
MAINTAINER= jhanna@rogers.wave.ca
BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
DIST_SUBDIR= edict
DOCFILES= edict.doc
DOCFILES+= edicth.doc
DOCFILES+= enamdict.doc
DOCFILES+= compdic.doc
DOCFILES+= jddict.doc
DOCFILES+= kanjidic.doc
DOCFILES+= lifscdic.doc
DOCFILES+= lawgldoc.new
DOCFILES+= geodic.doc
DOCFILES+= aviation.doc
DOCFILES+= findic.doc
DOCFILES+= mktdic.doc
DOCFILES+= compverb.doc
DOCFILES+= 4jwords.doc
DICTFILES= edict.gz
DICTFILES+= edicth
DICTFILES+= enamdict.gz
DICTFILES+= compdic.gz
DICTFILES+= jddict.v02.gz
DICTFILES+= lifscdic.Z
DICTFILES+= kanjidic.gz
DICTFILES+= lawgledt.zip
DICTFILES+= geodic.gz
DICTFILES+= pandpdic.zip
DICTFILES+= aviation.zip
DICTFILES+= findic.zip
DICTFILES+= mktdic.zip
DICTFILES+= compverb.gz
DICTFILES+= 4jwords.gz
SRCFILES= xjdic22.tar.gz
DOCFILES= edict.doc
DOCFILES+= edicth.doc
DOCFILES+= enamdict.doc
DOCFILES+= compdic.doc
DOCFILES+= jddict.doc
DOCFILES+= kanjidic.doc
DOCFILES+= lifscdic.doc
DOCFILES+= lawgldoc.new
DOCFILES+= geodic.doc
DOCFILES+= aviation.doc
DOCFILES+= findic.doc
DOCFILES+= mktdic.doc
DOCFILES+= compverb.doc
DOCFILES+= 4jwords.doc
#
# These change too often and are not made into executables.
#
IGNOREFILES= $(DICTFILES) $(DOCFILES)
BINFILES= exjdxgen
BINFILES+= xjdic22cl
BINFILES+= xjdic22sa
BINFILES+= xjdserver22
BINFILES+= xjdxgen
# Where to install the data files
DATADIR= ${PREFIX}/share/dict/edict
DOCDIR= ${PREFIX}/share/doc/xjdic
NO_WRKSUBDIR=
do-extract:
.if !defined(NO_WRKDIR)
@${RM} -rf ${WRKDIR}
@${MKDIR} ${WRKDIR}
.endif
@for file in ${SRCFILES}; do \
if ! (cd ${WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/$$file ${EXTRACT_AFTER_ARGS});\
then \
exit 1; \
fi \
done
do-install:
@for file in ${BINFILES}; do \
if ! ${INSTALL_PROGRAM} ${WRKDIR}/$$file ${PREFIX}/bin ;\
then \
exit 1; \
fi \
done
@if [ ! -d ${DATADIR} ] ; \
then \
${MKDIR} ${DATADIR} ; \
fi
@for file in ${DICTFILES}; do \
case $$file in \
*.gz) \
instfile=`basename $$file .gz` ; \
if ${GZIP_CMD} -cd ${_DISTDIR}/$$file > ${DATADIR}/$$instfile ; \
then \
true ; \
else \
exit 1; \
fi \
;; \
*.Z) \
instfile=`basename $$file .Z` ; \
if ${GZIP_CMD} -cd ${_DISTDIR}/$$file > ${DATADIR}/$$instfile ; \
then \
true ; \
else \
exit 1; \
fi \
;; \
*.zip) \
instfile=`basename $$file .zip` ; \
if unzip -o ${_DISTDIR}/$$file $$instfile -d ${DATADIR} ; \
then \
true ; \
else \
exit 1; \
fi \
;; \
*) \
instfile=`basename $$file` ; \
${CP} ${_DISTDIR}/$$file ${DATADIR} ; \
;; \
esac ; \
( \
${ECHO} cd ${DATADIR} ; \
cd ${DATADIR} ; \
${ECHO} ${PREFIX}/bin/xjdxgen $$instfile ; \
${PREFIX}/bin/xjdxgen $$instfile ; \
chown ${SHAREOWN}.${SHAREGRP} $$instfile $$instfile.xjdx; \
chmod ${SHAREMODE} $$instfile $$instfile.xjdx ; \
) ; \
done
${RM} -f ${PREFIX}/bin/xjdic
ln -s ${PREFIX}/bin/xjdic22sa ${PREFIX}/bin/xjdic
${INSTALL_DATA} ${WRKDIR}/radicals.tm ${DATADIR} ;
${INSTALL_DATA} ${WRKDIR}/radkfile ${DATADIR} ;
${INSTALL_DATA} ${WRKDIR}/kanjstroke ${DATADIR} ;
${INSTALL_DATA} ${WRKDIR}/romkana.cnv ${DATADIR} ;
${INSTALL_DATA} ${WRKDIR}/vconj ${DATADIR} ;
#
# Only 9 dictionaries can be enabled
#
@${ECHO} dicfile ${DATADIR}/edict > ${DATADIR}/.xjdicrc
@${ECHO} dicfile ${DATADIR}/enamdict >> ${DATADIR}/.xjdicrc
@${ECHO} dicfile ${DATADIR}/compdic >> ${DATADIR}/.xjdicrc
@${ECHO} dicfile ${DATADIR}/lifscdic >> ${DATADIR}/.xjdicrc
# @${ECHO} dicfile ${DATADIR}/jddict.v02 >> ${DATADIR}/.xjdicrc
# @${ECHO} dicfile ${DATADIR}/lawgledt >> ${DATADIR}/.xjdicrc
@${ECHO} dicfile ${DATADIR}/geodic >> ${DATADIR}/.xjdicrc
@${ECHO} dicfile ${DATADIR}/pandpdic >> ${DATADIR}/.xjdicrc
@${ECHO} dicfile ${DATADIR}/aviation >> ${DATADIR}/.xjdicrc
# @${ECHO} dicfile ${DATADIR}/findic >> ${DATADIR}/.xjdicrc
# @${ECHO} dicfile ${DATADIR}/mktdic >> ${DATADIR}/.xjdicrc
@${ECHO} dicfile ${DATADIR}/compverb >> ${DATADIR}/.xjdicrc
@${ECHO} dicfile ${DATADIR}/4jwords >> ${DATADIR}/.xjdicrc
@chown ${SHAREOWN}.${SHAREGRP} ${DATADIR}/.xjdicrc
@chmod ${SHAREMODE} ${DATADIR}/.xjdicrc
@if [ ! -d ${DOCDIR} ] ; \
then \
${MKDIR} ${DOCDIR} ; \
fi
${INSTALL_MAN} ${WRKSRC}/xjdic22.doc ${DOCDIR}
@for docfile in ${DOCFILES} ; do \
${ECHO} Installing ${DOCDIR}/$$docfile ; \
${INSTALL_MAN} ${_DISTDIR}/$$docfile ${DOCDIR} ; \
done
.include <bsd.port.mk>

30
japanese/edict/distinfo Normal file
View File

@ -0,0 +1,30 @@
MD5 (edict/xjdic22.tar.gz) = 2aae116525cde38d4bb2b2cac6c20483
MD5 (edict/edict.gz) = IGNORE
MD5 (edict/edicth) = IGNORE
MD5 (edict/enamdict.gz) = IGNORE
MD5 (edict/compdic.gz) = IGNORE
MD5 (edict/jddict.v02.gz) = IGNORE
MD5 (edict/lifscdic.Z) = IGNORE
MD5 (edict/kanjidic.gz) = IGNORE
MD5 (edict/lawgledt.zip) = IGNORE
MD5 (edict/geodic.gz) = IGNORE
MD5 (edict/pandpdic.zip) = IGNORE
MD5 (edict/aviation.zip) = IGNORE
MD5 (edict/findic.zip) = IGNORE
MD5 (edict/mktdic.zip) = IGNORE
MD5 (edict/compverb.gz) = IGNORE
MD5 (edict/4jwords.gz) = IGNORE
MD5 (edict/edict.doc) = IGNORE
MD5 (edict/edicth.doc) = IGNORE
MD5 (edict/enamdict.doc) = IGNORE
MD5 (edict/compdic.doc) = IGNORE
MD5 (edict/jddict.doc) = IGNORE
MD5 (edict/kanjidic.doc) = IGNORE
MD5 (edict/lifscdic.doc) = IGNORE
MD5 (edict/lawgldoc.new) = IGNORE
MD5 (edict/geodic.doc) = IGNORE
MD5 (edict/aviation.doc) = IGNORE
MD5 (edict/findic.doc) = IGNORE
MD5 (edict/mktdic.doc) = IGNORE
MD5 (edict/compverb.doc) = IGNORE
MD5 (edict/4jwords.doc) = IGNORE

View File

@ -0,0 +1,20 @@
--- Makefile.orig Sun Aug 17 22:45:50 1997
+++ Makefile Sun Aug 17 22:47:02 1997
@@ -48,7 +48,7 @@
# S T A N D _ A L O N E
#
SAOBJECTS = xjdsa.o xjdcomm_sa.o xjdservcomm_sa.o xjdfrontend_sa.o
-SACFLAGS = -DXJDFRONTEND -DXJDDIC -DDEMAND_PAGING
+SACFLAGS = -DXJDFRONTEND -DXJDDIC -DDEMAND_PAGING -D__STRICT_BSD__
xjdic22sa: $(SAOBJECTS)
$(CC) $(SAOBJECTS) -o xjdic22sa
xjdsa.o: xjdsa.c
@@ -64,7 +64,7 @@
# C L I E N T
#
CLOBJECTS = xjdclient.o xjdcomm_cl.o xjdfrontend_cl.o
-CLCFLAGS = -DXJDFRONTEND -DXJDCLSERV
+CLCFLAGS = -DXJDFRONTEND -DXJDCLSERV -D__STRICT_BSD__
xjdic22cl: $(CLOBJECTS)
$(CC) $(CLOBJECTS) -o xjdic22cl
xjdclient.o: xjdclient.c

View File

@ -0,0 +1,10 @@
--- xjdclient.c.orig Sun Aug 17 22:48:25 1997
+++ xjdclient.c Sun Aug 17 22:48:39 1997
@@ -33,7 +33,6 @@
#include "xjdic.h"
extern int errno;
-extern char *sys_errlist[];
unsigned char host[51] = {"localhost"};
unsigned char yn[2];
unsigned int portno = XJ_PORTNO;

View File

@ -0,0 +1 @@
Japanse-English dictionaries with access and maintenance utilities.

22
japanese/edict/pkg-descr Normal file
View File

@ -0,0 +1,22 @@
XJDIC V2.2, XJDSERVER V2.2 -- (Copyright: J.W. Breen - 1996)
XJDIC is an electronic Japanese-English dictionary program designed to
operate in the X11 window environment. In particular, it must run in an
"xterm" environment which has Japanese language support such as provided by
"kterm" or internationalized xterm, aixterm, etc.
It is based on JDIC and JREADER which were developed to run under MS-DOS on
IBM PCs or clones.
XJDIC functions as:
(a) an English to Japanese dictionary (eiwa jiten), searching for and
displaying entries for key-words entered in English;
(b) a Japanese to English dictionary (waei jiten), searching for and
displaying entries for keywords or phrases entered in Japanese (kanji,
hiragana or katakana);
(c) a Japanese-English Character dictionary (kanei jiten), capable of
selecting kanji characters by JIS code, radical, stroke count, Nelson Index
number or reading, and displaying compounds containing that kanji.

59
japanese/edict/pkg-plist Normal file
View File

@ -0,0 +1,59 @@
bin/exjdxgen
bin/xjdic
bin/xjdic22sa
bin/xjdic22cl
bin/xjdserver22
bin/xjdxgen
share/dict/edict/4jwords
share/dict/edict/4jwords.xjdx
share/dict/edict/aviation
share/dict/edict/aviation.xjdx
share/dict/edict/compdic
share/dict/edict/compdic.xjdx
share/dict/edict/compverb
share/dict/edict/compverb.xjdx
share/dict/edict/edict
share/dict/edict/edict.xjdx
share/dict/edict/edicth
share/dict/edict/edicth.xjdx
share/dict/edict/enamdict
share/dict/edict/enamdict.xjdx
share/dict/edict/findic
share/dict/edict/findic.xjdx
share/dict/edict/geodic
share/dict/edict/geodic.xjdx
share/dict/edict/jddict.v02
share/dict/edict/jddict.v02.xjdx
share/dict/edict/kanjidic
share/dict/edict/kanjidic.xjdx
share/dict/edict/lawgledt
share/dict/edict/lawgledt.xjdx
share/dict/edict/lifscdic
share/dict/edict/lifscdic.xjdx
share/dict/edict/mktdic
share/dict/edict/mktdic.xjdx
share/dict/edict/pandpdic
share/dict/edict/pandpdic.xjdx
share/dict/edict/radicals.tm
share/dict/edict/radkfile
share/dict/edict/kanjstroke
share/dict/edict/romkana.cnv
share/dict/edict/vconj
share/dict/edict/.xjdicrc
@dirrm share/dict/edict
share/doc/xjdic/4jwords.doc
share/doc/xjdic/aviation.doc
share/doc/xjdic/compdic.doc
share/doc/xjdic/compverb.doc
share/doc/xjdic/edict.doc
share/doc/xjdic/edicth.doc
share/doc/xjdic/enamdict.doc
share/doc/xjdic/findic.doc
share/doc/xjdic/geodic.doc
share/doc/xjdic/jddict.doc
share/doc/xjdic/kanjidic.doc
share/doc/xjdic/lawgldoc.new
share/doc/xjdic/lifscdic.doc
share/doc/xjdic/mktdic.doc
share/doc/xjdic/xjdic22.doc
@dirrm share/doc/xjdic