Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jan 2004 00:25:35 -0800 (PST)
From:      LI Dong <ld@FreeBSD.org.cn>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/61459: update and change port: chinese/stardict2
Message-ID:  <200401170825.i0H8PZYD074538@www.freebsd.org>
Resent-Message-ID: <200401170830.i0H8UKgv002120@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         61459
>Category:       ports
>Synopsis:       update and change port: chinese/stardict2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 17 00:30:20 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     LI Dong
>Release:        FreeBSD 5.2RC
>Organization:
FreeBSD China
>Environment:
FreeBSD cogito.daemonspace.com 5.2-RC FreeBSD 5.2-RC #1: Tue Dec 30 22:54:37 GMT 2003     root@:/usr/src/sys/i386/compile/cogito  i386
>Description:
Currently chinese/stardict2 is out of date (2.2.1), so I upgrade it to 2.4.2. But I noticed that now StarDict is a international dict, so I moved it to textproc/stardict2 and separated out the dictionaries files to language related ports:
stardict2-dict-ja, stardict2-dict-zh_CN and stardict2-dict-zh_TW.
My work is based on Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw>'s original chinese/stardict2.
>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:
#
#	stardict2-dict-zh_CN
#	stardict2-dict-zh_CN/Makefile
#	stardict2-dict-zh_CN/distinfo
#	stardict2-dict-zh_CN/pkg-descr
#	stardict2-dict-zh_CN/pkg-plist
#
echo c - stardict2-dict-zh_CN
mkdir -p stardict2-dict-zh_CN > /dev/null 2>&1
echo x - stardict2-dict-zh_CN/Makefile
sed 's/^X//' >stardict2-dict-zh_CN/Makefile << 'END-of-stardict2-dict-zh_CN/Makefile'
X# Ports collection makefile for:	stardict2-dict-zh_CN
X# Date created:			16 Jan 2004
X# Whom:				LI Dong <ld@FreeBSD.org.cn>
X# $FreeBSD$
X#
X
XPORTNAME=	stardict2-dict-zh_CN
XPORTVERSION=	2.4.2
XCATEGORIES=	chinese textproc
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	stardict
XDISTFILES=	stardict-cdict-gb-${PORTVERSION}.tar.bz2 \
X		stardict-cedict-gb-${PORTVERSION}.tar.bz2 \
X		stardict-langdao-ce-gb-${PORTVERSION}.tar.bz2 \
X		stardict-langdao-ec-gb-${PORTVERSION}.tar.bz2 \
X		stardict-oxford-gb-${PORTVERSION}.tar.bz2 \
X		stardict-stardict1.3-${PORTVERSION}.tar.bz2 \
X		stardict-xdict-ce-gb-${PORTVERSION}.tar.bz2 \
X		stardict-xdict-ec-gb-${PORTVERSION}.tar.bz2
XDIST_SUBDIR=	stardict
X
XMAINTAINER=	ports@FreeBSD.org
XCOMMENT=	English-Chinese(S)/Chinese(S)-English dictionaries for StarDict
XRUN_DEPENDS=	stardict:${PORTSDIR}/textproc/stardict2
X
XNO_BUILD=	yes
XUSE_X_PREFIX=	yes
XUSE_BZIP2=	yes
X
Xdo-install:
X		${MKDIR} ${PREFIX}/share/stardict/dic/
X		${INSTALL_DATA} ${WRKDIR}/stardict-cdict-gb-${PORTVERSION}/* ${PREFIX}/share/stardict/dic/
X		${INSTALL_DATA} ${WRKDIR}/stardict-cedict-gb-${PORTVERSION}/* ${PREFIX}/share/stardict/dic/
X		${INSTALL_DATA} ${WRKDIR}/stardict-langdao-ce-gb-${PORTVERSION}/* ${PREFIX}/share/stardict/dic/
X		${INSTALL_DATA} ${WRKDIR}/stardict-langdao-ec-gb-${PORTVERSION}/* ${PREFIX}/share/stardict/dic/
X		${INSTALL_DATA} ${WRKDIR}/stardict-oxford-gb-${PORTVERSION}/* ${PREFIX}/share/stardict/dic/
X		${INSTALL_DATA} ${WRKDIR}/stardict-stardict1.3-${PORTVERSION}/* ${PREFIX}/share/stardict/dic/
X		${INSTALL_DATA} ${WRKDIR}/stardict-xdict-ce-gb-${PORTVERSION}/* ${PREFIX}/share/stardict/dic/
X		${INSTALL_DATA} ${WRKDIR}/stardict-xdict-ec-gb-${PORTVERSION}/* ${PREFIX}/share/stardict/dic/
X
X.include <bsd.port.mk>
END-of-stardict2-dict-zh_CN/Makefile
echo x - stardict2-dict-zh_CN/distinfo
sed 's/^X//' >stardict2-dict-zh_CN/distinfo << 'END-of-stardict2-dict-zh_CN/distinfo'
XMD5 (stardict/stardict-cdict-gb-2.4.2.tar.bz2) = 68e539f362de416490b78fed97aba780
XMD5 (stardict/stardict-cedict-gb-2.4.2.tar.bz2) = 95a190a0d1bce3b858d7f2f7411e3755
XMD5 (stardict/stardict-langdao-ce-gb-2.4.2.tar.bz2) = 8e9700798a0ffeed23207b7cf2592246
XMD5 (stardict/stardict-langdao-ec-gb-2.4.2.tar.bz2) = 41a71f5b3952709746dd7e52cf155b8b
XMD5 (stardict/stardict-oxford-gb-2.4.2.tar.bz2) = d242032dd873ca26ef75018c803bb1e4
XMD5 (stardict/stardict-stardict1.3-2.4.2.tar.bz2) = 4467d7941f9388f0e01ee3025c400b5c
XMD5 (stardict/stardict-xdict-ce-gb-2.4.2.tar.bz2) = 745727367e22ab9740256ceaf16cb83d
XMD5 (stardict/stardict-xdict-ec-gb-2.4.2.tar.bz2) = 364bcecc126d6d8560728dc487ea9eaf
END-of-stardict2-dict-zh_CN/distinfo
echo x - stardict2-dict-zh_CN/pkg-descr
sed 's/^X//' >stardict2-dict-zh_CN/pkg-descr << 'END-of-stardict2-dict-zh_CN/pkg-descr'
XEnglish-Chinese/Chinese-English dictionaries for StarDict.
XSimplified Chinese (a.k.a. GB code) encoded.
X 
XWWW: http://stardict.sourceforge.net/
END-of-stardict2-dict-zh_CN/pkg-descr
echo x - stardict2-dict-zh_CN/pkg-plist
sed 's/^X//' >stardict2-dict-zh_CN/pkg-plist << 'END-of-stardict2-dict-zh_CN/pkg-plist'
Xshare/stardict/dic/cdict-gb.dict.dz
Xshare/stardict/dic/cdict-gb.idx
Xshare/stardict/dic/cdict-gb.ifo
Xshare/stardict/dic/cedict-gb.dict.dz
Xshare/stardict/dic/cedict-gb.idx
Xshare/stardict/dic/cedict-gb.ifo
Xshare/stardict/dic/langdao-ce-gb.dict.dz
Xshare/stardict/dic/langdao-ce-gb.idx
Xshare/stardict/dic/langdao-ce-gb.ifo
Xshare/stardict/dic/langdao-ec-gb.dict.dz
Xshare/stardict/dic/langdao-ec-gb.idx
Xshare/stardict/dic/langdao-ec-gb.ifo
Xshare/stardict/dic/oxford-gb.dict.dz
Xshare/stardict/dic/oxford-gb.idx
Xshare/stardict/dic/oxford-gb.ifo
Xshare/stardict/dic/stardict1.3.dict.dz
Xshare/stardict/dic/stardict1.3.idx
Xshare/stardict/dic/stardict1.3.ifo
Xshare/stardict/dic/xdict-ce-gb.dict.dz
Xshare/stardict/dic/xdict-ce-gb.idx
Xshare/stardict/dic/xdict-ce-gb.ifo
Xshare/stardict/dic/xdict-ec-gb.dict.dz
Xshare/stardict/dic/xdict-ec-gb.idx
Xshare/stardict/dic/xdict-ec-gb.ifo
X@dirrm share/stardict/dic
END-of-stardict2-dict-zh_CN/pkg-plist
exit


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401170825.i0H8PZYD074538>