From owner-freebsd-ports Mon Oct 15 14:10:25 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B78A037B410 for ; Mon, 15 Oct 2001 14:10:08 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f9FLA8P54536; Mon, 15 Oct 2001 14:10:08 -0700 (PDT) (envelope-from gnats) Received: from softwareliberty.org (freebsd.sinica.edu.tw [140.109.13.51]) by hub.freebsd.org (Postfix) with ESMTP id DC17C37B40A; Mon, 15 Oct 2001 14:00:16 -0700 (PDT) Received: by softwareliberty.org (Postfix, from userid 1014) id 5A2F3753C; Tue, 16 Oct 2001 05:00:16 +0800 (CST) Message-Id: <20011015210016.5A2F3753C@softwareliberty.org> Date: Tue, 16 Oct 2001 05:00:16 +0800 (CST) From: Statue Reply-To: Statue To: FreeBSD-gnats-submit@freebsd.org Cc: FreeBSD-ports@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/31298: New port: chinese/dict-zh Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 31298 >Category: ports >Synopsis: New port: chinese/dict-zh >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Oct 15 14:10:08 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Statue >Release: FreeBSD 4.4-STABLE i386 >Organization: >Environment: System: FreeBSD freebsd.sinica.edu.tw 4.4-STABLE FreeBSD 4.4-STABLE #0: Tue Oct 9 02:45:16 CST 2001 ycheng@freebsd.sinica.edu.tw:/usr/src/sys/compile/FREEBSD i386 >Description: A Chinese(Big5) <-> English dictd words database. >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # dict-zh/ # dict-zh/Makefile # dict-zh/distinfo # dict-zh/files # dict-zh/pkg-comment # dict-zh/pkg-descr # dict-zh/pkg-message # dict-zh/pkg-plist # dict-zh/files/ # dict-zh/files/patch-aa # dict-zh/files/patch-ab # dict-zh/files/patch-ac # echo c - dict-zh/ mkdir -p dict-zh/ > /dev/null 2>&1 echo x - dict-zh/Makefile sed 's/^X//' >dict-zh/Makefile << 'END-of-dict-zh/Makefile' X# New ports collection makefile for: dict-zh X# Date created: 25 Oct 1999 X# Whom: Shen Chuan-Hsing X# X# $FreeBSD: ports/chinese/dict-zh/Makefile,v 1.2 2000/11/06 18:14:59 keith Exp $ X# X XPORTNAME= dict-zh XPORTVERSION= 1.1 XCATEGORIES= chinese XMASTER_SITES= http://freebsd.sinica.edu.tw/~statue/ X XMAINTAINER= statue@freebsd.sinica.edu.tw X XBUILD_DEPENDS= ${LOCALBASE}/bin/dictzip:${PORTSDIR}/net/dictd X XHAS_CONFIGURE= yes XUSE_GMAKE= yes X Xpost-install: X @${CAT} ${PKGMESSAGE} X X.include END-of-dict-zh/Makefile echo x - dict-zh/distinfo sed 's/^X//' >dict-zh/distinfo << 'END-of-dict-zh/distinfo' XMD5 (dict-zh-1.1.tar.gz) = 51dbccc2e7033ce396301644395d0f02 END-of-dict-zh/distinfo echo c - dict-zh/files mkdir -p dict-zh/files > /dev/null 2>&1 echo x - dict-zh/pkg-comment sed 's/^X//' >dict-zh/pkg-comment << 'END-of-dict-zh/pkg-comment' XA Chinese <-> English dictd words database END-of-dict-zh/pkg-comment echo x - dict-zh/pkg-descr sed 's/^X//' >dict-zh/pkg-descr << 'END-of-dict-zh/pkg-descr' XA Chinese(Big5) <-> English dictd words database. X Xpydict database have 177751 headwords. Xmoecomp database have 67263 headwords. Xnetterm database have 6477 headwords. X XAuthor: Pofeng Lee END-of-dict-zh/pkg-descr echo x - dict-zh/pkg-message sed 's/^X//' >dict-zh/pkg-message << 'END-of-dict-zh/pkg-message' X***************************************************************************** X XAdd the following to ${PREFIX}/etc/dictd.conf: X Xdatabase moecomp { data "/usr/local/lib/dict/moecomp.dict.dz" X index "/usr/local/lib/dict/moecomp.index" } Xdatabase netterm { data "/usr/local/lib/dict/netterm.dict.dz" X index "/usr/local/lib/dict/netterm.index" } Xdatabase pydict { data "/usr/local/lib/dict/pydict.dict.dz" X index "/usr/local/lib/dict/pydict.index" } X X***************************************************************************** END-of-dict-zh/pkg-message echo x - dict-zh/pkg-plist sed 's/^X//' >dict-zh/pkg-plist << 'END-of-dict-zh/pkg-plist' Xlib/dict/pydict.dict.dz Xlib/dict/pydict.index Xlib/dict/moecomp.dict.dz Xlib/dict/moecomp.index Xlib/dict/netterm.dict.dz Xlib/dict/netterm.index X@dirrm lib/dict END-of-dict-zh/pkg-plist echo c - dict-zh/files/ mkdir -p dict-zh/files/ > /dev/null 2>&1 echo x - dict-zh/files/patch-aa sed 's/^X//' >dict-zh/files/patch-aa << 'END-of-dict-zh/files/patch-aa' X--- Makefile.in.orig Sun Apr 2 00:43:40 2000 X+++ Makefile.in Sun Oct 14 10:52:13 2001 X@@ -75,7 +75,7 @@ X (cd $$subdir && $(MAKE)) || exit 1; \ X done X X-all:: $(EXES) X+all:: $(EXES) db X X db :: rawdata $(DATABASES) X END-of-dict-zh/files/patch-aa echo x - dict-zh/files/patch-ab sed 's/^X//' >dict-zh/files/patch-ab << 'END-of-dict-zh/files/patch-ab' X--- dictfmt.c.orig Sun Apr 2 00:43:40 2000 X+++ dictfmt.c Sun Oct 14 09:58:49 2001 X@@ -30,6 +30,7 @@ X #include X #include X #include X+#include X X #if HAVE_GETOPT_H X #include END-of-dict-zh/files/patch-ab echo x - dict-zh/files/patch-ac sed 's/^X//' >dict-zh/files/patch-ac << 'END-of-dict-zh/files/patch-ac' X--- configure.orig Sun Oct 14 10:16:23 2001 X+++ configure Sun Oct 14 10:16:55 2001 X@@ -542,8 +542,8 @@ X X X X-prefix=/usr X-datadir=/usr/lib X+prefix=/usr/local X+datadir=/usr/local/lib X X echo Configuring for dict-misc X echo . END-of-dict-zh/files/patch-ac exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message