diff options
author | vanilla <vanilla@FreeBSD.org> | 2002-07-21 18:53:33 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2002-07-21 18:53:33 +0800 |
commit | 6a8662e4acc528580ea159b5e165035d0fdb68ea (patch) | |
tree | 329f1c4d0865a1df0c8d4d66b4b968d5377da377 /chinese | |
parent | e8ed6c5dfae61820aa82aaef531deb520019290a (diff) | |
download | freebsd-ports-gnome-6a8662e4acc528580ea159b5e165035d0fdb68ea.tar.gz freebsd-ports-gnome-6a8662e4acc528580ea159b5e165035d0fdb68ea.tar.zst freebsd-ports-gnome-6a8662e4acc528580ea159b5e165035d0fdb68ea.zip |
Upgrade to 1.3.
PR: ports/40822
Submitted by: maintainer.
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/dictd-database/Makefile | 5 | ||||
-rw-r--r-- | chinese/dictd-database/distinfo | 2 | ||||
-rw-r--r-- | chinese/dictd-database/files/patch-aa | 9 | ||||
-rw-r--r-- | chinese/dictd-database/files/patch-make-rawdata.pl | 26 |
4 files changed, 3 insertions, 39 deletions
diff --git a/chinese/dictd-database/Makefile b/chinese/dictd-database/Makefile index 767fcc844618..ec28e7819d9c 100644 --- a/chinese/dictd-database/Makefile +++ b/chinese/dictd-database/Makefile @@ -6,15 +6,14 @@ # PORTNAME= dictd-database -PORTVERSION= 1.2.1 -PORTREVISION= 1 +PORTVERSION= 1.3 CATEGORIES= chinese textproc MASTER_SITES= ftp://freebsd.sinica.edu.tw/pub/statue/dictd-database/ DISTNAME= dict-zh-${PORTVERSION} MAINTAINER= statue@freebsd.sinica.edu.tw -BUILD_DEPENDS= ${LOCALBASE}/bin/dictzip:${PORTSDIR}/net/dictd +BUILD_DEPENDS= ${LOCALBASE}/bin/dictzip:${PORTSDIR}/chinese/dictd HAS_CONFIGURE= yes USE_GMAKE= yes diff --git a/chinese/dictd-database/distinfo b/chinese/dictd-database/distinfo index 0ea48528fdb1..13526e04e68e 100644 --- a/chinese/dictd-database/distinfo +++ b/chinese/dictd-database/distinfo @@ -1 +1 @@ -MD5 (dict-zh-1.2.1.tar.gz) = f5e7ccbed08e6f0b23f1aeba40e57196 +MD5 (dict-zh-1.3.tar.gz) = cd051b38396ece3a1b04e9a7b3c70d30 diff --git a/chinese/dictd-database/files/patch-aa b/chinese/dictd-database/files/patch-aa index 89edb7dcaffe..602022ab4194 100644 --- a/chinese/dictd-database/files/patch-aa +++ b/chinese/dictd-database/files/patch-aa @@ -9,12 +9,3 @@ db :: rawdata $(DATABASES) -@@ -110,6 +110,8 @@ - ./dictfmt -p -u http://www.mandarintools.com/cedict.html \ - -s "Chinese to English dictionary" \ - cedict < data/cedict.txt ; \ -+ env LANG=C sort cedict.index > cedict.index.tmp ; \ -+ mv cedict.index.tmp cedict.index; \ - if [ "$(DICTZIP)" != "cat" ]; then \ - dictzip cedict.dict; \ - fi diff --git a/chinese/dictd-database/files/patch-make-rawdata.pl b/chinese/dictd-database/files/patch-make-rawdata.pl deleted file mode 100644 index 6678cd00aea0..000000000000 --- a/chinese/dictd-database/files/patch-make-rawdata.pl +++ /dev/null @@ -1,26 +0,0 @@ ---- make-rawdata.pl.orig Fri Jul 19 02:04:15 2002 -+++ make-rawdata.pl Fri Jul 19 02:04:50 2002 -@@ -111,7 +111,7 @@ - - sub cedict { - -- open ( FILE, "data/cedict.utf8") ; -+ open ( FILE, "data/cedict.b5") ; - @RawData = <FILE> ; - close (FILE) ; - -@@ -121,12 +121,12 @@ - print TXT <<__END ; - %h 00-database-info - %d --English to Chinese Dictionary º~^¦r¨å -+Chinese to English Dictionary º~^¦r¨å - CEDICT January 17, 2001; Copyright 2000-01 - __END - - foreach $data (@RawData) { -- $data =~ s/(.*) \[(.*)\] \/(.*)\//%h $1\n%d\n$3\n/g ; -+ $data =~ s/(.*) \[(.*)\] \/(.*)\//%h $1\n%d\n[$2]\n$3\n/g ; - $data =~ s/\//\n/g ; - print TXT $data ; - } |