aboutsummaryrefslogtreecommitdiff
path: root/japanese/edict-fpw
diff options
context:
space:
mode:
authorSatoshi Taoka <taoka@FreeBSD.org>2000-02-03 06:46:13 +0000
committerSatoshi Taoka <taoka@FreeBSD.org>2000-02-03 06:46:13 +0000
commit9bdc4a78543f5bf102c23010522a378f1ce202d0 (patch)
tree8eac080432ff1cace538721d3d347b692f713098 /japanese/edict-fpw
parent13ff19fa0003c1ba829740f87218d18b446f7267 (diff)
downloadports-9bdc4a78543f5bf102c23010522a378f1ce202d0.tar.gz
ports-9bdc4a78543f5bf102c23010522a378f1ce202d0.zip
A Japanese - English Dictionary (EPWING V1 format)
Notes
Notes: svn path=/head/; revision=25448
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