aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--japanese/Makefile1
-rw-r--r--japanese/foldoc-fpw/Makefile32
-rw-r--r--japanese/foldoc-fpw/distinfo1
-rw-r--r--japanese/foldoc-fpw/pkg-comment1
-rw-r--r--japanese/foldoc-fpw/pkg-descr7
-rw-r--r--japanese/foldoc-fpw/pkg-plist9
6 files changed, 51 insertions, 0 deletions
diff --git a/japanese/Makefile b/japanese/Makefile
index 4bdc49857c49..caddb133ee21 100644
--- a/japanese/Makefile
+++ b/japanese/Makefile
@@ -71,6 +71,7 @@
SUBDIR += exmh2
SUBDIR += expect
SUBDIR += flower-fpw
+ SUBDIR += foldoc-fpw
SUBDIR += freepwing
SUBDIR += fumeikai-fpw
SUBDIR += gal
diff --git a/japanese/foldoc-fpw/Makefile b/japanese/foldoc-fpw/Makefile
new file mode 100644
index 000000000000..d58dbe7ab93d
--- /dev/null
+++ b/japanese/foldoc-fpw/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: foldoc - JIS X 4081 format version
+# Date created: 01/08/23
+# Whom: Satoshi Taoka <taoka@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= foldoc-fpw
+PORTVERSION= 1.0.1
+CATEGORIES= japanese
+MASTER_SITES= http://openlab.ring.gr.jp/edict/fpw/dist/foldoc/
+DISTNAME= ${PORTNAME}${PORTVERSION}
+
+MAINTAINER= taoka@FreeBSD.org
+
+USE_ZIP= yes
+NO_BUILD= yes
+WRKSRC= ${WRKDIR}/foldoc
+EXTRACT_BEFORE_ARGS= -qL
+
+do-install:
+ ${MKDIR} ${PREFIX}/share/dict/foldoc-fpw/foldoc/data
+ ${MKDIR} ${PREFIX}/share/dict/foldoc-fpw/foldoc/gaiji
+ ${INSTALL_DATA} ${WRKSRC}/foldoc/data/honmon ${PREFIX}/share/dict/foldoc-fpw/foldoc/data
+ ${INSTALL_DATA} ${WRKSRC}/foldoc/gaiji/gai16h ${PREFIX}/share/dict/foldoc-fpw/foldoc/gaiji
+ ${INSTALL_DATA} ${WRKSRC}/catalogs ${PREFIX}/share/dict/foldoc-fpw
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/foldoc-fpw
+ ${INSTALL_DATA} ${WRKSRC}/readme.txt ${PREFIX}/share/doc/foldoc-fpw
+.endif
+
+.include <bsd.port.mk>
diff --git a/japanese/foldoc-fpw/distinfo b/japanese/foldoc-fpw/distinfo
new file mode 100644
index 000000000000..1ecb03791254
--- /dev/null
+++ b/japanese/foldoc-fpw/distinfo
@@ -0,0 +1 @@
+MD5 (foldoc-fpw1.0.1.zip) = 70dc9d3ea7d8fa45152b234cf99d01c2
diff --git a/japanese/foldoc-fpw/pkg-comment b/japanese/foldoc-fpw/pkg-comment
new file mode 100644
index 000000000000..0d75a1353a40
--- /dev/null
+++ b/japanese/foldoc-fpw/pkg-comment
@@ -0,0 +1 @@
+The Free On-line Dictionary of Computing (EPWING V1 format)
diff --git a/japanese/foldoc-fpw/pkg-descr b/japanese/foldoc-fpw/pkg-descr
new file mode 100644
index 000000000000..a2b744086c0d
--- /dev/null
+++ b/japanese/foldoc-fpw/pkg-descr
@@ -0,0 +1,7 @@
+This is converted from The Free On-line Dictionary of Computing
+(http://www.foldoc.org/) 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://openlab.ring.gr.jp/edict/fpw/
diff --git a/japanese/foldoc-fpw/pkg-plist b/japanese/foldoc-fpw/pkg-plist
new file mode 100644
index 000000000000..c1688fa8ac9e
--- /dev/null
+++ b/japanese/foldoc-fpw/pkg-plist
@@ -0,0 +1,9 @@
+share/dict/foldoc-fpw/catalogs
+share/dict/foldoc-fpw/foldoc/data/honmon
+share/dict/foldoc-fpw/foldoc/gaiji/gai16h
+@dirrm share/dict/foldoc-fpw/foldoc/data
+@dirrm share/dict/foldoc-fpw/foldoc/gaiji
+@dirrm share/dict/foldoc-fpw/foldoc
+@dirrm share/dict/foldoc-fpw
+share/doc/foldoc-fpw/readme.txt
+@dirrm share/doc/foldoc-fpw