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

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

>Number:         61458
>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:19 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-ja
#	stardict2-dict-ja/pkg-plist
#	stardict2-dict-ja/pkg-descr
#	stardict2-dict-ja/distinfo
#	stardict2-dict-ja/Makefile
#
echo c - stardict2-dict-ja
mkdir -p stardict2-dict-ja > /dev/null 2>&1
echo x - stardict2-dict-ja/pkg-plist
sed 's/^X//' >stardict2-dict-ja/pkg-plist << 'END-of-stardict2-dict-ja/pkg-plist'
Xshare/stardict/dic/jmdict-en-ja.dict.dz
Xshare/stardict/dic/jmdict-en-ja.idx
Xshare/stardict/dic/jmdict-en-ja.ifo
Xshare/stardict/dic/jmdict-ja-en.dict.dz
Xshare/stardict/dic/jmdict-ja-en.idx
Xshare/stardict/dic/jmdict-ja-en.ifo
X@dirrm share/stardict/dic
END-of-stardict2-dict-ja/pkg-plist
echo x - stardict2-dict-ja/pkg-descr
sed 's/^X//' >stardict2-dict-ja/pkg-descr << 'END-of-stardict2-dict-ja/pkg-descr'
XEnglish-Japanese/Japanese-English dictionaries for StarDict.
X 
XWWW: http://stardict.sourceforge.net/
END-of-stardict2-dict-ja/pkg-descr
echo x - stardict2-dict-ja/distinfo
sed 's/^X//' >stardict2-dict-ja/distinfo << 'END-of-stardict2-dict-ja/distinfo'
XMD5 (stardict/stardict-jmdict-en-ja-2.4.2.tar.bz2) = e0f60d6acc4e3df6784805816b2e136f
XMD5 (stardict/stardict-jmdict-ja-en-2.4.2.tar.bz2) = 2c574aef86a5d7bab45395d7e8ee7f6b
END-of-stardict2-dict-ja/distinfo
echo x - stardict2-dict-ja/Makefile
sed 's/^X//' >stardict2-dict-ja/Makefile << 'END-of-stardict2-dict-ja/Makefile'
X# Ports collection makefile for:	stardict2-dict-ja
X# Date created:			16 Jan 2004
X# Whom:				LI Dong <ld@FreeBSD.org.cn>
X# $FreeBSD$
X#
X
XPORTNAME=	stardict2-dict-ja
XPORTVERSION=	2.4.2
XCATEGORIES=	japanese textproc
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	stardict
XDISTFILES=	stardict-jmdict-en-ja-${PORTVERSION}.tar.bz2 \
X		stardict-jmdict-ja-en-${PORTVERSION}.tar.bz2
XDIST_SUBDIR=	stardict
X
XMAINTAINER=	ports@FreeBSD.org
XCOMMENT=	English-Japanese/Japanese-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-jmdict-en-ja-${PORTVERSION}/* ${PREFIX}/share/stardict/dic/
X		${INSTALL_DATA} ${WRKDIR}/stardict-jmdict-ja-en-${PORTVERSION}/* ${PREFIX}/share/stardict/dic/
X
X.include <bsd.port.mk>
END-of-stardict2-dict-ja/Makefile
exit

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



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