aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/edict-fpw
diff options
context:
space:
mode:
authortaoka <taoka@FreeBSD.org>2000-02-03 14:46:13 +0800
committertaoka <taoka@FreeBSD.org>2000-02-03 14:46:13 +0800
commit12bf27ac34eccaf7d7fa080191a6163059bcab9e (patch)
tree58c98803e3064599244f325597166f2fedd8e9b6 /japanese/edict-fpw
parenta04d1789c46f7de8e78a070aa2a32bd9e7a9cef1 (diff)
downloadfreebsd-ports-gnome-12bf27ac34eccaf7d7fa080191a6163059bcab9e.tar.gz
freebsd-ports-gnome-12bf27ac34eccaf7d7fa080191a6163059bcab9e.tar.zst
freebsd-ports-gnome-12bf27ac34eccaf7d7fa080191a6163059bcab9e.zip
A Japanese - English Dictionary (EPWING V1 format)
Diffstat (limited to 'japanese/edict-fpw')
-rw-r--r--japanese/edict-fpw/Makefile47
-rw-r--r--japanese/edict-fpw/distinfo3
-rw-r--r--japanese/edict-fpw/pkg-comment1
-rw-r--r--japanese/edict-fpw/pkg-descr12
-rw-r--r--japanese/edict-fpw/pkg-plist8
5 files changed, 71 insertions, 0 deletions
diff --git a/japanese/edict-fpw/Makefile b/japanese/edict-fpw/Makefile
new file mode 100644
index 000000000000..504beebbf17c
--- /dev/null
+++ b/japanese/edict-fpw/Makefile
@@ -0,0 +1,47 @@
+# New ports collection makefile for: EDICT - JIS X 4081 format version
+# Version required: 1.1
+# Date created: 00/01/14
+# Whom: Satoshi Taoka <taoka@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+DISTNAME= edict-fpw1.1-src
+PKGNAME= ja-edict-fpw-1.1
+CATEGORIES= japanese
+MASTER_SITES= ftp://ftp.sra.co.jp/pub/misc/freepwing/fpwbooks/edict/ \
+ 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= edict-fpw1.1-src.tar.gz edict.gz edict.doc
+
+MAINTAINER= taoka@FreeBSD.org
+
+BUILD_DEPENDS= fpwmake:${PORTSDIR}/japanese/freepwing \
+ catdump:${PORTSDIR}/japanese/epwutil
+
+WRKSRC= ${WRKDIR}/edict-fpw1.1
+EXTRACT_ONLY= edict-fpw1.1-src.tar.gz
+
+post-extract:
+ ${MKDIR} ${WRKSRC}/source
+ ${CP} -f ${DISTDIR}/edict.gz ${WRKSRC}/source
+ ${CP} -f ${DISTDIR}/edict.doc ${WRKSRC}/source
+ ${GZIP_CMD} -d ${WRKSRC}/source/edict.gz
+
+do-build:
+ cd ${WRKSRC}; fpwmake > /dev/null; \
+ fpwmake catalogs
+
+do-install:
+ ${MKDIR} ${PREFIX}/share/dict/edict-fpw/edict/data
+ ${INSTALL_DATA} ${WRKSRC}/honmon ${PREFIX}/share/dict/edict-fpw/edict/data
+ ${INSTALL_DATA} ${WRKSRC}/catalogs ${PREFIX}/share/dict/edict-fpw
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/edict-fpw
+ ${INSTALL_DATA} ${WRKSRC}/source/edict.doc ${PREFIX}/share/doc/edict-fpw
+ ${INSTALL_DATA} ${WRKSRC}/README.pkg ${PREFIX}/share/doc/edict-fpw
+.endif
+
+.include <bsd.port.mk>
diff --git a/japanese/edict-fpw/distinfo b/japanese/edict-fpw/distinfo
new file mode 100644
index 000000000000..7cc0c5bf9055
--- /dev/null
+++ b/japanese/edict-fpw/distinfo
@@ -0,0 +1,3 @@
+MD5 (edict-fpw1.1-src.tar.gz) = a5c71416967bce713c58e1362eca1ed3
+MD5 (edict.gz) = 3297eeaaa57d946fe23d68b0d2fd8449
+MD5 (edict.doc) = f00fd2c2aaf116f3fcc241eb264377eb
diff --git a/japanese/edict-fpw/pkg-comment b/japanese/edict-fpw/pkg-comment
new file mode 100644
index 000000000000..727770b839f5
--- /dev/null
+++ b/japanese/edict-fpw/pkg-comment
@@ -0,0 +1 @@
+A Japanese - English Dictionary (JIS X 4081 format)
diff --git a/japanese/edict-fpw/pkg-descr b/japanese/edict-fpw/pkg-descr
new file mode 100644
index 000000000000..526a2f39af93
--- /dev/null
+++ b/japanese/edict-fpw/pkg-descr
@@ -0,0 +1,12 @@
+EDICT is a Japanese - English Dictionary by Mr. J.W. Breen. This is a
+dictionary converted from the original into JIS X 4081 format (that is
+a subset of EPWING V1) by FreePWING. So it can be used by EPWING
+viewer on Unix and the other OS (e.g. Windows or MacOS).
+URL for this converted dictionary is
+
+WWW: http://www.sra.co.jp/people/m-kasahr/freepwing/books.html
+
+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-fpw/pkg-plist b/japanese/edict-fpw/pkg-plist
new file mode 100644
index 000000000000..561f7b859b1f
--- /dev/null
+++ b/japanese/edict-fpw/pkg-plist
@@ -0,0 +1,8 @@
+share/dict/edict-fpw/edict/data/honmon
+share/dict/edict-fpw/catalogs
+share/doc/edict-fpw/edict.doc
+share/doc/edict-fpw/README.pkg
+@dirrm share/dict/edict-fpw/edict/data
+@dirrm share/dict/edict-fpw/edict
+@dirrm share/dict/edict-fpw
+@dirrm share/doc/edict-fpw