aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authortaoka <taoka@FreeBSD.org>2000-06-24 02:23:04 +0800
committertaoka <taoka@FreeBSD.org>2000-06-24 02:23:04 +0800
commit4e14791b9452d44d03f7ec0167e2704823ae5a0c (patch)
tree6736eec864b1f6d4c2c522b8eda19c802a818058 /japanese
parent8ccbd6f0299f26536db3657558846f43d95f3cd0 (diff)
downloadfreebsd-ports-gnome-4e14791b9452d44d03f7ec0167e2704823ae5a0c.tar.gz
freebsd-ports-gnome-4e14791b9452d44d03f7ec0167e2704823ae5a0c.tar.zst
freebsd-ports-gnome-4e14791b9452d44d03f7ec0167e2704823ae5a0c.zip
A English - English Dictionary (EPWING V1 format)
Diffstat (limited to 'japanese')
-rw-r--r--japanese/wordnet-fpw/Makefile49
-rw-r--r--japanese/wordnet-fpw/distinfo2
-rw-r--r--japanese/wordnet-fpw/files/patch-aa11
-rw-r--r--japanese/wordnet-fpw/pkg-comment1
-rw-r--r--japanese/wordnet-fpw/pkg-descr8
-rw-r--r--japanese/wordnet-fpw/pkg-plist7
6 files changed, 78 insertions, 0 deletions
diff --git a/japanese/wordnet-fpw/Makefile b/japanese/wordnet-fpw/Makefile
new file mode 100644
index 000000000000..dba34f32c2cb
--- /dev/null
+++ b/japanese/wordnet-fpw/Makefile
@@ -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>
diff --git a/japanese/wordnet-fpw/distinfo b/japanese/wordnet-fpw/distinfo
new file mode 100644
index 000000000000..1dc5d82e630b
--- /dev/null
+++ b/japanese/wordnet-fpw/distinfo
@@ -0,0 +1,2 @@
+MD5 (wordnet-1.6-fpw1.1.2-src.tar.gz) = 3620a7e449efb5a3bba51b87810b757e
+MD5 (dict-wn-1.5-pre.tar.gz) = 1f6ae6284018044dbd9e3c5fae914f32
diff --git a/japanese/wordnet-fpw/files/patch-aa b/japanese/wordnet-fpw/files/patch-aa
new file mode 100644
index 000000000000..9ff88a4bd9ef
--- /dev/null
+++ b/japanese/wordnet-fpw/files/patch-aa
@@ -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
diff --git a/japanese/wordnet-fpw/pkg-comment b/japanese/wordnet-fpw/pkg-comment
new file mode 100644
index 000000000000..c89ae7582ae4
--- /dev/null
+++ b/japanese/wordnet-fpw/pkg-comment
@@ -0,0 +1 @@
+A English - English Dictionary (EPWING V1 format)
diff --git a/japanese/wordnet-fpw/pkg-descr b/japanese/wordnet-fpw/pkg-descr
new file mode 100644
index 000000000000..abb6670b4d28
--- /dev/null
+++ b/japanese/wordnet-fpw/pkg-descr
@@ -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
diff --git a/japanese/wordnet-fpw/pkg-plist b/japanese/wordnet-fpw/pkg-plist
new file mode 100644
index 000000000000..8687b87b4ef0
--- /dev/null
+++ b/japanese/wordnet-fpw/pkg-plist
@@ -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