Date: Sun, 21 Jul 2002 16:08:14 +0800 (CST) From: Statue <statue@freebsd.sinica.edu.tw> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/40822: Update port: chinese/dictd-database Message-ID: <20020721080814.4A65D7D5@freebsd.sinica.edu.tw>
next in thread | raw e-mail | index | archive | help
>Number: 40822 >Category: ports >Synopsis: Update port: chinese/dictd-database >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun Jul 21 01:10:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Statue >Release: FreeBSD 4.6-RC i386 >Organization: [MAINTAINER] >Environment: System: FreeBSD freebsd.sinica.edu.tw 4.6-RC FreeBSD 4.6-RC #0: Sat Jun 8 09:49:07 CST 2002 root@cc6-179.sinica.edu.tw:/usr/src/sys/compile/GENERIC i386 >Description: Update to 1.3. >How-To-Repeat: >Fix: diff -ruN dictd-database.orig/Makefile dictd-database/Makefile --- dictd-database.orig/Makefile Sat Jul 20 19:08:11 2002 +++ dictd-database/Makefile Sun Jul 21 16:05:41 2002 @@ -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 -ruN dictd-database.orig/distinfo dictd-database/distinfo --- dictd-database.orig/distinfo Sat Dec 8 17:24:29 2001 +++ dictd-database/distinfo Sun Jul 21 15:59:06 2002 @@ -1 +1 @@ -MD5 (dict-zh-1.2.1.tar.gz) = f5e7ccbed08e6f0b23f1aeba40e57196 +MD5 (dict-zh-1.3.tar.gz) = cd051b38396ece3a1b04e9a7b3c70d30 diff -ruN dictd-database.orig/files/patch-aa dictd-database/files/patch-aa --- dictd-database.orig/files/patch-aa Sat Jul 20 19:06:48 2002 +++ dictd-database/files/patch-aa Sun Jul 21 16:01:01 2002 @@ -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 -ruN dictd-database.orig/files/patch-make-rawdata.pl dictd-database/files/patch-make-rawdata.pl --- dictd-database.orig/files/patch-make-rawdata.pl Sat Jul 20 19:06:48 2002 +++ dictd-database/files/patch-make-rawdata.pl Thu Jan 1 08:00:00 1970 @@ -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 ; - } >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020721080814.4A65D7D5>