From dee1308ad397a06e3b27f70c40af4df29afe617a Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Sun, 21 Jul 2002 10:53:33 +0000 Subject: Upgrade to 1.3. PR: ports/40822 Submitted by: maintainer. --- chinese/dictd-database/Makefile | 5 ++--- chinese/dictd-database/distinfo | 2 +- chinese/dictd-database/files/patch-aa | 9 -------- chinese/dictd-database/files/patch-make-rawdata.pl | 26 ---------------------- 4 files changed, 3 insertions(+), 39 deletions(-) delete mode 100644 chinese/dictd-database/files/patch-make-rawdata.pl (limited to 'chinese/dictd-database') 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 = ; - 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 ; - } -- cgit v1.2.3