A English - English Dictionary (EPWING V1 format)
This commit is contained in:
parent
a7fdce6f5e
commit
1f431bc274
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=29824
49
japanese/wordnet-fpw/Makefile
Normal file
49
japanese/wordnet-fpw/Makefile
Normal file
@ -0,0 +1,49 @@
|
||||
# New ports collection makefile for: WordNet - JIS X 4081 format version
|
||||
# Date created: 00/06/19
|
||||
# Whom: Satoshi Taoka <taoka@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= wordnet-fpw
|
||||
PORTVERSION= ${WN_VER}.${WNFPW_VER}
|
||||
CATEGORIES= japanese
|
||||
MASTER_SITES= ftp://ftp.sra.co.jp/pub/misc/freepwing/fpwbooks/wordnet/ \
|
||||
ftp://ftp.dict.org/pub/dict/pre/
|
||||
DISTNAME= wordnet-${WN_VER}-fpw${WNFPW_VER}-src
|
||||
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
||||
dict-wn-${WN_ORG_VER}-pre.tar.gz
|
||||
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
||||
|
||||
MAINTAINER= taoka@FreeBSD.org
|
||||
|
||||
BUILD_DEPENDS= fpwmake:${PORTSDIR}/japanese/freepwing \
|
||||
catdump:${PORTSDIR}/japanese/epwutil
|
||||
|
||||
WRKSRC= ${WRKDIR}/wordnet-${WN_VER}-fpw${WNFPW_VER}
|
||||
WNFPW_VER= 1.1.2
|
||||
WN_VER= 1.6
|
||||
WN_ORG_VER= 1.5
|
||||
|
||||
post-extract:
|
||||
cd ${WRKSRC}; \
|
||||
${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \
|
||||
${_DISTDIR}/dict-wn-${WN_ORG_VER}-pre.tar.gz \
|
||||
${EXTRACT_AFTER_ARGS}; \
|
||||
${GZIP_CMD} ${EXTRACT_BEFORE_ARGS} wn.dict.dz > wn.dict
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC}; \
|
||||
fpwmake; \
|
||||
fpwmake catalogs
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${PREFIX}/share/dict/wordnet-fpw/wordnet/data
|
||||
${INSTALL_DATA} ${WRKSRC}/honmon ${PREFIX}/share/dict/wordnet-fpw/wordnet/data
|
||||
${INSTALL_DATA} ${WRKSRC}/catalogs ${PREFIX}/share/dict/wordnet-fpw
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${PREFIX}/share/doc/wordnet-fpw
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/wordnet-fpw
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
2
japanese/wordnet-fpw/distinfo
Normal file
2
japanese/wordnet-fpw/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (wordnet-1.6-fpw1.1.2-src.tar.gz) = 3620a7e449efb5a3bba51b87810b757e
|
||||
MD5 (dict-wn-1.5-pre.tar.gz) = 1f6ae6284018044dbd9e3c5fae914f32
|
11
japanese/wordnet-fpw/files/patch-aa
Normal file
11
japanese/wordnet-fpw/files/patch-aa
Normal file
@ -0,0 +1,11 @@
|
||||
--- Makefile.~1~ Sat Feb 26 10:20:56 2000
|
||||
+++ Makefile Mon Jun 19 13:10:21 2000
|
||||
@@ -14,7 +14,7 @@
|
||||
PACKAGE = wordnet-1.6-fpw1.1.2
|
||||
PACKAGEEXTRA = README.pkg=README
|
||||
ARCHIVEEXTRA = README.pkg
|
||||
-DIR = wordnet
|
||||
+DIR = wordnet-fpw
|
||||
|
||||
SRCDIR = .
|
||||
FPWPARSER = fpwwordnet
|
1
japanese/wordnet-fpw/pkg-comment
Normal file
1
japanese/wordnet-fpw/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A English - English Dictionary (EPWING V1 format)
|
8
japanese/wordnet-fpw/pkg-descr
Normal file
8
japanese/wordnet-fpw/pkg-descr
Normal file
@ -0,0 +1,8 @@
|
||||
WordNet (r) is a lexical database for english from the Cognitive
|
||||
Science Laboratory at Princeton University. This is a dictionary
|
||||
converted from the original one 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
|
7
japanese/wordnet-fpw/pkg-plist
Normal file
7
japanese/wordnet-fpw/pkg-plist
Normal file
@ -0,0 +1,7 @@
|
||||
share/dict/wordnet-fpw/wordnet/data/honmon
|
||||
share/dict/wordnet-fpw/catalogs
|
||||
share/doc/wordnet-fpw/README
|
||||
@dirrm share/dict/wordnet-fpw/wordnet/data
|
||||
@dirrm share/dict/wordnet-fpw/wordnet
|
||||
@dirrm share/dict/wordnet-fpw
|
||||
@dirrm share/doc/wordnet-fpw
|
Loading…
Reference in New Issue
Block a user