aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortaoka <taoka@FreeBSD.org>2000-01-25 21:02:37 +0800
committertaoka <taoka@FreeBSD.org>2000-01-25 21:02:37 +0800
commit1c7b5206ead0a9ae526c719f9e2b40cd22207e8d (patch)
treee32715268a07eb49b48cebdd45f8e016df2e1d59
parent467eaefcc6be74b6b71870e4b5d3ec356c9d8eba (diff)
downloadfreebsd-ports-graphics-1c7b5206ead0a9ae526c719f9e2b40cd22207e8d.tar.gz
freebsd-ports-graphics-1c7b5206ead0a9ae526c719f9e2b40cd22207e8d.tar.zst
freebsd-ports-graphics-1c7b5206ead0a9ae526c719f9e2b40cd22207e8d.zip
EDICT is a Japanese - English Dictionary
This port's EDICT is SDIC format
-rw-r--r--japanese/edict-sdic/Makefile41
-rw-r--r--japanese/edict-sdic/distinfo3
-rw-r--r--japanese/edict-sdic/pkg-comment1
-rw-r--r--japanese/edict-sdic/pkg-descr10
-rw-r--r--japanese/edict-sdic/pkg-plist4
5 files changed, 59 insertions, 0 deletions
diff --git a/japanese/edict-sdic/Makefile b/japanese/edict-sdic/Makefile
new file mode 100644
index 00000000000..73bad14b2e8
--- /dev/null
+++ b/japanese/edict-sdic/Makefile
@@ -0,0 +1,41 @@
+# New ports collection makefile for: EDICT - SDICT format version
+# Version required: 19981007
+# Date created: 00/01/14
+# Whom: Satoshi Taoka <taoka@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+DISTNAME= edict-19981007
+PKGNAME= ja-edict-sdic-19981007
+CATEGORIES= japanese
+MASTER_SITES= ftp://pine.kuee.kyoto-u.ac.jp/pub/tsuchiya/sdic/ \
+ ftp://ftp.cc.monash.edu.au/pub/nihongo/ \
+ ftp://ftp.cdrom.com/pub/japanese/monash/ \
+ ftp://ftp.sedl.org/pub/mirrors/nihongo/ \
+ ftp://ftp.u-aizu.ac.jp/pub/SciEng/nihongo/ftp.cc.monash.edu.au/
+DISTFILES= sdic-2.1.2.tar.gz edict/edict.gz edict/edict.doc
+
+MAINTAINER= taoka@FreeBSD.org
+
+WRKSRC= ${WRKDIR}/sdic-2.1.2
+EXTRACT_ONLY= sdic-2.1.2.tar.gz
+ALL_TARGET= jedict.sdic eedict.sdic
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-emacs=mule \
+ --with-lispdir=${PREFIX}/share/emacs/site-lisp \
+ --with-dictdir=${PREFIX}/share/dict
+post-extract:
+ ${CP} -f ${DISTDIR}/edict/edict.gz ${WRKSRC}
+ ${CP} -f ${DISTDIR}/edict/edict.doc ${WRKSRC}
+ ${GZIP_CMD} -d ${WRKSRC}/edict.gz
+
+do-install:
+ ${MKDIR} ${PREFIX}/share/dict
+ ${INSTALL_DATA} ${WRKSRC}/*.sdic ${PREFIX}/share/dict
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/edict
+ ${INSTALL_DATA} ${WRKSRC}/*.doc ${PREFIX}/share/doc/edict
+.endif
+
+.include <bsd.port.mk>
diff --git a/japanese/edict-sdic/distinfo b/japanese/edict-sdic/distinfo
new file mode 100644
index 00000000000..3159bfdd404
--- /dev/null
+++ b/japanese/edict-sdic/distinfo
@@ -0,0 +1,3 @@
+MD5 (sdic-2.1.2.tar.gz) = 7b8aca26fbebb069fea59481a12b5c72
+MD5 (edict/edict.gz) = 3297eeaaa57d946fe23d68b0d2fd8449
+MD5 (edict/edict.doc) = f00fd2c2aaf116f3fcc241eb264377eb
diff --git a/japanese/edict-sdic/pkg-comment b/japanese/edict-sdic/pkg-comment
new file mode 100644
index 00000000000..6aec9736e1d
--- /dev/null
+++ b/japanese/edict-sdic/pkg-comment
@@ -0,0 +1 @@
+a Japanese - English Dictionary (SDIC format)
diff --git a/japanese/edict-sdic/pkg-descr b/japanese/edict-sdic/pkg-descr
new file mode 100644
index 00000000000..9b8a1dc07be
--- /dev/null
+++ b/japanese/edict-sdic/pkg-descr
@@ -0,0 +1,10 @@
+EDICT is a Japanese - English Dictionary by Mr. J.W. Breen.
+This port have two dictionaries jedict.sdic and edict.sdic which are
+ones converted from the original into SDIC format. URL for SDIC is
+
+WWW: http://www-nagao.kuee.kyoto-u.ac.jp/member/tsuchiya/sdic/
+
+and URL for EDICT is
+
+ ftp://ftp.cc.monash.edu.au/pub/nihongo/00INDEX.html
+ ftp://ftp.cc.monash.edu.au/pub/nihongo/
diff --git a/japanese/edict-sdic/pkg-plist b/japanese/edict-sdic/pkg-plist
new file mode 100644
index 00000000000..0fb820381c4
--- /dev/null
+++ b/japanese/edict-sdic/pkg-plist
@@ -0,0 +1,4 @@
+share/dict/jedict.sdic
+share/dict/eedict.sdic
+share/doc/edict/edict.doc
+@dirrm share/doc/edict