aboutsummaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authorclive <clive@FreeBSD.org>2001-11-28 23:00:26 +0800
committerclive <clive@FreeBSD.org>2001-11-28 23:00:26 +0800
commit6d5c6ebcf9f92e466b1529f3035edd730aa3ea32 (patch)
tree8efe2831b41cfe5da59ad43a1811a6d2f4e4dd84 /chinese
parentc0e50c63e069214a26589c5af1d2f9c779843ce9 (diff)
downloadfreebsd-ports-gnome-6d5c6ebcf9f92e466b1529f3035edd730aa3ea32.tar.gz
freebsd-ports-gnome-6d5c6ebcf9f92e466b1529f3035edd730aa3ea32.tar.zst
freebsd-ports-gnome-6d5c6ebcf9f92e466b1529f3035edd730aa3ea32.zip
Update to 1.2.
PR: ports/32352 Submitted by: MAINTAINER
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