aboutsummaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2004-10-23 10:44:46 +0000
committerClement Laforet <clement@FreeBSD.org>2004-10-23 10:44:46 +0000
commit94664b4887a7d7be132d015904f26ec53f16715b (patch)
tree7398b216bb1dd67aae773e4c1a8c9366ca2b2299 /japanese
parentc1abdc7007a6293d9ca69a0d3cf2b7fa409569e8 (diff)
downloadports-94664b4887a7d7be132d015904f26ec53f16715b.tar.gz
ports-94664b4887a7d7be132d015904f26ec53f16715b.zip
Notes
Diffstat (limited to 'japanese')
-rw-r--r--japanese/Makefile1
-rw-r--r--japanese/edict-sdic/Makefile49
-rw-r--r--japanese/edict-sdic/distinfo3
-rw-r--r--japanese/edict-sdic/pkg-descr10
-rw-r--r--japanese/edict-sdic/pkg-plist4
5 files changed, 67 insertions, 0 deletions
diff --git a/japanese/Makefile b/japanese/Makefile
index 12f85744c28b..b9a93f3c833f 100644
--- a/japanese/Makefile
+++ b/japanese/Makefile
@@ -57,6 +57,7 @@
SUBDIR += ebw3
SUBDIR += edict
SUBDIR += edict-fpw
+ SUBDIR += edict-sdic
SUBDIR += edict-utf-8
SUBDIR += eijiro-fpw
SUBDIR += elisa10x8
diff --git a/japanese/edict-sdic/Makefile b/japanese/edict-sdic/Makefile
new file mode 100644
index 000000000000..dd7c6d8f60fb
--- /dev/null
+++ b/japanese/edict-sdic/Makefile
@@ -0,0 +1,49 @@
+# New ports collection makefile for: EDICT - SDICT format version
+# Date created: 00/01/14
+# Whom: Satoshi Taoka <taoka@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= edict-sdic
+PORTVERSION= 20010615
+CATEGORIES= japanese
+MASTER_SITES= http://www.namazu.org/~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/
+DISTNAME= sdic-2.1.3
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
+ edict.gz \
+ edict_doc.txt
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
+
+MAINTAINER= taoka@FreeBSD.org
+COMMENT= Japanese <-> English Dictionary (SDIC format)
+
+BROKEN= "Checksum mismatch"
+EXPIRATION_DATE=2004-08-20
+DEPRECATED= ${BROKEN}
+
+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
+USE_PERL5= yes
+
+post-extract:
+ ${CP} -f ${DISTDIR}/edict.gz ${WRKSRC}
+ ${CP} -f ${DISTDIR}/edict_doc.txt ${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}/edict_doc.txt ${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 000000000000..a235d4c7d439
--- /dev/null
+++ b/japanese/edict-sdic/distinfo
@@ -0,0 +1,3 @@
+MD5 (sdic-2.1.3.tar.gz) = ba239256366fcb3a61ac067f57cc8c51
+MD5 (edict.gz) = d38f7509b2050146a084a5196ae33859
+MD5 (edict_doc.txt) = 8e36726a6b36bef13793e42b786acd95
diff --git a/japanese/edict-sdic/pkg-descr b/japanese/edict-sdic/pkg-descr
new file mode 100644
index 000000000000..9b8a1dc07be2
--- /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 000000000000..36c1abb1bc45
--- /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.txt
+@dirrm share/doc/edict