Date: Tue, 16 Oct 2001 05:00:16 +0800 (CST) From: Statue <statue@softwareliberty.org> To: FreeBSD-gnats-submit@freebsd.org Cc: FreeBSD-ports@freebsd.org Subject: ports/31298: New port: chinese/dict-zh Message-ID: <20011015210016.5A2F3753C@softwareliberty.org>
next in thread | raw e-mail | index | archive | help
>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 <statue@freebsd.sinica.edu.tw> 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 <bsd.port.mk> 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 <pofeng@linux.org.tw> 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 <string.h> X #include <time.h> X #include <ctype.h> X+#include <unistd.h> X X #if HAVE_GETOPT_H X #include <getopt.h> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011015210016.5A2F3753C>