aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-02-29 12:31:28 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-02-29 12:31:28 +0000
commit7188c11bfa17eef4e2b7675de6d9a64e026ee203 (patch)
tree5ee7f63dc4306192aa25f9a7290cdf128bb19e6d
parentb0e5f3b827efd2295be08478f5441a9f06fe0f4c (diff)
Add stardict2-dict-zh_TW, a Traditional Chinese <-> English dictionary
files for Stardict PR: ports/61463 Submitted by: LI Dong <ld@FreeBSD.org.cn>
Notes
Notes: svn path=/head/; revision=102520
-rw-r--r--chinese/Makefile1
-rw-r--r--chinese/stardict2-dict-zh_TW/Makefile40
-rw-r--r--chinese/stardict2-dict-zh_TW/distinfo7
-rw-r--r--chinese/stardict2-dict-zh_TW/pkg-descr4
-rw-r--r--chinese/stardict2-dict-zh_TW/pkg-plist22
5 files changed, 74 insertions, 0 deletions
diff --git a/chinese/Makefile b/chinese/Makefile
index abb71f083c59..a5bc44b2830d 100644
--- a/chinese/Makefile
+++ b/chinese/Makefile
@@ -100,6 +100,7 @@
SUBDIR += qterm
SUBDIR += stardict
SUBDIR += stardict2-dict-zh_CN
+ SUBDIR += stardict2-dict-zh_TW
SUBDIR += tcl83
SUBDIR += telnet
SUBDIR += tin
diff --git a/chinese/stardict2-dict-zh_TW/Makefile b/chinese/stardict2-dict-zh_TW/Makefile
new file mode 100644
index 000000000000..922b773ab403
--- /dev/null
+++ b/chinese/stardict2-dict-zh_TW/Makefile
@@ -0,0 +1,40 @@
+# Ports collection makefile for: stardict2-dict-zh_TW
+# Date created: 16 Jan 2004
+# Whom: LI Dong <ld@FreeBSD.org.cn>
+# $FreeBSD$
+#
+
+PORTNAME= stardict2-dict-zh_TW
+PORTVERSION= 2.4.2
+CATEGORIES= chinese textproc
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= stardict
+DISTFILES= stardict-cdict-big5-${PORTVERSION}.tar.bz2 \
+ stardict-cedict-big5-${PORTVERSION}.tar.bz2 \
+ stardict-langdao-ce-big5-${PORTVERSION}.tar.bz2 \
+ stardict-langdao-ec-big5-${PORTVERSION}.tar.bz2 \
+ stardict-oxford-big5-${PORTVERSION}.tar.bz2 \
+ stardict-xdict-ce-big5-${PORTVERSION}.tar.bz2 \
+ stardict-xdict-ec-big5-${PORTVERSION}.tar.bz2
+DIST_SUBDIR= stardict
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= English-Chinese(T)/Chinese(T)-English dictionaries for StarDict
+
+RUN_DEPENDS= stardict:${PORTSDIR}/textproc/stardict2
+
+NO_BUILD= yes
+USE_X_PREFIX= yes
+USE_BZIP2= yes
+
+do-install:
+ ${MKDIR} ${PREFIX}/share/gnome/stardict/dic/
+ ${INSTALL_DATA} ${WRKDIR}/stardict-cdict-big5-${PORTVERSION}/* ${PREFIX}/share/gnome/stardict/dic/
+ ${INSTALL_DATA} ${WRKDIR}/stardict-cedict-big5-${PORTVERSION}/* ${PREFIX}/share/gnome/stardict/dic/
+ ${INSTALL_DATA} ${WRKDIR}/stardict-langdao-ce-big5-${PORTVERSION}/* ${PREFIX}/share/gnome/stardict/dic/
+ ${INSTALL_DATA} ${WRKDIR}/stardict-langdao-ec-big5-${PORTVERSION}/* ${PREFIX}/share/gnome/stardict/dic/
+ ${INSTALL_DATA} ${WRKDIR}/stardict-oxford-big5-${PORTVERSION}/* ${PREFIX}/share/gnome/stardict/dic/
+ ${INSTALL_DATA} ${WRKDIR}/stardict-xdict-ce-big5-${PORTVERSION}/* ${PREFIX}/share/gnome/stardict/dic/
+ ${INSTALL_DATA} ${WRKDIR}/stardict-xdict-ec-big5-${PORTVERSION}/* ${PREFIX}/share/gnome/stardict/dic/
+
+.include <bsd.port.mk>
diff --git a/chinese/stardict2-dict-zh_TW/distinfo b/chinese/stardict2-dict-zh_TW/distinfo
new file mode 100644
index 000000000000..093314147a90
--- /dev/null
+++ b/chinese/stardict2-dict-zh_TW/distinfo
@@ -0,0 +1,7 @@
+MD5 (stardict/stardict-cdict-big5-2.4.2.tar.bz2) = 0349198b9dfcecd9a0f505512bb21d8b
+MD5 (stardict/stardict-cedict-big5-2.4.2.tar.bz2) = d684a77cea41b011d8a7c7112f16775e
+MD5 (stardict/stardict-langdao-ce-big5-2.4.2.tar.bz2) = 50b9423fa578988b5b0544c5b663058a
+MD5 (stardict/stardict-langdao-ec-big5-2.4.2.tar.bz2) = 61ceeec1b056a171645af723d3e956fe
+MD5 (stardict/stardict-oxford-big5-2.4.2.tar.bz2) = e54da1d0759ce59f8fbddff7979e9300
+MD5 (stardict/stardict-xdict-ce-big5-2.4.2.tar.bz2) = 5a1866fd879c9b02c45d5eab18d5c356
+MD5 (stardict/stardict-xdict-ec-big5-2.4.2.tar.bz2) = ab714bb56eb0901357704ef9ec796047
diff --git a/chinese/stardict2-dict-zh_TW/pkg-descr b/chinese/stardict2-dict-zh_TW/pkg-descr
new file mode 100644
index 000000000000..7857800715cb
--- /dev/null
+++ b/chinese/stardict2-dict-zh_TW/pkg-descr
@@ -0,0 +1,4 @@
+English-Chinese/Chinese-English dictionaries for StarDict.
+Traditional Chinese (a.k.a. Big5 code) encoded.
+
+WWW: http://stardict.sourceforge.net/
diff --git a/chinese/stardict2-dict-zh_TW/pkg-plist b/chinese/stardict2-dict-zh_TW/pkg-plist
new file mode 100644
index 000000000000..96e97f1c7b53
--- /dev/null
+++ b/chinese/stardict2-dict-zh_TW/pkg-plist
@@ -0,0 +1,22 @@
+share/gnome/stardict/dic/cdict-big5.dict.dz
+share/gnome/stardict/dic/cdict-big5.idx
+share/gnome/stardict/dic/cdict-big5.ifo
+share/gnome/stardict/dic/cedict-big5.dict.dz
+share/gnome/stardict/dic/cedict-big5.idx
+share/gnome/stardict/dic/cedict-big5.ifo
+share/gnome/stardict/dic/langdao-ce-big5.dict.dz
+share/gnome/stardict/dic/langdao-ce-big5.idx
+share/gnome/stardict/dic/langdao-ce-big5.ifo
+share/gnome/stardict/dic/langdao-ec-big5.dict.dz
+share/gnome/stardict/dic/langdao-ec-big5.idx
+share/gnome/stardict/dic/langdao-ec-big5.ifo
+share/gnome/stardict/dic/oxford-big5.dict.dz
+share/gnome/stardict/dic/oxford-big5.idx
+share/gnome/stardict/dic/oxford-big5.ifo
+share/gnome/stardict/dic/xdict-ce-big5.dict.dz
+share/gnome/stardict/dic/xdict-ce-big5.idx
+share/gnome/stardict/dic/xdict-ce-big5.ifo
+share/gnome/stardict/dic/xdict-ec-big5.dict.dz
+share/gnome/stardict/dic/xdict-ec-big5.idx
+share/gnome/stardict/dic/xdict-ec-big5.ifo
+@unexec rmdir %D/share/gnome/stardict/dic 2>/dev/null || true