aboutsummaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorClive Lin <clive@FreeBSD.org>2001-11-28 15:00:26 +0000
committerClive Lin <clive@FreeBSD.org>2001-11-28 15:00:26 +0000
commit754f3508ec05ba9e7d522688ef0da1335b219c97 (patch)
tree60eb98b747249c0b12c84a6b2898beedf3db49fd /chinese
parent08e777ea13ae503a9ffa1db31cd0a5bdf01348ae (diff)
downloadports-754f3508ec05ba9e7d522688ef0da1335b219c97.tar.gz
ports-754f3508ec05ba9e7d522688ef0da1335b219c97.zip
Update to 1.2.
PR: ports/32352 Submitted by: MAINTAINER
Notes
Notes: svn path=/head/; revision=50698
Diffstat (limited to 'chinese')
-rw-r--r--chinese/dictd-database/Makefile2
-rw-r--r--chinese/dictd-database/distinfo2
-rw-r--r--chinese/dictd-database/files/patch-ab11
-rw-r--r--chinese/dictd-database/pkg-descr1
-rw-r--r--chinese/dictd-database/pkg-message2
-rw-r--r--chinese/dictd-database/pkg-plist2
6 files changed, 14 insertions, 6 deletions
diff --git a/chinese/dictd-database/Makefile b/chinese/dictd-database/Makefile
index 8029349b124a..7dc214fe0845 100644
--- a/chinese/dictd-database/Makefile
+++ b/chinese/dictd-database/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= dictd-database
-PORTVERSION= 1.1
+PORTVERSION= 1.2
CATEGORIES= chinese textproc
MASTER_SITES= http://freebsd.sinica.edu.tw/~statue/
DISTNAME= dict-zh-${PORTVERSION}
diff --git a/chinese/dictd-database/distinfo b/chinese/dictd-database/distinfo
index d0d344d039fa..5a692f3ccb01 100644
--- a/chinese/dictd-database/distinfo
+++ b/chinese/dictd-database/distinfo
@@ -1 +1 @@
-MD5 (dict-zh-1.1.tar.gz) = 51dbccc2e7033ce396301644395d0f02
+MD5 (dict-zh-1.2.tar.gz) = 03e47d3844ced8dd03f8bb8bec4f0202
diff --git a/chinese/dictd-database/files/patch-ab b/chinese/dictd-database/files/patch-ab
index 6ffb9cc3811a..d1ac2f466da9 100644
--- a/chinese/dictd-database/files/patch-ab
+++ b/chinese/dictd-database/files/patch-ab
@@ -1,10 +1,13 @@
---- dictfmt.c.orig Sun Apr 2 00:43:40 2000
-+++ dictfmt.c Sun Oct 14 09:58:49 2001
-@@ -30,6 +30,7 @@
+--- dictfmt.c.orig Wed Nov 28 22:57:00 2001
++++ dictfmt.c Wed Nov 28 22:57:26 2001
+@@ -30,9 +30,9 @@
#include <string.h>
#include <time.h>
#include <ctype.h>
+#include <unistd.h>
#if HAVE_GETOPT_H
- #include <getopt.h>
+-#include <getopt.h>
+ #endif
+
+ #define FMT_MAXPOS 65
diff --git a/chinese/dictd-database/pkg-descr b/chinese/dictd-database/pkg-descr
index 8abbce48b559..dd148a30f72b 100644
--- a/chinese/dictd-database/pkg-descr
+++ b/chinese/dictd-database/pkg-descr
@@ -3,5 +3,6 @@ A Chinese(Big5) <-> English dictd words database.
pydict database have 177751 headwords.
moecomp database have 67263 headwords.
netterm database have 6477 headwords.
+cedict database have 23500 headwords.
Author: Pofeng Lee <pofeng@linux.org.tw>
diff --git a/chinese/dictd-database/pkg-message b/chinese/dictd-database/pkg-message
index a02e49bb1f89..60b5cf20bd6d 100644
--- a/chinese/dictd-database/pkg-message
+++ b/chinese/dictd-database/pkg-message
@@ -8,5 +8,7 @@ database netterm { data "/usr/local/lib/dict/netterm.dict.dz"
index "/usr/local/lib/dict/netterm.index" }
database pydict { data "/usr/local/lib/dict/pydict.dict.dz"
index "/usr/local/lib/dict/pydict.index" }
+database pydict { data "/usr/local/lib/dict/cedict.dict.dz"
+ index "/usr/local/lib/dict/cedict.index" }
*****************************************************************************
diff --git a/chinese/dictd-database/pkg-plist b/chinese/dictd-database/pkg-plist
index 499c9ded957f..e082bfc6cdf5 100644
--- a/chinese/dictd-database/pkg-plist
+++ b/chinese/dictd-database/pkg-plist
@@ -1,3 +1,5 @@
+lib/dict/cedict.dict.dz
+lib/dict/cedict.index
lib/dict/pydict.dict.dz
lib/dict/pydict.index
lib/dict/moecomp.dict.dz