A Japanese - English Dictionary (EPWING V1 format)
This commit is contained in:
parent
13ff19fa00
commit
9bdc4a7854
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=25448
47
japanese/edict-fpw/Makefile
Normal file
47
japanese/edict-fpw/Makefile
Normal file
@ -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>
|
3
japanese/edict-fpw/distinfo
Normal file
3
japanese/edict-fpw/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (edict-fpw1.1-src.tar.gz) = a5c71416967bce713c58e1362eca1ed3
|
||||
MD5 (edict.gz) = 3297eeaaa57d946fe23d68b0d2fd8449
|
||||
MD5 (edict.doc) = f00fd2c2aaf116f3fcc241eb264377eb
|
1
japanese/edict-fpw/pkg-comment
Normal file
1
japanese/edict-fpw/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A Japanese - English Dictionary (JIS X 4081 format)
|
12
japanese/edict-fpw/pkg-descr
Normal file
12
japanese/edict-fpw/pkg-descr
Normal file
@ -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/
|
8
japanese/edict-fpw/pkg-plist
Normal file
8
japanese/edict-fpw/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user