aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/stardict2-dict-zh_CN
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-02-29 20:09:35 +0800
committerpav <pav@FreeBSD.org>2004-02-29 20:09:35 +0800
commitfb3c92ea856a738b5c0fca0d804539421e59a173 (patch)
treebd1ee15e573051c6fcb6513477a68646f2f7548f /chinese/stardict2-dict-zh_CN
parent8562e173ccb198645cf73bd1553b3b7b6efb1100 (diff)
downloadfreebsd-ports-gnome-fb3c92ea856a738b5c0fca0d804539421e59a173.tar.gz
freebsd-ports-gnome-fb3c92ea856a738b5c0fca0d804539421e59a173.tar.zst
freebsd-ports-gnome-fb3c92ea856a738b5c0fca0d804539421e59a173.zip
Add stardict2-dict-zh_CN, a simplified chinese <-> english dictionary
files for Stardict PR: ports/61514 Submitted by: LI Dong <ld@FreeBSD.org.cn>
Diffstat (limited to 'chinese/stardict2-dict-zh_CN')
-rw-r--r--chinese/stardict2-dict-zh_CN/Makefile38
-rw-r--r--chinese/stardict2-dict-zh_CN/distinfo6
-rw-r--r--chinese/stardict2-dict-zh_CN/pkg-descr4
-rw-r--r--chinese/stardict2-dict-zh_CN/pkg-plist19
4 files changed, 67 insertions, 0 deletions
diff --git a/chinese/stardict2-dict-zh_CN/Makefile b/chinese/stardict2-dict-zh_CN/Makefile
new file mode 100644
index 000000000000..ed1d086986bf
--- /dev/null
+++ b/chinese/stardict2-dict-zh_CN/Makefile
@@ -0,0 +1,38 @@
+# Ports collection makefile for: stardict2-dict-zh_CN
+# Date created: 16 Jan 2004
+# Whom: LI Dong <ld@FreeBSD.org.cn>
+# $FreeBSD$
+#
+
+PORTNAME= stardict2-dict-zh_CN
+PORTVERSION= 2.4.2
+CATEGORIES= chinese textproc
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= stardict
+DISTFILES= stardict-cdict-gb-${PORTVERSION}.tar.bz2 \
+ stardict-cedict-gb-${PORTVERSION}.tar.bz2 \
+ stardict-oxford-gb-${PORTVERSION}.tar.bz2 \
+ stardict-stardict1.3-${PORTVERSION}.tar.bz2 \
+ stardict-xdict-ce-gb-${PORTVERSION}.tar.bz2 \
+ stardict-xdict-ec-gb-${PORTVERSION}.tar.bz2
+DIST_SUBDIR= stardict
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= English-Chinese(S)/Chinese(S)-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-gb-${PORTVERSION}/* ${PREFIX}/share/gnome/stardict/dic/
+ ${INSTALL_DATA} ${WRKDIR}/stardict-cedict-gb-${PORTVERSION}/* ${PREFIX}/share/gnome/stardict/dic/
+ ${INSTALL_DATA} ${WRKDIR}/stardict-oxford-gb-${PORTVERSION}/* ${PREFIX}/share/gnome/stardict/dic/
+ ${INSTALL_DATA} ${WRKDIR}/stardict-stardict1.3-${PORTVERSION}/* ${PREFIX}/share/gnome/stardict/dic/
+ ${INSTALL_DATA} ${WRKDIR}/stardict-xdict-ce-gb-${PORTVERSION}/* ${PREFIX}/share/gnome/stardict/dic/
+ ${INSTALL_DATA} ${WRKDIR}/stardict-xdict-ec-gb-${PORTVERSION}/* ${PREFIX}/share/gnome/stardict/dic/
+
+.include <bsd.port.mk>
diff --git a/chinese/stardict2-dict-zh_CN/distinfo b/chinese/stardict2-dict-zh_CN/distinfo
new file mode 100644
index 000000000000..226e41c7f49e
--- /dev/null
+++ b/chinese/stardict2-dict-zh_CN/distinfo
@@ -0,0 +1,6 @@
+MD5 (stardict/stardict-cdict-gb-2.4.2.tar.bz2) = 68e539f362de416490b78fed97aba780
+MD5 (stardict/stardict-cedict-gb-2.4.2.tar.bz2) = 95a190a0d1bce3b858d7f2f7411e3755
+MD5 (stardict/stardict-oxford-gb-2.4.2.tar.bz2) = d242032dd873ca26ef75018c803bb1e4
+MD5 (stardict/stardict-stardict1.3-2.4.2.tar.bz2) = 4467d7941f9388f0e01ee3025c400b5c
+MD5 (stardict/stardict-xdict-ce-gb-2.4.2.tar.bz2) = 745727367e22ab9740256ceaf16cb83d
+MD5 (stardict/stardict-xdict-ec-gb-2.4.2.tar.bz2) = 364bcecc126d6d8560728dc487ea9eaf
diff --git a/chinese/stardict2-dict-zh_CN/pkg-descr b/chinese/stardict2-dict-zh_CN/pkg-descr
new file mode 100644
index 000000000000..e67e82241713
--- /dev/null
+++ b/chinese/stardict2-dict-zh_CN/pkg-descr
@@ -0,0 +1,4 @@
+English-Chinese/Chinese-English dictionaries for StarDict.
+Simplified Chinese (a.k.a. GB code) encoded.
+
+WWW: http://stardict.sourceforge.net/
diff --git a/chinese/stardict2-dict-zh_CN/pkg-plist b/chinese/stardict2-dict-zh_CN/pkg-plist
new file mode 100644
index 000000000000..3b83dd39f0be
--- /dev/null
+++ b/chinese/stardict2-dict-zh_CN/pkg-plist
@@ -0,0 +1,19 @@
+share/gnome/stardict/dic/cdict-gb.dict.dz
+share/gnome/stardict/dic/cdict-gb.idx
+share/gnome/stardict/dic/cdict-gb.ifo
+share/gnome/stardict/dic/cedict-gb.dict.dz
+share/gnome/stardict/dic/cedict-gb.idx
+share/gnome/stardict/dic/cedict-gb.ifo
+share/gnome/stardict/dic/oxford-gb.dict.dz
+share/gnome/stardict/dic/oxford-gb.idx
+share/gnome/stardict/dic/oxford-gb.ifo
+share/gnome/stardict/dic/stardict1.3.dict.dz
+share/gnome/stardict/dic/stardict1.3.idx
+share/gnome/stardict/dic/stardict1.3.ifo
+share/gnome/stardict/dic/xdict-ce-gb.dict.dz
+share/gnome/stardict/dic/xdict-ce-gb.idx
+share/gnome/stardict/dic/xdict-ce-gb.ifo
+share/gnome/stardict/dic/xdict-ec-gb.dict.dz
+share/gnome/stardict/dic/xdict-ec-gb.idx
+share/gnome/stardict/dic/xdict-ec-gb.ifo
+@unexec rmdir %D/share/gnome/stardict/dic 2>/dev/null || true